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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 go to Shared Queues in the Amazon SQS 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:

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; alphanumeric characters, hyphens (-), and underscores (_) are allowed.

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:

Response Lenses