Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/ignore_query_params_in_response.rs

@@ -343,343 +382,382 @@
  363    363   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  364    364   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  365    365   
    ) -> Self {
  366    366   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  367    367   
            source,
  368    368   
            meta: meta.unwrap_or_default(),
  369    369   
        })
  370    370   
    }
  371    371   
}
  372    372   
  373         -
pub use crate::operation::ignore_query_params_in_response::_ignore_query_params_in_response_output::IgnoreQueryParamsInResponseOutput;
  374         -
  375    373   
pub use crate::operation::ignore_query_params_in_response::_ignore_query_params_in_response_input::IgnoreQueryParamsInResponseInput;
  376    374   
         375  +
pub use crate::operation::ignore_query_params_in_response::_ignore_query_params_in_response_output::IgnoreQueryParamsInResponseOutput;
         376  +
  377    377   
mod _ignore_query_params_in_response_input;
  378    378   
  379    379   
mod _ignore_query_params_in_response_output;
  380    380   
  381    381   
/// Builders
  382    382   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/ignore_query_params_in_response/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::ignore_query_params_in_response::_ignore_query_params_in_response_output::IgnoreQueryParamsInResponseOutputBuilder;
    3         -
    4      2   
pub use crate::operation::ignore_query_params_in_response::_ignore_query_params_in_response_input::IgnoreQueryParamsInResponseInputBuilder;
    5      3   
           4  +
pub use crate::operation::ignore_query_params_in_response::_ignore_query_params_in_response_output::IgnoreQueryParamsInResponseOutputBuilder;
           5  +
    6      6   
impl crate::operation::ignore_query_params_in_response::builders::IgnoreQueryParamsInResponseInputBuilder {
    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::ignore_query_params_in_response::IgnoreQueryParamsInResponseOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/input_and_output_with_headers.rs

@@ -1497,1497 +1536,1536 @@
 1517   1517   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
 1518   1518   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
 1519   1519   
    ) -> Self {
 1520   1520   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
 1521   1521   
            source,
 1522   1522   
            meta: meta.unwrap_or_default(),
 1523   1523   
        })
 1524   1524   
    }
 1525   1525   
}
 1526   1526   
 1527         -
pub use crate::operation::input_and_output_with_headers::_input_and_output_with_headers_output::InputAndOutputWithHeadersOutput;
 1528         -
 1529   1527   
pub use crate::operation::input_and_output_with_headers::_input_and_output_with_headers_input::InputAndOutputWithHeadersInput;
 1530   1528   
        1529  +
pub use crate::operation::input_and_output_with_headers::_input_and_output_with_headers_output::InputAndOutputWithHeadersOutput;
        1530  +
 1531   1531   
mod _input_and_output_with_headers_input;
 1532   1532   
 1533   1533   
mod _input_and_output_with_headers_output;
 1534   1534   
 1535   1535   
/// Builders
 1536   1536   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/input_and_output_with_headers/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::input_and_output_with_headers::_input_and_output_with_headers_output::InputAndOutputWithHeadersOutputBuilder;
    3         -
    4      2   
pub use crate::operation::input_and_output_with_headers::_input_and_output_with_headers_input::InputAndOutputWithHeadersInputBuilder;
    5      3   
           4  +
pub use crate::operation::input_and_output_with_headers::_input_and_output_with_headers_output::InputAndOutputWithHeadersOutputBuilder;
           5  +
    6      6   
impl crate::operation::input_and_output_with_headers::builders::InputAndOutputWithHeadersInputBuilder {
    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::input_and_output_with_headers::InputAndOutputWithHeadersOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/nested_xml_map_with_xml_name.rs

@@ -411,411 +450,450 @@
  431    431   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  432    432   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  433    433   
    ) -> Self {
  434    434   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  435    435   
            source,
  436    436   
            meta: meta.unwrap_or_default(),
  437    437   
        })
  438    438   
    }
  439    439   
}
  440    440   
  441         -
pub use crate::operation::nested_xml_map_with_xml_name::_nested_xml_map_with_xml_name_output::NestedXmlMapWithXmlNameOutput;
  442         -
  443    441   
pub use crate::operation::nested_xml_map_with_xml_name::_nested_xml_map_with_xml_name_input::NestedXmlMapWithXmlNameInput;
  444    442   
         443  +
pub use crate::operation::nested_xml_map_with_xml_name::_nested_xml_map_with_xml_name_output::NestedXmlMapWithXmlNameOutput;
         444  +
  445    445   
mod _nested_xml_map_with_xml_name_input;
  446    446   
  447    447   
mod _nested_xml_map_with_xml_name_output;
  448    448   
  449    449   
/// Builders
  450    450   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/nested_xml_map_with_xml_name/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::nested_xml_map_with_xml_name::_nested_xml_map_with_xml_name_output::NestedXmlMapWithXmlNameOutputBuilder;
    3         -
    4      2   
pub use crate::operation::nested_xml_map_with_xml_name::_nested_xml_map_with_xml_name_input::NestedXmlMapWithXmlNameInputBuilder;
    5      3   
           4  +
pub use crate::operation::nested_xml_map_with_xml_name::_nested_xml_map_with_xml_name_output::NestedXmlMapWithXmlNameOutputBuilder;
           5  +
    6      6   
impl crate::operation::nested_xml_map_with_xml_name::builders::NestedXmlMapWithXmlNameInputBuilder {
    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::nested_xml_map_with_xml_name::NestedXmlMapWithXmlNameOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::nested_xml_map_with_xml_name::NestedXmlMapWithXmlNameError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/nested_xml_maps.rs

@@ -497,497 +536,536 @@
  517    517   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  518    518   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  519    519   
    ) -> Self {
  520    520   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  521    521   
            source,
  522    522   
            meta: meta.unwrap_or_default(),
  523    523   
        })
  524    524   
    }
  525    525   
}
  526    526   
  527         -
pub use crate::operation::nested_xml_maps::_nested_xml_maps_output::NestedXmlMapsOutput;
  528         -
  529    527   
pub use crate::operation::nested_xml_maps::_nested_xml_maps_input::NestedXmlMapsInput;
  530    528   
         529  +
pub use crate::operation::nested_xml_maps::_nested_xml_maps_output::NestedXmlMapsOutput;
         530  +
  531    531   
mod _nested_xml_maps_input;
  532    532   
  533    533   
mod _nested_xml_maps_output;
  534    534   
  535    535   
/// Builders
  536    536   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/nested_xml_maps/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::nested_xml_maps::_nested_xml_maps_output::NestedXmlMapsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::nested_xml_maps::_nested_xml_maps_input::NestedXmlMapsInputBuilder;
    5      3   
           4  +
pub use crate::operation::nested_xml_maps::_nested_xml_maps_output::NestedXmlMapsOutputBuilder;
           5  +
    6      6   
impl crate::operation::nested_xml_maps::builders::NestedXmlMapsInputBuilder {
    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::nested_xml_maps::NestedXmlMapsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::nested_xml_maps::NestedXmlMapsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/no_input_and_no_output.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::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutput;
  393         -
  394    392   
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_input::NoInputAndNoOutputInput;
  395    393   
         394  +
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutput;
         395  +
  396    396   
mod _no_input_and_no_output_input;
  397    397   
  398    398   
mod _no_input_and_no_output_output;
  399    399   
  400    400   
/// Builders
  401    401   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/no_input_and_no_output/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::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_input::NoInputAndNoOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::no_input_and_no_output::builders::NoInputAndNoOutputInputBuilder {
    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::no_input_and_no_output::NoInputAndNoOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::no_input_and_no_output::NoInputAndNoOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/no_input_and_output.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::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutput;
  393         -
  394    392   
pub use crate::operation::no_input_and_output::_no_input_and_output_input::NoInputAndOutputInput;
  395    393   
         394  +
pub use crate::operation::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutput;
         395  +
  396    396   
mod _no_input_and_output_input;
  397    397   
  398    398   
mod _no_input_and_output_output;
  399    399   
  400    400   
/// Builders
  401    401   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/no_input_and_output/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::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::no_input_and_output::_no_input_and_output_input::NoInputAndOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::no_input_and_output::builders::NoInputAndOutputInputBuilder {
    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::no_input_and_output::NoInputAndOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::no_input_and_output::NoInputAndOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/null_and_empty_headers_client.rs

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

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/null_and_empty_headers_client/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::null_and_empty_headers_client::_null_and_empty_headers_client_output::NullAndEmptyHeadersClientOutputBuilder;
    3         -
    4      2   
pub use crate::operation::null_and_empty_headers_client::_null_and_empty_headers_client_input::NullAndEmptyHeadersClientInputBuilder;
    5      3   
           4  +
pub use crate::operation::null_and_empty_headers_client::_null_and_empty_headers_client_output::NullAndEmptyHeadersClientOutputBuilder;
           5  +
    6      6   
impl crate::operation::null_and_empty_headers_client::builders::NullAndEmptyHeadersClientInputBuilder {
    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::null_and_empty_headers_client::NullAndEmptyHeadersClientOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::null_and_empty_headers_client::NullAndEmptyHeadersClientError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/null_and_empty_headers_server.rs

@@ -295,295 +334,334 @@
  315    315   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  316    316   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  317    317   
    ) -> Self {
  318    318   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  319    319   
            source,
  320    320   
            meta: meta.unwrap_or_default(),
  321    321   
        })
  322    322   
    }
  323    323   
}
  324    324   
  325         -
pub use crate::operation::null_and_empty_headers_server::_null_and_empty_headers_server_output::NullAndEmptyHeadersServerOutput;
  326         -
  327    325   
pub use crate::operation::null_and_empty_headers_server::_null_and_empty_headers_server_input::NullAndEmptyHeadersServerInput;
  328    326   
         327  +
pub use crate::operation::null_and_empty_headers_server::_null_and_empty_headers_server_output::NullAndEmptyHeadersServerOutput;
         328  +
  329    329   
mod _null_and_empty_headers_server_input;
  330    330   
  331    331   
mod _null_and_empty_headers_server_output;
  332    332   
  333    333   
/// Builders
  334    334   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/null_and_empty_headers_server/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::null_and_empty_headers_server::_null_and_empty_headers_server_output::NullAndEmptyHeadersServerOutputBuilder;
    3         -
    4      2   
pub use crate::operation::null_and_empty_headers_server::_null_and_empty_headers_server_input::NullAndEmptyHeadersServerInputBuilder;
    5      3   
           4  +
pub use crate::operation::null_and_empty_headers_server::_null_and_empty_headers_server_output::NullAndEmptyHeadersServerOutputBuilder;
           5  +
    6      6   
impl crate::operation::null_and_empty_headers_server::builders::NullAndEmptyHeadersServerInputBuilder {
    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::null_and_empty_headers_server::NullAndEmptyHeadersServerOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::null_and_empty_headers_server::NullAndEmptyHeadersServerError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,