Menghapus tujuan API.
Deskripsi operasi
Anda dapat memanggil operasi API ini untuk menghapus tujuan API.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:DeleteApiDestination |
delete |
*ApiDestination
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ApiDestinationName |
string |
Yes |
Nama tujuan API. |
ApiDestinationName |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
382E6272-8E9C-5681-AC96-A8AF0BFAC1A5 |
| Message |
string |
Pesan yang dikembalikan. Jika permintaan berhasil, success akan dikembalikan. Jika permintaan gagal, kode kesalahan akan dikembalikan. |
success |
| Code |
string |
Kode respons yang dikembalikan. Nilai Success menunjukkan bahwa permintaan berhasil. |
Success |
Contoh
Respons sukses
JSONformat
{
"RequestId": "382E6272-8E9C-5681-AC96-A8AF0BFAC1A5",
"Message": "success",
"Code": "Success"
}
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.