getDomain method

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

Gets an Amazon DataZone domain.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ServiceQuotaExceededException. May throw ThrottlingException. May throw ValidationException.

Parameter identifier : The identifier of the specified Amazon DataZone domain.

Implementation

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