Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858 (ignoring whitespace)

Files changed:

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

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_accept_with_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_accept_with_body::_malformed_accept_with_body_output::MalformedAcceptWithBodyOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_accept_with_body::_malformed_accept_with_body_input::MalformedAcceptWithBodyInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_accept_with_body::_malformed_accept_with_body_output::MalformedAcceptWithBodyOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_accept_with_body::builders::MalformedAcceptWithBodyInputBuilder {
    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_accept_with_body::MalformedAcceptWithBodyOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_accept_with_body::MalformedAcceptWithBodyError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -298,298 +337,337 @@
  318    318   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  319    319   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  320    320   
    ) -> Self {
  321    321   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  322    322   
            source,
  323    323   
            meta: meta.unwrap_or_default(),
  324    324   
        })
  325    325   
    }
  326    326   
}
  327    327   
  328         -
pub use crate::operation::malformed_accept_with_generic_string::_malformed_accept_with_generic_string_output::MalformedAcceptWithGenericStringOutput;
  329         -
  330    328   
pub use crate::operation::malformed_accept_with_generic_string::_malformed_accept_with_generic_string_input::MalformedAcceptWithGenericStringInput;
  331    329   
         330  +
pub use crate::operation::malformed_accept_with_generic_string::_malformed_accept_with_generic_string_output::MalformedAcceptWithGenericStringOutput;
         331  +
  332    332   
mod _malformed_accept_with_generic_string_input;
  333    333   
  334    334   
mod _malformed_accept_with_generic_string_output;
  335    335   
  336    336   
/// Builders
  337    337   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_accept_with_generic_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_accept_with_generic_string::_malformed_accept_with_generic_string_output::MalformedAcceptWithGenericStringOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_accept_with_generic_string::_malformed_accept_with_generic_string_input::MalformedAcceptWithGenericStringInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_accept_with_generic_string::_malformed_accept_with_generic_string_output::MalformedAcceptWithGenericStringOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_accept_with_generic_string::builders::MalformedAcceptWithGenericStringInputBuilder {
    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_accept_with_generic_string::MalformedAcceptWithGenericStringOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_accept_with_generic_string::MalformedAcceptWithGenericStringError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_accept_with_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::malformed_accept_with_payload::_malformed_accept_with_payload_output::MalformedAcceptWithPayloadOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_accept_with_payload::_malformed_accept_with_payload_input::MalformedAcceptWithPayloadInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_accept_with_payload::_malformed_accept_with_payload_output::MalformedAcceptWithPayloadOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_accept_with_payload::builders::MalformedAcceptWithPayloadInputBuilder {
    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_accept_with_payload::MalformedAcceptWithPayloadOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_accept_with_payload::MalformedAcceptWithPayloadError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_blob.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_blob::_malformed_blob_output::MalformedBlobOutput;
  323         -
  324    322   
pub use crate::operation::malformed_blob::_malformed_blob_input::MalformedBlobInput;
  325    323   
         324  +
pub use crate::operation::malformed_blob::_malformed_blob_output::MalformedBlobOutput;
         325  +
  326    326   
mod _malformed_blob_input;
  327    327   
  328    328   
mod _malformed_blob_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_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::malformed_blob::_malformed_blob_output::MalformedBlobOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_blob::_malformed_blob_input::MalformedBlobInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_blob::_malformed_blob_output::MalformedBlobOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_blob::builders::MalformedBlobInputBuilder {
    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_blob::MalformedBlobOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_blob::MalformedBlobError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_boolean.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::malformed_boolean::_malformed_boolean_output::MalformedBooleanOutput;
  355         -
  356    354   
pub use crate::operation::malformed_boolean::_malformed_boolean_input::MalformedBooleanInput;
  357    355   
         356  +
pub use crate::operation::malformed_boolean::_malformed_boolean_output::MalformedBooleanOutput;
         357  +
  358    358   
mod _malformed_boolean_input;
  359    359   
  360    360   
mod _malformed_boolean_output;
  361    361   
  362    362   
/// Builders
  363    363   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_boolean/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_boolean::_malformed_boolean_output::MalformedBooleanOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_boolean::_malformed_boolean_input::MalformedBooleanInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_boolean::_malformed_boolean_output::MalformedBooleanOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_boolean::builders::MalformedBooleanInputBuilder {
    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_boolean::MalformedBooleanOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_boolean::MalformedBooleanError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_byte.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_byte::_malformed_byte_output::MalformedByteOutput;
  349         -
  350    348   
pub use crate::operation::malformed_byte::_malformed_byte_input::MalformedByteInput;
  351    349   
         350  +
pub use crate::operation::malformed_byte::_malformed_byte_output::MalformedByteOutput;
         351  +
  352    352   
mod _malformed_byte_input;
  353    353   
  354    354   
mod _malformed_byte_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_byte/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_byte::_malformed_byte_output::MalformedByteOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_byte::_malformed_byte_input::MalformedByteInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_byte::_malformed_byte_output::MalformedByteOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_byte::builders::MalformedByteInputBuilder {
    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_byte::MalformedByteOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_byte::MalformedByteError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_content_type_with_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_content_type_with_body::_malformed_content_type_with_body_output::MalformedContentTypeWithBodyOutput;
  331         -
  332    330   
pub use crate::operation::malformed_content_type_with_body::_malformed_content_type_with_body_input::MalformedContentTypeWithBodyInput;
  333    331   
         332  +
pub use crate::operation::malformed_content_type_with_body::_malformed_content_type_with_body_output::MalformedContentTypeWithBodyOutput;
         333  +
  334    334   
mod _malformed_content_type_with_body_input;
  335    335   
  336    336   
mod _malformed_content_type_with_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_content_type_with_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_content_type_with_body::_malformed_content_type_with_body_output::MalformedContentTypeWithBodyOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_content_type_with_body::_malformed_content_type_with_body_input::MalformedContentTypeWithBodyInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_content_type_with_body::_malformed_content_type_with_body_output::MalformedContentTypeWithBodyOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_content_type_with_body::builders::MalformedContentTypeWithBodyInputBuilder {
    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_content_type_with_body::MalformedContentTypeWithBodyOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_content_type_with_body::MalformedContentTypeWithBodyError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -304,304 +343,343 @@
  324    324   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  325    325   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  326    326   
    ) -> Self {
  327    327   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  328    328   
            source,
  329    329   
            meta: meta.unwrap_or_default(),
  330    330   
        })
  331    331   
    }
  332    332   
}
  333    333   
  334         -
pub use crate::operation::malformed_content_type_with_generic_string::_malformed_content_type_with_generic_string_output::MalformedContentTypeWithGenericStringOutput;
  335         -
  336    334   
pub use crate::operation::malformed_content_type_with_generic_string::_malformed_content_type_with_generic_string_input::MalformedContentTypeWithGenericStringInput;
  337    335   
         336  +
pub use crate::operation::malformed_content_type_with_generic_string::_malformed_content_type_with_generic_string_output::MalformedContentTypeWithGenericStringOutput;
         337  +
  338    338   
mod _malformed_content_type_with_generic_string_input;
  339    339   
  340    340   
mod _malformed_content_type_with_generic_string_output;
  341    341   
  342    342   
/// Builders
  343    343   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_content_type_with_generic_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_content_type_with_generic_string::_malformed_content_type_with_generic_string_output::MalformedContentTypeWithGenericStringOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_content_type_with_generic_string::_malformed_content_type_with_generic_string_input::MalformedContentTypeWithGenericStringInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_content_type_with_generic_string::_malformed_content_type_with_generic_string_output::MalformedContentTypeWithGenericStringOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_content_type_with_generic_string::builders::MalformedContentTypeWithGenericStringInputBuilder {
    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_content_type_with_generic_string::MalformedContentTypeWithGenericStringOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_content_type_with_generic_string::MalformedContentTypeWithGenericStringError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,