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

Contents

Description

Returns the URL of an existing queue. This action provides a simple way to retrieve the URL of an Amazon SQS queue.

To access a queue that belongs to another AWS account, use the QueueOwnerAWSAccountId parameter to specify the account ID of the queue's owner. The queue's owner must grant you permission to access the queue. For more information about shared queue access, see AddPermission or see Shared Queues in the Amazon Simple Queue Service Developer Guide .

Synopsis

Creating a Request

getQueueURL Source #

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

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

  • gquQueueOwnerAWSAccountId - The AWS account ID of the account that created the queue.
  • gquQueueName - The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (- ), and underscores (_ ). Queue names are case-sensitive.

data GetQueueURL Source #

See: getQueueURL smart constructor.

Instances
Eq GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Data GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Methods

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

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

toConstr :: GetQueueURL -> Constr #

dataTypeOf :: GetQueueURL -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Show GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Generic GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Associated Types

type Rep GetQueueURL :: Type -> Type #

Hashable GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

AWSRequest GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Associated Types

type Rs GetQueueURL :: Type #

ToHeaders GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Methods

toHeaders :: GetQueueURL -> [Header] #

ToPath GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

ToQuery GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

NFData GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Methods

rnf :: GetQueueURL -> () #

type Rep GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

type Rep GetQueueURL = D1 (MetaData "GetQueueURL" "Network.AWS.SQS.GetQueueURL" "amazonka-sqs-1.6.1-4KwGv5jRSGR2noZdqwtyOA" False) (C1 (MetaCons "GetQueueURL'" PrefixI True) (S1 (MetaSel (Just "_gquQueueOwnerAWSAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gquQueueName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs GetQueueURL Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Request Lenses

gquQueueOwnerAWSAccountId :: Lens' GetQueueURL (Maybe Text) Source #

The AWS account ID of the account that created the queue.

gquQueueName :: Lens' GetQueueURL Text Source #

The name of the queue whose URL must be fetched. Maximum 80 characters. Valid values: alphanumeric characters, hyphens (- ), and underscores (_ ). Queue names are case-sensitive.

Destructuring the Response

getQueueURLResponse Source #

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

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

data GetQueueURLResponse Source #

For more information, see Responses in the Amazon Simple Queue Service Developer Guide .

See: getQueueURLResponse smart constructor.

Instances
Eq GetQueueURLResponse Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Data GetQueueURLResponse Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Methods

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

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

toConstr :: GetQueueURLResponse -> Constr #

dataTypeOf :: GetQueueURLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetQueueURLResponse Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Show GetQueueURLResponse Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Generic GetQueueURLResponse Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Associated Types

type Rep GetQueueURLResponse :: Type -> Type #

NFData GetQueueURLResponse Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

Methods

rnf :: GetQueueURLResponse -> () #

type Rep GetQueueURLResponse Source # 
Instance details

Defined in Network.AWS.SQS.GetQueueURL

type Rep GetQueueURLResponse = D1 (MetaData "GetQueueURLResponse" "Network.AWS.SQS.GetQueueURL" "amazonka-sqs-1.6.1-4KwGv5jRSGR2noZdqwtyOA" False) (C1 (MetaCons "GetQueueURLResponse'" PrefixI True) (S1 (MetaSel (Just "_gqursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_gqursQueueURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

Response Lenses

gqursResponseStatus :: Lens' GetQueueURLResponse Int Source #

  • - | The response status code.