DescribeDeliveryChannels
Queries the information about the configured delivery channels.
This API has been deprecated. We recommend migrating to Config(2020-09-07) - ListConfigDeliveryChannels for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:DescribeDeliveryChannels |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DeliveryChannelIds |
string |
No |
The IDs of the delivery channels. Separate multiple delivery channel IDs with commas (,). For more information about how to obtain the ID of a delivery channel, see PutDeliveryChannel. |
cdc-d9106457e0d900b1**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The delivery channel information. |
||
| DeliveryChannels |
array<object> |
The delivery channel information. |
|
|
object |
The delivery channel information. |
||
| ConfigurationItemChangeNotification |
boolean |
Specifies whether to accept the configuration history of resources. When the configuration of a resource changes, Cloud Config delivers the configuration history to Object Storage Service (OSS), Simple Log Service (SLS), or Simple Message Queue (formerly MNS). Valid values:
|
true |
| ConfigurationSnapshot |
boolean |
Specifies whether to receive scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS at 00:00:00 and 12:00:00 every day. Valid values:
|
false |
| DeliveryChannelAssumeRoleArn |
string |
The ARN of the role assumed by the delivery channel. |
acs:ram::120886317861****:role/aliyunserviceroleforconfig |
| DeliveryChannelCondition |
string |
The additional rules for the delivery channel. Only MNS delivery channels support this parameter. You can specify the minimum risk level and resource types for MNS event subscriptions as follows:
|
[{"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}] |
| DeliveryChannelId |
string |
The ID of the delivery channel. |
cdc-d9106457e0d900b1**** |
| DeliveryChannelName |
string |
The name of the delivery channel. |
myDeliveryChannel |
| DeliveryChannelTargetArn |
string |
The ARN of the destination for the delivery channel.
|
acs:oss:cn-shanghai:120886317861****:new-bucket |
| DeliveryChannelType |
string |
The type of the delivery channel. Valid values:
|
OSS |
| Description |
string |
The description of the delivery channel. |
My OSS delivery. |
| NonCompliantNotification |
boolean |
Specifies whether to accept resource non-compliance events. When a resource is evaluated as non-compliant, Cloud Config delivers the non-compliance event to SLS or Simple Message Queue (formerly MNS). Valid values:
|
false |
| OversizedDataOSSTargetArn |
string |
The ARN of the OSS bucket where oversized delivery data is stored when the data exceeds the limit of the delivery channel. |
acs:oss:cn-shanghai:100931896542****:new-bucket |
| Status |
integer |
The status of the delivery setting. Valid values:
|
1 |
| RequestId |
string |
The request ID. |
DC300244-FCE3-5061-8214-C27ECB668487 |
Examples
Success response
JSON format
{
"DeliveryChannels": [
{
"ConfigurationItemChangeNotification": true,
"ConfigurationSnapshot": false,
"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}]",
"DeliveryChannelId": "cdc-d9106457e0d900b1****",
"DeliveryChannelName": "myDeliveryChannel",
"DeliveryChannelTargetArn": "acs:oss:cn-shanghai:120886317861****:new-bucket",
"DeliveryChannelType": "OSS",
"Description": "My OSS delivery.",
"NonCompliantNotification": false,
"OversizedDataOSSTargetArn": "acs:oss:cn-shanghai:100931896542****:new-bucket",
"Status": 1
}
],
"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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.