aws_sdk_controltower/client/
get_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 [`GetBaseline`](crate::operation::get_baseline::builders::GetBaselineFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`baseline_identifier(impl Into<String>)`](crate::operation::get_baseline::builders::GetBaselineFluentBuilder::baseline_identifier) / [`set_baseline_identifier(Option<String>)`](crate::operation::get_baseline::builders::GetBaselineFluentBuilder::set_baseline_identifier):<br>required: **true**<br><p>The ARN of the <code>Baseline</code> resource to be retrieved.</p><br>
    /// - On success, responds with [`GetBaselineOutput`](crate::operation::get_baseline::GetBaselineOutput) with field(s):
    ///   - [`arn(String)`](crate::operation::get_baseline::GetBaselineOutput::arn): <p>The baseline ARN.</p>
    ///   - [`name(String)`](crate::operation::get_baseline::GetBaselineOutput::name): <p>A user-friendly name for the baseline.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_baseline::GetBaselineOutput::description): <p>A description of the baseline.</p>
    /// - On failure, responds with [`SdkError<GetBaselineError>`](crate::operation::get_baseline::GetBaselineError)
    pub fn get_baseline(&self) -> crate::operation::get_baseline::builders::GetBaselineFluentBuilder {
        crate::operation::get_baseline::builders::GetBaselineFluentBuilder::new(self.handle.clone())
    }
}