deleteDataGrant method

Future<void> deleteDataGrant({
  1. required String dataGrantId,
})

This operation deletes a data grant.

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

Parameter dataGrantId : The ID of the data grant to delete.

Implementation

Future<void> deleteDataGrant({
  required String dataGrantId,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v1/data-grants/${Uri.encodeComponent(dataGrantId)}',
    exceptionFnMap: _exceptionFns,
  );
}