amazonka-sqs-1.6.1: Amazon Simple Queue Service SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.SQS.DeleteQueue

Contents

Description

Deletes the queue specified by the QueueUrl , regardless of the queue's contents. If the specified queue doesn't exist, Amazon SQS returns a successful response.

Important: 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.

Synopsis

Creating a Request

deleteQueue Source #

Arguments

:: Text

dqQueueURL

-> DeleteQueue 

Creates a value of DeleteQueue with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dqQueueURL - The URL of the Amazon SQS queue to delete. Queue URLs are case-sensitive.

data DeleteQueue Source #

See: deleteQueue smart constructor.

Instances
Eq DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Data DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteQueue -> c DeleteQueue #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteQueue #

toConstr :: DeleteQueue -> Constr #

dataTypeOf :: DeleteQueue -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteQueue) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteQueue) #

gmapT :: (forall b. Data b => b -> b) -> DeleteQueue -> DeleteQueue #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteQueue -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteQueue -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteQueue -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteQueue -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteQueue -> m DeleteQueue #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteQueue -> m DeleteQueue #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteQueue -> m DeleteQueue #

Read DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Show DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Generic DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Associated Types

type Rep DeleteQueue :: Type -> Type #

Hashable DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

AWSRequest DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Associated Types

type Rs DeleteQueue :: Type #

ToHeaders DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Methods

toHeaders :: DeleteQueue -> [Header] #

ToPath DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

ToQuery DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

NFData DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Methods

rnf :: DeleteQueue -> () #

type Rep DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

type Rep DeleteQueue = D1 (MetaData "DeleteQueue" "Network.AWS.SQS.DeleteQueue" "amazonka-sqs-1.6.1-4KwGv5jRSGR2noZdqwtyOA" True) (C1 (MetaCons "DeleteQueue'" PrefixI True) (S1 (MetaSel (Just "_dqQueueURL") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteQueue Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Request Lenses

dqQueueURL :: Lens' DeleteQueue Text Source #

The URL of the Amazon SQS queue to delete. Queue URLs are case-sensitive.

Destructuring the Response

deleteQueueResponse :: DeleteQueueResponse Source #

Creates a value of DeleteQueueResponse with the minimum fields required to make a request.

data DeleteQueueResponse Source #

See: deleteQueueResponse smart constructor.

Instances
Eq DeleteQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Data DeleteQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteQueueResponse -> c DeleteQueueResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteQueueResponse #

toConstr :: DeleteQueueResponse -> Constr #

dataTypeOf :: DeleteQueueResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteQueueResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteQueueResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteQueueResponse -> DeleteQueueResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteQueueResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteQueueResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteQueueResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteQueueResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteQueueResponse -> m DeleteQueueResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteQueueResponse -> m DeleteQueueResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteQueueResponse -> m DeleteQueueResponse #

Read DeleteQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Show DeleteQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Generic DeleteQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Associated Types

type Rep DeleteQueueResponse :: Type -> Type #

NFData DeleteQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

Methods

rnf :: DeleteQueueResponse -> () #

type Rep DeleteQueueResponse Source # 
Instance details

Defined in Network.AWS.SQS.DeleteQueue

type Rep DeleteQueueResponse = D1 (MetaData "DeleteQueueResponse" "Network.AWS.SQS.DeleteQueue" "amazonka-sqs-1.6.1-4KwGv5jRSGR2noZdqwtyOA" False) (C1 (MetaCons "DeleteQueueResponse'" PrefixI False) (U1 :: Type -> Type))