getDomain method
Returns information about a specific domain.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter domainName :
The unique name of the domain.
Implementation
Future<GetDomainResponse> getDomain({
required String domainName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/domains/${Uri.encodeComponent(domainName)}',
exceptionFnMap: _exceptionFns,
);
return GetDomainResponse.fromJson(response);
}