amazonka-sdb-2.0: Amazon SimpleDB SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

AWSRequest DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Associated Types

type AWSResponse DomainMetadata #

Generic DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Associated Types

type Rep DomainMetadata :: Type -> Type #

Read DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Show DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

NFData DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Methods

rnf :: DomainMetadata -> () #

Eq DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Hashable DomainMetadata Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

type AWSResponse 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" "amazonka-sdb-2.0-7a0e7nVPNy1GutfrhcqnW8" 'False) (C1 ('MetaCons "DomainMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Associated Types

type Rep DomainMetadataResponse :: Type -> Type #

Read DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Show DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

NFData DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

Methods

rnf :: DomainMetadataResponse -> () #

Eq DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

type Rep DomainMetadataResponse Source # 
Instance details

Defined in Amazonka.SDB.DomainMetadata

type Rep DomainMetadataResponse = D1 ('MetaData "DomainMetadataResponse" "Amazonka.SDB.DomainMetadata" "amazonka-sdb-2.0-7a0e7nVPNy1GutfrhcqnW8" 'False) (C1 ('MetaCons "DomainMetadataResponse'" 'PrefixI 'True) (((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 "attributeValuesSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "itemCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "itemNamesSizeBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (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: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:attributeValuesSizeBytes:DomainMetadataResponse', domainMetadataResponse_attributeValuesSizeBytes - The total size of all attribute values in the domain, in bytes.

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

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

$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_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_attributeValuesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer) Source #

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

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

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

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

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