Client Test

Client Test

rev. 2b2bcd45ade3893da431939e183674ee0387e298

Files changed:

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/recursive_union_operation/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::recursive_union_operation::builders::RecursiveUnionOperationInputBuilder {
   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::recursive_union_operation::RecursiveUnionOperationOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::recursive_union_operation::RecursiveUnionOperationError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/simple_struct_operation/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::simple_struct_operation::builders::SimpleStructOperationInputBuilder {
   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_struct_operation::SimpleStructOperationOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::simple_struct_operation::SimpleStructOperationError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/single_member_struct_operation/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::single_member_struct_operation::builders::SingleMemberStructOperationInputBuilder {
   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::single_member_struct_operation::SingleMemberStructOperationOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::single_member_struct_operation::SingleMemberStructOperationError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/streaming_operation/builders.rs

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

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/streaming_operation_with_initial_data/builders.rs

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

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/streaming_operation_with_initial_response/builders.rs

@@ -47,47 +107,108 @@
   67     67   
    ) -> &crate::operation::streaming_operation_with_initial_response::builders::StreamingOperationWithInitialResponseInputBuilder {
   68     68   
        &self.inner
   69     69   
    }
   70     70   
    /// Sends the request and returns the response.
   71     71   
    ///
   72     72   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   73     73   
    /// can be matched against.
   74     74   
    ///
   75     75   
    /// By default, any retryable failures will be retried twice. Retry behavior
   76     76   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   77         -
    /// set when configuring the client.
          77  +
    /// set when configuring the client. Note: retries are enabled by default when using
          78  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   78     79   
    pub async fn send(
   79     80   
        self,
   80     81   
    ) -> ::std::result::Result<
   81     82   
        crate::operation::streaming_operation_with_initial_response::StreamingOperationWithInitialResponseOutput,
   82     83   
        ::aws_smithy_runtime_api::client::result::SdkError<
   83     84   
            crate::operation::streaming_operation_with_initial_response::StreamingOperationWithInitialResponseError,
   84     85   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   85     86   
        >,
   86     87   
    > {
   87     88   
        let input = self

tmp-codegen-diff/codegen-client-test/rpcv2Cbor_extras/rust-client-codegen/src/operation/streaming_operation_with_optional_data/builders.rs

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

tmp-codegen-diff/codegen-client-test/rpcv2cbor_non_query_compatible/rust-client-codegen/src/operation/non_query_compatible_operation/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::non_query_compatible_operation::builders::NonQueryCompatibleOperationInputBuilder {
   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::non_query_compatible_operation::NonQueryCompatibleOperationOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::non_query_compatible_operation::NonQueryCompatibleOperationError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

tmp-codegen-diff/codegen-client-test/rpcv2cbor_query_compatible/rust-client-codegen/src/operation/query_compatible_operation/builders.rs

@@ -39,39 +99,100 @@
   59     59   
    pub fn as_input(&self) -> &crate::operation::query_compatible_operation::builders::QueryCompatibleOperationInputBuilder {
   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_compatible_operation::QueryCompatibleOperationOutput,
   74     75   
        ::aws_smithy_runtime_api::client::result::SdkError<
   75     76   
            crate::operation::query_compatible_operation::QueryCompatibleOperationError,
   76     77   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   77     78   
        >,
   78     79   
    > {
   79     80   
        let input = self

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

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