Creates an event bus.
Operation description
Creates an event bus.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eventbridge:CreateEventBus |
create |
*EventBus
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EventBusName |
string |
Yes |
Indicates whether the request is successful. The value true indicates that the request is successful. |
MyEventBus |
| Description |
string |
No |
The description of the event bus. |
demo |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The error message. |
The event bus [xxxx] not existed! |
| RequestId |
string |
The request ID. |
A995F07C-E503-5881-9962-9CECA8566876 |
| Data |
object |
The response data. |
|
| EventBusARN |
string |
The Alibaba Cloud Resource Name (ARN) of the event bus. |
acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus |
| Code |
string |
The response code. A value of Success indicates a successful request. For other values, see Error codes. |
Success |
| Success |
boolean |
Indicates whether the request is successful. |
true |
Examples
Success response
JSON format
{
"Message": "The event bus [xxxx] not existed!",
"RequestId": "A995F07C-E503-5881-9962-9CECA8566876",
"Data": {
"EventBusARN": "acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus\t"
},
"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.