getReceivedDataGrant method

Future<GetReceivedDataGrantResponse> getReceivedDataGrant({
  1. required String dataGrantArn,
})

This operation returns information about a received data grant.

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

Parameter dataGrantArn : The Amazon Resource Name (ARN) of the data grant.

Implementation

Future<GetReceivedDataGrantResponse> getReceivedDataGrant({
  required String dataGrantArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/v1/received-data-grants/${Uri.encodeComponent(dataGrantArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetReceivedDataGrantResponse.fromJson(response);
}