aws_sdk_controltower/client/disable_baseline.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DisableBaseline`](crate::operation::disable_baseline::builders::DisableBaselineFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`enabled_baseline_identifier(impl Into<String>)`](crate::operation::disable_baseline::builders::DisableBaselineFluentBuilder::enabled_baseline_identifier) / [`set_enabled_baseline_identifier(Option<String>)`](crate::operation::disable_baseline::builders::DisableBaselineFluentBuilder::set_enabled_baseline_identifier):<br>required: **true**<br><p>Identifier of the <code>EnabledBaseline</code> resource to be deactivated, in ARN format.</p><br>
/// - On success, responds with [`DisableBaselineOutput`](crate::operation::disable_baseline::DisableBaselineOutput) with field(s):
/// - [`operation_identifier(String)`](crate::operation::disable_baseline::DisableBaselineOutput::operation_identifier): <p>The ID (in UUID format) of the asynchronous <code>DisableBaseline</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<DisableBaselineError>`](crate::operation::disable_baseline::DisableBaselineError)
pub fn disable_baseline(&self) -> crate::operation::disable_baseline::builders::DisableBaselineFluentBuilder {
crate::operation::disable_baseline::builders::DisableBaselineFluentBuilder::new(self.handle.clone())
}
}