Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e

Files changed:

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

@@ -385,385 +424,424 @@
  405    405   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  406    406   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  407    407   
    ) -> Self {
  408    408   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  409    409   
            source,
  410    410   
            meta: meta.unwrap_or_default(),
  411    411   
        })
  412    412   
    }
  413    413   
}
  414    414   
  415         -
pub use crate::operation::body_with_xml_name::_body_with_xml_name_output::BodyWithXmlNameOutput;
  416         -
  417    415   
pub use crate::operation::body_with_xml_name::_body_with_xml_name_input::BodyWithXmlNameInput;
  418    416   
         417  +
pub use crate::operation::body_with_xml_name::_body_with_xml_name_output::BodyWithXmlNameOutput;
         418  +
  419    419   
mod _body_with_xml_name_input;
  420    420   
  421    421   
mod _body_with_xml_name_output;
  422    422   
  423    423   
/// Builders
  424    424   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/body_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::body_with_xml_name::_body_with_xml_name_output::BodyWithXmlNameOutputBuilder;
    3         -
    4      2   
pub use crate::operation::body_with_xml_name::_body_with_xml_name_input::BodyWithXmlNameInputBuilder;
    5      3   
           4  +
pub use crate::operation::body_with_xml_name::_body_with_xml_name_output::BodyWithXmlNameOutputBuilder;
           5  +
    6      6   
impl crate::operation::body_with_xml_name::builders::BodyWithXmlNameInputBuilder {
    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::body_with_xml_name::BodyWithXmlNameOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::body_with_xml_name::BodyWithXmlNameError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -385,385 +424,424 @@
  405    405   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  406    406   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  407    407   
    ) -> Self {
  408    408   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  409    409   
            source,
  410    410   
            meta: meta.unwrap_or_default(),
  411    411   
        })
  412    412   
    }
  413    413   
}
  414    414   
  415         -
pub use crate::operation::constant_and_variable_query_string::_constant_and_variable_query_string_output::ConstantAndVariableQueryStringOutput;
  416         -
  417    415   
pub use crate::operation::constant_and_variable_query_string::_constant_and_variable_query_string_input::ConstantAndVariableQueryStringInput;
  418    416   
         417  +
pub use crate::operation::constant_and_variable_query_string::_constant_and_variable_query_string_output::ConstantAndVariableQueryStringOutput;
         418  +
  419    419   
mod _constant_and_variable_query_string_input;
  420    420   
  421    421   
mod _constant_and_variable_query_string_output;
  422    422   
  423    423   
/// Builders
  424    424   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/constant_and_variable_query_string/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::constant_and_variable_query_string::_constant_and_variable_query_string_output::ConstantAndVariableQueryStringOutputBuilder;
    3         -
    4      2   
pub use crate::operation::constant_and_variable_query_string::_constant_and_variable_query_string_input::ConstantAndVariableQueryStringInputBuilder;
    5      3   
           4  +
pub use crate::operation::constant_and_variable_query_string::_constant_and_variable_query_string_output::ConstantAndVariableQueryStringOutputBuilder;
           5  +
    6      6   
impl crate::operation::constant_and_variable_query_string::builders::ConstantAndVariableQueryStringInputBuilder {
    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::constant_and_variable_query_string::ConstantAndVariableQueryStringOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::constant_and_variable_query_string::ConstantAndVariableQueryStringError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/constant_query_string.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::constant_query_string::_constant_query_string_output::ConstantQueryStringOutput;
  382         -
  383    381   
pub use crate::operation::constant_query_string::_constant_query_string_input::ConstantQueryStringInput;
  384    382   
         383  +
pub use crate::operation::constant_query_string::_constant_query_string_output::ConstantQueryStringOutput;
         384  +
  385    385   
mod _constant_query_string_input;
  386    386   
  387    387   
mod _constant_query_string_output;
  388    388   
  389    389   
/// Builders
  390    390   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/constant_query_string/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::constant_query_string::_constant_query_string_output::ConstantQueryStringOutputBuilder;
    3         -
    4      2   
pub use crate::operation::constant_query_string::_constant_query_string_input::ConstantQueryStringInputBuilder;
    5      3   
           4  +
pub use crate::operation::constant_query_string::_constant_query_string_output::ConstantQueryStringOutputBuilder;
           5  +
    6      6   
impl crate::operation::constant_query_string::builders::ConstantQueryStringInputBuilder {
    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::constant_query_string::ConstantQueryStringOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::constant_query_string::ConstantQueryStringError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/content_type_parameters.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::content_type_parameters::_content_type_parameters_output::ContentTypeParametersOutput;
  331         -
  332    330   
pub use crate::operation::content_type_parameters::_content_type_parameters_input::ContentTypeParametersInput;
  333    331   
         332  +
pub use crate::operation::content_type_parameters::_content_type_parameters_output::ContentTypeParametersOutput;
         333  +
  334    334   
mod _content_type_parameters_input;
  335    335   
  336    336   
mod _content_type_parameters_output;
  337    337   
  338    338   
/// Builders
  339    339   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/content_type_parameters/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::content_type_parameters::_content_type_parameters_output::ContentTypeParametersOutputBuilder;
    3         -
    4      2   
pub use crate::operation::content_type_parameters::_content_type_parameters_input::ContentTypeParametersInputBuilder;
    5      3   
           4  +
pub use crate::operation::content_type_parameters::_content_type_parameters_output::ContentTypeParametersOutputBuilder;
           5  +
    6      6   
impl crate::operation::content_type_parameters::builders::ContentTypeParametersInputBuilder {
    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::content_type_parameters::ContentTypeParametersOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::content_type_parameters::ContentTypeParametersError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -385,385 +424,424 @@
  405    405   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  406    406   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  407    407   
    ) -> Self {
  408    408   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  409    409   
            source,
  410    410   
            meta: meta.unwrap_or_default(),
  411    411   
        })
  412    412   
    }
  413    413   
}
  414    414   
  415         -
pub use crate::operation::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutput;
  416         -
  417    415   
pub use crate::operation::datetime_offsets::_datetime_offsets_input::DatetimeOffsetsInput;
  418    416   
         417  +
pub use crate::operation::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutput;
         418  +
  419    419   
mod _datetime_offsets_input;
  420    420   
  421    421   
mod _datetime_offsets_output;
  422    422   
  423    423   
/// Builders
  424    424   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/datetime_offsets/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::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::datetime_offsets::_datetime_offsets_input::DatetimeOffsetsInputBuilder;
    5      3   
           4  +
pub use crate::operation::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutputBuilder;
           5  +
    6      6   
impl crate::operation::datetime_offsets::builders::DatetimeOffsetsInputBuilder {
    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::datetime_offsets::DatetimeOffsetsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::datetime_offsets::DatetimeOffsetsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/empty_input_and_empty_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::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutput;
  393         -
  394    392   
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_input::EmptyInputAndEmptyOutputInput;
  395    393   
         394  +
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutput;
         395  +
  396    396   
mod _empty_input_and_empty_output_input;
  397    397   
  398    398   
mod _empty_input_and_empty_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/empty_input_and_empty_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::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_input::EmptyInputAndEmptyOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::empty_input_and_empty_output::builders::EmptyInputAndEmptyOutputInputBuilder {
    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::empty_input_and_empty_output::EmptyInputAndEmptyOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -331,331 +370,370 @@
  351    351   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  352    352   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  353    353   
    ) -> Self {
  354    354   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  355    355   
            source,
  356    356   
            meta: meta.unwrap_or_default(),
  357    357   
        })
  358    358   
    }
  359    359   
}
  360    360   
  361         -
pub use crate::operation::endpoint_operation::_endpoint_operation_output::EndpointOperationOutput;
  362         -
  363    361   
pub use crate::operation::endpoint_operation::_endpoint_operation_input::EndpointOperationInput;
  364    362   
         363  +
pub use crate::operation::endpoint_operation::_endpoint_operation_output::EndpointOperationOutput;
         364  +
  365    365   
mod _endpoint_operation_input;
  366    366   
  367    367   
mod _endpoint_operation_output;
  368    368   
  369    369   
/// Builders
  370    370   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/endpoint_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::endpoint_operation::_endpoint_operation_output::EndpointOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::endpoint_operation::_endpoint_operation_input::EndpointOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::endpoint_operation::_endpoint_operation_output::EndpointOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::endpoint_operation::builders::EndpointOperationInputBuilder {
    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::endpoint_operation::EndpointOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::endpoint_operation::EndpointOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -359,359 +398,398 @@
  379    379   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  380    380   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  381    381   
    ) -> Self {
  382    382   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  383    383   
            source,
  384    384   
            meta: meta.unwrap_or_default(),
  385    385   
        })
  386    386   
    }
  387    387   
}
  388    388   
  389         -
pub use crate::operation::endpoint_with_host_label_header_operation::_endpoint_with_host_label_header_operation_output::EndpointWithHostLabelHeaderOperationOutput;
  390         -
  391    389   
pub use crate::operation::endpoint_with_host_label_header_operation::_endpoint_with_host_label_header_operation_input::EndpointWithHostLabelHeaderOperationInput;
  392    390   
         391  +
pub use crate::operation::endpoint_with_host_label_header_operation::_endpoint_with_host_label_header_operation_output::EndpointWithHostLabelHeaderOperationOutput;
         392  +
  393    393   
mod _endpoint_with_host_label_header_operation_input;
  394    394   
  395    395   
mod _endpoint_with_host_label_header_operation_output;
  396    396   
  397    397   
/// Builders
  398    398   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/endpoint_with_host_label_header_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::endpoint_with_host_label_header_operation::_endpoint_with_host_label_header_operation_output::EndpointWithHostLabelHeaderOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::endpoint_with_host_label_header_operation::_endpoint_with_host_label_header_operation_input::EndpointWithHostLabelHeaderOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::endpoint_with_host_label_header_operation::_endpoint_with_host_label_header_operation_output::EndpointWithHostLabelHeaderOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::endpoint_with_host_label_header_operation::builders::EndpointWithHostLabelHeaderOperationInputBuilder {
    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::endpoint_with_host_label_header_operation::EndpointWithHostLabelHeaderOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::endpoint_with_host_label_header_operation::EndpointWithHostLabelHeaderOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,