1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateFlywheel`](crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`flywheel_arn(impl Into<String>)`](crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder::flywheel_arn) / [`set_flywheel_arn(Option<String>)`](crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder::set_flywheel_arn): <p>The Amazon Resource Number (ARN) of the flywheel to update.</p>
    ///   - [`active_model_arn(impl Into<String>)`](crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder::active_model_arn) / [`set_active_model_arn(Option<String>)`](crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder::set_active_model_arn): <p>The Amazon Resource Number (ARN) of the active model version.</p>
    ///   - [`data_access_role_arn(impl Into<String>)`](crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder::data_access_role_arn) / [`set_data_access_role_arn(Option<String>)`](crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder::set_data_access_role_arn): <p>The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend permission to access the flywheel data.</p>
    ///   - [`data_security_config(UpdateDataSecurityConfig)`](crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder::data_security_config) / [`set_data_security_config(Option<UpdateDataSecurityConfig>)`](crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder::set_data_security_config): <p>Flywheel data security configuration.</p>
    /// - On success, responds with [`UpdateFlywheelOutput`](crate::operation::update_flywheel::UpdateFlywheelOutput) with field(s):
    ///   - [`flywheel_properties(Option<FlywheelProperties>)`](crate::operation::update_flywheel::UpdateFlywheelOutput::flywheel_properties): <p>The flywheel properties.</p>
    /// - On failure, responds with [`SdkError<UpdateFlywheelError>`](crate::operation::update_flywheel::UpdateFlywheelError)
    pub fn update_flywheel(
        &self,
    ) -> crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder {
        crate::operation::update_flywheel::builders::UpdateFlywheelFluentBuilder::new(
            self.handle.clone(),
        )
    }
}