Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
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:
data PurgeQueue Source #
See: purgeQueue
smart constructor.
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.
data PurgeQueueResponse Source #
See: purgeQueueResponse
smart constructor.