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 |
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.
Instances
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.
DeleteJobQueueResponse' | |
|
Instances
Eq DeleteJobQueueResponse Source # | |
Defined in Amazonka.Batch.DeleteJobQueue | |
Read DeleteJobQueueResponse Source # | |
Show DeleteJobQueueResponse Source # | |
Defined in Amazonka.Batch.DeleteJobQueue showsPrec :: Int -> DeleteJobQueueResponse -> ShowS # show :: DeleteJobQueueResponse -> String # showList :: [DeleteJobQueueResponse] -> ShowS # | |
Generic DeleteJobQueueResponse Source # | |
Defined in Amazonka.Batch.DeleteJobQueue type Rep DeleteJobQueueResponse :: Type -> Type # | |
NFData DeleteJobQueueResponse Source # | |
Defined in Amazonka.Batch.DeleteJobQueue rnf :: DeleteJobQueueResponse -> () # | |
type Rep DeleteJobQueueResponse Source # | |
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
deleteJobQueueResponse_httpStatus :: Lens' DeleteJobQueueResponse Int Source #
The response's http status code.