Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for GetQueueURL.
- getQueueURL :: Text -> GetQueueURL
- data GetQueueURL
- gquQueueOwnerAWSAccountId :: Lens' GetQueueURL (Maybe Text)
- gquQueueName :: Lens' GetQueueURL Text
- getQueueURLResponse :: Int -> Text -> GetQueueURLResponse
- data GetQueueURLResponse
- gqursResponseStatus :: Lens' GetQueueURLResponse Int
- gqursQueueURL :: Lens' GetQueueURLResponse Text
Creating a Request
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:
data GetQueueURL Source
See: getQueueURL
smart constructor.
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
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 SQS Developer Guide.
See: getQueueURLResponse
smart constructor.
Response Lenses
gqursResponseStatus :: Lens' GetQueueURLResponse Int Source
The response status code.
gqursQueueURL :: Lens' GetQueueURLResponse Text Source
The URL for the queue.