Memperbarui templat kueri lanjutan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
actiontrail:UpdateAdvancedQueryTemplate |
update |
*AdvancedQueryTemplate
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| TemplateId |
string |
Yes |
ID templat. |
utpl-QNL3dpYkQcyjZxrIQC**** |
| TemplateName |
string |
No |
Nama templat. Panjang maksimum adalah 64 karakter. |
example-template |
| TemplateSql |
string |
No |
Pernyataan pencarian templat. |
event.eventName: ConsoleSignin AND event.userIdentity.type: root-account |
| SimpleQuery |
boolean |
Yes |
Apakah akan mengaktifkan mode kueri sederhana. |
false |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
145318BE-DEE1-4C57-AA7C-5BE7D34A6AE0 |
| SimpleQuery |
string |
Indicates whether the simple query mode is enabled. |
true |
| TemplateId |
string |
The template ID. |
utpl-QNL3dpYkQcyjZxrIQC**** |
| TemplateName |
string |
The name of the template. The maximum length is 64 characters. |
example-template |
| TemplateSql |
string |
The query statement of the template. |
event.userIdentity.type: root-account AND event.userIdentity.accessKeyId: * |
Contoh
Respons sukses
JSONformat
{
"RequestId": "145318BE-DEE1-4C57-AA7C-5BE7D34A6AE0",
"SimpleQuery": "true",
"TemplateId": "utpl-QNL3dpYkQcyjZxrIQC****",
"TemplateName": "example-template",
"TemplateSql": "event.userIdentity.type: root-account AND event.userIdentity.accessKeyId: *"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.