Queries all Alibaba Cloud service event sources.
Operation description
You can call this API operation to query all Alibaba Cloud service event sources.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The returned error message. |
InvalidArgument |
| RequestId |
string |
The request ID. |
5f80e9b3-98d5-4f51-8412-c758818a03e4 |
| Data |
object |
The data returned. |
|
| EventSourceList |
array<object> |
The event sources. |
|
|
array<object> |
The data structure of the event source. |
||
| Name |
string |
The name of the event source. |
acs.arms |
| FullName |
string |
The full name of the event source. |
Application Real-Time Monitoring Service |
| Arn |
string |
The Alibaba Cloud Resource Name (ARN) of the event bus. |
acs:eventbridge:cn-hangzhou:SYSTEM:eventbus/default/eventsource/acs.arms |
| Status |
string |
The status of the event source. Valid value: Activated. |
Activated |
| Type |
string |
The type of the event source. |
AliyunOfficial |
| Ctime |
number |
The time when the event source was created. Unit: milliseconds. |
1602730025890 |
| Description |
string |
The description of the event source. |
ECS |
| EventTypes |
array<object> |
The event types. |
|
|
object |
The data structure of the event type. |
||
| Name |
string |
The full name of the event type. |
arms:ActionTrail:AliyunServiceEvent |
| ShortName |
string |
The short name of the event type. |
AliyunServiceEven |
| GroupName |
string |
The name of the group to which the event type belongs. |
ActionTrail |
| EventSourceName |
string |
The name of the event source. |
acs.arms |
| EventBusName |
string |
The name of the event source to which the event type belongs. |
default |
| Code |
string |
The response code. The value Success indicates that the request is successful. Other values indicate that the request failed. For a list of error codes, see Error codes. |
Success |
| Success |
boolean |
Indicates whether the operation is successful. If the operation is successful, the value true is returned. |
true |
Examples
Success response
JSON format
{
"Message": "InvalidArgument",
"RequestId": "5f80e9b3-98d5-4f51-8412-c758818a03e4",
"Data": {
"EventSourceList": [
{
"Name": "acs.arms",
"FullName": "Application Real-Time Monitoring Service\n",
"Arn": "acs:eventbridge:cn-hangzhou:SYSTEM:eventbus/default/eventsource/acs.arms",
"Status": "Activated",
"Type": "AliyunOfficial",
"Ctime": 1602730025890,
"Description": "ECS",
"EventTypes": [
{
"Name": "arms:ActionTrail:AliyunServiceEvent",
"ShortName": "AliyunServiceEven",
"GroupName": "ActionTrail",
"EventSourceName": "acs.arms"
}
],
"EventBusName": "default"
}
]
},
"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.