cancelPipelineReprocessing method
Cancels the reprocessing of data through the pipeline.
May throw ResourceNotFoundException. May throw InvalidRequestException. May throw InternalFailureException. May throw ServiceUnavailableException. May throw ThrottlingException.
Parameter pipelineName
:
The name of pipeline for which data reprocessing is canceled.
Parameter reprocessingId
:
The ID of the reprocessing task (returned by
StartPipelineReprocessing
).
Implementation
Future<void> cancelPipelineReprocessing({
required String pipelineName,
required String reprocessingId,
}) async {
ArgumentError.checkNotNull(pipelineName, 'pipelineName');
_s.validateStringLength(
'pipelineName',
pipelineName,
1,
128,
isRequired: true,
);
ArgumentError.checkNotNull(reprocessingId, 'reprocessingId');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/pipelines/${Uri.encodeComponent(pipelineName)}/reprocessing/${Uri.encodeComponent(reprocessingId)}',
exceptionFnMap: _exceptionFns,
);
}