aws_sdk_controltower/client/update_enabled_baseline.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 [`UpdateEnabledBaseline`](crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`UpdateEnabledBaselineOutput`](crate::operation::update_enabled_baseline::UpdateEnabledBaselineOutput) with field(s):
10 /// - [`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>
11 /// - On failure, responds with [`SdkError<UpdateEnabledBaselineError>`](crate::operation::update_enabled_baseline::UpdateEnabledBaselineError)
12 pub fn update_enabled_baseline(&self) -> crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder {
13 crate::operation::update_enabled_baseline::builders::UpdateEnabledBaselineFluentBuilder::new(self.handle.clone())
14 }
15}