Menghapus agen kustom.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:DeleteAgent |
delete |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
No |
Nama agen. |
my-agent |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
B896B484-F16D-59DE-9E23-DD0E5C361108 |
| Message |
string |
Paket kesalahan. |
Agent with name 'xxx' not found for account 1186xxx |
| Code |
string |
Status API atau kode kesalahan POP. Nilai valid:
|
AgentNotFound |
Contoh
Respons sukses
JSONformat
{
"RequestId": "B896B484-F16D-59DE-9E23-DD0E5C361108",
"Message": "Agent with name 'xxx' not found for account 1186xxx",
"Code": "AgentNotFound"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | InternalError | |
| 409 | RequestParameterException | Request parameter exception | |
| 409 | ApiDestinationNotExist | The api-destination not existed! |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.