Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858

Files changed:

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/endpoint_with_host_label_operation.rs

@@ -368,368 +407,407 @@
  388    388   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  389    389   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  390    390   
    ) -> Self {
  391    391   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  392    392   
            source,
  393    393   
            meta: meta.unwrap_or_default(),
  394    394   
        })
  395    395   
    }
  396    396   
}
  397    397   
  398         -
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutput;
  399         -
  400    398   
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_input::EndpointWithHostLabelOperationInput;
  401    399   
         400  +
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutput;
         401  +
  402    402   
mod _endpoint_with_host_label_operation_input;
  403    403   
  404    404   
mod _endpoint_with_host_label_operation_output;
  405    405   
  406    406   
/// Builders
  407    407   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/endpoint_with_host_label_operation/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::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_input::EndpointWithHostLabelOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::endpoint_with_host_label_operation::builders::EndpointWithHostLabelOperationInputBuilder {
    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::endpoint_with_host_label_operation::EndpointWithHostLabelOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/fractional_seconds.rs

@@ -345,345 +384,384 @@
  365    365   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  366    366   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  367    367   
    ) -> Self {
  368    368   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  369    369   
            source,
  370    370   
            meta: meta.unwrap_or_default(),
  371    371   
        })
  372    372   
    }
  373    373   
}
  374    374   
  375         -
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
  376         -
  377    375   
pub use crate::operation::fractional_seconds::_fractional_seconds_input::FractionalSecondsInput;
  378    376   
         377  +
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
         378  +
  379    379   
mod _fractional_seconds_input;
  380    380   
  381    381   
mod _fractional_seconds_output;
  382    382   
  383    383   
/// Builders
  384    384   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/fractional_seconds/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::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::fractional_seconds::_fractional_seconds_input::FractionalSecondsInputBuilder;
    5      3   
           4  +
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutputBuilder;
           5  +
    6      6   
impl crate::operation::fractional_seconds::builders::FractionalSecondsInputBuilder {
    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::fractional_seconds::FractionalSecondsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::fractional_seconds::FractionalSecondsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/greeting_with_errors.rs

@@ -920,920 +959,959 @@
  940    940   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  941    941   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  942    942   
    ) -> Self {
  943    943   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  944    944   
            source,
  945    945   
            meta: meta.unwrap_or_default(),
  946    946   
        })
  947    947   
    }
  948    948   
}
  949    949   
  950         -
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
  951         -
  952    950   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInput;
  953    951   
         952  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
         953  +
  954    954   
mod _greeting_with_errors_input;
  955    955   
  956    956   
mod _greeting_with_errors_output;
  957    957   
  958    958   
/// Builders
  959    959   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/greeting_with_errors/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::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInputBuilder;
    5      3   
           4  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutputBuilder;
           5  +
    6      6   
impl crate::operation::greeting_with_errors::builders::GreetingWithErrorsInputBuilder {
    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::greeting_with_errors::GreetingWithErrorsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::greeting_with_errors::GreetingWithErrorsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/host_with_path_operation.rs

@@ -340,340 +379,379 @@
  360    360   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  361    361   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  362    362   
    ) -> Self {
  363    363   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  364    364   
            source,
  365    365   
            meta: meta.unwrap_or_default(),
  366    366   
        })
  367    367   
    }
  368    368   
}
  369    369   
  370         -
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
  371         -
  372    370   
pub use crate::operation::host_with_path_operation::_host_with_path_operation_input::HostWithPathOperationInput;
  373    371   
         372  +
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
         373  +
  374    374   
mod _host_with_path_operation_input;
  375    375   
  376    376   
mod _host_with_path_operation_output;
  377    377   
  378    378   
/// Builders
  379    379   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/host_with_path_operation/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::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::host_with_path_operation::_host_with_path_operation_input::HostWithPathOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::host_with_path_operation::builders::HostWithPathOperationInputBuilder {
    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::host_with_path_operation::HostWithPathOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::host_with_path_operation::HostWithPathOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/json_enums.rs

@@ -493,493 +532,532 @@
  513    513   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  514    514   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  515    515   
    ) -> Self {
  516    516   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  517    517   
            source,
  518    518   
            meta: meta.unwrap_or_default(),
  519    519   
        })
  520    520   
    }
  521    521   
}
  522    522   
  523         -
pub use crate::operation::json_enums::_json_enums_output::JsonEnumsOutput;
  524         -
  525    523   
pub use crate::operation::json_enums::_json_enums_input::JsonEnumsInput;
  526    524   
         525  +
pub use crate::operation::json_enums::_json_enums_output::JsonEnumsOutput;
         526  +
  527    527   
mod _json_enums_input;
  528    528   
  529    529   
mod _json_enums_output;
  530    530   
  531    531   
/// Builders
  532    532   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/json_enums/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::json_enums::_json_enums_output::JsonEnumsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::json_enums::_json_enums_input::JsonEnumsInputBuilder;
    5      3   
           4  +
pub use crate::operation::json_enums::_json_enums_output::JsonEnumsOutputBuilder;
           5  +
    6      6   
impl crate::operation::json_enums::builders::JsonEnumsInputBuilder {
    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::json_enums::JsonEnumsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::json_enums::JsonEnumsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/json_int_enums.rs

@@ -407,407 +446,446 @@
  427    427   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  428    428   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  429    429   
    ) -> Self {
  430    430   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  431    431   
            source,
  432    432   
            meta: meta.unwrap_or_default(),
  433    433   
        })
  434    434   
    }
  435    435   
}
  436    436   
  437         -
pub use crate::operation::json_int_enums::_json_int_enums_output::JsonIntEnumsOutput;
  438         -
  439    437   
pub use crate::operation::json_int_enums::_json_int_enums_input::JsonIntEnumsInput;
  440    438   
         439  +
pub use crate::operation::json_int_enums::_json_int_enums_output::JsonIntEnumsOutput;
         440  +
  441    441   
mod _json_int_enums_input;
  442    442   
  443    443   
mod _json_int_enums_output;
  444    444   
  445    445   
/// Builders
  446    446   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/json_int_enums/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::json_int_enums::_json_int_enums_output::JsonIntEnumsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::json_int_enums::_json_int_enums_input::JsonIntEnumsInputBuilder;
    5      3   
           4  +
pub use crate::operation::json_int_enums::_json_int_enums_output::JsonIntEnumsOutputBuilder;
           5  +
    6      6   
impl crate::operation::json_int_enums::builders::JsonIntEnumsInputBuilder {
    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::json_int_enums::JsonIntEnumsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::json_int_enums::JsonIntEnumsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/json_unions.rs

@@ -1105,1105 +1144,1144 @@
 1125   1125   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
 1126   1126   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
 1127   1127   
    ) -> Self {
 1128   1128   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
 1129   1129   
            source,
 1130   1130   
            meta: meta.unwrap_or_default(),
 1131   1131   
        })
 1132   1132   
    }
 1133   1133   
}
 1134   1134   
 1135         -
pub use crate::operation::json_unions::_json_unions_output::JsonUnionsOutput;
 1136         -
 1137   1135   
pub use crate::operation::json_unions::_json_unions_input::JsonUnionsInput;
 1138   1136   
        1137  +
pub use crate::operation::json_unions::_json_unions_output::JsonUnionsOutput;
        1138  +
 1139   1139   
mod _json_unions_input;
 1140   1140   
 1141   1141   
mod _json_unions_output;
 1142   1142   
 1143   1143   
/// Builders
 1144   1144   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/json_unions/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::json_unions::_json_unions_output::JsonUnionsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::json_unions::_json_unions_input::JsonUnionsInputBuilder;
    5      3   
           4  +
pub use crate::operation::json_unions::_json_unions_output::JsonUnionsOutputBuilder;
           5  +
    6      6   
impl crate::operation::json_unions::builders::JsonUnionsInputBuilder {
    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::json_unions::JsonUnionsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::json_unions::JsonUnionsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/kitchen_sink_operation.rs

@@ -4813,4813 +4852,4852 @@
 4833   4833   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
 4834   4834   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
 4835   4835   
    ) -> Self {
 4836   4836   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
 4837   4837   
            source,
 4838   4838   
            meta: meta.unwrap_or_default(),
 4839   4839   
        })
 4840   4840   
    }
 4841   4841   
}
 4842   4842   
 4843         -
pub use crate::operation::kitchen_sink_operation::_kitchen_sink_operation_output::KitchenSinkOperationOutput;
 4844         -
 4845   4843   
pub use crate::operation::kitchen_sink_operation::_kitchen_sink_operation_input::KitchenSinkOperationInput;
 4846   4844   
        4845  +
pub use crate::operation::kitchen_sink_operation::_kitchen_sink_operation_output::KitchenSinkOperationOutput;
        4846  +
 4847   4847   
mod _kitchen_sink_operation_input;
 4848   4848   
 4849   4849   
mod _kitchen_sink_operation_output;
 4850   4850   
 4851   4851   
/// Builders
 4852   4852   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/kitchen_sink_operation/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::kitchen_sink_operation::_kitchen_sink_operation_output::KitchenSinkOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::kitchen_sink_operation::_kitchen_sink_operation_input::KitchenSinkOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::kitchen_sink_operation::_kitchen_sink_operation_output::KitchenSinkOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::kitchen_sink_operation::builders::KitchenSinkOperationInputBuilder {
    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::kitchen_sink_operation::KitchenSinkOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::kitchen_sink_operation::KitchenSinkOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,