Copyright | (c) 2013-2021 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 |
Deletes the queue specified by the QueueUrl
, regardless of the
queue's contents.
Be careful with the DeleteQueue
action: When you delete a queue, any
messages in the queue are no longer available.
When you delete a queue, the deletion process takes up to 60 seconds.
Requests you send involving that queue during the 60 seconds might
succeed. For example, a SendMessage
request might succeed, but after
60 seconds the queue and the message you sent no longer exist.
When you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.
Cross-account permissions don't apply to this action. For more information, see Grant cross-account permissions to a role and a user name in the Amazon SQS Developer Guide.
Synopsis
Creating a Request
data DeleteQueue Source #
See: newDeleteQueue
smart constructor.
Instances
Create a value of DeleteQueue
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:DeleteQueue'
, deleteQueue_queueUrl
- The URL of the Amazon SQS queue to delete.
Queue URLs and names are case-sensitive.
Request Lenses
deleteQueue_queueUrl :: Lens' DeleteQueue Text Source #
The URL of the Amazon SQS queue to delete.
Queue URLs and names are case-sensitive.
Destructuring the Response
data DeleteQueueResponse Source #
See: newDeleteQueueResponse
smart constructor.
Instances
Eq DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue (==) :: DeleteQueueResponse -> DeleteQueueResponse -> Bool # (/=) :: DeleteQueueResponse -> DeleteQueueResponse -> Bool # | |
Read DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue | |
Show DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue showsPrec :: Int -> DeleteQueueResponse -> ShowS # show :: DeleteQueueResponse -> String # showList :: [DeleteQueueResponse] -> ShowS # | |
Generic DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue type Rep DeleteQueueResponse :: Type -> Type # from :: DeleteQueueResponse -> Rep DeleteQueueResponse x # to :: Rep DeleteQueueResponse x -> DeleteQueueResponse # | |
NFData DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue rnf :: DeleteQueueResponse -> () # | |
type Rep DeleteQueueResponse Source # | |
newDeleteQueueResponse :: DeleteQueueResponse Source #
Create a value of DeleteQueueResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.