| 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 |
Amazonka.SQS.DeleteQueue
Description
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.
Constructors
| DeleteQueue' | |
Instances
Arguments
| :: Text | |
| -> DeleteQueue |
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.
Constructors
| DeleteQueueResponse' | |
Instances
| Generic DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue Associated Types type Rep DeleteQueueResponse :: Type -> Type # Methods from :: DeleteQueueResponse -> Rep DeleteQueueResponse x # to :: Rep DeleteQueueResponse x -> DeleteQueueResponse # | |
| Read DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue Methods readsPrec :: Int -> ReadS DeleteQueueResponse # readList :: ReadS [DeleteQueueResponse] # | |
| Show DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue Methods showsPrec :: Int -> DeleteQueueResponse -> ShowS # show :: DeleteQueueResponse -> String # showList :: [DeleteQueueResponse] -> ShowS # | |
| NFData DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue Methods rnf :: DeleteQueueResponse -> () # | |
| Eq DeleteQueueResponse Source # | |
Defined in Amazonka.SQS.DeleteQueue Methods (==) :: DeleteQueueResponse -> DeleteQueueResponse -> Bool # (/=) :: DeleteQueueResponse -> DeleteQueueResponse -> Bool # | |
| 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.