libZSservicesZSamazonka-batchZSamazonka-batch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Batch.DeleteJobQueue

Description

Deletes the specified job queue. You must first disable submissions for a queue with the UpdateJobQueue operation. All jobs in the queue are eventually terminated when you delete a job queue. The jobs are terminated at a rate of about 16 jobs each second.

It's not necessary to disassociate compute environments from a queue before submitting a DeleteJobQueue request.

Synopsis

Creating a Request

data DeleteJobQueue Source #

Contains the parameters for DeleteJobQueue.

See: newDeleteJobQueue smart constructor.

Constructors

DeleteJobQueue' 

Fields

  • jobQueue :: Text

    The short name or full Amazon Resource Name (ARN) of the queue to delete.

Instances

Instances details
Eq DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Read DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Show DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Generic DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Associated Types

type Rep DeleteJobQueue :: Type -> Type #

NFData DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Methods

rnf :: DeleteJobQueue -> () #

Hashable DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

ToJSON DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

AWSRequest DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Associated Types

type AWSResponse DeleteJobQueue #

ToHeaders DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

ToPath DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

ToQuery DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

type Rep DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

type Rep DeleteJobQueue = D1 ('MetaData "DeleteJobQueue" "Amazonka.Batch.DeleteJobQueue" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "DeleteJobQueue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobQueue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteJobQueue Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

newDeleteJobQueue Source #

Create a value of DeleteJobQueue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:jobQueue:DeleteJobQueue', deleteJobQueue_jobQueue - The short name or full Amazon Resource Name (ARN) of the queue to delete.

Request Lenses

deleteJobQueue_jobQueue :: Lens' DeleteJobQueue Text Source #

The short name or full Amazon Resource Name (ARN) of the queue to delete.

Destructuring the Response

data DeleteJobQueueResponse Source #

See: newDeleteJobQueueResponse smart constructor.

Constructors

DeleteJobQueueResponse' 

Fields

Instances

Instances details
Eq DeleteJobQueueResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Read DeleteJobQueueResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Show DeleteJobQueueResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Generic DeleteJobQueueResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Associated Types

type Rep DeleteJobQueueResponse :: Type -> Type #

NFData DeleteJobQueueResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

Methods

rnf :: DeleteJobQueueResponse -> () #

type Rep DeleteJobQueueResponse Source # 
Instance details

Defined in Amazonka.Batch.DeleteJobQueue

type Rep DeleteJobQueueResponse = D1 ('MetaData "DeleteJobQueueResponse" "Amazonka.Batch.DeleteJobQueue" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "DeleteJobQueueResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteJobQueueResponse Source #

Create a value of DeleteJobQueueResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:DeleteJobQueueResponse', deleteJobQueueResponse_httpStatus - The response's http status code.

Response Lenses