Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858 (ignoring whitespace)

Files changed:

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,

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

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

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/endpoint_with_host_label_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_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_input::EndpointWithHostLabelOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::endpoint_with_host_label_operation::builders::EndpointWithHostLabelOperationInputBuilder {
    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_operation::EndpointWithHostLabelOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/flattened_xml_map.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::flattened_xml_map::_flattened_xml_map_output::FlattenedXmlMapOutput;
  422         -
  423    421   
pub use crate::operation::flattened_xml_map::_flattened_xml_map_input::FlattenedXmlMapInput;
  424    422   
         423  +
pub use crate::operation::flattened_xml_map::_flattened_xml_map_output::FlattenedXmlMapOutput;
         424  +
  425    425   
mod _flattened_xml_map_input;
  426    426   
  427    427   
mod _flattened_xml_map_output;
  428    428   
  429    429   
/// Builders
  430    430   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/flattened_xml_map/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::flattened_xml_map::_flattened_xml_map_output::FlattenedXmlMapOutputBuilder;
    3         -
    4      2   
pub use crate::operation::flattened_xml_map::_flattened_xml_map_input::FlattenedXmlMapInputBuilder;
    5      3   
           4  +
pub use crate::operation::flattened_xml_map::_flattened_xml_map_output::FlattenedXmlMapOutputBuilder;
           5  +
    6      6   
impl crate::operation::flattened_xml_map::builders::FlattenedXmlMapInputBuilder {
    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::flattened_xml_map::FlattenedXmlMapOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::flattened_xml_map::FlattenedXmlMapError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/flattened_xml_map_with_xml_name.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::flattened_xml_map_with_xml_name::_flattened_xml_map_with_xml_name_output::FlattenedXmlMapWithXmlNameOutput;
  418         -
  419    417   
pub use crate::operation::flattened_xml_map_with_xml_name::_flattened_xml_map_with_xml_name_input::FlattenedXmlMapWithXmlNameInput;
  420    418   
         419  +
pub use crate::operation::flattened_xml_map_with_xml_name::_flattened_xml_map_with_xml_name_output::FlattenedXmlMapWithXmlNameOutput;
         420  +
  421    421   
mod _flattened_xml_map_with_xml_name_input;
  422    422   
  423    423   
mod _flattened_xml_map_with_xml_name_output;
  424    424   
  425    425   
/// Builders
  426    426   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/flattened_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::flattened_xml_map_with_xml_name::_flattened_xml_map_with_xml_name_output::FlattenedXmlMapWithXmlNameOutputBuilder;
    3         -
    4      2   
pub use crate::operation::flattened_xml_map_with_xml_name::_flattened_xml_map_with_xml_name_input::FlattenedXmlMapWithXmlNameInputBuilder;
    5      3   
           4  +
pub use crate::operation::flattened_xml_map_with_xml_name::_flattened_xml_map_with_xml_name_output::FlattenedXmlMapWithXmlNameOutputBuilder;
           5  +
    6      6   
impl crate::operation::flattened_xml_map_with_xml_name::builders::FlattenedXmlMapWithXmlNameInputBuilder {
    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::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::flattened_xml_map_with_xml_name::FlattenedXmlMapWithXmlNameError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -348,348 +387,387 @@
  368    368   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  369    369   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  370    370   
    ) -> Self {
  371    371   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  372    372   
            source,
  373    373   
            meta: meta.unwrap_or_default(),
  374    374   
        })
  375    375   
    }
  376    376   
}
  377    377   
  378         -
pub use crate::operation::flattened_xml_map_with_xml_namespace::_flattened_xml_map_with_xml_namespace_output::FlattenedXmlMapWithXmlNamespaceOutput;
  379         -
  380    378   
pub use crate::operation::flattened_xml_map_with_xml_namespace::_flattened_xml_map_with_xml_namespace_input::FlattenedXmlMapWithXmlNamespaceInput;
  381    379   
         380  +
pub use crate::operation::flattened_xml_map_with_xml_namespace::_flattened_xml_map_with_xml_namespace_output::FlattenedXmlMapWithXmlNamespaceOutput;
         381  +
  382    382   
mod _flattened_xml_map_with_xml_namespace_input;
  383    383   
  384    384   
mod _flattened_xml_map_with_xml_namespace_output;
  385    385   
  386    386   
/// Builders
  387    387   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/flattened_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::flattened_xml_map_with_xml_namespace::_flattened_xml_map_with_xml_namespace_output::FlattenedXmlMapWithXmlNamespaceOutputBuilder;
    3         -
    4      2   
pub use crate::operation::flattened_xml_map_with_xml_namespace::_flattened_xml_map_with_xml_namespace_input::FlattenedXmlMapWithXmlNamespaceInputBuilder;
    5      3   
           4  +
pub use crate::operation::flattened_xml_map_with_xml_namespace::_flattened_xml_map_with_xml_namespace_output::FlattenedXmlMapWithXmlNamespaceOutputBuilder;
           5  +
    6      6   
impl crate::operation::flattened_xml_map_with_xml_namespace::builders::FlattenedXmlMapWithXmlNamespaceInputBuilder {
    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::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::flattened_xml_map_with_xml_namespace::FlattenedXmlMapWithXmlNamespaceError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -345,345 +384,384 @@
  365    365   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  366    366   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  367    367   
    ) -> Self {
  368    368   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  369    369   
            source,
  370    370   
            meta: meta.unwrap_or_default(),
  371    371   
        })
  372    372   
    }
  373    373   
}
  374    374   
  375         -
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
  376         -
  377    375   
pub use crate::operation::fractional_seconds::_fractional_seconds_input::FractionalSecondsInput;
  378    376   
         377  +
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
         378  +
  379    379   
mod _fractional_seconds_input;
  380    380   
  381    381   
mod _fractional_seconds_output;
  382    382   
  383    383   
/// Builders
  384    384   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/fractional_seconds/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::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::fractional_seconds::_fractional_seconds_input::FractionalSecondsInputBuilder;
    5      3   
           4  +
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutputBuilder;
           5  +
    6      6   
impl crate::operation::fractional_seconds::builders::FractionalSecondsInputBuilder {
    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::fractional_seconds::FractionalSecondsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::fractional_seconds::FractionalSecondsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/greeting_with_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_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
  485         -
  486    484   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInput;
  487    485   
         486  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
         487  +
  488    488   
mod _greeting_with_errors_input;
  489    489   
  490    490   
mod _greeting_with_errors_output;
  491    491   
  492    492   
/// Builders
  493    493   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/greeting_with_errors/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::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInputBuilder;
    5      3   
           4  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutputBuilder;
           5  +
    6      6   
impl crate::operation::greeting_with_errors::builders::GreetingWithErrorsInputBuilder {
    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::greeting_with_errors::GreetingWithErrorsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::greeting_with_errors::GreetingWithErrorsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/rest_xml/rust-client-codegen/src/operation/http_empty_prefix_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::http_empty_prefix_headers::_http_empty_prefix_headers_output::HttpEmptyPrefixHeadersOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_empty_prefix_headers::_http_empty_prefix_headers_input::HttpEmptyPrefixHeadersInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_empty_prefix_headers::_http_empty_prefix_headers_output::HttpEmptyPrefixHeadersOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_empty_prefix_headers::builders::HttpEmptyPrefixHeadersInputBuilder {
    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_empty_prefix_headers::HttpEmptyPrefixHeadersOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_empty_prefix_headers::HttpEmptyPrefixHeadersError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,