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

Contents

Description

Gets attributes for the specified queue. The following attributes are supported:

Going forward, new attributes might be added. If you are writing code that calls this action, we recommend that you structure your code so that it can handle new attributes gracefully.

Some API actions take lists of parameters. These lists are specified using the 'param.n' notation. Values of n are integers starting from 1. For example, a parameter list with two elements looks like this:

'&Attribute.1=this'

'&Attribute.2=that'

Synopsis

Creating a Request

getQueueAttributes Source

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

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

Request Lenses

gqaAttributeNames :: Lens' GetQueueAttributes [QueueAttributeName] Source

A list of attributes to retrieve information for.

gqaQueueURL :: Lens' GetQueueAttributes Text Source

The URL of the Amazon SQS queue to take action on.

Destructuring the Response

getQueueAttributesResponse Source

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

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

Response Lenses

gqarsAttributes :: Lens' GetQueueAttributesResponse (HashMap QueueAttributeName Text) Source

A map of attributes to the respective values.