cancelIngestion method
Cancels an ongoing ingestion of data into SPICE.
May throw AccessDeniedException.
May throw InternalFailureException.
May throw InvalidParameterValueException.
May throw ResourceExistsException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter awsAccountId :
The Amazon Web Services account ID.
Parameter dataSetId :
The ID of the dataset used in the ingestion.
Parameter ingestionId :
An ID for the ingestion.
Implementation
Future<CancelIngestionResponse> cancelIngestion({
required String awsAccountId,
required String dataSetId,
required String ingestionId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/accounts/${Uri.encodeComponent(awsAccountId)}/data-sets/${Uri.encodeComponent(dataSetId)}/ingestions/${Uri.encodeComponent(ingestionId)}',
exceptionFnMap: _exceptionFns,
);
return CancelIngestionResponse.fromJson(response);
}