Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/test_body_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::test_body_structure::_test_body_structure_output::TestBodyStructureOutputBuilder;
    3         -
    4      2   
pub use crate::operation::test_body_structure::_test_body_structure_input::TestBodyStructureInputBuilder;
    5      3   
           4  +
pub use crate::operation::test_body_structure::_test_body_structure_output::TestBodyStructureOutputBuilder;
           5  +
    6      6   
impl crate::operation::test_body_structure::builders::TestBodyStructureInputBuilder {
    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::test_body_structure::TestBodyStructureOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::test_body_structure::TestBodyStructureError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -326,326 +365,365 @@
  346    346   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  347    347   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  348    348   
    ) -> Self {
  349    349   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  350    350   
            source,
  351    351   
            meta: meta.unwrap_or_default(),
  352    352   
        })
  353    353   
    }
  354    354   
}
  355    355   
  356         -
pub use crate::operation::test_get_no_input_no_payload::_test_get_no_input_no_payload_output::TestGetNoInputNoPayloadOutput;
  357         -
  358    356   
pub use crate::operation::test_get_no_input_no_payload::_test_get_no_input_no_payload_input::TestGetNoInputNoPayloadInput;
  359    357   
         358  +
pub use crate::operation::test_get_no_input_no_payload::_test_get_no_input_no_payload_output::TestGetNoInputNoPayloadOutput;
         359  +
  360    360   
mod _test_get_no_input_no_payload_input;
  361    361   
  362    362   
mod _test_get_no_input_no_payload_output;
  363    363   
  364    364   
/// Builders
  365    365   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/test_get_no_input_no_payload/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::test_get_no_input_no_payload::_test_get_no_input_no_payload_output::TestGetNoInputNoPayloadOutputBuilder;
    3         -
    4      2   
pub use crate::operation::test_get_no_input_no_payload::_test_get_no_input_no_payload_input::TestGetNoInputNoPayloadInputBuilder;
    5      3   
           4  +
pub use crate::operation::test_get_no_input_no_payload::_test_get_no_input_no_payload_output::TestGetNoInputNoPayloadOutputBuilder;
           5  +
    6      6   
impl crate::operation::test_get_no_input_no_payload::builders::TestGetNoInputNoPayloadInputBuilder {
    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::test_get_no_input_no_payload::TestGetNoInputNoPayloadOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::test_get_no_input_no_payload::TestGetNoInputNoPayloadError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/test_get_no_payload/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::test_get_no_payload::_test_get_no_payload_output::TestGetNoPayloadOutputBuilder;
    3         -
    4      2   
pub use crate::operation::test_get_no_payload::_test_get_no_payload_input::TestGetNoPayloadInputBuilder;
    5      3   
           4  +
pub use crate::operation::test_get_no_payload::_test_get_no_payload_output::TestGetNoPayloadOutputBuilder;
           5  +
    6      6   
impl crate::operation::test_get_no_payload::builders::TestGetNoPayloadInputBuilder {
    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::test_get_no_payload::TestGetNoPayloadOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::test_get_no_payload::TestGetNoPayloadError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/test_payload_blob/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::test_payload_blob::_test_payload_blob_output::TestPayloadBlobOutputBuilder;
    3         -
    4      2   
pub use crate::operation::test_payload_blob::_test_payload_blob_input::TestPayloadBlobInputBuilder;
    5      3   
           4  +
pub use crate::operation::test_payload_blob::_test_payload_blob_output::TestPayloadBlobOutputBuilder;
           5  +
    6      6   
impl crate::operation::test_payload_blob::builders::TestPayloadBlobInputBuilder {
    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::test_payload_blob::TestPayloadBlobOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::test_payload_blob::TestPayloadBlobError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -417,417 +456,456 @@
  437    437   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  438    438   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  439    439   
    ) -> Self {
  440    440   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  441    441   
            source,
  442    442   
            meta: meta.unwrap_or_default(),
  443    443   
        })
  444    444   
    }
  445    445   
}
  446    446   
  447         -
pub use crate::operation::test_payload_structure::_test_payload_structure_output::TestPayloadStructureOutput;
  448         -
  449    447   
pub use crate::operation::test_payload_structure::_test_payload_structure_input::TestPayloadStructureInput;
  450    448   
         449  +
pub use crate::operation::test_payload_structure::_test_payload_structure_output::TestPayloadStructureOutput;
         450  +
  451    451   
mod _test_payload_structure_input;
  452    452   
  453    453   
mod _test_payload_structure_output;
  454    454   
  455    455   
/// Builders
  456    456   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/test_payload_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::test_payload_structure::_test_payload_structure_output::TestPayloadStructureOutputBuilder;
    3         -
    4      2   
pub use crate::operation::test_payload_structure::_test_payload_structure_input::TestPayloadStructureInputBuilder;
    5      3   
           4  +
pub use crate::operation::test_payload_structure::_test_payload_structure_output::TestPayloadStructureOutputBuilder;
           5  +
    6      6   
impl crate::operation::test_payload_structure::builders::TestPayloadStructureInputBuilder {
    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::test_payload_structure::TestPayloadStructureOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::test_payload_structure::TestPayloadStructureError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -326,326 +365,365 @@
  346    346   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  347    347   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  348    348   
    ) -> Self {
  349    349   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  350    350   
            source,
  351    351   
            meta: meta.unwrap_or_default(),
  352    352   
        })
  353    353   
    }
  354    354   
}
  355    355   
  356         -
pub use crate::operation::test_post_no_input_no_payload::_test_post_no_input_no_payload_output::TestPostNoInputNoPayloadOutput;
  357         -
  358    356   
pub use crate::operation::test_post_no_input_no_payload::_test_post_no_input_no_payload_input::TestPostNoInputNoPayloadInput;
  359    357   
         358  +
pub use crate::operation::test_post_no_input_no_payload::_test_post_no_input_no_payload_output::TestPostNoInputNoPayloadOutput;
         359  +
  360    360   
mod _test_post_no_input_no_payload_input;
  361    361   
  362    362   
mod _test_post_no_input_no_payload_output;
  363    363   
  364    364   
/// Builders
  365    365   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/test_post_no_input_no_payload/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::test_post_no_input_no_payload::_test_post_no_input_no_payload_output::TestPostNoInputNoPayloadOutputBuilder;
    3         -
    4      2   
pub use crate::operation::test_post_no_input_no_payload::_test_post_no_input_no_payload_input::TestPostNoInputNoPayloadInputBuilder;
    5      3   
           4  +
pub use crate::operation::test_post_no_input_no_payload::_test_post_no_input_no_payload_output::TestPostNoInputNoPayloadOutputBuilder;
           5  +
    6      6   
impl crate::operation::test_post_no_input_no_payload::builders::TestPostNoInputNoPayloadInputBuilder {
    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::test_post_no_input_no_payload::TestPostNoInputNoPayloadOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::test_post_no_input_no_payload::TestPostNoInputNoPayloadError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/test_post_no_payload/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::test_post_no_payload::_test_post_no_payload_output::TestPostNoPayloadOutputBuilder;
    3         -
    4      2   
pub use crate::operation::test_post_no_payload::_test_post_no_payload_input::TestPostNoPayloadInputBuilder;
    5      3   
           4  +
pub use crate::operation::test_post_no_payload::_test_post_no_payload_output::TestPostNoPayloadOutputBuilder;
           5  +
    6      6   
impl crate::operation::test_post_no_payload::builders::TestPostNoPayloadInputBuilder {
    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::test_post_no_payload::TestPostNoPayloadOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::test_post_no_payload::TestPostNoPayloadError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/timestamp_format_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::timestamp_format_headers::_timestamp_format_headers_output::TimestampFormatHeadersOutputBuilder;
    3         -
    4      2   
pub use crate::operation::timestamp_format_headers::_timestamp_format_headers_input::TimestampFormatHeadersInputBuilder;
    5      3   
           4  +
pub use crate::operation::timestamp_format_headers::_timestamp_format_headers_output::TimestampFormatHeadersOutputBuilder;
           5  +
    6      6   
impl crate::operation::timestamp_format_headers::builders::TimestampFormatHeadersInputBuilder {
    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::timestamp_format_headers::TimestampFormatHeadersOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::timestamp_format_headers::TimestampFormatHeadersError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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