aws_sdk_controltower/client/
get_baseline_operation.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 [`GetBaselineOperation`](crate::operation::get_baseline_operation::builders::GetBaselineOperationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`operation_identifier(impl Into<String>)`](crate::operation::get_baseline_operation::builders::GetBaselineOperationFluentBuilder::operation_identifier) / [`set_operation_identifier(Option<String>)`](crate::operation::get_baseline_operation::builders::GetBaselineOperationFluentBuilder::set_operation_identifier):<br>required: **true**<br><p>The operation ID returned from mutating asynchronous APIs (Enable, Disable, Update, Reset).</p><br>
    /// - On success, responds with [`GetBaselineOperationOutput`](crate::operation::get_baseline_operation::GetBaselineOperationOutput) with field(s):
    ///   - [`baseline_operation(Option<BaselineOperation>)`](crate::operation::get_baseline_operation::GetBaselineOperationOutput::baseline_operation): <p>A <code>baselineOperation</code> object that shows information about the specified operation ID.</p>
    /// - On failure, responds with [`SdkError<GetBaselineOperationError>`](crate::operation::get_baseline_operation::GetBaselineOperationError)
    pub fn get_baseline_operation(&self) -> crate::operation::get_baseline_operation::builders::GetBaselineOperationFluentBuilder {
        crate::operation::get_baseline_operation::builders::GetBaselineOperationFluentBuilder::new(self.handle.clone())
    }
}