getDistributionTenant method
Gets information about a distribution tenant.
May throw AccessDenied.
May throw EntityNotFound.
Parameter identifier :
The identifier of the distribution tenant. You can specify the ARN, ID, or
name of the distribution tenant.
Implementation
Future<GetDistributionTenantResult> getDistributionTenant({
required String identifier,
}) async {
final $result = await _protocol.sendRaw(
method: 'GET',
requestUri:
'/2020-05-31/distribution-tenant/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
final $elem = await _s.xmlFromResponse($result);
return GetDistributionTenantResult(
distributionTenant: DistributionTenant.fromXml($elem),
eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
);
}