libZSservicesZSamazonka-sdbZSamazonka-sdb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SDB.DomainMetadata

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

data DomainMetadata Source #

See: newDomainMetadata smart constructor.

Constructors

DomainMetadata' 

Fields

  • domainName :: Text

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

Instances

Instances details
Eq DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Read DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Show DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Generic DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Associated Types

type Rep DomainMetadata :: Type -> Type #

NFData DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Methods

rnf :: DomainMetadata -> () #

Hashable DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

AWSRequest DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Associated Types

type AWSResponse DomainMetadata #

ToHeaders DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

ToPath DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

ToQuery DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

type Rep DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

type Rep DomainMetadata = D1 ('MetaData "DomainMetadata" "Amazonka.SDB.DomainMetadata" "libZSservicesZSamazonka-sdbZSamazonka-sdb" 'False) (C1 ('MetaCons "DomainMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

newDomainMetadata Source #

Create a value of DomainMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:domainName:DomainMetadata', domainMetadata_domainName - The name of the domain for which to display the metadata of.

Request Lenses

domainMetadata_domainName :: Lens' DomainMetadata Text Source #

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

Destructuring the Response

data DomainMetadataResponse Source #

See: newDomainMetadataResponse smart constructor.

Constructors

DomainMetadataResponse' 

Fields

Instances

Instances details
Eq DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Read DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Show DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Generic DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Associated Types

type Rep DomainMetadataResponse :: Type -> Type #

NFData DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Methods

rnf :: DomainMetadataResponse -> () #

type Rep DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

type Rep DomainMetadataResponse = D1 ('MetaData "DomainMetadataResponse" "Amazonka.SDB.DomainMetadata" "libZSservicesZSamazonka-sdbZSamazonka-sdb" 'False) (C1 ('MetaCons "DomainMetadataResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "itemNamesSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "attributeValuesSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "attributeNameCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "attributeNamesSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "attributeValueCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "itemCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDomainMetadataResponse Source #

Create a value of DomainMetadataResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:itemNamesSizeBytes:DomainMetadataResponse', domainMetadataResponse_itemNamesSizeBytes - The total size of all item names in the domain, in bytes.

$sel:attributeValuesSizeBytes:DomainMetadataResponse', domainMetadataResponse_attributeValuesSizeBytes - The total size of all attribute values in the domain, in bytes.

$sel:attributeNameCount:DomainMetadataResponse', domainMetadataResponse_attributeNameCount - The number of unique attribute names in the domain.

$sel:attributeNamesSizeBytes:DomainMetadataResponse', domainMetadataResponse_attributeNamesSizeBytes - The total size of all unique attribute names in the domain, in bytes.

$sel:attributeValueCount:DomainMetadataResponse', domainMetadataResponse_attributeValueCount - The number of all attribute name/value pairs in the domain.

$sel:itemCount:DomainMetadataResponse', domainMetadataResponse_itemCount - The number of all items in the domain.

$sel:timestamp:DomainMetadataResponse', domainMetadataResponse_timestamp - The data and time when metadata was calculated, in Epoch (UNIX) seconds.

$sel:httpStatus:DomainMetadataResponse', domainMetadataResponse_httpStatus - The response's http status code.

Response Lenses

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

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

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

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

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

The number of unique attribute names in the domain.

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

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

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

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

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

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