Struct aws_sdk_batch::client::fluent_builders::UpdateJobQueue [−][src]
pub struct UpdateJobQueue<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateJobQueue
.
Updates a job queue.
Implementations
impl<C, M, R> UpdateJobQueue<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateJobQueue<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateJobQueueOutput, SdkError<UpdateJobQueueError>> where
R::Policy: SmithyRetryPolicy<UpdateJobQueueInputOperationOutputAlias, UpdateJobQueueOutput, UpdateJobQueueError, UpdateJobQueueInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateJobQueueOutput, SdkError<UpdateJobQueueError>> where
R::Policy: SmithyRetryPolicy<UpdateJobQueueInputOperationOutputAlias, UpdateJobQueueOutput, UpdateJobQueueError, UpdateJobQueueInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name or the Amazon Resource Name (ARN) of the job queue.
The name or the Amazon Resource Name (ARN) of the job queue.
Describes the queue's ability to accept new jobs. If the job queue state is ENABLED
, it can 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.
Describes the queue's ability to accept new jobs. If the job queue state is ENABLED
, it can 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.
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.
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.
Appends an item to computeEnvironmentOrder
.
To override the contents of this collection use set_compute_environment_order
.
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 run a given job.
Compute environments must be in the VALID
state before you can associate them with a job queue. 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.
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.
pub fn set_compute_environment_order(
self,
input: Option<Vec<ComputeEnvironmentOrder>>
) -> Self
pub fn set_compute_environment_order(
self,
input: Option<Vec<ComputeEnvironmentOrder>>
) -> Self
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 run a given job.
Compute environments must be in the VALID
state before you can associate them with a job queue. 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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateJobQueue<C, M, R>
impl<C, M, R> Send for UpdateJobQueue<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateJobQueue<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateJobQueue<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateJobQueue<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more