Amazon Web Services/DeleteMessageBatch

正在自动加载完整文档…

Amazon Web ServicesAmazon SQS 消息队列 API

批量删除消息

使用接收句柄从队列中永久删除多条已接收消息。

官方英文详细说明:

Deletes up to ten messages from the specified queue. This is a batch version of

DeleteMessage. The result of the action on each message is reported individually in the response.

Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

Amazon Simple Queue Service 的完整 23 个官方 action;保留 AWS JSON 1.0、AWS Query 兼容性、SigV4 与区域 Endpoint 规则。当前网页端尚无 AWS SigV4 与区域选择执行适配器,可使用本地 SDK/CLI 调用。

请求

operationId
DeleteMessageBatch
服务器
https://sqs.{Region}.{PartitionResult#dnsSuffix}
认证
awsSigV4

请求参数

无 URL、查询或 Header 参数。

Body 参数

string必填

响应

200

string

成功响应。

error

string

Declared service error