amazonka-sdb-1.4.5: Amazon SimpleDB 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.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.

Synopsis

Creating a Request

getAttributes #

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:

data GetAttributes #

See: getAttributes smart constructor.

Instances

Eq GetAttributes # 
Data GetAttributes # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetAttributes -> c GetAttributes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetAttributes #

toConstr :: GetAttributes -> Constr #

dataTypeOf :: GetAttributes -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetAttributes) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetAttributes) #

gmapT :: (forall b. Data b => b -> b) -> GetAttributes -> GetAttributes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetAttributes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetAttributes -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetAttributes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetAttributes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetAttributes -> m GetAttributes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAttributes -> m GetAttributes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAttributes -> m GetAttributes #

Read GetAttributes # 
Show GetAttributes # 
Generic GetAttributes # 

Associated Types

type Rep GetAttributes :: * -> * #

Hashable GetAttributes # 
NFData GetAttributes # 

Methods

rnf :: GetAttributes -> () #

AWSRequest GetAttributes # 
ToQuery GetAttributes # 
ToPath GetAttributes # 
ToHeaders GetAttributes # 
type Rep GetAttributes # 
type Rep GetAttributes = D1 (MetaData "GetAttributes" "Network.AWS.SDB.GetAttributes" "amazonka-sdb-1.4.5-4DwFB7X1OAm5uM9dPezwOu" False) (C1 (MetaCons "GetAttributes'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gaConsistentRead") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_gaAttributeNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_gaDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_gaItemName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetAttributes # 

Request Lenses

gaAttributeNames :: Lens' GetAttributes [Text] #

The names of the attributes.

gaDomainName :: Lens' GetAttributes Text #

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

gaItemName :: Lens' GetAttributes Text #

The name of the item.

Destructuring the Response

getAttributesResponse #

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:

data GetAttributesResponse #

See: getAttributesResponse smart constructor.

Instances

Eq GetAttributesResponse # 
Data GetAttributesResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetAttributesResponse -> c GetAttributesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetAttributesResponse #

toConstr :: GetAttributesResponse -> Constr #

dataTypeOf :: GetAttributesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetAttributesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetAttributesResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetAttributesResponse -> GetAttributesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetAttributesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetAttributesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetAttributesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetAttributesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetAttributesResponse -> m GetAttributesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAttributesResponse -> m GetAttributesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAttributesResponse -> m GetAttributesResponse #

Read GetAttributesResponse # 
Show GetAttributesResponse # 
Generic GetAttributesResponse # 
NFData GetAttributesResponse # 

Methods

rnf :: GetAttributesResponse -> () #

type Rep GetAttributesResponse # 
type Rep GetAttributesResponse = D1 (MetaData "GetAttributesResponse" "Network.AWS.SDB.GetAttributes" "amazonka-sdb-1.4.5-4DwFB7X1OAm5uM9dPezwOu" False) (C1 (MetaCons "GetAttributesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_garsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attribute]))) (S1 (MetaSel (Just Symbol "_garsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

garsAttributes :: Lens' GetAttributesResponse [Attribute] #

The list of attributes returned by the operation.

garsResponseStatus :: Lens' GetAttributesResponse Int #

  • - | The response status code.