Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/rest_xml_extras_unwrapped/rust-client-codegen/src/operation/greeting_with_unwrapped_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_unwrapped_errors::_greeting_with_unwrapped_errors_output::GreetingWithUnwrappedErrorsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::greeting_with_unwrapped_errors::_greeting_with_unwrapped_errors_input::GreetingWithUnwrappedErrorsInputBuilder;
    5      3   
           4  +
pub use crate::operation::greeting_with_unwrapped_errors::_greeting_with_unwrapped_errors_output::GreetingWithUnwrappedErrorsOutputBuilder;
           5  +
    6      6   
impl crate::operation::greeting_with_unwrapped_errors::builders::GreetingWithUnwrappedErrorsInputBuilder {
    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_unwrapped_errors::GreetingWithUnwrappedErrorsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::greeting_with_unwrapped_errors::GreetingWithUnwrappedErrorsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_xml_extras_unwrapped/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_unwrapped::ComplexErrorUnwrapped;
    3         -
    4      2   
pub use crate::types::error::_invalid_greeting_unwrapped::InvalidGreetingUnwrapped;
    5      3   
           4  +
pub use crate::types::error::_complex_error_unwrapped::ComplexErrorUnwrapped;
           5  +
    6      6   
mod _complex_error_unwrapped;
    7      7   
    8      8   
mod _invalid_greeting_unwrapped;
    9      9   
   10     10   
/// Builders
   11     11   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_extras_unwrapped/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_unwrapped::ComplexErrorUnwrappedBuilder;
    3         -
    4      2   
pub use crate::types::error::_invalid_greeting_unwrapped::InvalidGreetingUnwrappedBuilder;
           3  +
           4  +
pub use crate::types::error::_complex_error_unwrapped::ComplexErrorUnwrappedBuilder;

tmp-codegen-diff/codegen-client-test/rest_xml_namespace/rust-client-codegen/src/operation/simple_scalar_properties.rs

@@ -440,440 +479,479 @@
  460    460   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  461    461   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  462    462   
    ) -> Self {
  463    463   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  464    464   
            source,
  465    465   
            meta: meta.unwrap_or_default(),
  466    466   
        })
  467    467   
    }
  468    468   
}
  469    469   
  470         -
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_output::SimpleScalarPropertiesOutput;
  471         -
  472    470   
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_input::SimpleScalarPropertiesInput;
  473    471   
         472  +
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_output::SimpleScalarPropertiesOutput;
         473  +
  474    474   
mod _simple_scalar_properties_input;
  475    475   
  476    476   
mod _simple_scalar_properties_output;
  477    477   
  478    478   
/// Builders
  479    479   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_xml_namespace/rust-client-codegen/src/operation/simple_scalar_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_properties::_simple_scalar_properties_output::SimpleScalarPropertiesOutputBuilder;
    3         -
    4      2   
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_input::SimpleScalarPropertiesInputBuilder;
    5      3   
           4  +
pub use crate::operation::simple_scalar_properties::_simple_scalar_properties_output::SimpleScalarPropertiesOutputBuilder;
           5  +
    6      6   
impl crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesInputBuilder {
    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_properties::SimpleScalarPropertiesOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::simple_scalar_properties::SimpleScalarPropertiesError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/empty_input_output.rs

@@ -422,422 +461,461 @@
  442    442   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  443    443   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  444    444   
    ) -> Self {
  445    445   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  446    446   
            source,
  447    447   
            meta: meta.unwrap_or_default(),
  448    448   
        })
  449    449   
    }
  450    450   
}
  451    451   
  452         -
pub use crate::operation::empty_input_output::_empty_input_output_output::EmptyInputOutputOutput;
  453         -
  454    452   
pub use crate::operation::empty_input_output::_empty_input_output_input::EmptyInputOutputInput;
  455    453   
         454  +
pub use crate::operation::empty_input_output::_empty_input_output_output::EmptyInputOutputOutput;
         455  +
  456    456   
mod _empty_input_output_input;
  457    457   
  458    458   
mod _empty_input_output_output;
  459    459   
  460    460   
/// Builders
  461    461   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/empty_input_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_output::_empty_input_output_output::EmptyInputOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::empty_input_output::_empty_input_output_input::EmptyInputOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::empty_input_output::_empty_input_output_output::EmptyInputOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::empty_input_output::builders::EmptyInputOutputInputBuilder {
    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_output::EmptyInputOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::empty_input_output::EmptyInputOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/float16.rs

@@ -543,543 +582,582 @@
  563    563   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  564    564   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  565    565   
    ) -> Self {
  566    566   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  567    567   
            source,
  568    568   
            meta: meta.unwrap_or_default(),
  569    569   
        })
  570    570   
    }
  571    571   
}
  572    572   
  573         -
pub use crate::operation::float16::_float16_output::Float16Output;
  574         -
  575    573   
pub use crate::operation::float16::_float16_input::Float16Input;
  576    574   
         575  +
pub use crate::operation::float16::_float16_output::Float16Output;
         576  +
  577    577   
mod _float16_input;
  578    578   
  579    579   
mod _float16_output;
  580    580   
  581    581   
/// Builders
  582    582   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/float16/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::float16::_float16_output::Float16OutputBuilder;
    3         -
    4      2   
pub use crate::operation::float16::_float16_input::Float16InputBuilder;
    5      3   
           4  +
pub use crate::operation::float16::_float16_output::Float16OutputBuilder;
           5  +
    6      6   
impl crate::operation::float16::builders::Float16InputBuilder {
    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::float16::Float16Output,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::float16::Float16Error,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -348,348 +387,387 @@
  368    368   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  369    369   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  370    370   
    ) -> Self {
  371    371   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  372    372   
            source,
  373    373   
            meta: meta.unwrap_or_default(),
  374    374   
        })
  375    375   
    }
  376    376   
}
  377    377   
  378         -
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
  379         -
  380    378   
pub use crate::operation::fractional_seconds::_fractional_seconds_input::FractionalSecondsInput;
  381    379   
         380  +
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
         381  +
  382    382   
mod _fractional_seconds_input;
  383    383   
  384    384   
mod _fractional_seconds_output;
  385    385   
  386    386   
/// Builders
  387    387   
pub mod builders;

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

@@ -472,472 +511,511 @@
  492    492   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  493    493   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  494    494   
    ) -> Self {
  495    495   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  496    496   
            source,
  497    497   
            meta: meta.unwrap_or_default(),
  498    498   
        })
  499    499   
    }
  500    500   
}
  501    501   
  502         -
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
  503         -
  504    502   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInput;
  505    503   
         504  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
         505  +
  506    506   
mod _greeting_with_errors_input;
  507    507   
  508    508   
mod _greeting_with_errors_output;
  509    509   
  510    510   
/// Builders
  511    511   
pub mod builders;

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

@@ -452,452 +491,491 @@
  472    472   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  473    473   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  474    474   
    ) -> Self {
  475    475   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  476    476   
            source,
  477    477   
            meta: meta.unwrap_or_default(),
  478    478   
        })
  479    479   
    }
  480    480   
}
  481    481   
  482         -
pub use crate::operation::no_input_output::_no_input_output_output::NoInputOutputOutput;
  483         -
  484    482   
pub use crate::operation::no_input_output::_no_input_output_input::NoInputOutputInput;
  485    483   
         484  +
pub use crate::operation::no_input_output::_no_input_output_output::NoInputOutputOutput;
         485  +
  486    486   
mod _no_input_output_input;
  487    487   
  488    488   
mod _no_input_output_output;
  489    489   
  490    490   
/// Builders
  491    491   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/no_input_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_output::_no_input_output_output::NoInputOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::no_input_output::_no_input_output_input::NoInputOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::no_input_output::_no_input_output_output::NoInputOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::no_input_output::builders::NoInputOutputInputBuilder {
    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_output::NoInputOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::no_input_output::NoInputOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rpcv2Cbor/rust-client-codegen/src/operation/operation_with_defaults.rs

@@ -827,827 +866,866 @@
  847    847   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  848    848   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  849    849   
    ) -> Self {
  850    850   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  851    851   
            source,
  852    852   
            meta: meta.unwrap_or_default(),
  853    853   
        })
  854    854   
    }
  855    855   
}
  856    856   
  857         -
pub use crate::operation::operation_with_defaults::_operation_with_defaults_output::OperationWithDefaultsOutput;
  858         -
  859    857   
pub use crate::operation::operation_with_defaults::_operation_with_defaults_input::OperationWithDefaultsInput;
  860    858   
         859  +
pub use crate::operation::operation_with_defaults::_operation_with_defaults_output::OperationWithDefaultsOutput;
         860  +
  861    861   
mod _operation_with_defaults_input;
  862    862   
  863    863   
mod _operation_with_defaults_output;
  864    864   
  865    865   
/// Builders
  866    866   
pub mod builders;