Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858 (ignoring whitespace)

Files changed:

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

@@ -472,472 +511,511 @@
  492    492   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  493    493   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  494    494   
    ) -> Self {
  495    495   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  496    496   
            source,
  497    497   
            meta: meta.unwrap_or_default(),
  498    498   
        })
  499    499   
    }
  500    500   
}
  501    501   
  502         -
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
  503         -
  504    502   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInput;
  505    503   
         504  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
         505  +
  506    506   
mod _greeting_with_errors_input;
  507    507   
  508    508   
mod _greeting_with_errors_output;
  509    509   
  510    510   
/// Builders
  511    511   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/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/rpcv2Cbor/rust-client-codegen/src/operation/no_input_output.rs

@@ -452,452 +491,491 @@
  472    472   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  473    473   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  474    474   
    ) -> Self {
  475    475   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  476    476   
            source,
  477    477   
            meta: meta.unwrap_or_default(),
  478    478   
        })
  479    479   
    }
  480    480   
}
  481    481   
  482         -
pub use crate::operation::no_input_output::_no_input_output_output::NoInputOutputOutput;
  483         -
  484    482   
pub use crate::operation::no_input_output::_no_input_output_input::NoInputOutputInput;
  485    483   
         484  +
pub use crate::operation::no_input_output::_no_input_output_output::NoInputOutputOutput;
         485  +
  486    486   
mod _no_input_output_input;
  487    487   
  488    488   
mod _no_input_output_output;
  489    489   
  490    490   
/// Builders
  491    491   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/no_input_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_output::_no_input_output_output::NoInputOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::no_input_output::_no_input_output_input::NoInputOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::no_input_output::_no_input_output_output::NoInputOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::no_input_output::builders::NoInputOutputInputBuilder {
    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_output::NoInputOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::no_input_output::NoInputOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -827,827 +866,866 @@
  847    847   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  848    848   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  849    849   
    ) -> Self {
  850    850   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  851    851   
            source,
  852    852   
            meta: meta.unwrap_or_default(),
  853    853   
        })
  854    854   
    }
  855    855   
}
  856    856   
  857         -
pub use crate::operation::operation_with_defaults::_operation_with_defaults_output::OperationWithDefaultsOutput;
  858         -
  859    857   
pub use crate::operation::operation_with_defaults::_operation_with_defaults_input::OperationWithDefaultsInput;
  860    858   
         859  +
pub use crate::operation::operation_with_defaults::_operation_with_defaults_output::OperationWithDefaultsOutput;
         860  +
  861    861   
mod _operation_with_defaults_input;
  862    862   
  863    863   
mod _operation_with_defaults_output;
  864    864   
  865    865   
/// Builders
  866    866   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/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/rpcv2Cbor/rust-client-codegen/src/operation/optional_input_output.rs

@@ -383,383 +422,422 @@
  403    403   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  404    404   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  405    405   
    ) -> Self {
  406    406   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  407    407   
            source,
  408    408   
            meta: meta.unwrap_or_default(),
  409    409   
        })
  410    410   
    }
  411    411   
}
  412    412   
  413         -
pub use crate::operation::optional_input_output::_optional_input_output_output::OptionalInputOutputOutput;
  414         -
  415    413   
pub use crate::operation::optional_input_output::_optional_input_output_input::OptionalInputOutputInput;
  416    414   
         415  +
pub use crate::operation::optional_input_output::_optional_input_output_output::OptionalInputOutputOutput;
         416  +
  417    417   
mod _optional_input_output_input;
  418    418   
  419    419   
mod _optional_input_output_output;
  420    420   
  421    421   
/// Builders
  422    422   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/optional_input_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::optional_input_output::_optional_input_output_output::OptionalInputOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::optional_input_output::_optional_input_output_input::OptionalInputOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::optional_input_output::_optional_input_output_output::OptionalInputOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::optional_input_output::builders::OptionalInputOutputInputBuilder {
    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::optional_input_output::OptionalInputOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::optional_input_output::OptionalInputOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/recursive_shapes.rs

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

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/recursive_shapes/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::recursive_shapes::_recursive_shapes_output::RecursiveShapesOutputBuilder;
    3         -
    4      2   
pub use crate::operation::recursive_shapes::_recursive_shapes_input::RecursiveShapesInputBuilder;
    5      3   
           4  +
pub use crate::operation::recursive_shapes::_recursive_shapes_output::RecursiveShapesOutputBuilder;
           5  +
    6      6   
impl crate::operation::recursive_shapes::builders::RecursiveShapesInputBuilder {
    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::recursive_shapes::RecursiveShapesOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::recursive_shapes::RecursiveShapesError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/rpc_v2_cbor_dense_maps.rs

@@ -772,772 +811,811 @@
  792    792   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  793    793   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  794    794   
    ) -> Self {
  795    795   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  796    796   
            source,
  797    797   
            meta: meta.unwrap_or_default(),
  798    798   
        })
  799    799   
    }
  800    800   
}
  801    801   
  802         -
pub use crate::operation::rpc_v2_cbor_dense_maps::_rpc_v2_cbor_dense_maps_output::RpcV2CborDenseMapsOutput;
  803         -
  804    802   
pub use crate::operation::rpc_v2_cbor_dense_maps::_rpc_v2_cbor_dense_maps_input::RpcV2CborDenseMapsInput;
  805    803   
         804  +
pub use crate::operation::rpc_v2_cbor_dense_maps::_rpc_v2_cbor_dense_maps_output::RpcV2CborDenseMapsOutput;
         805  +
  806    806   
mod _rpc_v2_cbor_dense_maps_input;
  807    807   
  808    808   
mod _rpc_v2_cbor_dense_maps_output;
  809    809   
  810    810   
/// Builders
  811    811   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/rpc_v2_cbor_dense_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::rpc_v2_cbor_dense_maps::_rpc_v2_cbor_dense_maps_output::RpcV2CborDenseMapsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::rpc_v2_cbor_dense_maps::_rpc_v2_cbor_dense_maps_input::RpcV2CborDenseMapsInputBuilder;
    5      3   
           4  +
pub use crate::operation::rpc_v2_cbor_dense_maps::_rpc_v2_cbor_dense_maps_output::RpcV2CborDenseMapsOutputBuilder;
           5  +
    6      6   
impl crate::operation::rpc_v2_cbor_dense_maps::builders::RpcV2CborDenseMapsInputBuilder {
    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::rpc_v2_cbor_dense_maps::RpcV2CborDenseMapsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::rpc_v2_cbor_dense_maps::RpcV2CborDenseMapsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/rpc_v2_cbor_lists.rs

@@ -766,766 +805,805 @@
  786    786   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  787    787   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  788    788   
    ) -> Self {
  789    789   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  790    790   
            source,
  791    791   
            meta: meta.unwrap_or_default(),
  792    792   
        })
  793    793   
    }
  794    794   
}
  795    795   
  796         -
pub use crate::operation::rpc_v2_cbor_lists::_rpc_v2_cbor_lists_output::RpcV2CborListsOutput;
  797         -
  798    796   
pub use crate::operation::rpc_v2_cbor_lists::_rpc_v2_cbor_lists_input::RpcV2CborListsInput;
  799    797   
         798  +
pub use crate::operation::rpc_v2_cbor_lists::_rpc_v2_cbor_lists_output::RpcV2CborListsOutput;
         799  +
  800    800   
mod _rpc_v2_cbor_lists_input;
  801    801   
  802    802   
mod _rpc_v2_cbor_lists_output;
  803    803   
  804    804   
/// Builders
  805    805   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/rpc_v2_cbor_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::rpc_v2_cbor_lists::_rpc_v2_cbor_lists_output::RpcV2CborListsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::rpc_v2_cbor_lists::_rpc_v2_cbor_lists_input::RpcV2CborListsInputBuilder;
    5      3   
           4  +
pub use crate::operation::rpc_v2_cbor_lists::_rpc_v2_cbor_lists_output::RpcV2CborListsOutputBuilder;
           5  +
    6      6   
impl crate::operation::rpc_v2_cbor_lists::builders::RpcV2CborListsInputBuilder {
    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::rpc_v2_cbor_lists::RpcV2CborListsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::rpc_v2_cbor_lists::RpcV2CborListsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/rpc_v2_cbor_sparse_maps.rs

@@ -973,973 +1012,1012 @@
  993    993   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  994    994   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  995    995   
    ) -> Self {
  996    996   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  997    997   
            source,
  998    998   
            meta: meta.unwrap_or_default(),
  999    999   
        })
 1000   1000   
    }
 1001   1001   
}
 1002   1002   
 1003         -
pub use crate::operation::rpc_v2_cbor_sparse_maps::_rpc_v2_cbor_sparse_maps_output::RpcV2CborSparseMapsOutput;
 1004         -
 1005   1003   
pub use crate::operation::rpc_v2_cbor_sparse_maps::_rpc_v2_cbor_sparse_maps_input::RpcV2CborSparseMapsInput;
 1006   1004   
        1005  +
pub use crate::operation::rpc_v2_cbor_sparse_maps::_rpc_v2_cbor_sparse_maps_output::RpcV2CborSparseMapsOutput;
        1006  +
 1007   1007   
mod _rpc_v2_cbor_sparse_maps_input;
 1008   1008   
 1009   1009   
mod _rpc_v2_cbor_sparse_maps_output;
 1010   1010   
 1011   1011   
/// Builders
 1012   1012   
pub mod builders;