Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858

Files changed:

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

@@ -292,292 +331,331 @@
  312    312   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  313    313   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  314    314   
    ) -> Self {
  315    315   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  316    316   
            source,
  317    317   
            meta: meta.unwrap_or_default(),
  318    318   
        })
  319    319   
    }
  320    320   
}
  321    321   
  322         -
pub use crate::operation::malformed_map::_malformed_map_output::MalformedMapOutput;
  323         -
  324    322   
pub use crate::operation::malformed_map::_malformed_map_input::MalformedMapInput;
  325    323   
         324  +
pub use crate::operation::malformed_map::_malformed_map_output::MalformedMapOutput;
         325  +
  326    326   
mod _malformed_map_input;
  327    327   
  328    328   
mod _malformed_map_output;
  329    329   
  330    330   
/// Builders
  331    331   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_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::malformed_map::_malformed_map_output::MalformedMapOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_map::_malformed_map_input::MalformedMapInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_map::_malformed_map_output::MalformedMapOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_map::builders::MalformedMapInputBuilder {
    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::malformed_map::MalformedMapOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_map::MalformedMapError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_request_body.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::malformed_request_body::_malformed_request_body_output::MalformedRequestBodyOutput;
  331         -
  332    330   
pub use crate::operation::malformed_request_body::_malformed_request_body_input::MalformedRequestBodyInput;
  333    331   
         332  +
pub use crate::operation::malformed_request_body::_malformed_request_body_output::MalformedRequestBodyOutput;
         333  +
  334    334   
mod _malformed_request_body_input;
  335    335   
  336    336   
mod _malformed_request_body_output;
  337    337   
  338    338   
/// Builders
  339    339   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_request_body/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::malformed_request_body::_malformed_request_body_output::MalformedRequestBodyOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_request_body::_malformed_request_body_input::MalformedRequestBodyInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_request_body::_malformed_request_body_output::MalformedRequestBodyOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_request_body::builders::MalformedRequestBodyInputBuilder {
    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::malformed_request_body::MalformedRequestBodyOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_request_body::MalformedRequestBodyError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -318,318 +357,357 @@
  338    338   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  339    339   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  340    340   
    ) -> Self {
  341    341   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  342    342   
            source,
  343    343   
            meta: meta.unwrap_or_default(),
  344    344   
        })
  345    345   
    }
  346    346   
}
  347    347   
  348         -
pub use crate::operation::malformed_short::_malformed_short_output::MalformedShortOutput;
  349         -
  350    348   
pub use crate::operation::malformed_short::_malformed_short_input::MalformedShortInput;
  351    349   
         350  +
pub use crate::operation::malformed_short::_malformed_short_output::MalformedShortOutput;
         351  +
  352    352   
mod _malformed_short_input;
  353    353   
  354    354   
mod _malformed_short_output;
  355    355   
  356    356   
/// Builders
  357    357   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_short/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::malformed_short::_malformed_short_output::MalformedShortOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_short::_malformed_short_input::MalformedShortInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_short::_malformed_short_output::MalformedShortOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_short::builders::MalformedShortInputBuilder {
    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::malformed_short::MalformedShortOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_short::MalformedShortError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -295,295 +334,334 @@
  315    315   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  316    316   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  317    317   
    ) -> Self {
  318    318   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  319    319   
            source,
  320    320   
            meta: meta.unwrap_or_default(),
  321    321   
        })
  322    322   
    }
  323    323   
}
  324    324   
  325         -
pub use crate::operation::malformed_string::_malformed_string_output::MalformedStringOutput;
  326         -
  327    325   
pub use crate::operation::malformed_string::_malformed_string_input::MalformedStringInput;
  328    326   
         327  +
pub use crate::operation::malformed_string::_malformed_string_output::MalformedStringOutput;
         328  +
  329    329   
mod _malformed_string_input;
  330    330   
  331    331   
mod _malformed_string_output;
  332    332   
  333    333   
/// Builders
  334    334   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_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::malformed_string::_malformed_string_output::MalformedStringOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_string::_malformed_string_input::MalformedStringInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_string::_malformed_string_output::MalformedStringOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_string::builders::MalformedStringInputBuilder {
    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::malformed_string::MalformedStringOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_string::MalformedStringError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -302,302 +341,341 @@
  322    322   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  323    323   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  324    324   
    ) -> Self {
  325    325   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  326    326   
            source,
  327    327   
            meta: meta.unwrap_or_default(),
  328    328   
        })
  329    329   
    }
  330    330   
}
  331    331   
  332         -
pub use crate::operation::malformed_timestamp_body_date_time::_malformed_timestamp_body_date_time_output::MalformedTimestampBodyDateTimeOutput;
  333         -
  334    332   
pub use crate::operation::malformed_timestamp_body_date_time::_malformed_timestamp_body_date_time_input::MalformedTimestampBodyDateTimeInput;
  335    333   
         334  +
pub use crate::operation::malformed_timestamp_body_date_time::_malformed_timestamp_body_date_time_output::MalformedTimestampBodyDateTimeOutput;
         335  +
  336    336   
mod _malformed_timestamp_body_date_time_input;
  337    337   
  338    338   
mod _malformed_timestamp_body_date_time_output;
  339    339   
  340    340   
/// Builders
  341    341   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_timestamp_body_date_time/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::malformed_timestamp_body_date_time::_malformed_timestamp_body_date_time_output::MalformedTimestampBodyDateTimeOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_timestamp_body_date_time::_malformed_timestamp_body_date_time_input::MalformedTimestampBodyDateTimeInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_timestamp_body_date_time::_malformed_timestamp_body_date_time_output::MalformedTimestampBodyDateTimeOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_timestamp_body_date_time::builders::MalformedTimestampBodyDateTimeInputBuilder {
    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::malformed_timestamp_body_date_time::MalformedTimestampBodyDateTimeOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_timestamp_body_date_time::MalformedTimestampBodyDateTimeError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_timestamp_body_default.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::malformed_timestamp_body_default::_malformed_timestamp_body_default_output::MalformedTimestampBodyDefaultOutput;
  331         -
  332    330   
pub use crate::operation::malformed_timestamp_body_default::_malformed_timestamp_body_default_input::MalformedTimestampBodyDefaultInput;
  333    331   
         332  +
pub use crate::operation::malformed_timestamp_body_default::_malformed_timestamp_body_default_output::MalformedTimestampBodyDefaultOutput;
         333  +
  334    334   
mod _malformed_timestamp_body_default_input;
  335    335   
  336    336   
mod _malformed_timestamp_body_default_output;
  337    337   
  338    338   
/// Builders
  339    339   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_timestamp_body_default/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::malformed_timestamp_body_default::_malformed_timestamp_body_default_output::MalformedTimestampBodyDefaultOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_timestamp_body_default::_malformed_timestamp_body_default_input::MalformedTimestampBodyDefaultInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_timestamp_body_default::_malformed_timestamp_body_default_output::MalformedTimestampBodyDefaultOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_timestamp_body_default::builders::MalformedTimestampBodyDefaultInputBuilder {
    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::malformed_timestamp_body_default::MalformedTimestampBodyDefaultOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_timestamp_body_default::MalformedTimestampBodyDefaultError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -302,302 +341,341 @@
  322    322   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  323    323   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  324    324   
    ) -> Self {
  325    325   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  326    326   
            source,
  327    327   
            meta: meta.unwrap_or_default(),
  328    328   
        })
  329    329   
    }
  330    330   
}
  331    331   
  332         -
pub use crate::operation::malformed_timestamp_body_http_date::_malformed_timestamp_body_http_date_output::MalformedTimestampBodyHttpDateOutput;
  333         -
  334    332   
pub use crate::operation::malformed_timestamp_body_http_date::_malformed_timestamp_body_http_date_input::MalformedTimestampBodyHttpDateInput;
  335    333   
         334  +
pub use crate::operation::malformed_timestamp_body_http_date::_malformed_timestamp_body_http_date_output::MalformedTimestampBodyHttpDateOutput;
         335  +
  336    336   
mod _malformed_timestamp_body_http_date_input;
  337    337   
  338    338   
mod _malformed_timestamp_body_http_date_output;
  339    339   
  340    340   
/// Builders
  341    341   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_timestamp_body_http_date/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::malformed_timestamp_body_http_date::_malformed_timestamp_body_http_date_output::MalformedTimestampBodyHttpDateOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_timestamp_body_http_date::_malformed_timestamp_body_http_date_input::MalformedTimestampBodyHttpDateInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_timestamp_body_http_date::_malformed_timestamp_body_http_date_output::MalformedTimestampBodyHttpDateOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_timestamp_body_http_date::builders::MalformedTimestampBodyHttpDateInputBuilder {
    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::malformed_timestamp_body_http_date::MalformedTimestampBodyHttpDateOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_timestamp_body_http_date::MalformedTimestampBodyHttpDateError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -301,301 +340,340 @@
  321    321   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  322    322   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  323    323   
    ) -> Self {
  324    324   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  325    325   
            source,
  326    326   
            meta: meta.unwrap_or_default(),
  327    327   
        })
  328    328   
    }
  329    329   
}
  330    330   
  331         -
pub use crate::operation::malformed_timestamp_header_date_time::_malformed_timestamp_header_date_time_output::MalformedTimestampHeaderDateTimeOutput;
  332         -
  333    331   
pub use crate::operation::malformed_timestamp_header_date_time::_malformed_timestamp_header_date_time_input::MalformedTimestampHeaderDateTimeInput;
  334    332   
         333  +
pub use crate::operation::malformed_timestamp_header_date_time::_malformed_timestamp_header_date_time_output::MalformedTimestampHeaderDateTimeOutput;
         334  +
  335    335   
mod _malformed_timestamp_header_date_time_input;
  336    336   
  337    337   
mod _malformed_timestamp_header_date_time_output;
  338    338   
  339    339   
/// Builders
  340    340   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_timestamp_header_date_time/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::malformed_timestamp_header_date_time::_malformed_timestamp_header_date_time_output::MalformedTimestampHeaderDateTimeOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_timestamp_header_date_time::_malformed_timestamp_header_date_time_input::MalformedTimestampHeaderDateTimeInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_timestamp_header_date_time::_malformed_timestamp_header_date_time_output::MalformedTimestampHeaderDateTimeOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_timestamp_header_date_time::builders::MalformedTimestampHeaderDateTimeInputBuilder {
    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::malformed_timestamp_header_date_time::MalformedTimestampHeaderDateTimeOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_timestamp_header_date_time::MalformedTimestampHeaderDateTimeError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,