AWS.SQS.ISQSClient.DeleteMessage

Deletes a specified message from a queue.

function DeleteMessage(const ARequest: ISQSDeleteMessageRequest): ISQSDeleteMessageResponse; overload; function DeleteMessage(const AQueueUrl: string; const AReceiptHandle: string): ISQSDeleteMessageResponse; overload;
__fastcall ISQSDeleteMessageResponse DeleteMessage(const ISQSDeleteMessageRequest ARequest); __fastcall ISQSDeleteMessageResponse DeleteMessage(const AnsiString AQueueUrl, const AnsiString AReceiptHandle);

File: AWS.SQS.pas 

Namespace: AWS.SQS 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const ARequest: ISQSDeleteMessageRequest
A DeleteMessage request object.
const AQueueUrl: string
The URL of an Amazon SQS queue from which messages. are to be deleted.
const AReceiptHandle: string
The reciept handle of a message to delete.

Response containing DeleteMessage results.

Exceptions
Description
The specified receipt handle is invalid isn't valid for the current version.
The specified receipt handle is invalid.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.