Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/misc/rust-client-codegen/src/operation/response_code_required_operation/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::response_code_required_operation::_response_code_required_operation_output::ResponseCodeRequiredOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::response_code_required_operation::_response_code_required_operation_input::ResponseCodeRequiredOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::response_code_required_operation::_response_code_required_operation_output::ResponseCodeRequiredOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::response_code_required_operation::builders::ResponseCodeRequiredOperationInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::response_code_required_operation::ResponseCodeRequiredOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::response_code_required_operation::ResponseCodeRequiredOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/misc/rust-client-codegen/src/operation/type_complexity_operation.rs

@@ -300,300 +339,339 @@
  320    320   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  321    321   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  322    322   
    ) -> Self {
  323    323   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  324    324   
            source,
  325    325   
            meta: meta.unwrap_or_default(),
  326    326   
        })
  327    327   
    }
  328    328   
}
  329    329   
  330         -
pub use crate::operation::type_complexity_operation::_type_complexity_operation_output::TypeComplexityOperationOutput;
  331         -
  332    330   
pub use crate::operation::type_complexity_operation::_type_complexity_operation_input::TypeComplexityOperationInput;
  333    331   
         332  +
pub use crate::operation::type_complexity_operation::_type_complexity_operation_output::TypeComplexityOperationOutput;
         333  +
  334    334   
mod _type_complexity_operation_input;
  335    335   
  336    336   
mod _type_complexity_operation_output;
  337    337   
  338    338   
/// Builders
  339    339   
pub mod builders;

tmp-codegen-diff/codegen-client-test/misc/rust-client-codegen/src/operation/type_complexity_operation/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::type_complexity_operation::_type_complexity_operation_output::TypeComplexityOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::type_complexity_operation::_type_complexity_operation_input::TypeComplexityOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::type_complexity_operation::_type_complexity_operation_output::TypeComplexityOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::type_complexity_operation::builders::TypeComplexityOperationInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::type_complexity_operation::TypeComplexityOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::type_complexity_operation::TypeComplexityOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/misc/rust-client-codegen/src/types.rs

@@ -1,1 +26,26 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::_validation_exception_field::ValidationExceptionField;
    3         -
    4      2   
pub use crate::types::_inner_shape::InnerShape;
    5      3   
    6      4   
pub use crate::types::_innermost_shape::InnermostShape;
    7      5   
           6  +
pub use crate::types::_validation_exception_field::ValidationExceptionField;
           7  +
    8      8   
pub use crate::types::_a_union::AUnion;
    9      9   
   10     10   
pub use crate::types::_empty_structure::EmptyStructure;
   11     11   
   12     12   
mod _a_union;
   13     13   
   14     14   
mod _empty_structure;
   15     15   
   16     16   
mod _inner_shape;
   17     17   

tmp-codegen-diff/codegen-client-test/misc/rust-client-codegen/src/types/builders.rs

@@ -1,1 +8,8 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::_validation_exception_field::ValidationExceptionFieldBuilder;
    3         -
    4      2   
pub use crate::types::_inner_shape::InnerShapeBuilder;
    5      3   
    6      4   
pub use crate::types::_innermost_shape::InnermostShapeBuilder;
    7      5   
           6  +
pub use crate::types::_validation_exception_field::ValidationExceptionFieldBuilder;
           7  +
    8      8   
pub use crate::types::_empty_structure::EmptyStructureBuilder;

tmp-codegen-diff/codegen-client-test/naming_test_casing/rust-client-codegen/src/operation/do_nothing.rs

@@ -292,292 +331,331 @@
  312    312   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  313    313   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  314    314   
    ) -> Self {
  315    315   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  316    316   
            source,
  317    317   
            meta: meta.unwrap_or_default(),
  318    318   
        })
  319    319   
    }
  320    320   
}
  321    321   
  322         -
pub use crate::operation::do_nothing::_do_nothing_output::DoNothingOutput;
  323         -
  324    322   
pub use crate::operation::do_nothing::_do_nothing_input::DoNothingInput;
  325    323   
         324  +
pub use crate::operation::do_nothing::_do_nothing_output::DoNothingOutput;
         325  +
  326    326   
mod _do_nothing_input;
  327    327   
  328    328   
mod _do_nothing_output;
  329    329   
  330    330   
/// Builders
  331    331   
pub mod builders;

tmp-codegen-diff/codegen-client-test/naming_test_casing/rust-client-codegen/src/operation/do_nothing/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::do_nothing::_do_nothing_output::DoNothingOutputBuilder;
    3         -
    4      2   
pub use crate::operation::do_nothing::_do_nothing_input::DoNothingInputBuilder;
    5      3   
           4  +
pub use crate::operation::do_nothing::_do_nothing_output::DoNothingOutputBuilder;
           5  +
    6      6   
impl crate::operation::do_nothing::builders::DoNothingInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::do_nothing::DoNothingOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::do_nothing::DoNothingError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/naming_test_ops/rust-client-codegen/src/operation/err_collisions.rs

@@ -311,311 +350,350 @@
  331    331   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  332    332   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  333    333   
    ) -> Self {
  334    334   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  335    335   
            source,
  336    336   
            meta: meta.unwrap_or_default(),
  337    337   
        })
  338    338   
    }
  339    339   
}
  340    340   
  341         -
pub use crate::operation::err_collisions::_err_collisions_output::ErrCollisionsOutput;
  342         -
  343    341   
pub use crate::operation::err_collisions::_err_collisions_input::ErrCollisionsInput;
  344    342   
         343  +
pub use crate::operation::err_collisions::_err_collisions_output::ErrCollisionsOutput;
         344  +
  345    345   
mod _err_collisions_input;
  346    346   
  347    347   
mod _err_collisions_output;
  348    348   
  349    349   
/// Builders
  350    350   
pub mod builders;

tmp-codegen-diff/codegen-client-test/naming_test_ops/rust-client-codegen/src/operation/err_collisions/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::err_collisions::_err_collisions_output::ErrCollisionsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::err_collisions::_err_collisions_input::ErrCollisionsInputBuilder;
    5      3   
           4  +
pub use crate::operation::err_collisions::_err_collisions_output::ErrCollisionsOutputBuilder;
           5  +
    6      6   
impl crate::operation::err_collisions::builders::ErrCollisionsInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::err_collisions::ErrCollisionsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::err_collisions::ErrCollisionsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/naming_test_ops/rust-client-codegen/src/operation/match_.rs

@@ -290,290 +329,329 @@
  310    310   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  311    311   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  312    312   
    ) -> Self {
  313    313   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  314    314   
            source,
  315    315   
            meta: meta.unwrap_or_default(),
  316    316   
        })
  317    317   
    }
  318    318   
}
  319    319   
  320         -
pub use crate::operation::match_::_match_output::MatchOutput;
  321         -
  322    320   
pub use crate::operation::match_::_match_input::MatchInput;
  323    321   
         322  +
pub use crate::operation::match_::_match_output::MatchOutput;
         323  +
  324    324   
mod _match_input;
  325    325   
  326    326   
mod _match_output;
  327    327   
  328    328   
/// Builders
  329    329   
pub mod builders;

tmp-codegen-diff/codegen-client-test/naming_test_ops/rust-client-codegen/src/operation/match_/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::match_::_match_output::MatchOutputBuilder;
    3         -
    4      2   
pub use crate::operation::match_::_match_input::MatchInputBuilder;
    5      3   
           4  +
pub use crate::operation::match_::_match_output::MatchOutputBuilder;
           5  +
    6      6   
impl crate::operation::match_::builders::MatchInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::match_::MatchOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::match_::MatchError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/naming_test_ops/rust-client-codegen/src/operation/option.rs

@@ -281,281 +320,320 @@
  301    301   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  302    302   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  303    303   
    ) -> Self {
  304    304   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  305    305   
            source,
  306    306   
            meta: meta.unwrap_or_default(),
  307    307   
        })
  308    308   
    }
  309    309   
}
  310    310   
  311         -
pub use crate::operation::option::_option_output::OptionOutput;
  312         -
  313    311   
pub use crate::operation::option::_option_input::OptionInput;
  314    312   
         313  +
pub use crate::operation::option::_option_output::OptionOutput;
         314  +
  315    315   
mod _option_input;
  316    316   
  317    317   
mod _option_output;
  318    318   
  319    319   
/// Builders
  320    320   
pub mod builders;

tmp-codegen-diff/codegen-client-test/naming_test_ops/rust-client-codegen/src/operation/option/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::option::_option_output::OptionOutputBuilder;
    3         -
    4      2   
pub use crate::operation::option::_option_input::OptionInputBuilder;
    5      3   
           4  +
pub use crate::operation::option::_option_output::OptionOutputBuilder;
           5  +
    6      6   
impl crate::operation::option::builders::OptionInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::option::OptionOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::option::OptionError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/naming_test_ops/rust-client-codegen/src/operation/reserved_words_as_members.rs

@@ -351,351 +390,390 @@
  371    371   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  372    372   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  373    373   
    ) -> Self {
  374    374   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  375    375   
            source,
  376    376   
            meta: meta.unwrap_or_default(),
  377    377   
        })
  378    378   
    }
  379    379   
}
  380    380   
  381         -
pub use crate::operation::reserved_words_as_members::_reserved_words_as_members_output::ReservedWordsAsMembersOutput;
  382         -
  383    381   
pub use crate::operation::reserved_words_as_members::_reserved_words_as_members_input::ReservedWordsAsMembersInput;
  384    382   
         383  +
pub use crate::operation::reserved_words_as_members::_reserved_words_as_members_output::ReservedWordsAsMembersOutput;
         384  +
  385    385   
mod _reserved_words_as_members_input;
  386    386   
  387    387   
mod _reserved_words_as_members_output;
  388    388   
  389    389   
/// Builders
  390    390   
pub mod builders;

tmp-codegen-diff/codegen-client-test/naming_test_ops/rust-client-codegen/src/operation/reserved_words_as_members/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::reserved_words_as_members::_reserved_words_as_members_output::ReservedWordsAsMembersOutputBuilder;
    3         -
    4      2   
pub use crate::operation::reserved_words_as_members::_reserved_words_as_members_input::ReservedWordsAsMembersInputBuilder;
    5      3   
           4  +
pub use crate::operation::reserved_words_as_members::_reserved_words_as_members_output::ReservedWordsAsMembersOutputBuilder;
           5  +
    6      6   
impl crate::operation::reserved_words_as_members::builders::ReservedWordsAsMembersInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::reserved_words_as_members::ReservedWordsAsMembersOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::reserved_words_as_members::ReservedWordsAsMembersError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/naming_test_ops/rust-client-codegen/src/operation/result.rs

@@ -281,281 +320,320 @@
  301    301   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  302    302   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  303    303   
    ) -> Self {
  304    304   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  305    305   
            source,
  306    306   
            meta: meta.unwrap_or_default(),
  307    307   
        })
  308    308   
    }
  309    309   
}
  310    310   
  311         -
pub use crate::operation::result::_result_output::ResultOutput;
  312         -
  313    311   
pub use crate::operation::result::_result_input::ResultInput;
  314    312   
         313  +
pub use crate::operation::result::_result_output::ResultOutput;
         314  +
  315    315   
mod _result_input;
  316    316   
  317    317   
mod _result_output;
  318    318   
  319    319   
/// Builders
  320    320   
pub mod builders;