Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e

Files changed:

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

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

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/ignores_wrapping_xml_name/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::ignores_wrapping_xml_name::_ignores_wrapping_xml_name_output::IgnoresWrappingXmlNameOutputBuilder;
    3         -
    4      2   
pub use crate::operation::ignores_wrapping_xml_name::_ignores_wrapping_xml_name_input::IgnoresWrappingXmlNameInputBuilder;
    5      3   
           4  +
pub use crate::operation::ignores_wrapping_xml_name::_ignores_wrapping_xml_name_output::IgnoresWrappingXmlNameOutputBuilder;
           5  +
    6      6   
impl crate::operation::ignores_wrapping_xml_name::builders::IgnoresWrappingXmlNameInputBuilder {
    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::ignores_wrapping_xml_name::IgnoresWrappingXmlNameOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::ignores_wrapping_xml_name::IgnoresWrappingXmlNameError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -346,346 +385,385 @@
  366    366   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  367    367   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  368    368   
    ) -> Self {
  369    369   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  370    370   
            source,
  371    371   
            meta: meta.unwrap_or_default(),
  372    372   
        })
  373    373   
    }
  374    374   
}
  375    375   
  376         -
pub use crate::operation::nested_structures::_nested_structures_output::NestedStructuresOutput;
  377         -
  378    376   
pub use crate::operation::nested_structures::_nested_structures_input::NestedStructuresInput;
  379    377   
         378  +
pub use crate::operation::nested_structures::_nested_structures_output::NestedStructuresOutput;
         379  +
  380    380   
mod _nested_structures_input;
  381    381   
  382    382   
mod _nested_structures_output;
  383    383   
  384    384   
/// Builders
  385    385   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/nested_structures/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::nested_structures::_nested_structures_output::NestedStructuresOutputBuilder;
    3         -
    4      2   
pub use crate::operation::nested_structures::_nested_structures_input::NestedStructuresInputBuilder;
    5      3   
           4  +
pub use crate::operation::nested_structures::_nested_structures_output::NestedStructuresOutputBuilder;
           5  +
    6      6   
impl crate::operation::nested_structures::builders::NestedStructuresInputBuilder {
    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::nested_structures::NestedStructuresOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::nested_structures::NestedStructuresError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

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

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

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

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

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/query_idempotency_token_auto_fill/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::query_idempotency_token_auto_fill::_query_idempotency_token_auto_fill_output::QueryIdempotencyTokenAutoFillOutputBuilder;
    3         -
    4      2   
pub use crate::operation::query_idempotency_token_auto_fill::_query_idempotency_token_auto_fill_input::QueryIdempotencyTokenAutoFillInputBuilder;
    5      3   
           4  +
pub use crate::operation::query_idempotency_token_auto_fill::_query_idempotency_token_auto_fill_output::QueryIdempotencyTokenAutoFillOutputBuilder;
           5  +
    6      6   
impl crate::operation::query_idempotency_token_auto_fill::builders::QueryIdempotencyTokenAutoFillInputBuilder {
    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::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -475,475 +514,514 @@
  495    495   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  496    496   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  497    497   
    ) -> Self {
  498    498   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  499    499   
            source,
  500    500   
            meta: meta.unwrap_or_default(),
  501    501   
        })
  502    502   
    }
  503    503   
}
  504    504   
  505         -
pub use crate::operation::query_lists::_query_lists_output::QueryListsOutput;
  506         -
  507    505   
pub use crate::operation::query_lists::_query_lists_input::QueryListsInput;
  508    506   
         507  +
pub use crate::operation::query_lists::_query_lists_output::QueryListsOutput;
         508  +
  509    509   
mod _query_lists_input;
  510    510   
  511    511   
mod _query_lists_output;
  512    512   
  513    513   
/// Builders
  514    514   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/query_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::query_lists::_query_lists_output::QueryListsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::query_lists::_query_lists_input::QueryListsInputBuilder;
    5      3   
           4  +
pub use crate::operation::query_lists::_query_lists_output::QueryListsOutputBuilder;
           5  +
    6      6   
impl crate::operation::query_lists::builders::QueryListsInputBuilder {
    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::query_lists::QueryListsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::query_lists::QueryListsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -344,344 +383,383 @@
  364    364   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  365    365   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  366    366   
    ) -> Self {
  367    367   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  368    368   
            source,
  369    369   
            meta: meta.unwrap_or_default(),
  370    370   
        })
  371    371   
    }
  372    372   
}
  373    373   
  374         -
pub use crate::operation::query_timestamps::_query_timestamps_output::QueryTimestampsOutput;
  375         -
  376    374   
pub use crate::operation::query_timestamps::_query_timestamps_input::QueryTimestampsInput;
  377    375   
         376  +
pub use crate::operation::query_timestamps::_query_timestamps_output::QueryTimestampsOutput;
         377  +
  378    378   
mod _query_timestamps_input;
  379    379   
  380    380   
mod _query_timestamps_output;
  381    381   
  382    382   
/// Builders
  383    383   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/query_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::query_timestamps::_query_timestamps_output::QueryTimestampsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::query_timestamps::_query_timestamps_input::QueryTimestampsInputBuilder;
    5      3   
           4  +
pub use crate::operation::query_timestamps::_query_timestamps_output::QueryTimestampsOutputBuilder;
           5  +
    6      6   
impl crate::operation::query_timestamps::builders::QueryTimestampsInputBuilder {
    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::query_timestamps::QueryTimestampsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::query_timestamps::QueryTimestampsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -356,356 +395,395 @@
  376    376   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  377    377   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  378    378   
    ) -> Self {
  379    379   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  380    380   
            source,
  381    381   
            meta: meta.unwrap_or_default(),
  382    382   
        })
  383    383   
    }
  384    384   
}
  385    385   
  386         -
pub use crate::operation::recursive_xml_shapes::_recursive_xml_shapes_output::RecursiveXmlShapesOutput;
  387         -
  388    386   
pub use crate::operation::recursive_xml_shapes::_recursive_xml_shapes_input::RecursiveXmlShapesInput;
  389    387   
         388  +
pub use crate::operation::recursive_xml_shapes::_recursive_xml_shapes_output::RecursiveXmlShapesOutput;
         389  +
  390    390   
mod _recursive_xml_shapes_input;
  391    391   
  392    392   
mod _recursive_xml_shapes_output;
  393    393   
  394    394   
/// Builders
  395    395   
pub mod builders;