domainMetadata method
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.
May throw MissingParameter. May throw NoSuchDomain.
Parameter domainName
:
The name of the domain for which to display the metadata of.
Implementation
Future<DomainMetadataResult> domainMetadata({
required String domainName,
}) async {
ArgumentError.checkNotNull(domainName, 'domainName');
final $request = <String, dynamic>{};
$request['DomainName'] = domainName;
final $result = await _protocol.send(
$request,
action: 'DomainMetadata',
version: '2009-04-15',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DomainMetadataRequest'],
shapes: shapes,
resultWrapper: 'DomainMetadataResult',
);
return DomainMetadataResult.fromXml($result);
}