getDomain method

Future<GetDomainOutput> getDomain({
  1. required String domainId,
})

Retrieves information about a Domain.

May throw ResourceNotFoundException.

Parameter domainId : The id of the Domain to get

Implementation

Future<GetDomainOutput> getDomain({
  required String domainId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/domain/${Uri.encodeComponent(domainId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetDomainOutput.fromJson(response);
}