stopPipeline method
Stops an OpenSearch Ingestion pipeline. For more information, see Stopping an OpenSearch Ingestion pipeline.
May throw AccessDeniedException.
May throw ConflictException.
May throw DisabledOperationException.
May throw InternalException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter pipelineName :
The name of the pipeline to stop.
Implementation
Future<StopPipelineResponse> stopPipeline({
required String pipelineName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'PUT',
requestUri:
'/2022-01-01/osis/stopPipeline/${Uri.encodeComponent(pipelineName)}',
exceptionFnMap: _exceptionFns,
);
return StopPipelineResponse.fromJson(response);
}