Client Test

Client Test

rev. ca222a560f44f828acd6684c35d65a0107fadc68

Files changed:

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::input_and_output_with_headers::builders::InputAndOutputWithHeadersInputBuilder {
   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::input_and_output_with_headers::InputAndOutputWithHeadersOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::input_and_output_with_headers::InputAndOutputWithHeadersError,
   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/json_blobs/builders.rs

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

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

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

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::json_int_enums::builders::JsonIntEnumsInputBuilder {
   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::json_int_enums::JsonIntEnumsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::json_int_enums::JsonIntEnumsError,
   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/json_lists/builders.rs

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

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

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

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::json_timestamps::builders::JsonTimestampsInputBuilder {
   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::json_timestamps::JsonTimestampsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::json_timestamps::JsonTimestampsError,
   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/json_unions/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::json_unions::builders::JsonUnionsInputBuilder {
   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::json_unions::JsonUnionsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::json_unions::JsonUnionsError,
   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/malformed_accept_with_body/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::malformed_accept_with_body::builders::MalformedAcceptWithBodyInputBuilder {
   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::malformed_accept_with_body::MalformedAcceptWithBodyOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::malformed_accept_with_body::MalformedAcceptWithBodyError,
   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/malformed_accept_with_generic_string/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::malformed_accept_with_generic_string::builders::MalformedAcceptWithGenericStringInputBuilder {
   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::malformed_accept_with_generic_string::MalformedAcceptWithGenericStringOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::malformed_accept_with_generic_string::MalformedAcceptWithGenericStringError,
   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/malformed_accept_with_payload/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::malformed_accept_with_payload::builders::MalformedAcceptWithPayloadInputBuilder {
   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::malformed_accept_with_payload::MalformedAcceptWithPayloadOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::malformed_accept_with_payload::MalformedAcceptWithPayloadError,
   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/malformed_blob/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::malformed_blob::builders::MalformedBlobInputBuilder {
   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::malformed_blob::MalformedBlobOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::malformed_blob::MalformedBlobError,
   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/malformed_boolean/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::malformed_boolean::builders::MalformedBooleanInputBuilder {
   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::malformed_boolean::MalformedBooleanOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::malformed_boolean::MalformedBooleanError,
   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/malformed_byte/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::malformed_byte::builders::MalformedByteInputBuilder {
   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::malformed_byte::MalformedByteOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::malformed_byte::MalformedByteError,
   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/malformed_content_type_with_body/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::malformed_content_type_with_body::builders::MalformedContentTypeWithBodyInputBuilder {
   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::malformed_content_type_with_body::MalformedContentTypeWithBodyOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::malformed_content_type_with_body::MalformedContentTypeWithBodyError,
   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/malformed_content_type_with_generic_string/builders.rs

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