deletePipeline method
Deletes the specified pipeline.
May throw InvalidRequestException. May throw ResourceNotFoundException. May throw InternalFailureException. May throw ServiceUnavailableException. May throw ThrottlingException.
Parameter pipelineName
:
The name of the pipeline to delete.
Implementation
Future<void> deletePipeline({
required String pipelineName,
}) async {
ArgumentError.checkNotNull(pipelineName, 'pipelineName');
_s.validateStringLength(
'pipelineName',
pipelineName,
1,
128,
isRequired: true,
);
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/pipelines/${Uri.encodeComponent(pipelineName)}',
exceptionFnMap: _exceptionFns,
);
}