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 [`GetCanary`](crate::operation::get_canary::builders::GetCanaryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::get_canary::builders::GetCanaryFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_canary::builders::GetCanaryFluentBuilder::set_name): <p>The name of the canary that you want details for.</p>
    /// - On success, responds with [`GetCanaryOutput`](crate::operation::get_canary::GetCanaryOutput) with field(s):
    ///   - [`canary(Option<Canary>)`](crate::operation::get_canary::GetCanaryOutput::canary): <p>A structure that contains the full information about the canary.</p>
    /// - On failure, responds with [`SdkError<GetCanaryError>`](crate::operation::get_canary::GetCanaryError)
    pub fn get_canary(&self) -> crate::operation::get_canary::builders::GetCanaryFluentBuilder {
        crate::operation::get_canary::builders::GetCanaryFluentBuilder::new(self.handle.clone())
    }
}