Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e

Files changed:

tmp-codegen-diff/codegen-client-test/json_rpc10/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_rpc10/rust-client-codegen/src/operation/endpoint_with_host_label_operation.rs

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

tmp-codegen-diff/codegen-client-test/json_rpc10/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_rpc10/rust-client-codegen/src/operation/greeting_with_errors.rs

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

tmp-codegen-diff/codegen-client-test/json_rpc10/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_rpc10/rust-client-codegen/src/operation/host_with_path_operation.rs

@@ -329,329 +368,368 @@
  349    349   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  350    350   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  351    351   
    ) -> Self {
  352    352   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  353    353   
            source,
  354    354   
            meta: meta.unwrap_or_default(),
  355    355   
        })
  356    356   
    }
  357    357   
}
  358    358   
  359         -
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
  360         -
  361    359   
pub use crate::operation::host_with_path_operation::_host_with_path_operation_input::HostWithPathOperationInput;
  362    360   
         361  +
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
         362  +
  363    363   
mod _host_with_path_operation_input;
  364    364   
  365    365   
mod _host_with_path_operation_output;
  366    366   
  367    367   
/// Builders
  368    368   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc10/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_rpc10/rust-client-codegen/src/operation/json_unions.rs

@@ -1197,1197 +1236,1236 @@
 1217   1217   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
 1218   1218   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
 1219   1219   
    ) -> Self {
 1220   1220   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
 1221   1221   
            source,
 1222   1222   
            meta: meta.unwrap_or_default(),
 1223   1223   
        })
 1224   1224   
    }
 1225   1225   
}
 1226   1226   
 1227         -
pub use crate::operation::json_unions::_json_unions_output::JsonUnionsOutput;
 1228         -
 1229   1227   
pub use crate::operation::json_unions::_json_unions_input::JsonUnionsInput;
 1230   1228   
        1229  +
pub use crate::operation::json_unions::_json_unions_output::JsonUnionsOutput;
        1230  +
 1231   1231   
mod _json_unions_input;
 1232   1232   
 1233   1233   
mod _json_unions_output;
 1234   1234   
 1235   1235   
/// Builders
 1236   1236   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc10/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_rpc10/rust-client-codegen/src/operation/no_input_and_no_output.rs

@@ -466,466 +505,505 @@
  486    486   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  487    487   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  488    488   
    ) -> Self {
  489    489   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  490    490   
            source,
  491    491   
            meta: meta.unwrap_or_default(),
  492    492   
        })
  493    493   
    }
  494    494   
}
  495    495   
  496         -
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutput;
  497         -
  498    496   
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_input::NoInputAndNoOutputInput;
  499    497   
         498  +
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutput;
         499  +
  500    500   
mod _no_input_and_no_output_input;
  501    501   
  502    502   
mod _no_input_and_no_output_output;
  503    503   
  504    504   
/// Builders
  505    505   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/no_input_and_no_output/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::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_input::NoInputAndNoOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::no_input_and_no_output::_no_input_and_no_output_output::NoInputAndNoOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::no_input_and_no_output::builders::NoInputAndNoOutputInputBuilder {
    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::no_input_and_no_output::NoInputAndNoOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::no_input_and_no_output::NoInputAndNoOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/no_input_and_output.rs

@@ -371,371 +410,410 @@
  391    391   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  392    392   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  393    393   
    ) -> Self {
  394    394   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  395    395   
            source,
  396    396   
            meta: meta.unwrap_or_default(),
  397    397   
        })
  398    398   
    }
  399    399   
}
  400    400   
  401         -
pub use crate::operation::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutput;
  402         -
  403    401   
pub use crate::operation::no_input_and_output::_no_input_and_output_input::NoInputAndOutputInput;
  404    402   
         403  +
pub use crate::operation::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutput;
         404  +
  405    405   
mod _no_input_and_output_input;
  406    406   
  407    407   
mod _no_input_and_output_output;
  408    408   
  409    409   
/// Builders
  410    410   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/no_input_and_output/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::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::no_input_and_output::_no_input_and_output_input::NoInputAndOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::no_input_and_output::_no_input_and_output_output::NoInputAndOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::no_input_and_output::builders::NoInputAndOutputInputBuilder {
    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::no_input_and_output::NoInputAndOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::no_input_and_output::NoInputAndOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/operation_with_defaults.rs

@@ -905,905 +944,944 @@
  925    925   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  926    926   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  927    927   
    ) -> Self {
  928    928   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  929    929   
            source,
  930    930   
            meta: meta.unwrap_or_default(),
  931    931   
        })
  932    932   
    }
  933    933   
}
  934    934   
  935         -
pub use crate::operation::operation_with_defaults::_operation_with_defaults_output::OperationWithDefaultsOutput;
  936         -
  937    935   
pub use crate::operation::operation_with_defaults::_operation_with_defaults_input::OperationWithDefaultsInput;
  938    936   
         937  +
pub use crate::operation::operation_with_defaults::_operation_with_defaults_output::OperationWithDefaultsOutput;
         938  +
  939    939   
mod _operation_with_defaults_input;
  940    940   
  941    941   
mod _operation_with_defaults_output;
  942    942   
  943    943   
/// Builders
  944    944   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/operation_with_defaults/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::operation_with_defaults::_operation_with_defaults_output::OperationWithDefaultsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::operation_with_defaults::_operation_with_defaults_input::OperationWithDefaultsInputBuilder;
    5      3   
           4  +
pub use crate::operation::operation_with_defaults::_operation_with_defaults_output::OperationWithDefaultsOutputBuilder;
           5  +
    6      6   
impl crate::operation::operation_with_defaults::builders::OperationWithDefaultsInputBuilder {
    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::operation_with_defaults::OperationWithDefaultsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::operation_with_defaults::OperationWithDefaultsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/operation_with_nested_structure.rs

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