分页查询当前账号投递渠道。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | ListDeliveryChannels | 要执行的操作,取值:ListDeliveryChannels。 |
Version | String | 是 | 2025-01-01 | API的版本,取值:2025-01-01。 |
NextToken | String | 否 | abcd | 分页游标;首次查询不传 |
MaxResults | Integer | 否 | 10 | 每页返回数量,取值范围 1 到 100 |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
NextToken | String | abcd | 分页游标;首次查询不传 |
MaxResults | Integer | 10 | 每页返回数量,取值范围 1 到 100 |
DeliveryChannels | Array of Object | [{"AccountId":"2100052080","DeliveryChannelId":"dc-123456","DeliveryChannelName":"example-delivery-channel","DeliveryRoleTrn":"trn:volc:iam::2100052080:role/config-delivery-role","DeliveryChannelTargetTrn":"trn:volc:tos:::example-bucket","DeliveryContents":["NonCompliantNotification"],"DeliveryChannelType":"TOS","Status":"Enabled"}] | 投递渠道列表 |
POST /?Action=ListDeliveryChannels&Version=2025-01-01 HTTP/1.1 Host: config.volcengineapi.com Content-Type: application/json; charset=UTF-8 X-Date: 20260518T164649Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260518/cn-beijing/config/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "NextToken": "", "MaxResults": 10 }
{ "ResponseMetadata": { "RequestId": "202605181646490000000000000000", "Action": "ListDeliveryChannels", "Version": "2025-01-01", "Service": "config", "Region": "cn-beijing" }, "Result": { "NextToken": "", "MaxResults": 10, "DeliveryChannels": [ { "AccountId": "2100052080", "DeliveryChannelId": "dc-123456", "DeliveryChannelName": "example-delivery-channel", "DeliveryRoleTrn": "trn:iam::2100052080:role/config-delivery-role", "DeliveryChannelTargetTrn": "trn:tos:::example-bucket/config/", "DeliveryContents": [ "NonCompliantNotification" ], "DeliveryChannelType": "TOS", "Status": "Enabled" } ] } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
|---|---|---|
400 | InvalidParameter | |
500 | InternalError |