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.DomainMetadata

Contents

Description

Returns information about the domain, including when the domain was created, the number of items and attributes in the domain, and the size of the attribute names and values.

Synopsis

Creating a Request

domainMetadata #

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

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

  • dmDomainName - The name of the domain for which to display the metadata of.

data DomainMetadata #

See: domainMetadata smart constructor.

Instances

Eq DomainMetadata # 
Data DomainMetadata # 

Methods

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

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

toConstr :: DomainMetadata -> Constr #

dataTypeOf :: DomainMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DomainMetadata # 
Show DomainMetadata # 
Generic DomainMetadata # 

Associated Types

type Rep DomainMetadata :: * -> * #

Hashable DomainMetadata # 
NFData DomainMetadata # 

Methods

rnf :: DomainMetadata -> () #

AWSRequest DomainMetadata # 
ToQuery DomainMetadata # 
ToPath DomainMetadata # 
ToHeaders DomainMetadata # 
type Rep DomainMetadata # 
type Rep DomainMetadata = D1 (MetaData "DomainMetadata" "Network.AWS.SDB.DomainMetadata" "amazonka-sdb-1.4.5-4DwFB7X1OAm5uM9dPezwOu" True) (C1 (MetaCons "DomainMetadata'" PrefixI True) (S1 (MetaSel (Just Symbol "_dmDomainName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DomainMetadata # 

Request Lenses

dmDomainName :: Lens' DomainMetadata Text #

The name of the domain for which to display the metadata of.

Destructuring the Response

domainMetadataResponse #

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

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

data DomainMetadataResponse #

See: domainMetadataResponse smart constructor.

Instances

Eq DomainMetadataResponse # 
Data DomainMetadataResponse # 

Methods

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

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

toConstr :: DomainMetadataResponse -> Constr #

dataTypeOf :: DomainMetadataResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DomainMetadataResponse # 
Show DomainMetadataResponse # 
Generic DomainMetadataResponse # 
NFData DomainMetadataResponse # 

Methods

rnf :: DomainMetadataResponse -> () #

type Rep DomainMetadataResponse # 
type Rep DomainMetadataResponse = D1 (MetaData "DomainMetadataResponse" "Network.AWS.SDB.DomainMetadata" "amazonka-sdb-1.4.5-4DwFB7X1OAm5uM9dPezwOu" False) (C1 (MetaCons "DomainMetadataResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dmrsItemNamesSizeBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_dmrsAttributeValuesSizeBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))) ((:*:) (S1 (MetaSel (Just Symbol "_dmrsAttributeNameCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_dmrsAttributeNamesSizeBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dmrsAttributeValueCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_dmrsItemCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)))) ((:*:) (S1 (MetaSel (Just Symbol "_dmrsTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_dmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))))

Response Lenses

dmrsItemNamesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer) #

The total size of all item names in the domain, in bytes.

dmrsAttributeValuesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer) #

The total size of all attribute values in the domain, in bytes.

dmrsAttributeNameCount :: Lens' DomainMetadataResponse (Maybe Int) #

The number of unique attribute names in the domain.

dmrsAttributeNamesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer) #

The total size of all unique attribute names in the domain, in bytes.

dmrsAttributeValueCount :: Lens' DomainMetadataResponse (Maybe Int) #

The number of all attribute name/value pairs in the domain.

dmrsItemCount :: Lens' DomainMetadataResponse (Maybe Int) #

The number of all items in the domain.

dmrsTimestamp :: Lens' DomainMetadataResponse (Maybe Int) #

The data and time when metadata was calculated, in Epoch (UNIX) seconds.

dmrsResponseStatus :: Lens' DomainMetadataResponse Int #

  • - | The response status code.