Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_content_type_with_payload.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_content_type_with_payload::_malformed_content_type_with_payload_output::MalformedContentTypeWithPayloadOutput;
  333         -
  334    332   
pub use crate::operation::malformed_content_type_with_payload::_malformed_content_type_with_payload_input::MalformedContentTypeWithPayloadInput;
  335    333   
         334  +
pub use crate::operation::malformed_content_type_with_payload::_malformed_content_type_with_payload_output::MalformedContentTypeWithPayloadOutput;
         335  +
  336    336   
mod _malformed_content_type_with_payload_input;
  337    337   
  338    338   
mod _malformed_content_type_with_payload_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_content_type_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_content_type_with_payload::_malformed_content_type_with_payload_output::MalformedContentTypeWithPayloadOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_content_type_with_payload::_malformed_content_type_with_payload_input::MalformedContentTypeWithPayloadInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_content_type_with_payload::_malformed_content_type_with_payload_output::MalformedContentTypeWithPayloadOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_content_type_with_payload::builders::MalformedContentTypeWithPayloadInputBuilder {
    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_payload::MalformedContentTypeWithPayloadOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_content_type_with_payload::MalformedContentTypeWithPayloadError,
   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_without_body.rs

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_content_type_without_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_without_body::_malformed_content_type_without_body_output::MalformedContentTypeWithoutBodyOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_content_type_without_body::_malformed_content_type_without_body_input::MalformedContentTypeWithoutBodyInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_content_type_without_body::_malformed_content_type_without_body_output::MalformedContentTypeWithoutBodyOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_content_type_without_body::builders::MalformedContentTypeWithoutBodyInputBuilder {
    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_without_body::MalformedContentTypeWithoutBodyOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_content_type_without_body::MalformedContentTypeWithoutBodyError,
   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_without_body_empty_input.rs

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_content_type_without_body_empty_input/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_without_body_empty_input::_malformed_content_type_without_body_empty_input_output::MalformedContentTypeWithoutBodyEmptyInputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_content_type_without_body_empty_input::_malformed_content_type_without_body_empty_input_input::MalformedContentTypeWithoutBodyEmptyInputInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_content_type_without_body_empty_input::_malformed_content_type_without_body_empty_input_output::MalformedContentTypeWithoutBodyEmptyInputOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_content_type_without_body_empty_input::builders::MalformedContentTypeWithoutBodyEmptyInputInputBuilder {
    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_without_body_empty_input::MalformedContentTypeWithoutBodyEmptyInputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_content_type_without_body_empty_input::MalformedContentTypeWithoutBodyEmptyInputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_double.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_double::_malformed_double_output::MalformedDoubleOutput;
  355         -
  356    354   
pub use crate::operation::malformed_double::_malformed_double_input::MalformedDoubleInput;
  357    355   
         356  +
pub use crate::operation::malformed_double::_malformed_double_output::MalformedDoubleOutput;
         357  +
  358    358   
mod _malformed_double_input;
  359    359   
  360    360   
mod _malformed_double_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_double/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_double::_malformed_double_output::MalformedDoubleOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_double::_malformed_double_input::MalformedDoubleInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_double::_malformed_double_output::MalformedDoubleOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_double::builders::MalformedDoubleInputBuilder {
    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_double::MalformedDoubleOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_double::MalformedDoubleError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_float.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_float::_malformed_float_output::MalformedFloatOutput;
  349         -
  350    348   
pub use crate::operation::malformed_float::_malformed_float_input::MalformedFloatInput;
  351    349   
         350  +
pub use crate::operation::malformed_float::_malformed_float_output::MalformedFloatOutput;
         351  +
  352    352   
mod _malformed_float_input;
  353    353   
  354    354   
mod _malformed_float_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_float/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_float::_malformed_float_output::MalformedFloatOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_float::_malformed_float_input::MalformedFloatInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_float::_malformed_float_output::MalformedFloatOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_float::builders::MalformedFloatInputBuilder {
    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_float::MalformedFloatOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_float::MalformedFloatError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_integer.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_integer::_malformed_integer_output::MalformedIntegerOutput;
  355         -
  356    354   
pub use crate::operation::malformed_integer::_malformed_integer_input::MalformedIntegerInput;
  357    355   
         356  +
pub use crate::operation::malformed_integer::_malformed_integer_output::MalformedIntegerOutput;
         357  +
  358    358   
mod _malformed_integer_input;
  359    359   
  360    360   
mod _malformed_integer_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_integer/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_integer::_malformed_integer_output::MalformedIntegerOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_integer::_malformed_integer_input::MalformedIntegerInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_integer::_malformed_integer_output::MalformedIntegerOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_integer::builders::MalformedIntegerInputBuilder {
    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_integer::MalformedIntegerOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_integer::MalformedIntegerError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_list.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_list::_malformed_list_output::MalformedListOutput;
  323         -
  324    322   
pub use crate::operation::malformed_list::_malformed_list_input::MalformedListInput;
  325    323   
         324  +
pub use crate::operation::malformed_list::_malformed_list_output::MalformedListOutput;
         325  +
  326    326   
mod _malformed_list_input;
  327    327   
  328    328   
mod _malformed_list_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_list/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_list::_malformed_list_output::MalformedListOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_list::_malformed_list_input::MalformedListInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_list::_malformed_list_output::MalformedListOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_list::builders::MalformedListInputBuilder {
    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_list::MalformedListOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_list::MalformedListError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/malformed_long.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_long::_malformed_long_output::MalformedLongOutput;
  349         -
  350    348   
pub use crate::operation::malformed_long::_malformed_long_input::MalformedLongInput;
  351    349   
         350  +
pub use crate::operation::malformed_long::_malformed_long_output::MalformedLongOutput;
         351  +
  352    352   
mod _malformed_long_input;
  353    353   
  354    354   
mod _malformed_long_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_long/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_long::_malformed_long_output::MalformedLongOutputBuilder;
    3         -
    4      2   
pub use crate::operation::malformed_long::_malformed_long_input::MalformedLongInputBuilder;
    5      3   
           4  +
pub use crate::operation::malformed_long::_malformed_long_output::MalformedLongOutputBuilder;
           5  +
    6      6   
impl crate::operation::malformed_long::builders::MalformedLongInputBuilder {
    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_long::MalformedLongOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::malformed_long::MalformedLongError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,