amazonka-sqs-1.4.0: Amazon Simple Queue Service SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SQS.PurgeQueue

Contents

Description

Deletes the messages in a queue specified by the queue URL.

When you use the PurgeQueue API, the deleted messages in the queue cannot be retrieved.

When you purge a queue, the message deletion process takes up to 60 seconds. All messages sent to the queue before calling PurgeQueue will be deleted; messages sent to the queue while it is being purged may be deleted. While the queue is being purged, messages sent to the queue before PurgeQueue was called may be received, but will be deleted within the next minute.

Synopsis

Creating a Request

purgeQueue Source

Arguments

:: Text

pqQueueURL

-> PurgeQueue 

Creates a value of PurgeQueue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

pqQueueURL :: Lens' PurgeQueue Text Source

The queue URL of the queue to delete the messages from when using the PurgeQueue API.

Destructuring the Response

purgeQueueResponse :: PurgeQueueResponse Source

Creates a value of PurgeQueueResponse with the minimum fields required to make a request.