paws.compute (version 0.1.0)

batch_update_job_queue: Updates a job queue

Description

Updates a job queue.

Usage

batch_update_job_queue(jobQueue, state, priority,
  computeEnvironmentOrder)

Arguments

jobQueue

[required] The name or the Amazon Resource Name (ARN) of the job queue.

state

Describes the queue's ability to accept new jobs.

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.

computeEnvironmentOrder

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.

Request syntax

svc$update_job_queue(
  jobQueue = "string",
  state = "ENABLED"|"DISABLED",
  priority = 123,
  computeEnvironmentOrder = list(
    list(
      order = 123,
      computeEnvironment = "string"
    )
  )
)

Examples

Run this code
# NOT RUN {
# This example disables a job queue so that it can be deleted.
# }
# NOT RUN {
svc$update_job_queue(
  jobQueue = "GPGPU",
  state = "DISABLED"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace