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 #

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

Defined in Network.AWS.SDB.GetAttributes

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

Defined in Network.AWS.SDB.GetAttributes

Show GetAttributes # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Generic GetAttributes # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Associated Types

type Rep GetAttributes :: Type -> Type #

Hashable GetAttributes # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

AWSRequest GetAttributes # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Associated Types

type Rs GetAttributes :: Type #

ToHeaders GetAttributes # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

ToPath GetAttributes # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

ToQuery GetAttributes # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

NFData GetAttributes # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Methods

rnf :: GetAttributes -> () #

type Rep GetAttributes # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

type Rep GetAttributes = D1 (MetaData "GetAttributes" "Network.AWS.SDB.GetAttributes" "amazonka-sdb-1.6.1-HNtIO18ACdo5F79r0DfFY9" 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 # 
Instance details

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

Defined in Network.AWS.SDB.GetAttributes

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

Defined in Network.AWS.SDB.GetAttributes

Show GetAttributesResponse # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Generic GetAttributesResponse # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Associated Types

type Rep GetAttributesResponse :: Type -> Type #

NFData GetAttributesResponse # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

Methods

rnf :: GetAttributesResponse -> () #

type Rep GetAttributesResponse # 
Instance details

Defined in Network.AWS.SDB.GetAttributes

type Rep GetAttributesResponse = D1 (MetaData "GetAttributesResponse" "Network.AWS.SDB.GetAttributes" "amazonka-sdb-1.6.1-HNtIO18ACdo5F79r0DfFY9" 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] #

The list of attributes returned by the operation.

garsResponseStatus :: Lens' GetAttributesResponse Int #

  • - | The response status code.