Domain name for API request: trabbit.intl.tencentcloudapi.com.
This API is used to query the list of RabbitMQ exchanges.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeRabbitMQServerlessExchanges. |
| Version | Yes | String | Common Params. The value used for this API: 2023-04-18. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Instance id. |
| VirtualHost | Yes | String | Specifies the vhost parameter. |
| Offset | No | Integer | Paging offset. |
| Limit | No | Integer | Paginate limit. |
| SearchWord | No | String | Search keywords support fuzzy matching. |
| ExchangeTypeFilters.N | No | Array of String | Specifies the filter type for each selected element in the array of exchange types. |
| ExchangeCreatorFilters.N | No | Array of String | Specifies the exchange creation source. valid values: "system" (generated by the system), "user" (user-created). |
| ExchangeName | No | String | exchange name. specifies that it is used for exact matching. |
| SortElement | No | String | Sorting field. MessageRateInOut specifies the total production and consumption rate. MessageRateIn specifies the production rate. MessageRateOut specifies the consumption rate. |
| SortOrder | No | String | Sort order. valid values: ascend or descend. |
| Parameter Name | Type | Description |
|---|---|---|
| ExchangeInfoList | Array of RabbitMQExchangeListInfo | exchanges list. |
| TotalCount | Integer | Total count of exchanges. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: trabbit.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeRabbitMQServerlessExame
<Common request parameters>
{
"InstanceId": "amqp-44w9928j",
"VirtualHost": "vhost1"
}{
"Response": {
"RequestId": "request1",
"ExchangeInfoList": [
{
"ExchangeName": "test1",
"ExchangeType": "fanout",
"Remark": "test1",
"VirtualHost": "vhost1",
"ExchangeCreator": "user",
"CreateTimeStamp": "2022-12-04 01:08:43",
"ModTimeStamp": "2022-12-04 01:08:43"
},
{
"ExchangeName": "test2",
"ExchangeType": "direct",
"Remark": "test2",
"VirtualHost": "vhost1",
"ExchangeCreator": "user",
"CreateTimeStamp": "2022-12-04 01:08:43",
"ModTimeStamp": "2022-12-04 01:08:43"
}
],
"TotalCount": 2
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| AuthFailure | CAM signature/authentication error. |
| DryRunOperation | DryRun operation means the request will be successful, but the DryRun parameter is passed. |
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidFilter | Invalid Filter |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded | The quota limit is exceeded. |
| MissingParameter | Parameters are missing |
| OperationDenied | Operation denied. |
| RegionError | Region error. |
| RequestLimitExceeded | Request limit exceeded. |
| ResourceInUse | The resource is occupied. |
| ResourceInsufficient | Insufficient resources. |
| ResourceNotFound | The resource does not exist. |
| ResourceUnavailable | Resources are unavailable. |
| ResourcesSoldOut | Resources are sold out. |
| UnauthorizedOperation | Unauthorized operation. |
| UnknownParameter | Unknown parameter error. |
| UnsupportedOperation | The operation is not supported. |
Feedback