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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSchedulingPolicy`](crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`quota_share_policy(QuotaSharePolicy)`](crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder::quota_share_policy) / [`set_quota_share_policy(Option<QuotaSharePolicy>)`](crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder::set_quota_share_policy):<br>required: **false**<br><p>The quota share scheduling policy details. Once set during creation, a quotaSharePolicy cannot be removed or changed to a fairsharePolicy.</p><br>
    ///   - [`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. Once set during creation, a fairsharePolicy cannot be removed or changed to a quotaSharePolicy.</p><br>
    /// - On success, responds with [`UpdateSchedulingPolicyOutput`](crate::operation::update_scheduling_policy::UpdateSchedulingPolicyOutput)
    /// - On failure, responds with [`SdkError<UpdateSchedulingPolicyError>`](crate::operation::update_scheduling_policy::UpdateSchedulingPolicyError)
    pub fn update_scheduling_policy(&self) -> crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder {
        crate::operation::update_scheduling_policy::builders::UpdateSchedulingPolicyFluentBuilder::new(self.handle.clone())
    }
}