Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DeleteJobQueue = DeleteJobQueue' {}
- newDeleteJobQueue :: Text -> DeleteJobQueue
- deleteJobQueue_jobQueue :: Lens' DeleteJobQueue Text
- data DeleteJobQueueResponse = DeleteJobQueueResponse' {
- httpStatus :: Int
- newDeleteJobQueueResponse :: Int -> DeleteJobQueueResponse
- deleteJobQueueResponse_httpStatus :: Lens' DeleteJobQueueResponse Int
Creating a Request
data DeleteJobQueue Source #
Contains the parameters for DeleteJobQueue
.
See: newDeleteJobQueue
smart constructor.
Constructors
DeleteJobQueue' | |
Instances
Arguments
:: Text | |
-> DeleteJobQueue |
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
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
deleteJobQueueResponse_httpStatus :: Lens' DeleteJobQueueResponse Int Source #
The response's http status code.