GetEventBus

更新时间:
复制 MD 格式

Call the GetEventBus operation to retrieve the details of an event bus.

URI

/openapi/getEventBus

Request parameters

NameTypeRequiredExampleDescription
EventBusNameStringYesMyEventBusThe name of the event bus.For more information, see Limits.

Response parameters

NameTypeExampleDescription
EventBusARNStringacs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBusThe Alibaba Cloud Resource Name (ARN) of the event bus.
EventBusNameStringMyEventBusFor more information, see Limits.
DescriptionStringmy first eventbusThe description of the event bus.
CreateTimestampLong1581923450130The timestamp when the event bus was created.

Examples

Request example

POST /openapi/getEventBus HTTP/1.1
Host: 123456789098****.eventbridge.cn-hangzhou.aliyuncs.com
Date: Sat, 18 Apr 2020 05:30:41 GMT
x-eventbridge-version: 2020-04-01
Authorization: acs vZ3VL0SuJdHi****:Jo2PbTj******zYAYoYslKLvWzg=
Content-Type: application/json;charset=UTF-8
Content-Length: 26

{
    "EventBusName":"MyEventBus"
}

Response example

HTTP/1.1 200 OK
Server: AliyunEventBridge
Connection: keep-alive
Content-Type: application/json;charset=utf-8
Content-Length: 79
x-eventbridge-request-id: 5E9A9081333245F1D800****
Date: Sat, 18 Apr 2020 05:30:41 GMT

{
    "EventBusARN": "acs:eventbridge:cn-hangzhou:123456789098****:eventbus/MyEventBus",
    "EventBusName": "MyEventBus",
    "Description": "my first eventbus",
    "CreateTimestamp": 1581923450130
}