Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858 (ignoring whitespace)

Files changed:

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;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/recursive_xml_shapes/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::recursive_xml_shapes::_recursive_xml_shapes_output::RecursiveXmlShapesOutputBuilder;
    3         -
    4      2   
pub use crate::operation::recursive_xml_shapes::_recursive_xml_shapes_input::RecursiveXmlShapesInputBuilder;
    5      3   
           4  +
pub use crate::operation::recursive_xml_shapes::_recursive_xml_shapes_output::RecursiveXmlShapesOutputBuilder;
           5  +
    6      6   
impl crate::operation::recursive_xml_shapes::builders::RecursiveXmlShapesInputBuilder {
    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::recursive_xml_shapes::RecursiveXmlShapesOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::recursive_xml_shapes::RecursiveXmlShapesError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -775,775 +814,814 @@
  795    795   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  796    796   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  797    797   
    ) -> Self {
  798    798   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  799    799   
            source,
  800    800   
            meta: meta.unwrap_or_default(),
  801    801   
        })
  802    802   
    }
  803    803   
}
  804    804   
  805         -
pub use crate::operation::simple_input_params::_simple_input_params_output::SimpleInputParamsOutput;
  806         -
  807    805   
pub use crate::operation::simple_input_params::_simple_input_params_input::SimpleInputParamsInput;
  808    806   
         807  +
pub use crate::operation::simple_input_params::_simple_input_params_output::SimpleInputParamsOutput;
         808  +
  809    809   
mod _simple_input_params_input;
  810    810   
  811    811   
mod _simple_input_params_output;
  812    812   
  813    813   
/// Builders
  814    814   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/simple_input_params/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::simple_input_params::_simple_input_params_output::SimpleInputParamsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::simple_input_params::_simple_input_params_input::SimpleInputParamsInputBuilder;
    5      3   
           4  +
pub use crate::operation::simple_input_params::_simple_input_params_output::SimpleInputParamsOutputBuilder;
           5  +
    6      6   
impl crate::operation::simple_input_params::builders::SimpleInputParamsInputBuilder {
    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::simple_input_params::SimpleInputParamsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::simple_input_params::SimpleInputParamsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -628,628 +667,667 @@
  648    648   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  649    649   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  650    650   
    ) -> Self {
  651    651   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  652    652   
            source,
  653    653   
            meta: meta.unwrap_or_default(),
  654    654   
        })
  655    655   
    }
  656    656   
}
  657    657   
  658         -
pub use crate::operation::simple_scalar_xml_properties::_simple_scalar_xml_properties_output::SimpleScalarXmlPropertiesOutput;
  659         -
  660    658   
pub use crate::operation::simple_scalar_xml_properties::_simple_scalar_xml_properties_input::SimpleScalarXmlPropertiesInput;
  661    659   
         660  +
pub use crate::operation::simple_scalar_xml_properties::_simple_scalar_xml_properties_output::SimpleScalarXmlPropertiesOutput;
         661  +
  662    662   
mod _simple_scalar_xml_properties_input;
  663    663   
  664    664   
mod _simple_scalar_xml_properties_output;
  665    665   
  666    666   
/// Builders
  667    667   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/simple_scalar_xml_properties/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::simple_scalar_xml_properties::_simple_scalar_xml_properties_output::SimpleScalarXmlPropertiesOutputBuilder;
    3         -
    4      2   
pub use crate::operation::simple_scalar_xml_properties::_simple_scalar_xml_properties_input::SimpleScalarXmlPropertiesInputBuilder;
    5      3   
           4  +
pub use crate::operation::simple_scalar_xml_properties::_simple_scalar_xml_properties_output::SimpleScalarXmlPropertiesOutputBuilder;
           5  +
    6      6   
impl crate::operation::simple_scalar_xml_properties::builders::SimpleScalarXmlPropertiesInputBuilder {
    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::simple_scalar_xml_properties::SimpleScalarXmlPropertiesOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::simple_scalar_xml_properties::SimpleScalarXmlPropertiesError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -326,326 +365,365 @@
  346    346   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  347    347   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  348    348   
    ) -> Self {
  349    349   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  350    350   
            source,
  351    351   
            meta: meta.unwrap_or_default(),
  352    352   
        })
  353    353   
    }
  354    354   
}
  355    355   
  356         -
pub use crate::operation::xml_blobs::_xml_blobs_output::XmlBlobsOutput;
  357         -
  358    356   
pub use crate::operation::xml_blobs::_xml_blobs_input::XmlBlobsInput;
  359    357   
         358  +
pub use crate::operation::xml_blobs::_xml_blobs_output::XmlBlobsOutput;
         359  +
  360    360   
mod _xml_blobs_input;
  361    361   
  362    362   
mod _xml_blobs_output;
  363    363   
  364    364   
/// Builders
  365    365   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/xml_blobs/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_blobs::_xml_blobs_output::XmlBlobsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_blobs::_xml_blobs_input::XmlBlobsInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_blobs::_xml_blobs_output::XmlBlobsOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_blobs::builders::XmlBlobsInputBuilder {
    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_blobs::XmlBlobsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_blobs::XmlBlobsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/xml_empty_blobs/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_empty_blobs::_xml_empty_blobs_output::XmlEmptyBlobsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_empty_blobs::_xml_empty_blobs_input::XmlEmptyBlobsInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_empty_blobs::_xml_empty_blobs_output::XmlEmptyBlobsOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_empty_blobs::builders::XmlEmptyBlobsInputBuilder {
    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_empty_blobs::XmlEmptyBlobsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_empty_blobs::XmlEmptyBlobsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/xml_empty_lists.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::xml_empty_lists::_xml_empty_lists_output::XmlEmptyListsOutput;
  422         -
  423    421   
pub use crate::operation::xml_empty_lists::_xml_empty_lists_input::XmlEmptyListsInput;
  424    422   
         423  +
pub use crate::operation::xml_empty_lists::_xml_empty_lists_output::XmlEmptyListsOutput;
         424  +
  425    425   
mod _xml_empty_lists_input;
  426    426   
  427    427   
mod _xml_empty_lists_output;
  428    428   
  429    429   
/// Builders
  430    430   
pub mod builders;