describeDomainConfiguration method
Future<DescribeDomainConfigurationResponse>
describeDomainConfiguration({
- required String domainConfigurationName,
Gets summary information about a domain configuration.
May throw ResourceNotFoundException. May throw ThrottlingException. May throw InvalidRequestException. May throw UnauthorizedException. May throw ServiceUnavailableException. May throw InternalFailureException.
Parameter domainConfigurationName
:
The name of the domain configuration.
Implementation
Future<DescribeDomainConfigurationResponse> describeDomainConfiguration({
required String domainConfigurationName,
}) async {
ArgumentError.checkNotNull(
domainConfigurationName, 'domainConfigurationName');
_s.validateStringLength(
'domainConfigurationName',
domainConfigurationName,
1,
128,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/domainConfigurations/${Uri.encodeComponent(domainConfigurationName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeDomainConfigurationResponse.fromJson(response);
}