Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e

Files changed:

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/xml_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::xml_lists::_xml_lists_output::XmlListsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_lists::_xml_lists_input::XmlListsInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_lists::_xml_lists_output::XmlListsOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_lists::builders::XmlListsInputBuilder {
    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::xml_lists::XmlListsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_lists::XmlListsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/xml_namespaces.rs

@@ -342,342 +381,381 @@
  362    362   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  363    363   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  364    364   
    ) -> Self {
  365    365   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  366    366   
            source,
  367    367   
            meta: meta.unwrap_or_default(),
  368    368   
        })
  369    369   
    }
  370    370   
}
  371    371   
  372         -
pub use crate::operation::xml_namespaces::_xml_namespaces_output::XmlNamespacesOutput;
  373         -
  374    372   
pub use crate::operation::xml_namespaces::_xml_namespaces_input::XmlNamespacesInput;
  375    373   
         374  +
pub use crate::operation::xml_namespaces::_xml_namespaces_output::XmlNamespacesOutput;
         375  +
  376    376   
mod _xml_namespaces_input;
  377    377   
  378    378   
mod _xml_namespaces_output;
  379    379   
  380    380   
/// Builders
  381    381   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/xml_namespaces/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::xml_namespaces::_xml_namespaces_output::XmlNamespacesOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_namespaces::_xml_namespaces_input::XmlNamespacesInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_namespaces::_xml_namespaces_output::XmlNamespacesOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_namespaces::builders::XmlNamespacesInputBuilder {
    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::xml_namespaces::XmlNamespacesOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_namespaces::XmlNamespacesError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/xml_timestamps.rs

@@ -745,745 +784,784 @@
  765    765   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  766    766   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  767    767   
    ) -> Self {
  768    768   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  769    769   
            source,
  770    770   
            meta: meta.unwrap_or_default(),
  771    771   
        })
  772    772   
    }
  773    773   
}
  774    774   
  775         -
pub use crate::operation::xml_timestamps::_xml_timestamps_output::XmlTimestampsOutput;
  776         -
  777    775   
pub use crate::operation::xml_timestamps::_xml_timestamps_input::XmlTimestampsInput;
  778    776   
         777  +
pub use crate::operation::xml_timestamps::_xml_timestamps_output::XmlTimestampsOutput;
         778  +
  779    779   
mod _xml_timestamps_input;
  780    780   
  781    781   
mod _xml_timestamps_output;
  782    782   
  783    783   
/// Builders
  784    784   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/xml_timestamps/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::xml_timestamps::_xml_timestamps_output::XmlTimestampsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_timestamps::_xml_timestamps_input::XmlTimestampsInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_timestamps::_xml_timestamps_output::XmlTimestampsOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_timestamps::builders::XmlTimestampsInputBuilder {
    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::xml_timestamps::XmlTimestampsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_timestamps::XmlTimestampsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/types.rs

@@ -1,1 +42,42 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::_complex_nested_error_data::ComplexNestedErrorData;
    3         -
    4         -
pub use crate::types::_xml_namespace_nested::XmlNamespaceNested;
           2  +
pub use crate::types::_foo_enum::FooEnum;
    5      3   
    6         -
pub use crate::types::_recursive_xml_shapes_output_nested1::RecursiveXmlShapesOutputNested1;
           4  +
pub use crate::types::_struct_arg::StructArg;
    7      5   
    8         -
pub use crate::types::_recursive_xml_shapes_output_nested2::RecursiveXmlShapesOutputNested2;
           6  +
pub use crate::types::_nested_struct_with_list::NestedStructWithList;
    9      7   
   10         -
pub use crate::types::_foo_enum::FooEnum;
           8  +
pub use crate::types::_recursive_xml_shapes_output_nested1::RecursiveXmlShapesOutputNested1;
   11      9   
   12         -
pub use crate::types::_structure_list_member::StructureListMember;
          10  +
pub use crate::types::_xml_namespace_nested::XmlNamespaceNested;
   13     11   
   14         -
pub use crate::types::_nested_struct_with_list::NestedStructWithList;
          12  +
pub use crate::types::_complex_nested_error_data::ComplexNestedErrorData;
   15     13   
   16     14   
pub use crate::types::_greeting_struct::GreetingStruct;
   17     15   
   18         -
pub use crate::types::_struct_arg::StructArg;
          16  +
pub use crate::types::_structure_list_member::StructureListMember;
          17  +
          18  +
pub use crate::types::_recursive_xml_shapes_output_nested2::RecursiveXmlShapesOutputNested2;
   19     19   
   20     20   
mod _complex_nested_error_data;
   21     21   
   22     22   
mod _foo_enum;
   23     23   
   24     24   
mod _greeting_struct;
   25     25   
   26     26   
mod _nested_struct_with_list;
   27     27   
   28     28   
mod _recursive_xml_shapes_output_nested1;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/types/builders.rs

@@ -1,1 +0,16 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::_complex_nested_error_data::ComplexNestedErrorDataBuilder;
           2  +
pub use crate::types::_struct_arg::StructArgBuilder;
    3      3   
    4         -
pub use crate::types::_xml_namespace_nested::XmlNamespaceNestedBuilder;
           4  +
pub use crate::types::_nested_struct_with_list::NestedStructWithListBuilder;
    5      5   
    6      6   
pub use crate::types::_recursive_xml_shapes_output_nested1::RecursiveXmlShapesOutputNested1Builder;
    7      7   
    8         -
pub use crate::types::_recursive_xml_shapes_output_nested2::RecursiveXmlShapesOutputNested2Builder;
    9         -
   10         -
pub use crate::types::_structure_list_member::StructureListMemberBuilder;
           8  +
pub use crate::types::_xml_namespace_nested::XmlNamespaceNestedBuilder;
   11      9   
   12         -
pub use crate::types::_nested_struct_with_list::NestedStructWithListBuilder;
          10  +
pub use crate::types::_complex_nested_error_data::ComplexNestedErrorDataBuilder;
   13     11   
   14     12   
pub use crate::types::_greeting_struct::GreetingStructBuilder;
   15     13   
   16         -
pub use crate::types::_struct_arg::StructArgBuilder;
          14  +
pub use crate::types::_structure_list_member::StructureListMemberBuilder;
          15  +
          16  +
pub use crate::types::_recursive_xml_shapes_output_nested2::RecursiveXmlShapesOutputNested2Builder;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/types/error.rs

@@ -1,1 +11,11 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::error::_complex_error::ComplexError;
    3         -
    4      2   
pub use crate::types::error::_invalid_greeting::InvalidGreeting;
    5      3   
           4  +
pub use crate::types::error::_complex_error::ComplexError;
           5  +
    6      6   
mod _complex_error;
    7      7   
    8      8   
mod _invalid_greeting;
    9      9   
   10     10   
/// Builders
   11     11   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/types/error/builders.rs

@@ -1,1 +0,4 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::error::_complex_error::ComplexErrorBuilder;
    3         -
    4      2   
pub use crate::types::error::_invalid_greeting::InvalidGreetingBuilder;
           3  +
           4  +
pub use crate::types::error::_complex_error::ComplexErrorBuilder;

tmp-codegen-diff/codegen-client-test/endpoint-rules/rust-client-codegen/src/operation/test_operation.rs

@@ -300,300 +339,339 @@
  320    320   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  321    321   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  322    322   
    ) -> Self {
  323    323   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  324    324   
            source,
  325    325   
            meta: meta.unwrap_or_default(),
  326    326   
        })
  327    327   
    }
  328    328   
}
  329    329   
  330         -
pub use crate::operation::test_operation::_test_operation_output::TestOperationOutput;
  331         -
  332    330   
pub use crate::operation::test_operation::_test_operation_input::TestOperationInput;
  333    331   
         332  +
pub use crate::operation::test_operation::_test_operation_output::TestOperationOutput;
         333  +
  334    334   
mod _test_operation_input;
  335    335   
  336    336   
mod _test_operation_output;
  337    337   
  338    338   
/// Builders
  339    339   
pub mod builders;

tmp-codegen-diff/codegen-client-test/endpoint-rules/rust-client-codegen/src/operation/test_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::test_operation::_test_operation_output::TestOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::test_operation::_test_operation_input::TestOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::test_operation::_test_operation_output::TestOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::test_operation::builders::TestOperationInputBuilder {
    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::test_operation::TestOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::test_operation::TestOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -299,299 +338,338 @@
  319    319   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  320    320   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  321    321   
    ) -> Self {
  322    322   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  323    323   
            source,
  324    324   
            meta: meta.unwrap_or_default(),
  325    325   
        })
  326    326   
    }
  327    327   
}
  328    328   
  329         -
pub use crate::operation::content_type_parameters::_content_type_parameters_output::ContentTypeParametersOutput;
  330         -
  331    329   
pub use crate::operation::content_type_parameters::_content_type_parameters_input::ContentTypeParametersInput;
  332    330   
         331  +
pub use crate::operation::content_type_parameters::_content_type_parameters_output::ContentTypeParametersOutput;
         332  +
  333    333   
mod _content_type_parameters_input;
  334    334   
  335    335   
mod _content_type_parameters_output;
  336    336   
  337    337   
/// Builders
  338    338   
pub mod builders;

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

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

tmp-codegen-diff/codegen-client-test/json_rpc10/rust-client-codegen/src/operation/empty_input_and_empty_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::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_input::EmptyInputAndEmptyOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::empty_input_and_empty_output::builders::EmptyInputAndEmptyOutputInputBuilder {
    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_input_and_empty_output::EmptyInputAndEmptyOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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