Queries information about a delivery channel in an account group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:GetAggregateConfigDeliveryChannel |
get |
*AggregateDelivery
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DeliveryChannelId |
string |
Yes |
The ID of the delivery channel. For more information about how to obtain the ID of a delivery channel, see ListAggregateConfigDeliveryChannels. |
cdc-d9106457e0d900b1**** |
| AggregatorId |
string |
Yes |
The ID of the account group. For more information about how to obtain the ID of the account group, see ListAggregators. |
ca-a4e5626622af0079**** |
For more information about common request parameters, see Common parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
N/A. |
||
| DeliveryChannel |
object |
The delivery channel information. |
|
| Status |
integer |
The status of the delivery channel. Valid values:
|
1 |
| DeliveryChannelId |
string |
The ID of the delivery channel. |
cdc-d9106457e0d900b1**** |
| DeliveryChannelName |
string |
The name of the delivery channel. |
myDeliveryChannel |
| 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 assigned to the delivery channel. |
acs:ram::120886317861****:role/aliyunserviceroleforconfig |
| DeliveryChannelCondition |
string |
The rule attached to the delivery channel. This parameter is applicable when you deliver data of all types to MNS or deliver snapshots to Log Service.
|
[{"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 to which data is transferred when the data size exceeds the upper 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 |
Indicates whether the destination receives scheduled compliant snapshots. Cloud Config delivers compliant snapshots to Log Service at
|
false |
| ConfigurationItemChangeNotification |
boolean |
Indicates whether the destination receives resource change logs. If set to true, Cloud Config delivers resource change logs to OSS, Log Service, or MNS when resource configurations change. Valid values:
|
true |
| NonCompliantNotification |
boolean |
Indicates whether the destination receives resource non-compliance events. If set to true, Cloud Config delivers non-compliance events to Log Service or MNS when resources are evaluated as non-compliant. Valid values:
|
false |
| AggregatorId |
string |
The ID of the account group. |
ca-a4e5626622af0079**** |
| AccountId |
string |
The ID of the member in the account group. |
120886317861**** |
| DeliverySnapshotTime |
string |
The time when Cloud Config delivers scheduled resource snapshots every day. Format: |
09:10Z |
| ConfigurationSnapshot |
boolean |
Indicates whether the destination receives scheduled resource snapshots. Cloud Config delivers resource snapshots to OSS, MNS, or Log Service at
|
false |
| RequestId |
string |
The request ID. |
DC300244-FCE3-5061-8214-C27ECB668487 |
Examples
Success response
JSON format
{
"DeliveryChannel": {
"Status": 1,
"DeliveryChannelId": "cdc-d9106457e0d900b1****",
"DeliveryChannelName": "myDeliveryChannel",
"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,
"ConfigurationItemChangeNotification": true,
"NonCompliantNotification": false,
"AggregatorId": "ca-a4e5626622af0079****",
"AccountId": "120886317861****",
"DeliverySnapshotTime": "09:10Z",
"ConfigurationSnapshot": false
},
"RequestId": "DC300244-FCE3-5061-8214-C27ECB668487"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DeliveryChannelNotExists | 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.