Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_float_labels.rs

@@ -425,425 +464,464 @@
  445    445   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  446    446   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  447    447   
    ) -> Self {
  448    448   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  449    449   
            source,
  450    450   
            meta: meta.unwrap_or_default(),
  451    451   
        })
  452    452   
    }
  453    453   
}
  454    454   
  455         -
pub use crate::operation::http_request_with_float_labels::_http_request_with_float_labels_output::HttpRequestWithFloatLabelsOutput;
  456         -
  457    455   
pub use crate::operation::http_request_with_float_labels::_http_request_with_float_labels_input::HttpRequestWithFloatLabelsInput;
  458    456   
         457  +
pub use crate::operation::http_request_with_float_labels::_http_request_with_float_labels_output::HttpRequestWithFloatLabelsOutput;
         458  +
  459    459   
mod _http_request_with_float_labels_input;
  460    460   
  461    461   
mod _http_request_with_float_labels_output;
  462    462   
  463    463   
/// Builders
  464    464   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_float_labels/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::http_request_with_float_labels::_http_request_with_float_labels_output::HttpRequestWithFloatLabelsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_request_with_float_labels::_http_request_with_float_labels_input::HttpRequestWithFloatLabelsInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_request_with_float_labels::_http_request_with_float_labels_output::HttpRequestWithFloatLabelsOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_request_with_float_labels::builders::HttpRequestWithFloatLabelsInputBuilder {
    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::http_request_with_float_labels::HttpRequestWithFloatLabelsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_request_with_float_labels::HttpRequestWithFloatLabelsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_greedy_label_in_path.rs

@@ -360,360 +399,399 @@
  380    380   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  381    381   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  382    382   
    ) -> Self {
  383    383   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  384    384   
            source,
  385    385   
            meta: meta.unwrap_or_default(),
  386    386   
        })
  387    387   
    }
  388    388   
}
  389    389   
  390         -
pub use crate::operation::http_request_with_greedy_label_in_path::_http_request_with_greedy_label_in_path_output::HttpRequestWithGreedyLabelInPathOutput;
  391         -
  392    390   
pub use crate::operation::http_request_with_greedy_label_in_path::_http_request_with_greedy_label_in_path_input::HttpRequestWithGreedyLabelInPathInput;
  393    391   
         392  +
pub use crate::operation::http_request_with_greedy_label_in_path::_http_request_with_greedy_label_in_path_output::HttpRequestWithGreedyLabelInPathOutput;
         393  +
  394    394   
mod _http_request_with_greedy_label_in_path_input;
  395    395   
  396    396   
mod _http_request_with_greedy_label_in_path_output;
  397    397   
  398    398   
/// Builders
  399    399   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_greedy_label_in_path/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::http_request_with_greedy_label_in_path::_http_request_with_greedy_label_in_path_output::HttpRequestWithGreedyLabelInPathOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_request_with_greedy_label_in_path::_http_request_with_greedy_label_in_path_input::HttpRequestWithGreedyLabelInPathInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_request_with_greedy_label_in_path::_http_request_with_greedy_label_in_path_output::HttpRequestWithGreedyLabelInPathOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_request_with_greedy_label_in_path::builders::HttpRequestWithGreedyLabelInPathInputBuilder {
    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::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_request_with_greedy_label_in_path::HttpRequestWithGreedyLabelInPathError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_labels.rs

@@ -485,485 +524,524 @@
  505    505   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  506    506   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  507    507   
    ) -> Self {
  508    508   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  509    509   
            source,
  510    510   
            meta: meta.unwrap_or_default(),
  511    511   
        })
  512    512   
    }
  513    513   
}
  514    514   
  515         -
pub use crate::operation::http_request_with_labels::_http_request_with_labels_output::HttpRequestWithLabelsOutput;
  516         -
  517    515   
pub use crate::operation::http_request_with_labels::_http_request_with_labels_input::HttpRequestWithLabelsInput;
  518    516   
         517  +
pub use crate::operation::http_request_with_labels::_http_request_with_labels_output::HttpRequestWithLabelsOutput;
         518  +
  519    519   
mod _http_request_with_labels_input;
  520    520   
  521    521   
mod _http_request_with_labels_output;
  522    522   
  523    523   
/// Builders
  524    524   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_labels/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::http_request_with_labels::_http_request_with_labels_output::HttpRequestWithLabelsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_request_with_labels::_http_request_with_labels_input::HttpRequestWithLabelsInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_request_with_labels::_http_request_with_labels_output::HttpRequestWithLabelsOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_request_with_labels::builders::HttpRequestWithLabelsInputBuilder {
    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::http_request_with_labels::HttpRequestWithLabelsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_request_with_labels::HttpRequestWithLabelsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_labels_and_timestamp_format.rs

@@ -429,429 +468,468 @@
  449    449   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  450    450   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  451    451   
    ) -> Self {
  452    452   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  453    453   
            source,
  454    454   
            meta: meta.unwrap_or_default(),
  455    455   
        })
  456    456   
    }
  457    457   
}
  458    458   
  459         -
pub use crate::operation::http_request_with_labels_and_timestamp_format::_http_request_with_labels_and_timestamp_format_output::HttpRequestWithLabelsAndTimestampFormatOutput;
  460         -
  461    459   
pub use crate::operation::http_request_with_labels_and_timestamp_format::_http_request_with_labels_and_timestamp_format_input::HttpRequestWithLabelsAndTimestampFormatInput;
  462    460   
         461  +
pub use crate::operation::http_request_with_labels_and_timestamp_format::_http_request_with_labels_and_timestamp_format_output::HttpRequestWithLabelsAndTimestampFormatOutput;
         462  +
  463    463   
mod _http_request_with_labels_and_timestamp_format_input;
  464    464   
  465    465   
mod _http_request_with_labels_and_timestamp_format_output;
  466    466   
  467    467   
/// Builders
  468    468   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_labels_and_timestamp_format/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::http_request_with_labels_and_timestamp_format::_http_request_with_labels_and_timestamp_format_output::HttpRequestWithLabelsAndTimestampFormatOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_request_with_labels_and_timestamp_format::_http_request_with_labels_and_timestamp_format_input::HttpRequestWithLabelsAndTimestampFormatInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_request_with_labels_and_timestamp_format::_http_request_with_labels_and_timestamp_format_output::HttpRequestWithLabelsAndTimestampFormatOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_request_with_labels_and_timestamp_format::builders::HttpRequestWithLabelsAndTimestampFormatInputBuilder {
    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::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_request_with_labels_and_timestamp_format::HttpRequestWithLabelsAndTimestampFormatError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_regex_literal.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::http_request_with_regex_literal::_http_request_with_regex_literal_output::HttpRequestWithRegexLiteralOutput;
  370         -
  371    369   
pub use crate::operation::http_request_with_regex_literal::_http_request_with_regex_literal_input::HttpRequestWithRegexLiteralInput;
  372    370   
         371  +
pub use crate::operation::http_request_with_regex_literal::_http_request_with_regex_literal_output::HttpRequestWithRegexLiteralOutput;
         372  +
  373    373   
mod _http_request_with_regex_literal_input;
  374    374   
  375    375   
mod _http_request_with_regex_literal_output;
  376    376   
  377    377   
/// Builders
  378    378   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_request_with_regex_literal/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::http_request_with_regex_literal::_http_request_with_regex_literal_output::HttpRequestWithRegexLiteralOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_request_with_regex_literal::_http_request_with_regex_literal_input::HttpRequestWithRegexLiteralInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_request_with_regex_literal::_http_request_with_regex_literal_output::HttpRequestWithRegexLiteralOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_request_with_regex_literal::builders::HttpRequestWithRegexLiteralInputBuilder {
    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::http_request_with_regex_literal::HttpRequestWithRegexLiteralOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_request_with_regex_literal::HttpRequestWithRegexLiteralError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_response_code.rs

@@ -388,388 +427,427 @@
  408    408   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  409    409   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  410    410   
    ) -> Self {
  411    411   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  412    412   
            source,
  413    413   
            meta: meta.unwrap_or_default(),
  414    414   
        })
  415    415   
    }
  416    416   
}
  417    417   
  418         -
pub use crate::operation::http_response_code::_http_response_code_output::HttpResponseCodeOutput;
  419         -
  420    418   
pub use crate::operation::http_response_code::_http_response_code_input::HttpResponseCodeInput;
  421    419   
         420  +
pub use crate::operation::http_response_code::_http_response_code_output::HttpResponseCodeOutput;
         421  +
  422    422   
mod _http_response_code_input;
  423    423   
  424    424   
mod _http_response_code_output;
  425    425   
  426    426   
/// Builders
  427    427   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_response_code/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::http_response_code::_http_response_code_output::HttpResponseCodeOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_response_code::_http_response_code_input::HttpResponseCodeInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_response_code::_http_response_code_output::HttpResponseCodeOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_response_code::builders::HttpResponseCodeInputBuilder {
    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::http_response_code::HttpResponseCodeOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_response_code::HttpResponseCodeError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_string_payload.rs

@@ -380,380 +419,419 @@
  400    400   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  401    401   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  402    402   
    ) -> Self {
  403    403   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  404    404   
            source,
  405    405   
            meta: meta.unwrap_or_default(),
  406    406   
        })
  407    407   
    }
  408    408   
}
  409    409   
  410         -
pub use crate::operation::http_string_payload::_http_string_payload_output::HttpStringPayloadOutput;
  411         -
  412    410   
pub use crate::operation::http_string_payload::_http_string_payload_input::HttpStringPayloadInput;
  413    411   
         412  +
pub use crate::operation::http_string_payload::_http_string_payload_output::HttpStringPayloadOutput;
         413  +
  414    414   
mod _http_string_payload_input;
  415    415   
  416    416   
mod _http_string_payload_output;
  417    417   
  418    418   
/// Builders
  419    419   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/http_string_payload/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::http_string_payload::_http_string_payload_output::HttpStringPayloadOutputBuilder;
    3         -
    4      2   
pub use crate::operation::http_string_payload::_http_string_payload_input::HttpStringPayloadInputBuilder;
    5      3   
           4  +
pub use crate::operation::http_string_payload::_http_string_payload_output::HttpStringPayloadOutputBuilder;
           5  +
    6      6   
impl crate::operation::http_string_payload::builders::HttpStringPayloadInputBuilder {
    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::http_string_payload::HttpStringPayloadOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::http_string_payload::HttpStringPayloadError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/ignore_query_params_in_response.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::ignore_query_params_in_response::_ignore_query_params_in_response_output::IgnoreQueryParamsInResponseOutput;
  375         -
  376    374   
pub use crate::operation::ignore_query_params_in_response::_ignore_query_params_in_response_input::IgnoreQueryParamsInResponseInput;
  377    375   
         376  +
pub use crate::operation::ignore_query_params_in_response::_ignore_query_params_in_response_output::IgnoreQueryParamsInResponseOutput;
         377  +
  378    378   
mod _ignore_query_params_in_response_input;
  379    379   
  380    380   
mod _ignore_query_params_in_response_output;
  381    381   
  382    382   
/// Builders
  383    383   
pub mod builders;

tmp-codegen-diff/codegen-client-test/rest_json/rust-client-codegen/src/operation/ignore_query_params_in_response/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::ignore_query_params_in_response::_ignore_query_params_in_response_output::IgnoreQueryParamsInResponseOutputBuilder;
    3         -
    4      2   
pub use crate::operation::ignore_query_params_in_response::_ignore_query_params_in_response_input::IgnoreQueryParamsInResponseInputBuilder;
    5      3   
           4  +
pub use crate::operation::ignore_query_params_in_response::_ignore_query_params_in_response_output::IgnoreQueryParamsInResponseOutputBuilder;
           5  +
    6      6   
impl crate::operation::ignore_query_params_in_response::builders::IgnoreQueryParamsInResponseInputBuilder {
    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::ignore_query_params_in_response::IgnoreQueryParamsInResponseOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::ignore_query_params_in_response::IgnoreQueryParamsInResponseError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,