Updates an event bus.
Operation description
Modifies the configuration of a specified event bus.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:UpdateEventBus |
update |
*EventBus
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EventBusName |
string |
Yes |
The name of the event bus. |
eventTest |
| Description |
string |
No |
The description. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The error message. |
The event bus [xxxx] not existed! |
| RequestId |
string |
The request ID. |
f2099962-1628-45f1-9782-2bf6daad823f |
| Code |
string |
The response code. Valid values:
|
Success |
| Success |
boolean |
Indicates whether the request was successful. A value of true indicates success. |
true |
Examples
Success response
JSON format
{
"Message": "The event bus [xxxx] not existed!",
"RequestId": "f2099962-1628-45f1-9782-2bf6daad823f",
"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.