Deletes a connection.
Operation description
Deletes the specified connection.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:DeleteConnection |
delete |
*Connection
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ConnectionName |
string |
Yes |
The name of the connection that you want to delete. |
connection-name |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
8EF25E37-1750-5D7A-BA56-F8AE081A69C8 |
| Message |
string |
The returned message. If the request is successful, success is returned. If the request fails, an error code is returned. |
success |
| Code |
string |
The response code. A value of Success indicates that the request is successful. |
Success |
Examples
Success response
JSON format
{
"RequestId": "8EF25E37-1750-5D7A-BA56-F8AE081A69C8",
"Message": "success",
"Code": "Success"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | InternalError | |
| 409 | RequestParameterException | Request parameter exception | |
| 409 | ConnectionNotExist | The Connection not existed! | |
| 409 | ConnectionBoundApiDestination | The Connection has bound API Destination, deletion is not allowed. | |
| 409 | SecretManagerAPIDeleteSecretFailed | Delete secret manager api secret failed! |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.