Deletes an event source.
Operation description
Deletes an event source.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:DeleteEventSource |
delete |
*EventSource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EventBusName |
string |
No |
||
| EventSourceName |
string |
Yes |
The name of the event source. |
myrabbitmq.source |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The error message. |
Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ] |
| RequestId |
string |
The ID of the request. |
5f80e9b3-98d5-4f51-8412-c758818a03e4 |
| Code |
string |
The status code. A value of Success indicates that the call is successful. For more information about other values, see Error codes. |
Success |
| Success |
boolean |
Indicates whether the call is successful. A value of true is returned on success. |
true |
Examples
Success response
JSON format
{
"Message": "Remote error. requestId: [78B66E68-E778-1F33-84BD-xxxx], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]",
"RequestId": "5f80e9b3-98d5-4f51-8412-c758818a03e4",
"Code": "Success",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | ServiceNotEnable | Service not enable |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.