AWS.SQS.ISQSClient.PurgeQueue

Deletes all messages from an Amazon SQS queue.

function PurgeQueue(const ARequest: ISQSPurgeQueueRequest): ISQSPurgeQueueResponse; overload; function PurgeQueue(const AQueueUrl: string): ISQSPurgeQueueResponse; overload;
__fastcall ISQSPurgeQueueResponse PurgeQueue(const ISQSPurgeQueueRequest ARequest); __fastcall ISQSPurgeQueueResponse PurgeQueue(const AnsiString AQueueUrl);

File: AWS.SQS.pas 

Namespace: AWS.SQS 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const ARequest: ISQSPurgeQueueRequest
A PurgeQueue request object.
const ARequest: ISQSPurgeQueueRequest
A PurgeQueue request object.

Response containing PurgeQueue results.

Exceptions
Description
The specified queue does not exist.
A purge request has been made within the last 60 seconds for this queue.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.