Client Test

Client Test

rev. 61347dcfc6aea9b1bb95fa06ec94864357dd1146 (ignoring whitespace)

Files changed:

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

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::operation_with_defaults::builders::OperationWithDefaultsInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::operation_with_defaults::OperationWithDefaultsOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::operation_with_defaults::OperationWithDefaultsError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::operation_with_nested_structure::builders::OperationWithNestedStructureInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::operation_with_nested_structure::OperationWithNestedStructureOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::operation_with_nested_structure::OperationWithNestedStructureError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::post_player_action::builders::PostPlayerActionInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::post_player_action::PostPlayerActionOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::post_player_action::PostPlayerActionError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::post_union_with_json_name::builders::PostUnionWithJsonNameInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::post_union_with_json_name::PostUnionWithJsonNameOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::post_union_with_json_name::PostUnionWithJsonNameError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

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

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::put_with_content_encoding::builders::PutWithContentEncodingInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::put_with_content_encoding::PutWithContentEncodingOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::put_with_content_encoding::PutWithContentEncodingError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::query_idempotency_token_auto_fill::builders::QueryIdempotencyTokenAutoFillInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::query_idempotency_token_auto_fill::QueryIdempotencyTokenAutoFillError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

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

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::query_params_as_string_list_map::builders::QueryParamsAsStringListMapInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::query_params_as_string_list_map::QueryParamsAsStringListMapError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::query_precedence::builders::QueryPrecedenceInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::query_precedence::QueryPrecedenceOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::query_precedence::QueryPrecedenceError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::recursive_shapes::builders::RecursiveShapesInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::recursive_shapes::RecursiveShapesOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::recursive_shapes::RecursiveShapesError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

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

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::response_code_http_fallback::builders::ResponseCodeHttpFallbackInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::response_code_http_fallback::ResponseCodeHttpFallbackOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::response_code_http_fallback::ResponseCodeHttpFallbackError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::response_code_required::builders::ResponseCodeRequiredInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::response_code_required::ResponseCodeRequiredOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::response_code_required::ResponseCodeRequiredError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::simple_scalar_properties::builders::SimpleScalarPropertiesInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::simple_scalar_properties::SimpleScalarPropertiesOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::simple_scalar_properties::SimpleScalarPropertiesError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::sparse_json_lists::builders::SparseJsonListsInputBuilder {
   60     60   
        &self.inner
   61     61   
    }
   62     62   
    /// Sends the request and returns the response.
   63     63   
    ///
   64     64   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   65     65   
    /// can be matched against.
   66     66   
    ///
   67     67   
    /// By default, any retryable failures will be retried twice. Retry behavior
   68     68   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   69         -
    /// set when configuring the client.
          69  +
    /// set when configuring the client. Note: retries are enabled by default when using
          70  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   70     71   
    pub async fn send(
   71     72   
        self,
   72     73   
    ) -> ::std::result::Result<
   73     74   
        crate::operation::sparse_json_lists::SparseJsonListsOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::sparse_json_lists::SparseJsonListsError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::sparse_json_maps::builders::SparseJsonMapsInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::sparse_json_maps::SparseJsonMapsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::sparse_json_maps::SparseJsonMapsError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::streaming_traits::builders::StreamingTraitsInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::streaming_traits::StreamingTraitsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::streaming_traits::StreamingTraitsError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::streaming_traits_require_length::builders::StreamingTraitsRequireLengthInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::streaming_traits_require_length::StreamingTraitsRequireLengthOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::streaming_traits_require_length::StreamingTraitsRequireLengthError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self