Skip to main content

ISQSDeleteMessageBatchRequest

Interface in AWS.SQS

Interface for DeleteMessageBatch requests.

Ancestors

Properties

Entries

property Entries: TList<ISQSDeleteMessageBatchRequestEntry>

Type: ISQSDeleteMessageBatchRequestEntry

A collection of receipt handles and identifiers for the messages to be deleted.

You can delete up to 10 messages with each DeleteMessageBatch request. Each entry must have a unique identifier within the batch request. 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. Each entry requires a receipt handle from the most recent time the message was received. Using old receipt handles may cause individual entries to appear successful but the messages might not actually be deleted. If the batch contains more than 10 entries, a ESQSTooManyEntriesInBatchRequest error will be returned.

Methods

AddEntry

function AddEntry(const AId, AReceiptHandle: string): NativeInt;

Adds an entry to the list of Entries to be deleted.

Parameters

NameDescription
AIdA unique identifier used to communicate the results of this entry in the results.
AReceiptHandleThe receipt handle of the message to delete.

Returns

Index of the entry added to Entries.