deletePipeline method

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

Deletes the specified pipeline.

May throw ConcurrentModificationException. May throw ValidationException.

Parameter name : The name of the pipeline to be deleted.

Implementation

Future<void> deletePipeline({
  required String name,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'CodePipeline_20150709.DeletePipeline'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'name': name,
    },
  );
}