amazonka-sdb-1.3.2: Amazon SimpleDB SDK.

Copyright(c) 2013-2015 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.SDB.GetAttributes

Contents

Description

Returns all of the attributes associated with the specified item. Optionally, the attributes returned can be limited to one or more attributes by specifying an attribute name parameter.

If the item does not exist on the replica that was accessed for this operation, an empty set is returned. The system does not return an error as it cannot guarantee the item does not exist on other replicas.

See: AWS API Reference for GetAttributes.

Synopsis

Creating a Request

getAttributes Source

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

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

Request Lenses

gaConsistentRead :: Lens' GetAttributes (Maybe Bool) Source

Determines whether or not strong consistency should be enforced when data is read from SimpleDB. If true, any data previously written to SimpleDB will be returned. Otherwise, results will be consistent eventually, and the client may not see data that was written immediately before your read.

gaAttributeNames :: Lens' GetAttributes [Text] Source

The names of the attributes.

gaDomainName :: Lens' GetAttributes Text Source

The name of the domain in which to perform the operation.

gaItemName :: Lens' GetAttributes Text Source

The name of the item.

Destructuring the Response

getAttributesResponse Source

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

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

Response Lenses

garsAttributes :: Lens' GetAttributesResponse [Attribute] Source

The list of attributes returned by the operation.