Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e

Files changed:

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/case_insensitive_error_operation.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::case_insensitive_error_operation::_case_insensitive_error_operation_output::CaseInsensitiveErrorOperationOutput;
  438         -
  439    437   
pub use crate::operation::case_insensitive_error_operation::_case_insensitive_error_operation_input::CaseInsensitiveErrorOperationInput;
  440    438   
         439  +
pub use crate::operation::case_insensitive_error_operation::_case_insensitive_error_operation_output::CaseInsensitiveErrorOperationOutput;
         440  +
  441    441   
mod _case_insensitive_error_operation_input;
  442    442   
  443    443   
mod _case_insensitive_error_operation_output;
  444    444   
  445    445   
/// Builders
  446    446   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/case_insensitive_error_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::case_insensitive_error_operation::_case_insensitive_error_operation_output::CaseInsensitiveErrorOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::case_insensitive_error_operation::_case_insensitive_error_operation_input::CaseInsensitiveErrorOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::case_insensitive_error_operation::_case_insensitive_error_operation_output::CaseInsensitiveErrorOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::case_insensitive_error_operation::builders::CaseInsensitiveErrorOperationInputBuilder {
    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::case_insensitive_error_operation::CaseInsensitiveErrorOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::case_insensitive_error_operation::CaseInsensitiveErrorOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/empty_struct_with_content_on_wire_op.rs

@@ -396,396 +435,435 @@
  416    416   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  417    417   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  418    418   
    ) -> Self {
  419    419   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  420    420   
            source,
  421    421   
            meta: meta.unwrap_or_default(),
  422    422   
        })
  423    423   
    }
  424    424   
}
  425    425   
  426         -
pub use crate::operation::empty_struct_with_content_on_wire_op::_empty_struct_with_content_on_wire_op_output::EmptyStructWithContentOnWireOpOutput;
  427         -
  428    426   
pub use crate::operation::empty_struct_with_content_on_wire_op::_empty_struct_with_content_on_wire_op_input::EmptyStructWithContentOnWireOpInput;
  429    427   
         428  +
pub use crate::operation::empty_struct_with_content_on_wire_op::_empty_struct_with_content_on_wire_op_output::EmptyStructWithContentOnWireOpOutput;
         429  +
  430    430   
mod _empty_struct_with_content_on_wire_op_input;
  431    431   
  432    432   
mod _empty_struct_with_content_on_wire_op_output;
  433    433   
  434    434   
/// Builders
  435    435   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/empty_struct_with_content_on_wire_op/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_struct_with_content_on_wire_op::_empty_struct_with_content_on_wire_op_output::EmptyStructWithContentOnWireOpOutputBuilder;
    3         -
    4      2   
pub use crate::operation::empty_struct_with_content_on_wire_op::_empty_struct_with_content_on_wire_op_input::EmptyStructWithContentOnWireOpInputBuilder;
    5      3   
           4  +
pub use crate::operation::empty_struct_with_content_on_wire_op::_empty_struct_with_content_on_wire_op_output::EmptyStructWithContentOnWireOpOutputBuilder;
           5  +
    6      6   
impl crate::operation::empty_struct_with_content_on_wire_op::builders::EmptyStructWithContentOnWireOpInputBuilder {
    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_struct_with_content_on_wire_op::EmptyStructWithContentOnWireOpOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::empty_struct_with_content_on_wire_op::EmptyStructWithContentOnWireOpError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/enum_query.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::enum_query::_enum_query_output::EnumQueryOutput;
  422         -
  423    421   
pub use crate::operation::enum_query::_enum_query_input::EnumQueryInput;
  424    422   
         423  +
pub use crate::operation::enum_query::_enum_query_output::EnumQueryOutput;
         424  +
  425    425   
mod _enum_query_input;
  426    426   
  427    427   
mod _enum_query_output;
  428    428   
  429    429   
/// Builders
  430    430   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/enum_query/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::enum_query::_enum_query_output::EnumQueryOutputBuilder;
    3         -
    4      2   
pub use crate::operation::enum_query::_enum_query_input::EnumQueryInputBuilder;
    5      3   
           4  +
pub use crate::operation::enum_query::_enum_query_output::EnumQueryOutputBuilder;
           5  +
    6      6   
impl crate::operation::enum_query::builders::EnumQueryInputBuilder {
    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::enum_query::EnumQueryOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::enum_query::EnumQueryError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/escaped_string_values.rs

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

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/escaped_string_values/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::escaped_string_values::_escaped_string_values_output::EscapedStringValuesOutputBuilder;
    3         -
    4      2   
pub use crate::operation::escaped_string_values::_escaped_string_values_input::EscapedStringValuesInputBuilder;
    5      3   
           4  +
pub use crate::operation::escaped_string_values::_escaped_string_values_output::EscapedStringValuesOutputBuilder;
           5  +
    6      6   
impl crate::operation::escaped_string_values::builders::EscapedStringValuesInputBuilder {
    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::escaped_string_values::EscapedStringValuesOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::escaped_string_values::EscapedStringValuesError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/map_with_enum_key_op.rs

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

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/map_with_enum_key_op/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::map_with_enum_key_op::_map_with_enum_key_op_output::MapWithEnumKeyOpOutputBuilder;
    3         -
    4      2   
pub use crate::operation::map_with_enum_key_op::_map_with_enum_key_op_input::MapWithEnumKeyOpInputBuilder;
    5      3   
           4  +
pub use crate::operation::map_with_enum_key_op::_map_with_enum_key_op_output::MapWithEnumKeyOpOutputBuilder;
           5  +
    6      6   
impl crate::operation::map_with_enum_key_op::builders::MapWithEnumKeyOpInputBuilder {
    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::map_with_enum_key_op::MapWithEnumKeyOpOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::map_with_enum_key_op::MapWithEnumKeyOpError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/null_in_non_sparse.rs

@@ -401,401 +440,440 @@
  421    421   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  422    422   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  423    423   
    ) -> Self {
  424    424   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  425    425   
            source,
  426    426   
            meta: meta.unwrap_or_default(),
  427    427   
        })
  428    428   
    }
  429    429   
}
  430    430   
  431         -
pub use crate::operation::null_in_non_sparse::_null_in_non_sparse_output::NullInNonSparseOutput;
  432         -
  433    431   
pub use crate::operation::null_in_non_sparse::_null_in_non_sparse_input::NullInNonSparseInput;
  434    432   
         433  +
pub use crate::operation::null_in_non_sparse::_null_in_non_sparse_output::NullInNonSparseOutput;
         434  +
  435    435   
mod _null_in_non_sparse_input;
  436    436   
  437    437   
mod _null_in_non_sparse_output;
  438    438   
  439    439   
/// Builders
  440    440   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/null_in_non_sparse/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::null_in_non_sparse::_null_in_non_sparse_output::NullInNonSparseOutputBuilder;
    3         -
    4      2   
pub use crate::operation::null_in_non_sparse::_null_in_non_sparse_input::NullInNonSparseInputBuilder;
    5      3   
           4  +
pub use crate::operation::null_in_non_sparse::_null_in_non_sparse_output::NullInNonSparseOutputBuilder;
           5  +
    6      6   
impl crate::operation::null_in_non_sparse::builders::NullInNonSparseInputBuilder {
    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::null_in_non_sparse::NullInNonSparseOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::null_in_non_sparse::NullInNonSparseError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/primitive_int_header.rs

@@ -442,442 +481,481 @@
  462    462   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  463    463   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  464    464   
    ) -> Self {
  465    465   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  466    466   
            source,
  467    467   
            meta: meta.unwrap_or_default(),
  468    468   
        })
  469    469   
    }
  470    470   
}
  471    471   
  472         -
pub use crate::operation::primitive_int_header::_primitive_int_header_output::PrimitiveIntHeaderOutput;
  473         -
  474    472   
pub use crate::operation::primitive_int_header::_primitive_int_header_input::PrimitiveIntHeaderInput;
  475    473   
         474  +
pub use crate::operation::primitive_int_header::_primitive_int_header_output::PrimitiveIntHeaderOutput;
         475  +
  476    476   
mod _primitive_int_header_input;
  477    477   
  478    478   
mod _primitive_int_header_output;
  479    479   
  480    480   
/// Builders
  481    481   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/primitive_int_header/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::primitive_int_header::_primitive_int_header_output::PrimitiveIntHeaderOutputBuilder;
    3         -
    4      2   
pub use crate::operation::primitive_int_header::_primitive_int_header_input::PrimitiveIntHeaderInputBuilder;
    5      3   
           4  +
pub use crate::operation::primitive_int_header::_primitive_int_header_output::PrimitiveIntHeaderOutputBuilder;
           5  +
    6      6   
impl crate::operation::primitive_int_header::builders::PrimitiveIntHeaderInputBuilder {
    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::primitive_int_header::PrimitiveIntHeaderOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::primitive_int_header::PrimitiveIntHeaderError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/primitive_int_op.rs

@@ -380,380 +419,419 @@
  400    400   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  401    401   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  402    402   
    ) -> Self {
  403    403   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  404    404   
            source,
  405    405   
            meta: meta.unwrap_or_default(),
  406    406   
        })
  407    407   
    }
  408    408   
}
  409    409   
  410         -
pub use crate::operation::primitive_int_op::_primitive_int_op_output::PrimitiveIntOpOutput;
  411         -
  412    410   
pub use crate::operation::primitive_int_op::_primitive_int_op_input::PrimitiveIntOpInput;
  413    411   
         412  +
pub use crate::operation::primitive_int_op::_primitive_int_op_output::PrimitiveIntOpOutput;
         413  +
  414    414   
mod _primitive_int_op_input;
  415    415   
  416    416   
mod _primitive_int_op_output;
  417    417   
  418    418   
/// Builders
  419    419   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json_extras/rust-client-codegen/src/operation/primitive_int_op/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::primitive_int_op::_primitive_int_op_output::PrimitiveIntOpOutputBuilder;
    3         -
    4      2   
pub use crate::operation::primitive_int_op::_primitive_int_op_input::PrimitiveIntOpInputBuilder;
    5      3   
           4  +
pub use crate::operation::primitive_int_op::_primitive_int_op_output::PrimitiveIntOpOutputBuilder;
           5  +
    6      6   
impl crate::operation::primitive_int_op::builders::PrimitiveIntOpInputBuilder {
    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::primitive_int_op::PrimitiveIntOpOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::primitive_int_op::PrimitiveIntOpError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,