Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e

Files changed:

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

@@ -460,460 +499,499 @@
  480    480   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  481    481   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  482    482   
    ) -> Self {
  483    483   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  484    484   
            source,
  485    485   
            meta: meta.unwrap_or_default(),
  486    486   
        })
  487    487   
    }
  488    488   
}
  489    489   
  490         -
pub use crate::operation::http_payload_traits::_http_payload_traits_output::HttpPayloadTraitsOutput;
  491         -
  492    490   
pub use crate::operation::http_payload_traits::_http_payload_traits_input::HttpPayloadTraitsInput;
  493    491   
         492  +
pub use crate::operation::http_payload_traits::_http_payload_traits_output::HttpPayloadTraitsOutput;
         493  +
  494    494   
mod _http_payload_traits_input;
  495    495   
  496    496   
mod _http_payload_traits_output;
  497    497   
  498    498   
/// Builders
  499    499   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_payload_traits/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::http_payload_traits::_http_payload_traits_output::HttpPayloadTraitsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_payload_traits::_http_payload_traits_input::HttpPayloadTraitsInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_payload_traits::_http_payload_traits_output::HttpPayloadTraitsOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_payload_traits::builders::HttpPayloadTraitsInputBuilder {
    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::http_payload_traits::HttpPayloadTraitsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_payload_traits::HttpPayloadTraitsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_payload_traits_with_media_type/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::http_payload_traits_with_media_type::_http_payload_traits_with_media_type_output::HttpPayloadTraitsWithMediaTypeOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_payload_traits_with_media_type::_http_payload_traits_with_media_type_input::HttpPayloadTraitsWithMediaTypeInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_payload_traits_with_media_type::_http_payload_traits_with_media_type_output::HttpPayloadTraitsWithMediaTypeOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_payload_traits_with_media_type::builders::HttpPayloadTraitsWithMediaTypeInputBuilder {
    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::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_payload_traits_with_media_type::HttpPayloadTraitsWithMediaTypeError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -391,391 +430,430 @@
  411    411   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  412    412   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  413    413   
    ) -> Self {
  414    414   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  415    415   
            source,
  416    416   
            meta: meta.unwrap_or_default(),
  417    417   
        })
  418    418   
    }
  419    419   
}
  420    420   
  421         -
pub use crate::operation::http_payload_with_member_xml_name::_http_payload_with_member_xml_name_output::HttpPayloadWithMemberXmlNameOutput;
  422         -
  423    421   
pub use crate::operation::http_payload_with_member_xml_name::_http_payload_with_member_xml_name_input::HttpPayloadWithMemberXmlNameInput;
  424    422   
         423  +
pub use crate::operation::http_payload_with_member_xml_name::_http_payload_with_member_xml_name_output::HttpPayloadWithMemberXmlNameOutput;
         424  +
  425    425   
mod _http_payload_with_member_xml_name_input;
  426    426   
  427    427   
mod _http_payload_with_member_xml_name_output;
  428    428   
  429    429   
/// Builders
  430    430   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_payload_with_member_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::http_payload_with_member_xml_name::_http_payload_with_member_xml_name_output::HttpPayloadWithMemberXmlNameOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_payload_with_member_xml_name::_http_payload_with_member_xml_name_input::HttpPayloadWithMemberXmlNameInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_payload_with_member_xml_name::_http_payload_with_member_xml_name_output::HttpPayloadWithMemberXmlNameOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_payload_with_member_xml_name::builders::HttpPayloadWithMemberXmlNameInputBuilder {
    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::http_payload_with_member_xml_name::HttpPayloadWithMemberXmlNameOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_payload_with_member_xml_name::HttpPayloadWithMemberXmlNameError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -395,395 +434,434 @@
  415    415   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  416    416   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  417    417   
    ) -> Self {
  418    418   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  419    419   
            source,
  420    420   
            meta: meta.unwrap_or_default(),
  421    421   
        })
  422    422   
    }
  423    423   
}
  424    424   
  425         -
pub use crate::operation::http_payload_with_structure::_http_payload_with_structure_output::HttpPayloadWithStructureOutput;
  426         -
  427    425   
pub use crate::operation::http_payload_with_structure::_http_payload_with_structure_input::HttpPayloadWithStructureInput;
  428    426   
         427  +
pub use crate::operation::http_payload_with_structure::_http_payload_with_structure_output::HttpPayloadWithStructureOutput;
         428  +
  429    429   
mod _http_payload_with_structure_input;
  430    430   
  431    431   
mod _http_payload_with_structure_output;
  432    432   
  433    433   
/// Builders
  434    434   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_payload_with_structure/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::http_payload_with_structure::_http_payload_with_structure_output::HttpPayloadWithStructureOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_payload_with_structure::_http_payload_with_structure_input::HttpPayloadWithStructureInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_payload_with_structure::_http_payload_with_structure_output::HttpPayloadWithStructureOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_payload_with_structure::builders::HttpPayloadWithStructureInputBuilder {
    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::http_payload_with_structure::HttpPayloadWithStructureOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_payload_with_structure::HttpPayloadWithStructureError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -450,450 +489,489 @@
  470    470   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  471    471   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  472    472   
    ) -> Self {
  473    473   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  474    474   
            source,
  475    475   
            meta: meta.unwrap_or_default(),
  476    476   
        })
  477    477   
    }
  478    478   
}
  479    479   
  480         -
pub use crate::operation::http_payload_with_union::_http_payload_with_union_output::HttpPayloadWithUnionOutput;
  481         -
  482    480   
pub use crate::operation::http_payload_with_union::_http_payload_with_union_input::HttpPayloadWithUnionInput;
  483    481   
         482  +
pub use crate::operation::http_payload_with_union::_http_payload_with_union_output::HttpPayloadWithUnionOutput;
         483  +
  484    484   
mod _http_payload_with_union_input;
  485    485   
  486    486   
mod _http_payload_with_union_output;
  487    487   
  488    488   
/// Builders
  489    489   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_payload_with_union/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::http_payload_with_union::_http_payload_with_union_output::HttpPayloadWithUnionOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_payload_with_union::_http_payload_with_union_input::HttpPayloadWithUnionInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_payload_with_union::_http_payload_with_union_output::HttpPayloadWithUnionOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_payload_with_union::builders::HttpPayloadWithUnionInputBuilder {
    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::http_payload_with_union::HttpPayloadWithUnionOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_payload_with_union::HttpPayloadWithUnionError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -391,391 +430,430 @@
  411    411   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  412    412   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  413    413   
    ) -> Self {
  414    414   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  415    415   
            source,
  416    416   
            meta: meta.unwrap_or_default(),
  417    417   
        })
  418    418   
    }
  419    419   
}
  420    420   
  421         -
pub use crate::operation::http_payload_with_xml_name::_http_payload_with_xml_name_output::HttpPayloadWithXmlNameOutput;
  422         -
  423    421   
pub use crate::operation::http_payload_with_xml_name::_http_payload_with_xml_name_input::HttpPayloadWithXmlNameInput;
  424    422   
         423  +
pub use crate::operation::http_payload_with_xml_name::_http_payload_with_xml_name_output::HttpPayloadWithXmlNameOutput;
         424  +
  425    425   
mod _http_payload_with_xml_name_input;
  426    426   
  427    427   
mod _http_payload_with_xml_name_output;
  428    428   
  429    429   
/// Builders
  430    430   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_payload_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::http_payload_with_xml_name::_http_payload_with_xml_name_output::HttpPayloadWithXmlNameOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_payload_with_xml_name::_http_payload_with_xml_name_input::HttpPayloadWithXmlNameInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_payload_with_xml_name::_http_payload_with_xml_name_output::HttpPayloadWithXmlNameOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_payload_with_xml_name::builders::HttpPayloadWithXmlNameInputBuilder {
    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::http_payload_with_xml_name::HttpPayloadWithXmlNameOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_payload_with_xml_name::HttpPayloadWithXmlNameError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_payload_with_xml_namespace.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::http_payload_with_xml_namespace::_http_payload_with_xml_namespace_output::HttpPayloadWithXmlNamespaceOutput;
  424         -
  425    423   
pub use crate::operation::http_payload_with_xml_namespace::_http_payload_with_xml_namespace_input::HttpPayloadWithXmlNamespaceInput;
  426    424   
         425  +
pub use crate::operation::http_payload_with_xml_namespace::_http_payload_with_xml_namespace_output::HttpPayloadWithXmlNamespaceOutput;
         426  +
  427    427   
mod _http_payload_with_xml_namespace_input;
  428    428   
  429    429   
mod _http_payload_with_xml_namespace_output;
  430    430   
  431    431   
/// Builders
  432    432   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_payload_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::http_payload_with_xml_namespace::_http_payload_with_xml_namespace_output::HttpPayloadWithXmlNamespaceOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_payload_with_xml_namespace::_http_payload_with_xml_namespace_input::HttpPayloadWithXmlNamespaceInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_payload_with_xml_namespace::_http_payload_with_xml_namespace_output::HttpPayloadWithXmlNamespaceOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_payload_with_xml_namespace::builders::HttpPayloadWithXmlNamespaceInputBuilder {
    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::http_payload_with_xml_namespace::HttpPayloadWithXmlNamespaceOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_payload_with_xml_namespace::HttpPayloadWithXmlNamespaceError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_payload_with_xml_namespace_and_prefix/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::http_payload_with_xml_namespace_and_prefix::_http_payload_with_xml_namespace_and_prefix_output::HttpPayloadWithXmlNamespaceAndPrefixOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_payload_with_xml_namespace_and_prefix::_http_payload_with_xml_namespace_and_prefix_input::HttpPayloadWithXmlNamespaceAndPrefixInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_payload_with_xml_namespace_and_prefix::_http_payload_with_xml_namespace_and_prefix_output::HttpPayloadWithXmlNamespaceAndPrefixOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_payload_with_xml_namespace_and_prefix::builders::HttpPayloadWithXmlNamespaceAndPrefixInputBuilder {
    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::http_payload_with_xml_namespace_and_prefix::HttpPayloadWithXmlNamespaceAndPrefixOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_payload_with_xml_namespace_and_prefix::HttpPayloadWithXmlNamespaceAndPrefixError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,