amazonka-sdb-1.5.0: Amazon SimpleDB SDK.

Copyright(c) 2013-2017 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.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 Source #

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 Source #

See: domainMetadata smart constructor.

Instances

Eq DomainMetadata Source # 
Data DomainMetadata Source # 

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

Associated Types

type Rep DomainMetadata :: * -> * #

Hashable DomainMetadata Source # 
NFData DomainMetadata Source # 

Methods

rnf :: DomainMetadata -> () #

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

Request Lenses

dmDomainName :: Lens' DomainMetadata Text Source #

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

Destructuring the Response

domainMetadataResponse Source #

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 Source #

See: domainMetadataResponse smart constructor.

Instances

Eq DomainMetadataResponse Source # 
Data DomainMetadataResponse Source # 

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

Methods

rnf :: DomainMetadataResponse -> () #

type Rep DomainMetadataResponse Source # 
type Rep DomainMetadataResponse = D1 (MetaData "DomainMetadataResponse" "Network.AWS.SDB.DomainMetadata" "amazonka-sdb-1.5.0-9KokqV3GtVG7dx2V78UQM6" 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 DecidedStrict) (Rec0 Int))))))

Response Lenses

dmrsItemNamesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer) Source #

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

dmrsAttributeValuesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer) Source #

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

dmrsAttributeNameCount :: Lens' DomainMetadataResponse (Maybe Int) Source #

The number of unique attribute names in the domain.

dmrsAttributeNamesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer) Source #

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

dmrsAttributeValueCount :: Lens' DomainMetadataResponse (Maybe Int) Source #

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

dmrsItemCount :: Lens' DomainMetadataResponse (Maybe Int) Source #

The number of all items in the domain.

dmrsTimestamp :: Lens' DomainMetadataResponse (Maybe Int) Source #

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

dmrsResponseStatus :: Lens' DomainMetadataResponse Int Source #

  • - | The response status code.