amazonka-sdb-1.6.1: 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 # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Data GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.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 Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Show GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Generic GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Associated Types

type Rep GetAttributes :: Type -> Type #

Hashable GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

AWSRequest GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Associated Types

type Rs GetAttributes :: Type #

ToHeaders GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

ToPath GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

ToQuery GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

NFData GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Methods

rnf :: GetAttributes -> () #

type Rep GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

type Rep GetAttributes = D1 (MetaData "GetAttributes" "Network.AWS.SDB.GetAttributes" "amazonka-sdb-1.6.1-DqICC6HvLZkBMo1L4m3WLm" False) (C1 (MetaCons "GetAttributes'" PrefixI True) ((S1 (MetaSel (Just "_gaConsistentRead") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_gaAttributeNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_gaDomainName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gaItemName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetAttributes Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

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 # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Data GetAttributesResponse Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

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 # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Show GetAttributesResponse Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Generic GetAttributesResponse Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Associated Types

type Rep GetAttributesResponse :: Type -> Type #

NFData GetAttributesResponse Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Methods

rnf :: GetAttributesResponse -> () #

type Rep GetAttributesResponse Source # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

type Rep GetAttributesResponse = D1 (MetaData "GetAttributesResponse" "Network.AWS.SDB.GetAttributes" "amazonka-sdb-1.6.1-DqICC6HvLZkBMo1L4m3WLm" False) (C1 (MetaCons "GetAttributesResponse'" PrefixI True) (S1 (MetaSel (Just "_garsAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Attribute])) :*: S1 (MetaSel (Just "_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.