deletePipe method

Future<DeletePipeResponse> deletePipe({
  1. required String name,
})

Delete an existing pipe. For more information about pipes, see Amazon EventBridge Pipes in the Amazon EventBridge User Guide.

May throw ConflictException. May throw InternalException. May throw NotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter name : The name of the pipe.

Implementation

Future<DeletePipeResponse> deletePipe({
  required String name,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v1/pipes/${Uri.encodeComponent(name)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeletePipeResponse.fromJson(response);
}