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

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 go to Shared Queues in the AmazonSQS Developer Guide.

http://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_GetQueueUrl.html

Synopsis

Request

Request constructor

getQueueUrl Source

GetQueueUrl constructor.

The fields accessible through corresponding lenses are:

Request lenses

gquQueueName :: Lens' GetQueueUrl Text Source

The name of the queue whose URL must be fetched. Maximum 80 characters; alphanumeric characters, hyphens (-), and underscores (_) are allowed.

gquQueueOwnerAWSAccountId :: Lens' GetQueueUrl (Maybe Text) Source

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

Response

Response constructor

getQueueUrlResponse :: GetQueueUrlResponse Source

GetQueueUrlResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses