Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Updates a job queue.
Synopsis
- updateJobQueue :: Text -> UpdateJobQueue
- data UpdateJobQueue
- ujqState :: Lens' UpdateJobQueue (Maybe JQState)
- ujqPriority :: Lens' UpdateJobQueue (Maybe Int)
- ujqComputeEnvironmentOrder :: Lens' UpdateJobQueue [ComputeEnvironmentOrder]
- ujqJobQueue :: Lens' UpdateJobQueue Text
- updateJobQueueResponse :: Int -> UpdateJobQueueResponse
- data UpdateJobQueueResponse
- ujqrsJobQueueARN :: Lens' UpdateJobQueueResponse (Maybe Text)
- ujqrsJobQueueName :: Lens' UpdateJobQueueResponse (Maybe Text)
- ujqrsResponseStatus :: Lens' UpdateJobQueueResponse Int
Creating a Request
Creates a value of UpdateJobQueue
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ujqState
- Describes the queue's ability to accept new jobs.ujqPriority
- The priority of the job queue. Job queues with a higher priority (or a higher integer value for thepriority
parameter) are evaluated first when associated with same compute environment. Priority is determined in descending order, for example, a job queue with a priority value of10
is given scheduling preference over a job queue with a priority value of1
.ujqComputeEnvironmentOrder
- Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should execute a given job.ujqJobQueue
- The name or the Amazon Resource Name (ARN) of the job queue.
data UpdateJobQueue Source #
See: updateJobQueue
smart constructor.
Instances
Request Lenses
ujqState :: Lens' UpdateJobQueue (Maybe JQState) Source #
Describes the queue's ability to accept new jobs.
ujqPriority :: Lens' UpdateJobQueue (Maybe Int) Source #
The priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority
parameter) are evaluated first when associated with same compute environment. Priority is determined in descending order, for example, a job queue with a priority value of 10
is given scheduling preference over a job queue with a priority value of 1
.
ujqComputeEnvironmentOrder :: Lens' UpdateJobQueue [ComputeEnvironmentOrder] Source #
Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should execute a given job.
ujqJobQueue :: Lens' UpdateJobQueue Text Source #
The name or the Amazon Resource Name (ARN) of the job queue.
Destructuring the Response
updateJobQueueResponse Source #
Creates a value of UpdateJobQueueResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ujqrsJobQueueARN
- The Amazon Resource Name (ARN) of the job queue.ujqrsJobQueueName
- The name of the job queue.ujqrsResponseStatus
- -- | The response status code.
data UpdateJobQueueResponse Source #
See: updateJobQueueResponse
smart constructor.
Instances
Response Lenses
ujqrsJobQueueARN :: Lens' UpdateJobQueueResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the job queue.
ujqrsJobQueueName :: Lens' UpdateJobQueueResponse (Maybe Text) Source #
The name of the job queue.
ujqrsResponseStatus :: Lens' UpdateJobQueueResponse Int Source #
- - | The response status code.