AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateJobQueue operation. Updates a job queue.
Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z
public class UpdateJobQueueRequest : AmazonBatchRequest IAmazonWebServiceRequest
The UpdateJobQueueRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateJobQueueRequest() |
Name | Type | Description | |
---|---|---|---|
ComputeEnvironmentOrder | System.Collections.Generic.List<Amazon.Batch.Model.ComputeEnvironmentOrder> |
Gets and sets the property 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 runs a given job. Compute environments must be in the All compute environments that are associated with a job queue must share the same architecture. Batch doesn't support mixing compute environment architecture types in a single job queue. |
|
JobQueue | System.String |
Gets and sets the property JobQueue. The name or the Amazon Resource Name (ARN) of the job queue. |
|
JobStateTimeLimitActions | System.Collections.Generic.List<Amazon.Batch.Model.JobStateTimeLimitAction> |
Gets and sets the property JobStateTimeLimitActions.
The set of actions that Batch perform on jobs that remain at the head of the job queue
in the specified state longer than specified times. Batch will perform each action
after |
|
Priority | System.Int32 |
Gets and sets the property Priority.
The priority of the job queue. Job queues with a higher priority (or a higher integer
value for the |
|
SchedulingPolicyArn | System.String |
Gets and sets the property SchedulingPolicyArn.
Amazon Resource Name (ARN) of the fair share scheduling policy. Once a job queue is
created, the fair share scheduling policy can be replaced but not removed. The format
is |
|
State | Amazon.Batch.JQState |
Gets and sets the property State.
Describes the queue's ability to accept new jobs. If the job queue state is |
This example disables a job queue so that it can be deleted.
var client = new AmazonBatchClient(); var response = client.UpdateJobQueue(new UpdateJobQueueRequest { JobQueue = "GPGPU", State = "DISABLED" }); string jobQueueArn = response.JobQueueArn; string jobQueueName = response.JobQueueName;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5