Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes the messages in a queue specified by the QueueURL
parameter.
When you use the PurgeQueue
action, you can't retrieve any messages
deleted from a queue.
The message deletion process takes up to 60 seconds. We recommend waiting for 60 seconds regardless of your queue's size.
Messages sent to the queue before you call PurgeQueue
might be
received but are deleted within the next minute.
Messages sent to the queue after you call PurgeQueue
might be
deleted while the queue is being purged.
Synopsis
Creating a Request
data PurgeQueue Source #
See: newPurgeQueue
smart constructor.
Instances
Create a value of PurgeQueue
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:queueUrl:PurgeQueue'
, purgeQueue_queueUrl
- The URL of the queue from which the PurgeQueue
action deletes
messages.
Queue URLs and names are case-sensitive.
Request Lenses
purgeQueue_queueUrl :: Lens' PurgeQueue Text Source #
The URL of the queue from which the PurgeQueue
action deletes
messages.
Queue URLs and names are case-sensitive.
Destructuring the Response
data PurgeQueueResponse Source #
See: newPurgeQueueResponse
smart constructor.
Instances
Generic PurgeQueueResponse Source # | |
Defined in Amazonka.SQS.PurgeQueue type Rep PurgeQueueResponse :: Type -> Type # from :: PurgeQueueResponse -> Rep PurgeQueueResponse x # to :: Rep PurgeQueueResponse x -> PurgeQueueResponse # | |
Read PurgeQueueResponse Source # | |
Defined in Amazonka.SQS.PurgeQueue | |
Show PurgeQueueResponse Source # | |
Defined in Amazonka.SQS.PurgeQueue showsPrec :: Int -> PurgeQueueResponse -> ShowS # show :: PurgeQueueResponse -> String # showList :: [PurgeQueueResponse] -> ShowS # | |
NFData PurgeQueueResponse Source # | |
Defined in Amazonka.SQS.PurgeQueue rnf :: PurgeQueueResponse -> () # | |
Eq PurgeQueueResponse Source # | |
Defined in Amazonka.SQS.PurgeQueue (==) :: PurgeQueueResponse -> PurgeQueueResponse -> Bool # (/=) :: PurgeQueueResponse -> PurgeQueueResponse -> Bool # | |
type Rep PurgeQueueResponse Source # | |
newPurgeQueueResponse :: PurgeQueueResponse Source #
Create a value of PurgeQueueResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.