删除投递渠道后,投递到日志服务SLS、对象存储OSS和轻量消息队列(原 MNS)的资源数据同步被删除,且不可恢复。
接口说明
本文将提供一个示例,删除账号组ca-23c6626622af0041****的投递渠道cdc-38c3013b46c9002c****。返回结果显示删除投递渠道cdc-38c3013b46c9002c****成功。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
config:DeleteAggregateConfigDeliveryChannel |
delete |
*AggregateDelivery
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AggregatorId |
string |
是 |
账号组 ID。 |
ca-23c6626622af0041**** |
| DeliveryChannelId |
string |
是 |
投递渠道 ID。 关于如何获取投递渠道 ID,请参见 ListAggregateConfigDeliveryChannels 。 |
cdc-38c3013b46c9002c**** |
关于公共请求参数的详情,请参见公共参数。
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
无。 |
||
| RequestId |
string |
请求 ID。 |
FCC2F05C-F672-5665-8102-0020DF66B9B9 |
| DeliveryChannelId |
string |
投递渠道 ID。 |
cdc-38c3013b46c9002c**** |
示例
正常返回示例
JSON格式
{
"RequestId": "FCC2F05C-F672-5665-8102-0020DF66B9B9",
"DeliveryChannelId": "cdc-38c3013b46c9002c****"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | DeliveryChannelNotExists | The delivery channel does not exist. | |
| 400 | Invalid.DeliveryChannelAssumeRoleArn.Format | The specified format of DeliveryChannelAssumeRoleArn is invalid. | |
| 400 | Invalid.DeliveryChannelTargetArn.Format | The specified format of DeliveryChannelTargetArn is invalid. | |
| 400 | Invalid.DeliveryChannelCondition.Format | The specified format of DeliveryChannelCondition is invalid. | |
| 400 | MemberNotBelongToMaster | The specified member does not belong to your organization. | |
| 400 | DeliveryChannelAccountNotSupport | Cross-account delivery that is not in the RD is not supported. | |
| 400 | DeliveryChannelMnsUnreachable | The MNS topic is unreachable. | |
| 400 | DeliveryChannelOssUnreachable | The OSS bucket is unreachable. | |
| 400 | DeliveryChannelSlsUnreachable | SLS logstore is unreachable. | |
| 404 | AccountNotExisted | Your account does not exist. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。