Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/aws_query/rust-client-codegen/src/operation/xml_maps_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::xml_maps_xml_name::_xml_maps_xml_name_output::XmlMapsXmlNameOutputBuilder;
    3         -
    4      2   
pub use crate::operation::xml_maps_xml_name::_xml_maps_xml_name_input::XmlMapsXmlNameInputBuilder;
    5      3   
           4  +
pub use crate::operation::xml_maps_xml_name::_xml_maps_xml_name_output::XmlMapsXmlNameOutputBuilder;
           5  +
    6      6   
impl crate::operation::xml_maps_xml_name::builders::XmlMapsXmlNameInputBuilder {
    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_maps_xml_name::XmlMapsXmlNameOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::xml_maps_xml_name::XmlMapsXmlNameError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/aws_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/aws_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/aws_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/aws_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/aws_query/rust-client-codegen/src/types.rs

@@ -1,1 +46,46 @@
    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;
           2  +
pub use crate::types::_foo_enum::FooEnum;
    3      3   
    4         -
pub use crate::types::_xml_namespace_nested::XmlNamespaceNested;
           4  +
pub use crate::types::_struct_arg::StructArg;
    5      5   
    6         -
pub use crate::types::_recursive_xml_shapes_output_nested1::RecursiveXmlShapesOutputNested1;
           6  +
pub use crate::types::_nested_struct_with_list::NestedStructWithList;
    7      7   
    8         -
pub use crate::types::_recursive_xml_shapes_output_nested2::RecursiveXmlShapesOutputNested2;
           8  +
pub use crate::types::_nested_struct_with_map::NestedStructWithMap;
    9      9   
   10         -
pub use crate::types::_foo_enum::FooEnum;
          10  +
pub use crate::types::_recursive_xml_shapes_output_nested1::RecursiveXmlShapesOutputNested1;
   11     11   
   12         -
pub use crate::types::_structure_list_member::StructureListMember;
          12  +
pub use crate::types::_xml_namespace_nested::XmlNamespaceNested;
   13     13   
   14         -
pub use crate::types::_greeting_struct::GreetingStruct;
          14  +
pub use crate::types::_complex_nested_error_data::ComplexNestedErrorData;
   15     15   
   16         -
pub use crate::types::_nested_struct_with_map::NestedStructWithMap;
          16  +
pub use crate::types::_greeting_struct::GreetingStruct;
   17     17   
   18         -
pub use crate::types::_nested_struct_with_list::NestedStructWithList;
          18  +
pub use crate::types::_structure_list_member::StructureListMember;
   19     19   
   20         -
pub use crate::types::_struct_arg::StructArg;
          20  +
pub use crate::types::_recursive_xml_shapes_output_nested2::RecursiveXmlShapesOutputNested2;
   21     21   
   22     22   
mod _complex_nested_error_data;
   23     23   
   24     24   
mod _foo_enum;
   25     25   
   26     26   
mod _greeting_struct;
   27     27   
   28     28   
mod _nested_struct_with_list;
   29     29   
   30     30   
mod _nested_struct_with_map;

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

@@ -1,1 +0,18 @@
    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  +
           6  +
pub use crate::types::_nested_struct_with_map::NestedStructWithMapBuilder;
    5      7   
    6      8   
pub use crate::types::_recursive_xml_shapes_output_nested1::RecursiveXmlShapesOutputNested1Builder;
    7      9   
    8         -
pub use crate::types::_recursive_xml_shapes_output_nested2::RecursiveXmlShapesOutputNested2Builder;
          10  +
pub use crate::types::_xml_namespace_nested::XmlNamespaceNestedBuilder;
    9     11   
   10         -
pub use crate::types::_structure_list_member::StructureListMemberBuilder;
          12  +
pub use crate::types::_complex_nested_error_data::ComplexNestedErrorDataBuilder;
   11     13   
   12     14   
pub use crate::types::_greeting_struct::GreetingStructBuilder;
   13     15   
   14         -
pub use crate::types::_nested_struct_with_map::NestedStructWithMapBuilder;
   15         -
   16         -
pub use crate::types::_nested_struct_with_list::NestedStructWithListBuilder;
          16  +
pub use crate::types::_structure_list_member::StructureListMemberBuilder;
   17     17   
   18         -
pub use crate::types::_struct_arg::StructArgBuilder;
          18  +
pub use crate::types::_recursive_xml_shapes_output_nested2::RecursiveXmlShapesOutputNested2Builder;

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

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

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

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

tmp-codegen-diff/codegen-client-test/big_numbers/rust-client-codegen/src/lib.rs

@@ -1,1 +44,45 @@
    5      5   
#![allow(clippy::large_enum_variant)]
    6      6   
#![allow(clippy::wrong_self_convention)]
    7      7   
#![allow(clippy::should_implement_trait)]
    8      8   
#![allow(clippy::disallowed_names)]
    9      9   
#![allow(clippy::vec_init_then_push)]
   10     10   
#![allow(clippy::type_complexity)]
   11     11   
#![allow(clippy::needless_return)]
   12     12   
#![allow(clippy::derive_partial_eq_without_eq)]
   13     13   
#![allow(clippy::result_large_err)]
   14     14   
#![allow(clippy::unnecessary_map_on_constructor)]
          15  +
#![allow(clippy::useless_conversion)]
   15     16   
#![allow(clippy::deprecated_semver)]
   16     17   
#![allow(rustdoc::bare_urls)]
   17     18   
#![allow(rustdoc::redundant_explicit_links)]
   18     19   
#![allow(rustdoc::broken_intra_doc_links)]
   19     20   
#![allow(rustdoc::invalid_html_tags)]
   20     21   
#![forbid(unsafe_code)]
   21     22   
#![warn(missing_docs)]
   22     23   
#![cfg_attr(docsrs, feature(doc_cfg))]
   23     24   
//! big_numbers
   24     25   
//!

tmp-codegen-diff/codegen-client-test/big_numbers/rust-client-codegen/src/operation/process_big_numbers.rs

@@ -845,845 +884,884 @@
  865    865   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  866    866   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  867    867   
    ) -> Self {
  868    868   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  869    869   
            source,
  870    870   
            meta: meta.unwrap_or_default(),
  871    871   
        })
  872    872   
    }
  873    873   
}
  874    874   
  875         -
pub use crate::operation::process_big_numbers::_process_big_numbers_output::ProcessBigNumbersOutput;
  876         -
  877    875   
pub use crate::operation::process_big_numbers::_process_big_numbers_input::ProcessBigNumbersInput;
  878    876   
         877  +
pub use crate::operation::process_big_numbers::_process_big_numbers_output::ProcessBigNumbersOutput;
         878  +
  879    879   
mod _process_big_numbers_input;
  880    880   
  881    881   
mod _process_big_numbers_output;
  882    882   
  883    883   
/// Builders
  884    884   
pub mod builders;

tmp-codegen-diff/codegen-client-test/big_numbers/rust-client-codegen/src/operation/process_big_numbers/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::process_big_numbers::_process_big_numbers_output::ProcessBigNumbersOutputBuilder;
    3         -
    4      2   
pub use crate::operation::process_big_numbers::_process_big_numbers_input::ProcessBigNumbersInputBuilder;
    5      3   
           4  +
pub use crate::operation::process_big_numbers::_process_big_numbers_output::ProcessBigNumbersOutputBuilder;
           5  +
    6      6   
impl crate::operation::process_big_numbers::builders::ProcessBigNumbersInputBuilder {
    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::process_big_numbers::ProcessBigNumbersOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::process_big_numbers::ProcessBigNumbersError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/big_numbers/rust-client-codegen/src/operation/process_nested_big_numbers.rs

@@ -492,492 +531,531 @@
  512    512   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  513    513   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  514    514   
    ) -> Self {
  515    515   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  516    516   
            source,
  517    517   
            meta: meta.unwrap_or_default(),
  518    518   
        })
  519    519   
    }
  520    520   
}
  521    521   
  522         -
pub use crate::operation::process_nested_big_numbers::_process_nested_big_numbers_output::ProcessNestedBigNumbersOutput;
  523         -
  524    522   
pub use crate::operation::process_nested_big_numbers::_process_nested_big_numbers_input::ProcessNestedBigNumbersInput;
  525    523   
         524  +
pub use crate::operation::process_nested_big_numbers::_process_nested_big_numbers_output::ProcessNestedBigNumbersOutput;
         525  +
  526    526   
mod _process_nested_big_numbers_input;
  527    527   
  528    528   
mod _process_nested_big_numbers_output;
  529    529   
  530    530   
/// Builders
  531    531   
pub mod builders;

tmp-codegen-diff/codegen-client-test/big_numbers/rust-client-codegen/src/operation/process_nested_big_numbers/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::process_nested_big_numbers::_process_nested_big_numbers_output::ProcessNestedBigNumbersOutputBuilder;
    3         -
    4      2   
pub use crate::operation::process_nested_big_numbers::_process_nested_big_numbers_input::ProcessNestedBigNumbersInputBuilder;
    5      3   
           4  +
pub use crate::operation::process_nested_big_numbers::_process_nested_big_numbers_output::ProcessNestedBigNumbersOutputBuilder;
           5  +
    6      6   
impl crate::operation::process_nested_big_numbers::builders::ProcessNestedBigNumbersInputBuilder {
    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::process_nested_big_numbers::ProcessNestedBigNumbersOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::process_nested_big_numbers::ProcessNestedBigNumbersError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/lib.rs

@@ -1,1 +44,45 @@
    5      5   
#![allow(clippy::large_enum_variant)]
    6      6   
#![allow(clippy::wrong_self_convention)]
    7      7   
#![allow(clippy::should_implement_trait)]
    8      8   
#![allow(clippy::disallowed_names)]
    9      9   
#![allow(clippy::vec_init_then_push)]
   10     10   
#![allow(clippy::type_complexity)]
   11     11   
#![allow(clippy::needless_return)]
   12     12   
#![allow(clippy::derive_partial_eq_without_eq)]
   13     13   
#![allow(clippy::result_large_err)]
   14     14   
#![allow(clippy::unnecessary_map_on_constructor)]
          15  +
#![allow(clippy::useless_conversion)]
   15     16   
#![allow(clippy::deprecated_semver)]
   16     17   
#![allow(rustdoc::bare_urls)]
   17     18   
#![allow(rustdoc::redundant_explicit_links)]
   18     19   
#![allow(rustdoc::broken_intra_doc_links)]
   19     20   
#![allow(rustdoc::invalid_html_tags)]
   20     21   
#![forbid(unsafe_code)]
   21     22   
#![warn(missing_docs)]
   22     23   
#![cfg_attr(docsrs, feature(doc_cfg))]
   23     24   
//! <fullname>Amazon DynamoDB</fullname>
   24     25   
//!

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/batch_execute_statement.rs

@@ -319,319 +358,358 @@
  339    339   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  340    340   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  341    341   
    ) -> Self {
  342    342   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  343    343   
            source,
  344    344   
            meta: meta.unwrap_or_default(),
  345    345   
        })
  346    346   
    }
  347    347   
}
  348    348   
  349         -
pub use crate::operation::batch_execute_statement::_batch_execute_statement_output::BatchExecuteStatementOutput;
  350         -
  351    349   
pub use crate::operation::batch_execute_statement::_batch_execute_statement_input::BatchExecuteStatementInput;
  352    350   
         351  +
pub use crate::operation::batch_execute_statement::_batch_execute_statement_output::BatchExecuteStatementOutput;
         352  +
  353    353   
mod _batch_execute_statement_input;
  354    354   
  355    355   
mod _batch_execute_statement_output;
  356    356   
  357    357   
/// Builders
  358    358   
pub mod builders;