Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the messages in a queue specified by the QueueURL
parameter.
Important: When you use the PurgeQueue
action, you can't retrieve a message deleted from a queue.
When you purge a queue, the message deletion process takes up to 60 seconds. All messages sent to the queue before calling the PurgeQueue
action are deleted. Messages sent to the queue while it is being purged might be deleted. While the queue is being purged, messages sent to the queue before PurgeQueue
is called might be received, but are deleted within the next minute.
Synopsis
Creating a Request
:: Text | |
-> 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:
pqQueueURL
- The URL of the queue from which thePurgeQueue
action deletes messages. Queue URLs are case-sensitive.
data PurgeQueue Source #
See: purgeQueue
smart constructor.
Instances
Request Lenses
pqQueueURL :: Lens' PurgeQueue Text Source #
The URL of the queue from which the PurgeQueue
action deletes messages. Queue URLs are case-sensitive.
Destructuring the Response
purgeQueueResponse :: PurgeQueueResponse Source #
Creates a value of PurgeQueueResponse
with the minimum fields required to make a request.
data PurgeQueueResponse Source #
See: purgeQueueResponse
smart constructor.