Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858

Files changed:

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/endpoint_with_host_label_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::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_input::EndpointWithHostLabelOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::endpoint_with_host_label_operation::builders::EndpointWithHostLabelOperationInputBuilder {
    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::endpoint_with_host_label_operation::EndpointWithHostLabelOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -339,339 +378,378 @@
  359    359   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  360    360   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  361    361   
    ) -> Self {
  362    362   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  363    363   
            source,
  364    364   
            meta: meta.unwrap_or_default(),
  365    365   
        })
  366    366   
    }
  367    367   
}
  368    368   
  369         -
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
  370         -
  371    369   
pub use crate::operation::fractional_seconds::_fractional_seconds_input::FractionalSecondsInput;
  372    370   
         371  +
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
         372  +
  373    373   
mod _fractional_seconds_input;
  374    374   
  375    375   
mod _fractional_seconds_output;
  376    376   
  377    377   
/// Builders
  378    378   
pub mod builders;

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

@@ -447,447 +486,486 @@
  467    467   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  468    468   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  469    469   
    ) -> Self {
  470    470   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  471    471   
            source,
  472    472   
            meta: meta.unwrap_or_default(),
  473    473   
        })
  474    474   
    }
  475    475   
}
  476    476   
  477         -
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
  478         -
  479    477   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInput;
  480    478   
         479  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
         480  +
  481    481   
mod _greeting_with_errors_input;
  482    482   
  483    483   
mod _greeting_with_errors_output;
  484    484   
  485    485   
/// Builders
  486    486   
pub mod builders;

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

@@ -331,331 +370,370 @@
  351    351   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  352    352   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  353    353   
    ) -> Self {
  354    354   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  355    355   
            source,
  356    356   
            meta: meta.unwrap_or_default(),
  357    357   
        })
  358    358   
    }
  359    359   
}
  360    360   
  361         -
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
  362         -
  363    361   
pub use crate::operation::host_with_path_operation::_host_with_path_operation_input::HostWithPathOperationInput;
  364    362   
         363  +
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
         364  +
  365    365   
mod _host_with_path_operation_input;
  366    366   
  367    367   
mod _host_with_path_operation_output;
  368    368   
  369    369   
/// Builders
  370    370   
pub mod builders;

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;