Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858 (ignoring whitespace)

Files changed:

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

@@ -419,419 +458,458 @@
  439    439   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  440    440   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  441    441   
    ) -> Self {
  442    442   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  443    443   
            source,
  444    444   
            meta: meta.unwrap_or_default(),
  445    445   
        })
  446    446   
    }
  447    447   
}
  448    448   
  449         -
pub use crate::operation::xml_empty_strings::_xml_empty_strings_output::XmlEmptyStringsOutput;
  450         -
  451    449   
pub use crate::operation::xml_empty_strings::_xml_empty_strings_input::XmlEmptyStringsInput;
  452    450   
         451  +
pub use crate::operation::xml_empty_strings::_xml_empty_strings_output::XmlEmptyStringsOutput;
         452  +
  453    453   
mod _xml_empty_strings_input;
  454    454   
  455    455   
mod _xml_empty_strings_output;
  456    456   
  457    457   
/// Builders
  458    458   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_empty_strings/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_empty_strings::_xml_empty_strings_output::XmlEmptyStringsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_empty_strings::_xml_empty_strings_input::XmlEmptyStringsInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_empty_strings::_xml_empty_strings_output::XmlEmptyStringsOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_empty_strings::builders::XmlEmptyStringsInputBuilder {
    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_empty_strings::XmlEmptyStringsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_empty_strings::XmlEmptyStringsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -428,428 +467,467 @@
  448    448   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  449    449   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  450    450   
    ) -> Self {
  451    451   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  452    452   
            source,
  453    453   
            meta: meta.unwrap_or_default(),
  454    454   
        })
  455    455   
    }
  456    456   
}
  457    457   
  458         -
pub use crate::operation::xml_enums::_xml_enums_output::XmlEnumsOutput;
  459         -
  460    458   
pub use crate::operation::xml_enums::_xml_enums_input::XmlEnumsInput;
  461    459   
         460  +
pub use crate::operation::xml_enums::_xml_enums_output::XmlEnumsOutput;
         461  +
  462    462   
mod _xml_enums_input;
  463    463   
  464    464   
mod _xml_enums_output;
  465    465   
  466    466   
/// Builders
  467    467   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_enums/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_enums::_xml_enums_output::XmlEnumsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_enums::_xml_enums_input::XmlEnumsInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_enums::_xml_enums_output::XmlEnumsOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_enums::builders::XmlEnumsInputBuilder {
    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_enums::XmlEnumsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_enums::XmlEnumsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -398,398 +437,437 @@
  418    418   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  419    419   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  420    420   
    ) -> Self {
  421    421   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  422    422   
            source,
  423    423   
            meta: meta.unwrap_or_default(),
  424    424   
        })
  425    425   
    }
  426    426   
}
  427    427   
  428         -
pub use crate::operation::xml_int_enums::_xml_int_enums_output::XmlIntEnumsOutput;
  429         -
  430    428   
pub use crate::operation::xml_int_enums::_xml_int_enums_input::XmlIntEnumsInput;
  431    429   
         430  +
pub use crate::operation::xml_int_enums::_xml_int_enums_output::XmlIntEnumsOutput;
         431  +
  432    432   
mod _xml_int_enums_input;
  433    433   
  434    434   
mod _xml_int_enums_output;
  435    435   
  436    436   
/// Builders
  437    437   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_int_enums/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_int_enums::_xml_int_enums_output::XmlIntEnumsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_int_enums::_xml_int_enums_input::XmlIntEnumsInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_int_enums::_xml_int_enums_output::XmlIntEnumsOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_int_enums::builders::XmlIntEnumsInputBuilder {
    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_int_enums::XmlIntEnumsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_int_enums::XmlIntEnumsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_lists.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::xml_lists::_xml_lists_output::XmlListsOutput;
  528         -
  529    527   
pub use crate::operation::xml_lists::_xml_lists_input::XmlListsInput;
  530    528   
         529  +
pub use crate::operation::xml_lists::_xml_lists_output::XmlListsOutput;
         530  +
  531    531   
mod _xml_lists_input;
  532    532   
  533    533   
mod _xml_lists_output;
  534    534   
  535    535   
/// Builders
  536    536   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_lists/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_lists::_xml_lists_output::XmlListsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_lists::_xml_lists_input::XmlListsInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_lists::_xml_lists_output::XmlListsOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_lists::builders::XmlListsInputBuilder {
    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_lists::XmlListsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_lists::XmlListsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -387,387 +426,426 @@
  407    407   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  408    408   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  409    409   
    ) -> Self {
  410    410   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  411    411   
            source,
  412    412   
            meta: meta.unwrap_or_default(),
  413    413   
        })
  414    414   
    }
  415    415   
}
  416    416   
  417         -
pub use crate::operation::xml_map_with_xml_namespace::_xml_map_with_xml_namespace_output::XmlMapWithXmlNamespaceOutput;
  418         -
  419    417   
pub use crate::operation::xml_map_with_xml_namespace::_xml_map_with_xml_namespace_input::XmlMapWithXmlNamespaceInput;
  420    418   
         419  +
pub use crate::operation::xml_map_with_xml_namespace::_xml_map_with_xml_namespace_output::XmlMapWithXmlNamespaceOutput;
         420  +
  421    421   
mod _xml_map_with_xml_namespace_input;
  422    422   
  423    423   
mod _xml_map_with_xml_namespace_output;
  424    424   
  425    425   
/// Builders
  426    426   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_map_with_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_map_with_xml_namespace::_xml_map_with_xml_namespace_output::XmlMapWithXmlNamespaceOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_map_with_xml_namespace::_xml_map_with_xml_namespace_input::XmlMapWithXmlNamespaceInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_map_with_xml_namespace::_xml_map_with_xml_namespace_output::XmlMapWithXmlNamespaceOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_map_with_xml_namespace::builders::XmlMapWithXmlNamespaceInputBuilder {
    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_map_with_xml_namespace::XmlMapWithXmlNamespaceOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_map_with_xml_namespace::XmlMapWithXmlNamespaceError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -393,393 +432,432 @@
  413    413   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  414    414   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  415    415   
    ) -> Self {
  416    416   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  417    417   
            source,
  418    418   
            meta: meta.unwrap_or_default(),
  419    419   
        })
  420    420   
    }
  421    421   
}
  422    422   
  423         -
pub use crate::operation::xml_maps::_xml_maps_output::XmlMapsOutput;
  424         -
  425    423   
pub use crate::operation::xml_maps::_xml_maps_input::XmlMapsInput;
  426    424   
         425  +
pub use crate::operation::xml_maps::_xml_maps_output::XmlMapsOutput;
         426  +
  427    427   
mod _xml_maps_input;
  428    428   
  429    429   
mod _xml_maps_output;
  430    430   
  431    431   
/// Builders
  432    432   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/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::xml_maps::_xml_maps_output::XmlMapsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_maps::_xml_maps_input::XmlMapsInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_maps::_xml_maps_output::XmlMapsOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_maps::builders::XmlMapsInputBuilder {
    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::XmlMapsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_maps::XmlMapsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -399,399 +438,438 @@
  419    419   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  420    420   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  421    421   
    ) -> Self {
  422    422   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  423    423   
            source,
  424    424   
            meta: meta.unwrap_or_default(),
  425    425   
        })
  426    426   
    }
  427    427   
}
  428    428   
  429         -
pub use crate::operation::xml_maps_xml_name::_xml_maps_xml_name_output::XmlMapsXmlNameOutput;
  430         -
  431    429   
pub use crate::operation::xml_maps_xml_name::_xml_maps_xml_name_input::XmlMapsXmlNameInput;
  432    430   
         431  +
pub use crate::operation::xml_maps_xml_name::_xml_maps_xml_name_output::XmlMapsXmlNameOutput;
         432  +
  433    433   
mod _xml_maps_xml_name_input;
  434    434   
  435    435   
mod _xml_maps_xml_name_output;
  436    436   
  437    437   
/// Builders
  438    438   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_maps_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::xml_maps_xml_name::_xml_maps_xml_name_output::XmlMapsXmlNameOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_maps_xml_name::_xml_maps_xml_name_input::XmlMapsXmlNameInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_maps_xml_name::_xml_maps_xml_name_output::XmlMapsXmlNameOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_maps_xml_name::builders::XmlMapsXmlNameInputBuilder {
    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_xml_name::XmlMapsXmlNameOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_maps_xml_name::XmlMapsXmlNameError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -379,379 +418,418 @@
  399    399   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  400    400   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  401    401   
    ) -> Self {
  402    402   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  403    403   
            source,
  404    404   
            meta: meta.unwrap_or_default(),
  405    405   
        })
  406    406   
    }
  407    407   
}
  408    408   
  409         -
pub use crate::operation::xml_namespaces::_xml_namespaces_output::XmlNamespacesOutput;
  410         -
  411    409   
pub use crate::operation::xml_namespaces::_xml_namespaces_input::XmlNamespacesInput;
  412    410   
         411  +
pub use crate::operation::xml_namespaces::_xml_namespaces_output::XmlNamespacesOutput;
         412  +
  413    413   
mod _xml_namespaces_input;
  414    414   
  415    415   
mod _xml_namespaces_output;
  416    416   
  417    417   
/// Builders
  418    418   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/xml_namespaces/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_namespaces::_xml_namespaces_output::XmlNamespacesOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_namespaces::_xml_namespaces_input::XmlNamespacesInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_namespaces::_xml_namespaces_output::XmlNamespacesOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_namespaces::builders::XmlNamespacesInputBuilder {
    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_namespaces::XmlNamespacesOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_namespaces::XmlNamespacesError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,