aws-sdk-iot 1.112.0

AWS SDK for AWS IoT
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>The input to the GetRegistrationCode operation.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GetRegistrationCodeInput {}
impl GetRegistrationCodeInput {
    /// Creates a new builder-style object to manufacture [`GetRegistrationCodeInput`](crate::operation::get_registration_code::GetRegistrationCodeInput).
    pub fn builder() -> crate::operation::get_registration_code::builders::GetRegistrationCodeInputBuilder {
        crate::operation::get_registration_code::builders::GetRegistrationCodeInputBuilder::default()
    }
}

/// A builder for [`GetRegistrationCodeInput`](crate::operation::get_registration_code::GetRegistrationCodeInput).
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct GetRegistrationCodeInputBuilder {}
impl GetRegistrationCodeInputBuilder {
    /// Consumes the builder and constructs a [`GetRegistrationCodeInput`](crate::operation::get_registration_code::GetRegistrationCodeInput).
    pub fn build(
        self,
    ) -> ::std::result::Result<crate::operation::get_registration_code::GetRegistrationCodeInput, ::aws_smithy_types::error::operation::BuildError>
    {
        ::std::result::Result::Ok(crate::operation::get_registration_code::GetRegistrationCodeInput {})
    }
}