Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858 (ignoring whitespace)

Files changed:

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;

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/operation_with_nested_structure/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_nested_structure::_operation_with_nested_structure_output::OperationWithNestedStructureOutputBuilder;
    3         -
    4      2   
pub use crate::operation::operation_with_nested_structure::_operation_with_nested_structure_input::OperationWithNestedStructureInputBuilder;
    5      3   
           4  +
pub use crate::operation::operation_with_nested_structure::_operation_with_nested_structure_output::OperationWithNestedStructureOutputBuilder;
           5  +
    6      6   
impl crate::operation::operation_with_nested_structure::builders::OperationWithNestedStructureInputBuilder {
    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_nested_structure::OperationWithNestedStructureOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::operation_with_nested_structure::OperationWithNestedStructureError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -419,419 +458,458 @@
  439    439   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  440    440   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  441    441   
    ) -> Self {
  442    442   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  443    443   
            source,
  444    444   
            meta: meta.unwrap_or_default(),
  445    445   
        })
  446    446   
    }
  447    447   
}
  448    448   
  449         -
pub use crate::operation::operation_with_required_members::_operation_with_required_members_output::OperationWithRequiredMembersOutput;
  450         -
  451    449   
pub use crate::operation::operation_with_required_members::_operation_with_required_members_input::OperationWithRequiredMembersInput;
  452    450   
         451  +
pub use crate::operation::operation_with_required_members::_operation_with_required_members_output::OperationWithRequiredMembersOutput;
         452  +
  453    453   
mod _operation_with_required_members_input;
  454    454   
  455    455   
mod _operation_with_required_members_output;
  456    456   
  457    457   
/// Builders
  458    458   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/operation_with_required_members/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_required_members::_operation_with_required_members_output::OperationWithRequiredMembersOutputBuilder;
    3         -
    4      2   
pub use crate::operation::operation_with_required_members::_operation_with_required_members_input::OperationWithRequiredMembersInputBuilder;
    5      3   
           4  +
pub use crate::operation::operation_with_required_members::_operation_with_required_members_output::OperationWithRequiredMembersOutputBuilder;
           5  +
    6      6   
impl crate::operation::operation_with_required_members::builders::OperationWithRequiredMembersInputBuilder {
    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_required_members::OperationWithRequiredMembersOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::operation_with_required_members::OperationWithRequiredMembersError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -440,440 +479,479 @@
  460    460   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  461    461   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  462    462   
    ) -> Self {
  463    463   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  464    464   
            source,
  465    465   
            meta: meta.unwrap_or_default(),
  466    466   
        })
  467    467   
    }
  468    468   
}
  469    469   
  470         -
pub use crate::operation::operation_with_required_members_with_defaults::_operation_with_required_members_with_defaults_output::OperationWithRequiredMembersWithDefaultsOutput;
  471         -
  472    470   
pub use crate::operation::operation_with_required_members_with_defaults::_operation_with_required_members_with_defaults_input::OperationWithRequiredMembersWithDefaultsInput;
  473    471   
         472  +
pub use crate::operation::operation_with_required_members_with_defaults::_operation_with_required_members_with_defaults_output::OperationWithRequiredMembersWithDefaultsOutput;
         473  +
  474    474   
mod _operation_with_required_members_with_defaults_input;
  475    475   
  476    476   
mod _operation_with_required_members_with_defaults_output;
  477    477   
  478    478   
/// Builders
  479    479   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/operation_with_required_members_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_required_members_with_defaults::_operation_with_required_members_with_defaults_output::OperationWithRequiredMembersWithDefaultsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::operation_with_required_members_with_defaults::_operation_with_required_members_with_defaults_input::OperationWithRequiredMembersWithDefaultsInputBuilder;
    5      3   
           4  +
pub use crate::operation::operation_with_required_members_with_defaults::_operation_with_required_members_with_defaults_output::OperationWithRequiredMembersWithDefaultsOutputBuilder;
           5  +
    6      6   
impl crate::operation::operation_with_required_members_with_defaults::builders::OperationWithRequiredMembersWithDefaultsInputBuilder {
    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_required_members_with_defaults::OperationWithRequiredMembersWithDefaultsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::operation_with_required_members_with_defaults::OperationWithRequiredMembersWithDefaultsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -378,378 +417,417 @@
  398    398   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  399    399   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  400    400   
    ) -> Self {
  401    401   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  402    402   
            source,
  403    403   
            meta: meta.unwrap_or_default(),
  404    404   
        })
  405    405   
    }
  406    406   
}
  407    407   
  408         -
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_output::PutWithContentEncodingOutput;
  409         -
  410    408   
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_input::PutWithContentEncodingInput;
  411    409   
         410  +
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_output::PutWithContentEncodingOutput;
         411  +
  412    412   
mod _put_with_content_encoding_input;
  413    413   
  414    414   
mod _put_with_content_encoding_output;
  415    415   
  416    416   
/// Builders
  417    417   
pub mod builders;

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/put_with_content_encoding/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::put_with_content_encoding::_put_with_content_encoding_output::PutWithContentEncodingOutputBuilder;
    3         -
    4      2   
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_input::PutWithContentEncodingInputBuilder;
    5      3   
           4  +
pub use crate::operation::put_with_content_encoding::_put_with_content_encoding_output::PutWithContentEncodingOutputBuilder;
           5  +
    6      6   
impl crate::operation::put_with_content_encoding::builders::PutWithContentEncodingInputBuilder {
    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::put_with_content_encoding::PutWithContentEncodingOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::put_with_content_encoding::PutWithContentEncodingError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/query_incompatible_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::query_incompatible_operation::_query_incompatible_operation_output::QueryIncompatibleOperationOutput;
  371         -
  372    370   
pub use crate::operation::query_incompatible_operation::_query_incompatible_operation_input::QueryIncompatibleOperationInput;
  373    371   
         372  +
pub use crate::operation::query_incompatible_operation::_query_incompatible_operation_output::QueryIncompatibleOperationOutput;
         373  +
  374    374   
mod _query_incompatible_operation_input;
  375    375   
  376    376   
mod _query_incompatible_operation_output;
  377    377   
  378    378   
/// Builders
  379    379   
pub mod builders;