Queries all the event sources of a function.
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /2021-04-06/services/{serviceName}/functions/{functionName}/event-sources
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
serviceName | string | Yes | The ARN of the event source. | demo-service |
functionName | string | Yes | The trace ID of the invocation request of Function Compute. | demo-function |
qualifier | string | No | $.parameters[7].schema.example | LATEST |
X-Fc-Account-Id | string | No | $.parameters[7].schema.enumValueTitles | 188077086902**** |
X-Fc-Date | string | No | $.parameters[8].schema.description | Sat, 14 Jul 2017 07:02:38 GMT |
X-Fc-Trace-Id | string | No | $.parameters[8].schema.example | asdf**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"eventSources": [
{
"sourceArn": "acs:eventbridge:cn-shanghai:123456:eventbus/mns-test/rule/fc-test1/target/abc",
"createdTime": "2016-08-15T16:06:05.000+0000"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2021-10-26 | The input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-10-26 | The input parameters of the API operation change. | |||||||||||||||
| ||||||||||||||||
2021-10-26 | The input parameters of the API operation change. | |||||||||||||||
|