aws-sdk-batch 1.114.0

AWS SDK for AWS Batch
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateServiceJob`](crate::operation::update_service_job::builders::UpdateServiceJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::update_service_job::builders::UpdateServiceJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::update_service_job::builders::UpdateServiceJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The Batch job ID of the job to update.</p><br>
    ///   - [`scheduling_priority(i32)`](crate::operation::update_service_job::builders::UpdateServiceJobFluentBuilder::scheduling_priority) / [`set_scheduling_priority(Option<i32>)`](crate::operation::update_service_job::builders::UpdateServiceJobFluentBuilder::set_scheduling_priority):<br>required: **true**<br><p>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.</p> <p>The minimum supported value is 0 and the maximum supported value is 9999.</p><br>
    /// - On success, responds with [`UpdateServiceJobOutput`](crate::operation::update_service_job::UpdateServiceJobOutput) with field(s):
    ///   - [`job_arn(Option<String>)`](crate::operation::update_service_job::UpdateServiceJobOutput::job_arn): <p>The Amazon Resource Name (ARN) for the job.</p>
    ///   - [`job_name(Option<String>)`](crate::operation::update_service_job::UpdateServiceJobOutput::job_name): <p>The name of the job.</p>
    ///   - [`job_id(Option<String>)`](crate::operation::update_service_job::UpdateServiceJobOutput::job_id): <p>The unique identifier for the job.</p>
    /// - On failure, responds with [`SdkError<UpdateServiceJobError>`](crate::operation::update_service_job::UpdateServiceJobError)
    pub fn update_service_job(&self) -> crate::operation::update_service_job::builders::UpdateServiceJobFluentBuilder {
        crate::operation::update_service_job::builders::UpdateServiceJobFluentBuilder::new(self.handle.clone())
    }
}