aws_sdk_controltower/client/
update_enabled_baseline.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateEnabledBaseline`](crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`baseline_version(impl Into<String>)`](crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder::baseline_version) / [`set_baseline_version(Option<String>)`](crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder::set_baseline_version):<br>required: **true**<br><p>Specifies the new <code>Baseline</code> version, to which the <code>EnabledBaseline</code> should be updated.</p><br>
    ///   - [`parameters(EnabledBaselineParameter)`](crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder::parameters) / [`set_parameters(Option<Vec::<EnabledBaselineParameter>>)`](crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder::set_parameters):<br>required: **false**<br><p>Parameters to apply when making an update.</p><br>
    ///   - [`enabled_baseline_identifier(impl Into<String>)`](crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder::enabled_baseline_identifier) / [`set_enabled_baseline_identifier(Option<String>)`](crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder::set_enabled_baseline_identifier):<br>required: **true**<br><p>Specifies the <code>EnabledBaseline</code> resource to be updated.</p><br>
    /// - On success, responds with [`UpdateEnabledBaselineOutput`](crate::operation::update_enabled_baseline::UpdateEnabledBaselineOutput) with field(s):
    ///   - [`operation_identifier(String)`](crate::operation::update_enabled_baseline::UpdateEnabledBaselineOutput::operation_identifier): <p>The ID (in UUID format) of the asynchronous <code>UpdateEnabledBaseline</code> operation. This <code>operationIdentifier</code> is used to track status through calls to the <code>GetBaselineOperation</code> API.</p>
    /// - On failure, responds with [`SdkError<UpdateEnabledBaselineError>`](crate::operation::update_enabled_baseline::UpdateEnabledBaselineError)
    pub fn update_enabled_baseline(&self) -> crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder {
        crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder::new(self.handle.clone())
    }
}