deletePipeline method

Future<void> deletePipeline({
  1. required String pipelineName,
})

Deletes an OpenSearch Ingestion pipeline. For more information, see Deleting Amazon OpenSearch Ingestion pipelines.

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 delete.

Implementation

Future<void> deletePipeline({
  required String pipelineName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/2022-01-01/osis/deletePipeline/${Uri.encodeComponent(pipelineName)}',
    exceptionFnMap: _exceptionFns,
  );
}