Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/empty_input_and_empty_output.rs

@@ -406,406 +445,445 @@
  426    426   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  427    427   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  428    428   
    ) -> Self {
  429    429   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  430    430   
            source,
  431    431   
            meta: meta.unwrap_or_default(),
  432    432   
        })
  433    433   
    }
  434    434   
}
  435    435   
  436         -
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutput;
  437         -
  438    436   
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_input::EmptyInputAndEmptyOutputInput;
  439    437   
         438  +
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutput;
         439  +
  440    440   
mod _empty_input_and_empty_output_input;
  441    441   
  442    442   
mod _empty_input_and_empty_output_output;
  443    443   
  444    444   
/// Builders
  445    445   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/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_json/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_json/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_json/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_json/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_json/rust-client-codegen/src/operation/fractional_seconds.rs

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

tmp-codegen-diff/codegen-client-test/rest_json/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_json/rust-client-codegen/src/operation/greeting_with_errors.rs

@@ -1014,1014 +1053,1053 @@
 1034   1034   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
 1035   1035   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
 1036   1036   
    ) -> Self {
 1037   1037   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
 1038   1038   
            source,
 1039   1039   
            meta: meta.unwrap_or_default(),
 1040   1040   
        })
 1041   1041   
    }
 1042   1042   
}
 1043   1043   
 1044         -
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
 1045         -
 1046   1044   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInput;
 1047   1045   
        1046  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
        1047  +
 1048   1048   
mod _greeting_with_errors_input;
 1049   1049   
 1050   1050   
mod _greeting_with_errors_output;
 1051   1051   
 1052   1052   
/// Builders
 1053   1053   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/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_json/rust-client-codegen/src/operation/host_with_path_operation.rs

@@ -324,324 +363,363 @@
  344    344   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  345    345   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  346    346   
    ) -> Self {
  347    347   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  348    348   
            source,
  349    349   
            meta: meta.unwrap_or_default(),
  350    350   
        })
  351    351   
    }
  352    352   
}
  353    353   
  354         -
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
  355         -
  356    354   
pub use crate::operation::host_with_path_operation::_host_with_path_operation_input::HostWithPathOperationInput;
  357    355   
         356  +
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
         357  +
  358    358   
mod _host_with_path_operation_input;
  359    359   
  360    360   
mod _host_with_path_operation_output;
  361    361   
  362    362   
/// Builders
  363    363   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/host_with_path_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::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::host_with_path_operation::_host_with_path_operation_input::HostWithPathOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::host_with_path_operation::builders::HostWithPathOperationInputBuilder {
    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::host_with_path_operation::HostWithPathOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::host_with_path_operation::HostWithPathOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_checksum_required.rs

@@ -339,339 +378,378 @@
  359    359   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  360    360   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  361    361   
    ) -> Self {
  362    362   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  363    363   
            source,
  364    364   
            meta: meta.unwrap_or_default(),
  365    365   
        })
  366    366   
    }
  367    367   
}
  368    368   
  369         -
pub use crate::operation::http_checksum_required::_http_checksum_required_output::HttpChecksumRequiredOutput;
  370         -
  371    369   
pub use crate::operation::http_checksum_required::_http_checksum_required_input::HttpChecksumRequiredInput;
  372    370   
         371  +
pub use crate::operation::http_checksum_required::_http_checksum_required_output::HttpChecksumRequiredOutput;
         372  +
  373    373   
mod _http_checksum_required_input;
  374    374   
  375    375   
mod _http_checksum_required_output;
  376    376   
  377    377   
/// Builders
  378    378   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_checksum_required/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_checksum_required::_http_checksum_required_output::HttpChecksumRequiredOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_checksum_required::_http_checksum_required_input::HttpChecksumRequiredInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_checksum_required::_http_checksum_required_output::HttpChecksumRequiredOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_checksum_required::builders::HttpChecksumRequiredInputBuilder {
    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_checksum_required::HttpChecksumRequiredOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_checksum_required::HttpChecksumRequiredError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/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_json/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,