Queries a list of delivery channels.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
config:ListConfigDeliveryChannels | list | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DeliveryChannelIds | string | No | The ID of the delivery channel. Separate multiple IDs with commas (,). | cdc-d9106457e0d900b1**** |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"DeliveryChannels": [
{
"Status": 1,
"DeliveryChannelName": "myDeliveryChannel",
"DeliveryChannelId": "cdc-d9106457e0d900b1****",
"DeliveryChannelType": "OSS",
"DeliveryChannelTargetArn": "acs:oss:cn-shanghai:120886317861****:new-bucket",
"DeliveryChannelAssumeRoleArn": "acs:ram::120886317861****:role/aliyunserviceroleforconfig",
"DeliveryChannelCondition": "[{\"filterType\":\"ResourceType\",\"values\":[\"ACS::ActionTrail::Trail\",\"ACS::CBWP::CommonBandwidthPackage\",\"ACS::CDN::Domain\",\"ACS::CEN::CenBandwidthPackage\",\"ACS::CEN::CenInstance\",\"ACS::CEN::Flowlog\",\"ACS::DdosCoo::Instance\"],\"multiple\":true}]",
"OversizedDataOSSTargetArn": "acs:oss:cn-shanghai:100931896542****:new-bucket",
"Description": "My OSS delivery.",
"CompliantSnapshot": false,
"ConfigurationSnapshot": false,
"ConfigurationItemChangeNotification": true,
"NonCompliantNotification": false,
"AccountId": 0,
"DeliverySnapshotTime": "09:10Z"
}
],
"RequestId": "DC300244-FCE3-5061-8214-C27ECB668487"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | DeliveryChannelNotExists | The delivery channel does not exist. | The delivery channel does not exist. |
404 | AccountNotExisted | Your account does not exist. | - |
503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The request has failed due to a temporary failure of the server. |
For a list of error codes, visit the Service error codes.