aws_sdk_controltower/client/
get_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 [`GetEnabledBaseline`](crate::operation::get_enabled_baseline::builders::GetEnabledBaselineFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`enabled_baseline_identifier(impl Into<String>)`](crate::operation::get_enabled_baseline::builders::GetEnabledBaselineFluentBuilder::enabled_baseline_identifier) / [`set_enabled_baseline_identifier(Option<String>)`](crate::operation::get_enabled_baseline::builders::GetEnabledBaselineFluentBuilder::set_enabled_baseline_identifier):<br>required: **true**<br><p>Identifier of the <code>EnabledBaseline</code> resource to be retrieved, in ARN format.</p><br>
    /// - On success, responds with [`GetEnabledBaselineOutput`](crate::operation::get_enabled_baseline::GetEnabledBaselineOutput) with field(s):
    ///   - [`enabled_baseline_details(Option<EnabledBaselineDetails>)`](crate::operation::get_enabled_baseline::GetEnabledBaselineOutput::enabled_baseline_details): <p>Details of the <code>EnabledBaseline</code> resource.</p>
    /// - On failure, responds with [`SdkError<GetEnabledBaselineError>`](crate::operation::get_enabled_baseline::GetEnabledBaselineError)
    pub fn get_enabled_baseline(&self) -> crate::operation::get_enabled_baseline::builders::GetEnabledBaselineFluentBuilder {
        crate::operation::get_enabled_baseline::builders::GetEnabledBaselineFluentBuilder::new(self.handle.clone())
    }
}