There are more AWS SDK examples available in the AWS Doc SDK Examples
Use UpdateJobQueue
with an AWS SDK or CLI
The following code examples show how to use UpdateJobQueue
.
Action examples are code excerpts from larger programs and must be run in context. You can see this action in context in the following code example:
- AWS CLI
-
To update a job queue
This example disables a job queue so that it can be deleted.
Command:
aws batch update-job-queue --job-queue
GPGPU
--stateDISABLED
Output:
{ "jobQueueArn": "arn:aws:batch:us-east-1:012345678910:job-queue/GPGPU", "jobQueueName": "GPGPU" }
-
For API details, see UpdateJobQueue
in AWS CLI Command Reference.
-