ListConfigDeliveryChannels
Queries the delivery channels.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:ListConfigDeliveryChannels |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DeliveryChannelIds |
string |
No |
The IDs of the delivery channels. Separate multiple IDs with commas (,). |
cdc-d9106457e0d900b1**** |
For more information about common request parameters, see Common parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
None. |
||
| DeliveryChannels |
array<object> |
The delivery channel information. |
|
|
object |
None. |
||
| Status |
integer |
The status of the delivery setting. Valid values:
|
1 |
| DeliveryChannelName |
string |
The name of the delivery channel. |
myDeliveryChannel |
| DeliveryChannelId |
string |
The ID of the delivery channel. |
cdc-d9106457e0d900b1**** |
| DeliveryChannelType |
string |
The type of the delivery channel. Valid values:
|
OSS |
| DeliveryChannelTargetArn |
string |
The ARN of the delivery destination.
|
acs:oss:cn-shanghai:120886317861****:new-bucket |
| 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. Currently, all deliveries to MNS channels and snapshot deliveries to SLS channels are supported.
|
[{"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 |
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 |
| Description |
string |
The description of the delivery channel. |
My OSS delivery. |
| CompliantSnapshot |
boolean |
Specifies whether to receive compliance snapshots. Cloud Config delivers resource compliance and non-compliance information to Simple Log Service. Valid values:
|
false |
| ConfigurationSnapshot |
boolean |
Specifies whether to receive scheduled resource snapshots. Cloud Config delivers scheduled resource snapshots to OSS or Simple Log Service at
|
false |
| ConfigurationItemChangeNotification |
boolean |
Specifies whether to receive resource configuration history. When a resource configuration changes, Cloud Config delivers the resource configuration history to OSS, Simple Log Service, or Simple Message Queue (formerly MNS). Valid values:
|
true |
| NonCompliantNotification |
boolean |
Specifies whether to receive resource non-compliance events. When a resource is non-compliant, Cloud Config delivers resource non-compliance events to Simple Log Service or Simple Message Queue (formerly MNS). Valid values:
|
false |
| AccountId |
integer |
The current Alibaba Cloud account ID. |
120886317861**** |
| DeliverySnapshotTime |
string |
The daily start time for delivering scheduled resource snapshots. The format is |
09:10Z |
| RequestId |
string |
The request ID. |
DC300244-FCE3-5061-8214-C27ECB668487 |
Examples
Success response
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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.