Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/checksum_required.rs

@@ -336,336 +375,375 @@
  356    356   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  357    357   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  358    358   
    ) -> Self {
  359    359   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  360    360   
            source,
  361    361   
            meta: meta.unwrap_or_default(),
  362    362   
        })
  363    363   
    }
  364    364   
}
  365    365   
  366         -
pub use crate::operation::checksum_required::_checksum_required_output::ChecksumRequiredOutput;
  367         -
  368    366   
pub use crate::operation::checksum_required::_checksum_required_input::ChecksumRequiredInput;
  369    367   
         368  +
pub use crate::operation::checksum_required::_checksum_required_output::ChecksumRequiredOutput;
         369  +
  370    370   
mod _checksum_required_input;
  371    371   
  372    372   
mod _checksum_required_output;
  373    373   
  374    374   
/// Builders
  375    375   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/checksum_required/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::checksum_required::_checksum_required_output::ChecksumRequiredOutputBuilder;
    3         -
    4      2   
pub use crate::operation::checksum_required::_checksum_required_input::ChecksumRequiredInputBuilder;
    5      3   
           4  +
pub use crate::operation::checksum_required::_checksum_required_output::ChecksumRequiredOutputBuilder;
           5  +
    6      6   
impl crate::operation::checksum_required::builders::ChecksumRequiredInputBuilder {
    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::checksum_required::ChecksumRequiredOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::checksum_required::ChecksumRequiredError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/create_foo.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::create_foo::_create_foo_output::CreateFooOutput;
  321         -
  322    320   
pub use crate::operation::create_foo::_create_foo_input::CreateFooInput;
  323    321   
         322  +
pub use crate::operation::create_foo::_create_foo_output::CreateFooOutput;
         323  +
  324    324   
mod _create_foo_input;
  325    325   
  326    326   
mod _create_foo_output;
  327    327   
  328    328   
/// Builders
  329    329   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/create_foo/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::create_foo::_create_foo_output::CreateFooOutputBuilder;
    3         -
    4      2   
pub use crate::operation::create_foo::_create_foo_input::CreateFooInputBuilder;
    5      3   
           4  +
pub use crate::operation::create_foo::_create_foo_output::CreateFooOutputBuilder;
           5  +
    6      6   
impl crate::operation::create_foo::builders::CreateFooInputBuilder {
    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::create_foo::CreateFooOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::create_foo::CreateFooError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/enum_keys.rs

@@ -377,377 +416,416 @@
  397    397   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  398    398   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  399    399   
    ) -> Self {
  400    400   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  401    401   
            source,
  402    402   
            meta: meta.unwrap_or_default(),
  403    403   
        })
  404    404   
    }
  405    405   
}
  406    406   
  407         -
pub use crate::operation::enum_keys::_enum_keys_output::EnumKeysOutput;
  408         -
  409    407   
pub use crate::operation::enum_keys::_enum_keys_input::EnumKeysInput;
  410    408   
         409  +
pub use crate::operation::enum_keys::_enum_keys_output::EnumKeysOutput;
         410  +
  411    411   
mod _enum_keys_input;
  412    412   
  413    413   
mod _enum_keys_output;
  414    414   
  415    415   
/// Builders
  416    416   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/enum_keys/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::enum_keys::_enum_keys_output::EnumKeysOutputBuilder;
    3         -
    4      2   
pub use crate::operation::enum_keys::_enum_keys_input::EnumKeysInputBuilder;
    5      3   
           4  +
pub use crate::operation::enum_keys::_enum_keys_output::EnumKeysOutputBuilder;
           5  +
    6      6   
impl crate::operation::enum_keys::builders::EnumKeysInputBuilder {
    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::enum_keys::EnumKeysOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::enum_keys::EnumKeysError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/primitive_int_op_xml.rs

@@ -361,361 +400,400 @@
  381    381   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  382    382   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  383    383   
    ) -> Self {
  384    384   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  385    385   
            source,
  386    386   
            meta: meta.unwrap_or_default(),
  387    387   
        })
  388    388   
    }
  389    389   
}
  390    390   
  391         -
pub use crate::operation::primitive_int_op_xml::_primitive_int_op_xml_output::PrimitiveIntOpXmlOutput;
  392         -
  393    391   
pub use crate::operation::primitive_int_op_xml::_primitive_int_op_xml_input::PrimitiveIntOpXmlInput;
  394    392   
         393  +
pub use crate::operation::primitive_int_op_xml::_primitive_int_op_xml_output::PrimitiveIntOpXmlOutput;
         394  +
  395    395   
mod _primitive_int_op_xml_input;
  396    396   
  397    397   
mod _primitive_int_op_xml_output;
  398    398   
  399    399   
/// Builders
  400    400   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/primitive_int_op_xml/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::primitive_int_op_xml::_primitive_int_op_xml_output::PrimitiveIntOpXmlOutputBuilder;
    3         -
    4      2   
pub use crate::operation::primitive_int_op_xml::_primitive_int_op_xml_input::PrimitiveIntOpXmlInputBuilder;
    5      3   
           4  +
pub use crate::operation::primitive_int_op_xml::_primitive_int_op_xml_output::PrimitiveIntOpXmlOutputBuilder;
           5  +
    6      6   
impl crate::operation::primitive_int_op_xml::builders::PrimitiveIntOpXmlInputBuilder {
    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::primitive_int_op_xml::PrimitiveIntOpXmlOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::primitive_int_op_xml::PrimitiveIntOpXmlError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/required_member.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::required_member::_required_member_output::RequiredMemberOutput;
  323         -
  324    322   
pub use crate::operation::required_member::_required_member_input::RequiredMemberInput;
  325    323   
         324  +
pub use crate::operation::required_member::_required_member_output::RequiredMemberOutput;
         325  +
  326    326   
mod _required_member_input;
  327    327   
  328    328   
mod _required_member_output;
  329    329   
  330    330   
/// Builders
  331    331   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/required_member/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::required_member::_required_member_output::RequiredMemberOutputBuilder;
    3         -
    4      2   
pub use crate::operation::required_member::_required_member_input::RequiredMemberInputBuilder;
    5      3   
           4  +
pub use crate::operation::required_member::_required_member_output::RequiredMemberOutputBuilder;
           5  +
    6      6   
impl crate::operation::required_member::builders::RequiredMemberInputBuilder {
    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::required_member::RequiredMemberOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::required_member::RequiredMemberError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/string_header.rs

@@ -339,339 +378,378 @@
  359    359   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  360    360   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  361    361   
    ) -> Self {
  362    362   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  363    363   
            source,
  364    364   
            meta: meta.unwrap_or_default(),
  365    365   
        })
  366    366   
    }
  367    367   
}
  368    368   
  369         -
pub use crate::operation::string_header::_string_header_output::StringHeaderOutput;
  370         -
  371    369   
pub use crate::operation::string_header::_string_header_input::StringHeaderInput;
  372    370   
         371  +
pub use crate::operation::string_header::_string_header_output::StringHeaderOutput;
         372  +
  373    373   
mod _string_header_input;
  374    374   
  375    375   
mod _string_header_output;
  376    376   
  377    377   
/// Builders
  378    378   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/string_header/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::string_header::_string_header_output::StringHeaderOutputBuilder;
    3         -
    4      2   
pub use crate::operation::string_header::_string_header_input::StringHeaderInputBuilder;
    5      3   
           4  +
pub use crate::operation::string_header::_string_header_output::StringHeaderOutputBuilder;
           5  +
    6      6   
impl crate::operation::string_header::builders::StringHeaderInputBuilder {
    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::string_header::StringHeaderOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::string_header::StringHeaderError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/xml_maps_flattened_nested_xml_namespace.rs

@@ -362,362 +401,401 @@
  382    382   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  383    383   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  384    384   
    ) -> Self {
  385    385   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  386    386   
            source,
  387    387   
            meta: meta.unwrap_or_default(),
  388    388   
        })
  389    389   
    }
  390    390   
}
  391    391   
  392         -
pub use crate::operation::xml_maps_flattened_nested_xml_namespace::_xml_maps_flattened_nested_xml_namespace_output::XmlMapsFlattenedNestedXmlNamespaceOutput;
  393         -
  394    392   
pub use crate::operation::xml_maps_flattened_nested_xml_namespace::_xml_maps_flattened_nested_xml_namespace_input::XmlMapsFlattenedNestedXmlNamespaceInput;
  395    393   
         394  +
pub use crate::operation::xml_maps_flattened_nested_xml_namespace::_xml_maps_flattened_nested_xml_namespace_output::XmlMapsFlattenedNestedXmlNamespaceOutput;
         395  +
  396    396   
mod _xml_maps_flattened_nested_xml_namespace_input;
  397    397   
  398    398   
mod _xml_maps_flattened_nested_xml_namespace_output;
  399    399   
  400    400   
/// Builders
  401    401   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_extras/rust-client-codegen/src/operation/xml_maps_flattened_nested_xml_namespace/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::xml_maps_flattened_nested_xml_namespace::_xml_maps_flattened_nested_xml_namespace_output::XmlMapsFlattenedNestedXmlNamespaceOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_maps_flattened_nested_xml_namespace::_xml_maps_flattened_nested_xml_namespace_input::XmlMapsFlattenedNestedXmlNamespaceInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_maps_flattened_nested_xml_namespace::_xml_maps_flattened_nested_xml_namespace_output::XmlMapsFlattenedNestedXmlNamespaceOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_maps_flattened_nested_xml_namespace::builders::XmlMapsFlattenedNestedXmlNamespaceInputBuilder {
    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::xml_maps_flattened_nested_xml_namespace::XmlMapsFlattenedNestedXmlNamespaceOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_maps_flattened_nested_xml_namespace::XmlMapsFlattenedNestedXmlNamespaceError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -1,1 +11,11 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::_create_foo_input::CreateFooInput;
    3         -
    4      2   
pub use crate::types::_string_enum::StringEnum;
    5      3   
           4  +
pub use crate::types::_create_foo_input::CreateFooInput;
           5  +
    6      6   
mod _create_foo_input;
    7      7   
    8      8   
mod _string_enum;
    9      9   
   10     10   
/// Builders
   11     11   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_extras_unwrapped/rust-client-codegen/src/operation/greeting_with_unwrapped_errors.rs

@@ -454,454 +493,493 @@
  474    474   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  475    475   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  476    476   
    ) -> Self {
  477    477   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  478    478   
            source,
  479    479   
            meta: meta.unwrap_or_default(),
  480    480   
        })
  481    481   
    }
  482    482   
}
  483    483   
  484         -
pub use crate::operation::greeting_with_unwrapped_errors::_greeting_with_unwrapped_errors_output::GreetingWithUnwrappedErrorsOutput;
  485         -
  486    484   
pub use crate::operation::greeting_with_unwrapped_errors::_greeting_with_unwrapped_errors_input::GreetingWithUnwrappedErrorsInput;
  487    485   
         486  +
pub use crate::operation::greeting_with_unwrapped_errors::_greeting_with_unwrapped_errors_output::GreetingWithUnwrappedErrorsOutput;
         487  +
  488    488   
mod _greeting_with_unwrapped_errors_input;
  489    489   
  490    490   
mod _greeting_with_unwrapped_errors_output;
  491    491   
  492    492   
/// Builders
  493    493   
pub mod builders;