Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DomainMetadata = DomainMetadata' {
- domainName :: Text
- newDomainMetadata :: Text -> DomainMetadata
- domainMetadata_domainName :: Lens' DomainMetadata Text
- data DomainMetadataResponse = DomainMetadataResponse' {}
- newDomainMetadataResponse :: Int -> DomainMetadataResponse
- domainMetadataResponse_itemNamesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer)
- domainMetadataResponse_attributeValuesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer)
- domainMetadataResponse_attributeNameCount :: Lens' DomainMetadataResponse (Maybe Int)
- domainMetadataResponse_attributeNamesSizeBytes :: Lens' DomainMetadataResponse (Maybe Integer)
- domainMetadataResponse_attributeValueCount :: Lens' DomainMetadataResponse (Maybe Int)
- domainMetadataResponse_itemCount :: Lens' DomainMetadataResponse (Maybe Int)
- domainMetadataResponse_timestamp :: Lens' DomainMetadataResponse (Maybe Int)
- domainMetadataResponse_httpStatus :: Lens' DomainMetadataResponse Int
Creating a Request
data DomainMetadata Source #
See: newDomainMetadata
smart constructor.
Constructors
DomainMetadata' | |
Fields
|
Instances
Arguments
:: Text | |
-> DomainMetadata |
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
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_itemCount :: Lens' DomainMetadataResponse (Maybe Int) Source #
The number of all items in the domain.
domainMetadataResponse_timestamp :: Lens' DomainMetadataResponse (Maybe Int) Source #
The data and time when metadata was calculated, in Epoch (UNIX) seconds.
domainMetadataResponse_httpStatus :: Lens' DomainMetadataResponse Int Source #
The response's http status code.