aws_sdk_controltower/client/
reset_enabled_baseline.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ResetEnabledBaseline`](crate::operation::reset_enabled_baseline::builders::ResetEnabledBaselineFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`enabled_baseline_identifier(impl Into<String>)`](crate::operation::reset_enabled_baseline::builders::ResetEnabledBaselineFluentBuilder::enabled_baseline_identifier) / [`set_enabled_baseline_identifier(Option<String>)`](crate::operation::reset_enabled_baseline::builders::ResetEnabledBaselineFluentBuilder::set_enabled_baseline_identifier):<br>required: **true**<br><p>Specifies the ID of the <code>EnabledBaseline</code> resource to be re-enabled, in ARN format.</p><br>
    /// - On success, responds with [`ResetEnabledBaselineOutput`](crate::operation::reset_enabled_baseline::ResetEnabledBaselineOutput) with field(s):
    ///   - [`operation_identifier(String)`](crate::operation::reset_enabled_baseline::ResetEnabledBaselineOutput::operation_identifier): <p>The ID (in UUID format) of the asynchronous <code>ResetEnabledBaseline</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<ResetEnabledBaselineError>`](crate::operation::reset_enabled_baseline::ResetEnabledBaselineError)
    pub fn reset_enabled_baseline(&self) -> crate::operation::reset_enabled_baseline::builders::ResetEnabledBaselineFluentBuilder {
        crate::operation::reset_enabled_baseline::builders::ResetEnabledBaselineFluentBuilder::new(self.handle.clone())
    }
}