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 |
Synopsis
- data JobQueueDetail = JobQueueDetail' {
- status :: Maybe JQStatus
- statusReason :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- jobQueueName :: Text
- jobQueueArn :: Text
- state :: JQState
- priority :: Int
- computeEnvironmentOrder :: [ComputeEnvironmentOrder]
- newJobQueueDetail :: Text -> Text -> JQState -> Int -> JobQueueDetail
- jobQueueDetail_status :: Lens' JobQueueDetail (Maybe JQStatus)
- jobQueueDetail_statusReason :: Lens' JobQueueDetail (Maybe Text)
- jobQueueDetail_tags :: Lens' JobQueueDetail (Maybe (HashMap Text Text))
- jobQueueDetail_jobQueueName :: Lens' JobQueueDetail Text
- jobQueueDetail_jobQueueArn :: Lens' JobQueueDetail Text
- jobQueueDetail_state :: Lens' JobQueueDetail JQState
- jobQueueDetail_priority :: Lens' JobQueueDetail Int
- jobQueueDetail_computeEnvironmentOrder :: Lens' JobQueueDetail [ComputeEnvironmentOrder]
Documentation
data JobQueueDetail Source #
An object representing the details of an Batch job queue.
See: newJobQueueDetail
smart constructor.
JobQueueDetail' | |
|
Instances
:: Text | |
-> Text | |
-> JQState | |
-> Int | |
-> JobQueueDetail |
Create a value of JobQueueDetail
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:status:JobQueueDetail'
, jobQueueDetail_status
- The status of the job queue (for example, CREATING
or VALID
).
$sel:statusReason:JobQueueDetail'
, jobQueueDetail_statusReason
- A short, human-readable string to provide additional details about the
current status of the job queue.
$sel:tags:JobQueueDetail'
, jobQueueDetail_tags
- The tags applied to the job queue. For more information, see
Tagging your Batch resources
in Batch User Guide.
$sel:jobQueueName:JobQueueDetail'
, jobQueueDetail_jobQueueName
- The name of the job queue.
$sel:jobQueueArn:JobQueueDetail'
, jobQueueDetail_jobQueueArn
- The Amazon Resource Name (ARN) of the job queue.
$sel:state:JobQueueDetail'
, jobQueueDetail_state
- Describes the ability of the queue to accept new jobs. If the job queue
state is ENABLED
, it's able to accept jobs. If the job queue state is
DISABLED
, new jobs can't be added to the queue, but jobs already in
the queue can finish.
$sel:priority:JobQueueDetail'
, jobQueueDetail_priority
- 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 the 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
. All of the compute environments must be either
EC2 (EC2
or SPOT
) or Fargate (FARGATE
or FARGATE_SPOT
); EC2 and
Fargate compute environments can't be mixed.
$sel:computeEnvironmentOrder:JobQueueDetail'
, jobQueueDetail_computeEnvironmentOrder
- The compute environments that are attached to the job queue and the
order that job placement is preferred. Compute environments are selected
for job placement in ascending order.
jobQueueDetail_status :: Lens' JobQueueDetail (Maybe JQStatus) Source #
The status of the job queue (for example, CREATING
or VALID
).
jobQueueDetail_statusReason :: Lens' JobQueueDetail (Maybe Text) Source #
A short, human-readable string to provide additional details about the current status of the job queue.
jobQueueDetail_tags :: Lens' JobQueueDetail (Maybe (HashMap Text Text)) Source #
The tags applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
jobQueueDetail_jobQueueName :: Lens' JobQueueDetail Text Source #
The name of the job queue.
jobQueueDetail_jobQueueArn :: Lens' JobQueueDetail Text Source #
The Amazon Resource Name (ARN) of the job queue.
jobQueueDetail_state :: Lens' JobQueueDetail JQState Source #
Describes the ability of the queue to accept new jobs. If the job queue
state is ENABLED
, it's able to accept jobs. If the job queue state is
DISABLED
, new jobs can't be added to the queue, but jobs already in
the queue can finish.
jobQueueDetail_priority :: Lens' JobQueueDetail 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 the 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
. All of the compute environments must be either
EC2 (EC2
or SPOT
) or Fargate (FARGATE
or FARGATE_SPOT
); EC2 and
Fargate compute environments can't be mixed.
jobQueueDetail_computeEnvironmentOrder :: Lens' JobQueueDetail [ComputeEnvironmentOrder] Source #
The compute environments that are attached to the job queue and the order that job placement is preferred. Compute environments are selected for job placement in ascending order.