amazonka-sdb-1.6.0: Amazon SimpleDB SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 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:

data GetAttributes Source #

See: getAttributes smart constructor.

Instances

Eq GetAttributes Source # 
Data GetAttributes Source # 

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 Source # 
Show GetAttributes Source # 
Generic GetAttributes Source # 

Associated Types

type Rep GetAttributes :: * -> * #

Hashable GetAttributes Source # 
NFData GetAttributes Source # 

Methods

rnf :: GetAttributes -> () #

AWSRequest GetAttributes Source # 
ToHeaders GetAttributes Source # 
ToPath GetAttributes Source # 
ToQuery GetAttributes Source # 
type Rep GetAttributes Source # 
type Rep GetAttributes = D1 * (MetaData "GetAttributes" "Network.AWS.SDB.GetAttributes" "amazonka-sdb-1.6.0-6x74E0cJoCbDno9GVfcx0R" 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 Source # 

Request Lenses

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:

data GetAttributesResponse Source #

See: getAttributesResponse smart constructor.

Instances

Eq GetAttributesResponse Source # 
Data GetAttributesResponse Source # 

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 Source # 
Show GetAttributesResponse Source # 
Generic GetAttributesResponse Source # 
NFData GetAttributesResponse Source # 

Methods

rnf :: GetAttributesResponse -> () #

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

Response Lenses

garsAttributes :: Lens' GetAttributesResponse [Attribute] Source #

The list of attributes returned by the operation.

garsResponseStatus :: Lens' GetAttributesResponse Int Source #

  • - | The response status code.