1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRegistrationCode`](crate::operation::get_registration_code::builders::GetRegistrationCodeFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_registration_code::builders::GetRegistrationCodeFluentBuilder::send) it.
    /// - On success, responds with [`GetRegistrationCodeOutput`](crate::operation::get_registration_code::GetRegistrationCodeOutput) with field(s):
    ///   - [`registration_code(Option<String>)`](crate::operation::get_registration_code::GetRegistrationCodeOutput::registration_code): <p>The CA certificate registration code.</p>
    /// - On failure, responds with [`SdkError<GetRegistrationCodeError>`](crate::operation::get_registration_code::GetRegistrationCodeError)
    pub fn get_registration_code(
        &self,
    ) -> crate::operation::get_registration_code::builders::GetRegistrationCodeFluentBuilder {
        crate::operation::get_registration_code::builders::GetRegistrationCodeFluentBuilder::new(
            self.handle.clone(),
        )
    }
}