Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

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

@@ -500,500 +539,539 @@
  520    520   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  521    521   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  522    522   
    ) -> Self {
  523    523   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  524    524   
            source,
  525    525   
            meta: meta.unwrap_or_default(),
  526    526   
        })
  527    527   
    }
  528    528   
}
  529    529   
  530         -
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
  531         -
  532    530   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInput;
  533    531   
         532  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
         533  +
  534    534   
mod _greeting_with_errors_input;
  535    535   
  536    536   
mod _greeting_with_errors_output;
  537    537   
  538    538   
/// Builders
  539    539   
pub mod builders;

tmp-codegen-diff/codegen-client-test/aws_query/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/aws_query/rust-client-codegen/src/operation/host_with_path_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::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
  362         -
  363    361   
pub use crate::operation::host_with_path_operation::_host_with_path_operation_input::HostWithPathOperationInput;
  364    362   
         363  +
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
         364  +
  365    365   
mod _host_with_path_operation_input;
  366    366   
  367    367   
mod _host_with_path_operation_output;
  368    368   
  369    369   
/// Builders
  370    370   
pub mod builders;

tmp-codegen-diff/codegen-client-test/aws_query/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/aws_query/rust-client-codegen/src/operation/ignores_wrapping_xml_name.rs

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

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/ignores_wrapping_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::ignores_wrapping_xml_name::_ignores_wrapping_xml_name_output::IgnoresWrappingXmlNameOutputBuilder;
    3         -
    4      2   
pub use crate::operation::ignores_wrapping_xml_name::_ignores_wrapping_xml_name_input::IgnoresWrappingXmlNameInputBuilder;
    5      3   
           4  +
pub use crate::operation::ignores_wrapping_xml_name::_ignores_wrapping_xml_name_output::IgnoresWrappingXmlNameOutputBuilder;
           5  +
    6      6   
impl crate::operation::ignores_wrapping_xml_name::builders::IgnoresWrappingXmlNameInputBuilder {
    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::ignores_wrapping_xml_name::IgnoresWrappingXmlNameOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::ignores_wrapping_xml_name::IgnoresWrappingXmlNameError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/nested_structures.rs

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

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/nested_structures/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::nested_structures::_nested_structures_output::NestedStructuresOutputBuilder;
    3         -
    4      2   
pub use crate::operation::nested_structures::_nested_structures_input::NestedStructuresInputBuilder;
    5      3   
           4  +
pub use crate::operation::nested_structures::_nested_structures_output::NestedStructuresOutputBuilder;
           5  +
    6      6   
impl crate::operation::nested_structures::builders::NestedStructuresInputBuilder {
    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::nested_structures::NestedStructuresOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::nested_structures::NestedStructuresError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/no_input_and_no_output.rs

@@ -365,365 +404,404 @@
  385    385   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  386    386   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  387    387   
    ) -> Self {
  388    388   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  389    389   
            source,
  390    390   
            meta: meta.unwrap_or_default(),
  391    391   
        })
  392    392   
    }
  393    393   
}
  394    394   
  395         -
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutput;
  396         -
  397    395   
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_input::NoInputAndNoOutputInput;
  398    396   
         397  +
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutput;
         398  +
  399    399   
mod _no_input_and_no_output_input;
  400    400   
  401    401   
mod _no_input_and_no_output_output;
  402    402   
  403    403   
/// Builders
  404    404   
pub mod builders;

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/no_input_and_no_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::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_input::NoInputAndNoOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::no_input_and_no_output::builders::NoInputAndNoOutputInputBuilder {
    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::no_input_and_no_output::NoInputAndNoOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::no_input_and_no_output::NoInputAndNoOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/no_input_and_output.rs

@@ -365,365 +404,404 @@
  385    385   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  386    386   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  387    387   
    ) -> Self {
  388    388   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  389    389   
            source,
  390    390   
            meta: meta.unwrap_or_default(),
  391    391   
        })
  392    392   
    }
  393    393   
}
  394    394   
  395         -
pub use crate::operation::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutput;
  396         -
  397    395   
pub use crate::operation::no_input_and_output::_no_input_and_output_input::NoInputAndOutputInput;
  398    396   
         397  +
pub use crate::operation::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutput;
         398  +
  399    399   
mod _no_input_and_output_input;
  400    400   
  401    401   
mod _no_input_and_output_output;
  402    402   
  403    403   
/// Builders
  404    404   
pub mod builders;

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/no_input_and_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::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::no_input_and_output::_no_input_and_output_input::NoInputAndOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::no_input_and_output::builders::NoInputAndOutputInputBuilder {
    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::no_input_and_output::NoInputAndOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::no_input_and_output::NoInputAndOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/put_with_content_encoding.rs

@@ -374,374 +413,413 @@
  394    394   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  395    395   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  396    396   
    ) -> Self {
  397    397   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  398    398   
            source,
  399    399   
            meta: meta.unwrap_or_default(),
  400    400   
        })
  401    401   
    }
  402    402   
}
  403    403   
  404         -
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_output::PutWithContentEncodingOutput;
  405         -
  406    404   
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_input::PutWithContentEncodingInput;
  407    405   
         406  +
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_output::PutWithContentEncodingOutput;
         407  +
  408    408   
mod _put_with_content_encoding_input;
  409    409   
  410    410   
mod _put_with_content_encoding_output;
  411    411   
  412    412   
/// Builders
  413    413   
pub mod builders;

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/put_with_content_encoding/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::put_with_content_encoding::_put_with_content_encoding_output::PutWithContentEncodingOutputBuilder;
    3         -
    4      2   
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_input::PutWithContentEncodingInputBuilder;
    5      3   
           4  +
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_output::PutWithContentEncodingOutputBuilder;
           5  +
    6      6   
impl crate::operation::put_with_content_encoding::builders::PutWithContentEncodingInputBuilder {
    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::put_with_content_encoding::PutWithContentEncodingOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::put_with_content_encoding::PutWithContentEncodingError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/query_idempotency_token_auto_fill.rs

@@ -382,382 +421,421 @@
  402    402   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  403    403   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  404    404   
    ) -> Self {
  405    405   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  406    406   
            source,
  407    407   
            meta: meta.unwrap_or_default(),
  408    408   
        })
  409    409   
    }
  410    410   
}
  411    411   
  412         -
pub use crate::operation::query_idempotency_token_auto_fill::_query_idempotency_token_auto_fill_output::QueryIdempotencyTokenAutoFillOutput;
  413         -
  414    412   
pub use crate::operation::query_idempotency_token_auto_fill::_query_idempotency_token_auto_fill_input::QueryIdempotencyTokenAutoFillInput;
  415    413   
         414  +
pub use crate::operation::query_idempotency_token_auto_fill::_query_idempotency_token_auto_fill_output::QueryIdempotencyTokenAutoFillOutput;
         415  +
  416    416   
mod _query_idempotency_token_auto_fill_input;
  417    417   
  418    418   
mod _query_idempotency_token_auto_fill_output;
  419    419   
  420    420   
/// Builders
  421    421   
pub mod builders;