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.ListQueues

Contents

Description

Returns a list of your queues. The maximum number of queues that can be returned is 1,000. If you specify a value for the optional QueueNamePrefix parameter, only queues with a name that begins with the specified value are returned.

Synopsis

Creating a Request

listQueues :: ListQueues Source #

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

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

  • lqQueueNamePrefix - A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned. Queue names are case-sensitive.

data ListQueues Source #

See: listQueues smart constructor.

Instances
Eq ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Data ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Methods

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

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

toConstr :: ListQueues -> Constr #

dataTypeOf :: ListQueues -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Show ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Generic ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Associated Types

type Rep ListQueues :: Type -> Type #

Hashable ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

AWSRequest ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Associated Types

type Rs ListQueues :: Type #

ToHeaders ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Methods

toHeaders :: ListQueues -> [Header] #

ToPath ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

ToQuery ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

NFData ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Methods

rnf :: ListQueues -> () #

type Rep ListQueues Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

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

Defined in Network.AWS.SQS.ListQueues

Request Lenses

lqQueueNamePrefix :: Lens' ListQueues (Maybe Text) Source #

A string to use for filtering the list results. Only those queues whose name begins with the specified string are returned. Queue names are case-sensitive.

Destructuring the Response

listQueuesResponse Source #

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

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

data ListQueuesResponse Source #

A list of your queues.

See: listQueuesResponse smart constructor.

Instances
Eq ListQueuesResponse Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Data ListQueuesResponse Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Methods

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

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

toConstr :: ListQueuesResponse -> Constr #

dataTypeOf :: ListQueuesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListQueuesResponse Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Show ListQueuesResponse Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Generic ListQueuesResponse Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Associated Types

type Rep ListQueuesResponse :: Type -> Type #

NFData ListQueuesResponse Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

Methods

rnf :: ListQueuesResponse -> () #

type Rep ListQueuesResponse Source # 
Instance details

Defined in Network.AWS.SQS.ListQueues

type Rep ListQueuesResponse = D1 (MetaData "ListQueuesResponse" "Network.AWS.SQS.ListQueues" "amazonka-sqs-1.6.1-4KwGv5jRSGR2noZdqwtyOA" False) (C1 (MetaCons "ListQueuesResponse'" PrefixI True) (S1 (MetaSel (Just "_lqrsQueueURLs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_lqrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

lqrsQueueURLs :: Lens' ListQueuesResponse [Text] Source #

A list of queue URLs, up to 1,000 entries.

lqrsResponseStatus :: Lens' ListQueuesResponse Int Source #

  • - | The response status code.