Skip to content

Update Service Job

batch_update_service_job R Documentation

Updates the priority of a specified service job in an Batch job queue

Description

Updates the priority of a specified service job in an Batch job queue.

Usage

batch_update_service_job(jobId, schedulingPriority)

Arguments

jobId

[required] The Batch job ID of the job to update.

schedulingPriority

[required] The scheduling priority for the job. This only affects jobs in job queues with a quota-share or fair-share scheduling policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower scheduling priority within a share.

The minimum supported value is 0 and the maximum supported value is 9999.

Value

A list with the following syntax:

list(
  jobArn = "string",
  jobName = "string",
  jobId = "string"
)

Request syntax

svc$update_service_job(
  jobId = "string",
  schedulingPriority = 123
)