Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858

Files changed:

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/response_code_http_fallback/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::response_code_http_fallback::_response_code_http_fallback_output::ResponseCodeHttpFallbackOutputBuilder;
    3         -
    4      2   
pub use crate::operation::response_code_http_fallback::_response_code_http_fallback_input::ResponseCodeHttpFallbackInputBuilder;
    5      3   
           4  +
pub use crate::operation::response_code_http_fallback::_response_code_http_fallback_output::ResponseCodeHttpFallbackOutputBuilder;
           5  +
    6      6   
impl crate::operation::response_code_http_fallback::builders::ResponseCodeHttpFallbackInputBuilder {
    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::response_code_http_fallback::ResponseCodeHttpFallbackOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::response_code_http_fallback::ResponseCodeHttpFallbackError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/response_code_required.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::response_code_required::_response_code_required_output::ResponseCodeRequiredOutput;
  325         -
  326    324   
pub use crate::operation::response_code_required::_response_code_required_input::ResponseCodeRequiredInput;
  327    325   
         326  +
pub use crate::operation::response_code_required::_response_code_required_output::ResponseCodeRequiredOutput;
         327  +
  328    328   
mod _response_code_required_input;
  329    329   
  330    330   
mod _response_code_required_output;
  331    331   
  332    332   
/// Builders
  333    333   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/response_code_required/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::response_code_required::_response_code_required_output::ResponseCodeRequiredOutputBuilder;
    3         -
    4      2   
pub use crate::operation::response_code_required::_response_code_required_input::ResponseCodeRequiredInputBuilder;
    5      3   
           4  +
pub use crate::operation::response_code_required::_response_code_required_output::ResponseCodeRequiredOutputBuilder;
           5  +
    6      6   
impl crate::operation::response_code_required::builders::ResponseCodeRequiredInputBuilder {
    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::response_code_required::ResponseCodeRequiredOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::response_code_required::ResponseCodeRequiredError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -891,891 +930,930 @@
  911    911   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  912    912   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  913    913   
    ) -> Self {
  914    914   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  915    915   
            source,
  916    916   
            meta: meta.unwrap_or_default(),
  917    917   
        })
  918    918   
    }
  919    919   
}
  920    920   
  921         -
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_output::SimpleScalarPropertiesOutput;
  922         -
  923    921   
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_input::SimpleScalarPropertiesInput;
  924    922   
         923  +
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_output::SimpleScalarPropertiesOutput;
         924  +
  925    925   
mod _simple_scalar_properties_input;
  926    926   
  927    927   
mod _simple_scalar_properties_output;
  928    928   
  929    929   
/// Builders
  930    930   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/simple_scalar_properties/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::simple_scalar_properties::_simple_scalar_properties_output::SimpleScalarPropertiesOutputBuilder;
    3         -
    4      2   
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_input::SimpleScalarPropertiesInputBuilder;
    5      3   
           4  +
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_output::SimpleScalarPropertiesOutputBuilder;
           5  +
    6      6   
impl crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesInputBuilder {
    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::simple_scalar_properties::SimpleScalarPropertiesOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::simple_scalar_properties::SimpleScalarPropertiesError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -400,400 +439,439 @@
  420    420   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  421    421   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  422    422   
    ) -> Self {
  423    423   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  424    424   
            source,
  425    425   
            meta: meta.unwrap_or_default(),
  426    426   
        })
  427    427   
    }
  428    428   
}
  429    429   
  430         -
pub use crate::operation::sparse_json_lists::_sparse_json_lists_output::SparseJsonListsOutput;
  431         -
  432    430   
pub use crate::operation::sparse_json_lists::_sparse_json_lists_input::SparseJsonListsInput;
  433    431   
         432  +
pub use crate::operation::sparse_json_lists::_sparse_json_lists_output::SparseJsonListsOutput;
         433  +
  434    434   
mod _sparse_json_lists_input;
  435    435   
  436    436   
mod _sparse_json_lists_output;
  437    437   
  438    438   
/// Builders
  439    439   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/sparse_json_lists/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::sparse_json_lists::_sparse_json_lists_output::SparseJsonListsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::sparse_json_lists::_sparse_json_lists_input::SparseJsonListsInputBuilder;
    5      3   
           4  +
pub use crate::operation::sparse_json_lists::_sparse_json_lists_output::SparseJsonListsOutputBuilder;
           5  +
    6      6   
impl crate::operation::sparse_json_lists::builders::SparseJsonListsInputBuilder {
    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::sparse_json_lists::SparseJsonListsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::sparse_json_lists::SparseJsonListsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -911,911 +950,950 @@
  931    931   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  932    932   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  933    933   
    ) -> Self {
  934    934   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  935    935   
            source,
  936    936   
            meta: meta.unwrap_or_default(),
  937    937   
        })
  938    938   
    }
  939    939   
}
  940    940   
  941         -
pub use crate::operation::sparse_json_maps::_sparse_json_maps_output::SparseJsonMapsOutput;
  942         -
  943    941   
pub use crate::operation::sparse_json_maps::_sparse_json_maps_input::SparseJsonMapsInput;
  944    942   
         943  +
pub use crate::operation::sparse_json_maps::_sparse_json_maps_output::SparseJsonMapsOutput;
         944  +
  945    945   
mod _sparse_json_maps_input;
  946    946   
  947    947   
mod _sparse_json_maps_output;
  948    948   
  949    949   
/// Builders
  950    950   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/sparse_json_maps/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::sparse_json_maps::_sparse_json_maps_output::SparseJsonMapsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::sparse_json_maps::_sparse_json_maps_input::SparseJsonMapsInputBuilder;
    5      3   
           4  +
pub use crate::operation::sparse_json_maps::_sparse_json_maps_output::SparseJsonMapsOutputBuilder;
           5  +
    6      6   
impl crate::operation::sparse_json_maps::builders::SparseJsonMapsInputBuilder {
    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::sparse_json_maps::SparseJsonMapsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::sparse_json_maps::SparseJsonMapsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -479,479 +518,518 @@
  499    499   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  500    500   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  501    501   
    ) -> Self {
  502    502   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  503    503   
            source,
  504    504   
            meta: meta.unwrap_or_default(),
  505    505   
        })
  506    506   
    }
  507    507   
}
  508    508   
  509         -
pub use crate::operation::streaming_traits::_streaming_traits_output::StreamingTraitsOutput;
  510         -
  511    509   
pub use crate::operation::streaming_traits::_streaming_traits_input::StreamingTraitsInput;
  512    510   
         511  +
pub use crate::operation::streaming_traits::_streaming_traits_output::StreamingTraitsOutput;
         512  +
  513    513   
mod _streaming_traits_input;
  514    514   
  515    515   
mod _streaming_traits_output;
  516    516   
  517    517   
/// Builders
  518    518   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/streaming_traits/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::streaming_traits::_streaming_traits_output::StreamingTraitsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::streaming_traits::_streaming_traits_input::StreamingTraitsInputBuilder;
    5      3   
           4  +
pub use crate::operation::streaming_traits::_streaming_traits_output::StreamingTraitsOutputBuilder;
           5  +
    6      6   
impl crate::operation::streaming_traits::builders::StreamingTraitsInputBuilder {
    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::streaming_traits::StreamingTraitsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::streaming_traits::StreamingTraitsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/streaming_traits_require_length/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::streaming_traits_require_length::_streaming_traits_require_length_output::StreamingTraitsRequireLengthOutputBuilder;
    3         -
    4      2   
pub use crate::operation::streaming_traits_require_length::_streaming_traits_require_length_input::StreamingTraitsRequireLengthInputBuilder;
    5      3   
           4  +
pub use crate::operation::streaming_traits_require_length::_streaming_traits_require_length_output::StreamingTraitsRequireLengthOutputBuilder;
           5  +
    6      6   
impl crate::operation::streaming_traits_require_length::builders::StreamingTraitsRequireLengthInputBuilder {
    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::streaming_traits_require_length::StreamingTraitsRequireLengthOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::streaming_traits_require_length::StreamingTraitsRequireLengthError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -405,405 +444,444 @@
  425    425   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  426    426   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  427    427   
    ) -> Self {
  428    428   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  429    429   
            source,
  430    430   
            meta: meta.unwrap_or_default(),
  431    431   
        })
  432    432   
    }
  433    433   
}
  434    434   
  435         -
pub use crate::operation::streaming_traits_with_media_type::_streaming_traits_with_media_type_output::StreamingTraitsWithMediaTypeOutput;
  436         -
  437    435   
pub use crate::operation::streaming_traits_with_media_type::_streaming_traits_with_media_type_input::StreamingTraitsWithMediaTypeInput;
  438    436   
         437  +
pub use crate::operation::streaming_traits_with_media_type::_streaming_traits_with_media_type_output::StreamingTraitsWithMediaTypeOutput;
         438  +
  439    439   
mod _streaming_traits_with_media_type_input;
  440    440   
  441    441   
mod _streaming_traits_with_media_type_output;
  442    442   
  443    443   
/// Builders
  444    444   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/streaming_traits_with_media_type/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::streaming_traits_with_media_type::_streaming_traits_with_media_type_output::StreamingTraitsWithMediaTypeOutputBuilder;
    3         -
    4      2   
pub use crate::operation::streaming_traits_with_media_type::_streaming_traits_with_media_type_input::StreamingTraitsWithMediaTypeInputBuilder;
    5      3   
           4  +
pub use crate::operation::streaming_traits_with_media_type::_streaming_traits_with_media_type_output::StreamingTraitsWithMediaTypeOutputBuilder;
           5  +
    6      6   
impl crate::operation::streaming_traits_with_media_type::builders::StreamingTraitsWithMediaTypeInputBuilder {
    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::streaming_traits_with_media_type::StreamingTraitsWithMediaTypeOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::streaming_traits_with_media_type::StreamingTraitsWithMediaTypeError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/test_body_structure.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::test_body_structure::_test_body_structure_output::TestBodyStructureOutput;
  405         -
  406    404   
pub use crate::operation::test_body_structure::_test_body_structure_input::TestBodyStructureInput;
  407    405   
         406  +
pub use crate::operation::test_body_structure::_test_body_structure_output::TestBodyStructureOutput;
         407  +
  408    408   
mod _test_body_structure_input;
  409    409   
  410    410   
mod _test_body_structure_output;
  411    411   
  412    412   
/// Builders
  413    413   
pub mod builders;