Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e

Files changed:

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/content_type_parameters/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::content_type_parameters::_content_type_parameters_output::ContentTypeParametersOutputBuilder;
    3         -
    4      2   
pub use crate::operation::content_type_parameters::_content_type_parameters_input::ContentTypeParametersInputBuilder;
    5      3   
           4  +
pub use crate::operation::content_type_parameters::_content_type_parameters_output::ContentTypeParametersOutputBuilder;
           5  +
    6      6   
impl crate::operation::content_type_parameters::builders::ContentTypeParametersInputBuilder {
    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::content_type_parameters::ContentTypeParametersOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::content_type_parameters::ContentTypeParametersError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -391,391 +430,430 @@
  411    411   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  412    412   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  413    413   
    ) -> Self {
  414    414   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  415    415   
            source,
  416    416   
            meta: meta.unwrap_or_default(),
  417    417   
        })
  418    418   
    }
  419    419   
}
  420    420   
  421         -
pub use crate::operation::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutput;
  422         -
  423    421   
pub use crate::operation::datetime_offsets::_datetime_offsets_input::DatetimeOffsetsInput;
  424    422   
         423  +
pub use crate::operation::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutput;
         424  +
  425    425   
mod _datetime_offsets_input;
  426    426   
  427    427   
mod _datetime_offsets_output;
  428    428   
  429    429   
/// Builders
  430    430   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/datetime_offsets/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::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::datetime_offsets::_datetime_offsets_input::DatetimeOffsetsInputBuilder;
    5      3   
           4  +
pub use crate::operation::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutputBuilder;
           5  +
    6      6   
impl crate::operation::datetime_offsets::builders::DatetimeOffsetsInputBuilder {
    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::datetime_offsets::DatetimeOffsetsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::datetime_offsets::DatetimeOffsetsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -518,518 +557,557 @@
  538    538   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  539    539   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  540    540   
    ) -> Self {
  541    541   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  542    542   
            source,
  543    543   
            meta: meta.unwrap_or_default(),
  544    544   
        })
  545    545   
    }
  546    546   
}
  547    547   
  548         -
pub use crate::operation::empty_operation::_empty_operation_output::EmptyOperationOutput;
  549         -
  550    548   
pub use crate::operation::empty_operation::_empty_operation_input::EmptyOperationInput;
  551    549   
         550  +
pub use crate::operation::empty_operation::_empty_operation_output::EmptyOperationOutput;
         551  +
  552    552   
mod _empty_operation_input;
  553    553   
  554    554   
mod _empty_operation_output;
  555    555   
  556    556   
/// Builders
  557    557   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/empty_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::empty_operation::_empty_operation_output::EmptyOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::empty_operation::_empty_operation_input::EmptyOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::empty_operation::_empty_operation_output::EmptyOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::empty_operation::builders::EmptyOperationInputBuilder {
    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::empty_operation::EmptyOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::empty_operation::EmptyOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/json_rpc11/rust-client-codegen/src/operation/endpoint_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_operation::_endpoint_operation_output::EndpointOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::endpoint_operation::_endpoint_operation_input::EndpointOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::endpoint_operation::_endpoint_operation_output::EndpointOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::endpoint_operation::builders::EndpointOperationInputBuilder {
    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_operation::EndpointOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::endpoint_operation::EndpointOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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;