aws_sdk_batch/client/
update_scheduling_policy.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateSchedulingPolicy`](crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the scheduling policy to update.</p><br>
7    ///   - [`fairshare_policy(FairsharePolicy)`](crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder::fairshare_policy) / [`set_fairshare_policy(Option<FairsharePolicy>)`](crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder::set_fairshare_policy):<br>required: **false**<br><p>The fair-share policy scheduling details.</p><br>
8    /// - On success, responds with [`UpdateSchedulingPolicyOutput`](crate::operation::update_scheduling_policy::UpdateSchedulingPolicyOutput)
9    /// - On failure, responds with [`SdkError<UpdateSchedulingPolicyError>`](crate::operation::update_scheduling_policy::UpdateSchedulingPolicyError)
10    pub fn update_scheduling_policy(&self) -> crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder {
11        crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder::new(self.handle.clone())
12    }
13}