Queries a list of delivery channels in resource directory mode.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
resourcecenter:ListMultiAccountDeliveryChannels | list | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
MaxResults | integer | No | The number of entries per page. Valid values: 1 to 100. Default value: 20. | 20 |
NextToken | string | No | The pagination token that is used in the next request to retrieve a new page of results. If the number of returned entries exceeds the | AAAAARfZmVDe9NvRXloR5+8CK9nNJufMdRA7W1miLC1P**** |
Response elements
Element | Type | Description | Example |
object | The response parameters. | ||
| DeliveryChannels | array<object> | The delivery channels. | |
object | The information about a delivery channel. | ||
CreateTime | string | The time when the delivery channel was created. | 2023-08-17T00:23:55Z |
DeliveryChannelDescription | string | The description of the delivery channel. | This is a description. |
DeliveryChannelId | string | The ID of the delivery channel. | dc-0bzhsqpnk*** |
DeliveryChannelName | string | The name of the delivery channel. | test-multi-account-delivery-channel |
MaxResults | integer | The maximum number of entries per page. | 20 |
NextToken | string | A pagination token. | eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd**** |
RequestId | string | The request ID. | 17502A1B-7026-5551-8E1C-CCABD0CBC*** |
Examples
Success response
JSON format
{
"DeliveryChannels": [
{
"CreateTime": "2023-08-17T00:23:55Z",
"DeliveryChannelDescription": "This is a description.\n",
"DeliveryChannelId": "dc-0bzhsqpnk***",
"DeliveryChannelName": "test-multi-account-delivery-channel"
}
],
"MaxResults": 20,
"NextToken": "eyJzZWFyY2hBZnRlcnMiOlsiMTAwMTU2Nzk4MTU1OSJd****",
"RequestId": "17502A1B-7026-5551-8E1C-CCABD0CBC***"
}Error codes
HTTP status code | Error code | Error message | Description |
403 | NoPermission.ResourceDirectory.MemberAccount | ResourceDirectory Member Account is not authorized to perform this operation. | You are not allowed to use a member of a resource directory to perform this operation. Use the management account of the resource directory to perform the operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.