Client Test

Client Test

rev. a6a605b6340afa93bd608cee1f77bf7bbb80ccda

Files changed:

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

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

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

@@ -33,33 +93,94 @@
   53     53   
    pub fn as_input(&self) -> &crate::operation::result::builders::ResultInputBuilder {
   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::result::ResultOutput,
   68     69   
        ::aws_smithy_runtime_api::client::result::SdkError<
   69     70   
            crate::operation::result::ResultError,
   70     71   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   71     72   
        >,
   72     73   
    > {
   73     74   
        let input = self

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

@@ -33,33 +93,94 @@
   53     53   
    pub fn as_input(&self) -> &crate::operation::rpc_echo::builders::RpcEchoInputBuilder {
   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::rpc_echo::RpcEchoOutput,
   68     69   
        ::aws_smithy_runtime_api::client::result::SdkError<
   69     70   
            crate::operation::rpc_echo::RPCEchoError,
   70     71   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   71     72   
        >,
   72     73   
    > {
   73     74   
        let input = self

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

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

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

@@ -33,33 +93,94 @@
   53     53   
    pub fn as_input(&self) -> &crate::operation::structs::builders::StructsInputBuilder {
   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::structs::StructsOutput,
   68     69   
        ::aws_smithy_runtime_api::client::result::SdkError<
   69     70   
            crate::operation::structs::StructsError,
   70     71   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   71     72   
        >,
   72     73   
    > {
   73     74   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-awsjson-client/rust-client-codegen/src/operation/capture_pokemon/builders.rs

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

tmp-codegen-diff/codegen-client-test/pokemon-service-awsjson-client/rust-client-codegen/src/operation/check_health/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::check_health::builders::CheckHealthInputBuilder {
   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::check_health::CheckHealthOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::check_health::CheckHealthError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-awsjson-client/rust-client-codegen/src/operation/do_nothing/builders.rs

@@ -34,34 +94,95 @@
   54     54   
    pub fn as_input(&self) -> &crate::operation::do_nothing::builders::DoNothingInputBuilder {
   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::do_nothing::DoNothingOutput,
   69     70   
        ::aws_smithy_runtime_api::client::result::SdkError<
   70     71   
            crate::operation::do_nothing::DoNothingError,
   71     72   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   72     73   
        >,
   73     74   
    > {
   74     75   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-awsjson-client/rust-client-codegen/src/operation/get_server_statistics/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::get_server_statistics::builders::GetServerStatisticsInputBuilder {
   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::get_server_statistics::GetServerStatisticsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::get_server_statistics::GetServerStatisticsError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-client/rust-client-codegen/src/operation/capture_pokemon/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::capture_pokemon::builders::CapturePokemonInputBuilder {
   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::capture_pokemon::CapturePokemonOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::capture_pokemon::CapturePokemonError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-client/rust-client-codegen/src/operation/check_health/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::check_health::builders::CheckHealthInputBuilder {
   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::check_health::CheckHealthOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::check_health::CheckHealthError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-client/rust-client-codegen/src/operation/do_nothing/builders.rs

@@ -34,34 +94,95 @@
   54     54   
    pub fn as_input(&self) -> &crate::operation::do_nothing::builders::DoNothingInputBuilder {
   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::do_nothing::DoNothingOutput,
   69     70   
        ::aws_smithy_runtime_api::client::result::SdkError<
   70     71   
            crate::operation::do_nothing::DoNothingError,
   71     72   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   72     73   
        >,
   73     74   
    > {
   74     75   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-client/rust-client-codegen/src/operation/get_pokemon_species/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::get_pokemon_species::builders::GetPokemonSpeciesInputBuilder {
   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::get_pokemon_species::GetPokemonSpeciesOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::get_pokemon_species::GetPokemonSpeciesError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-client/rust-client-codegen/src/operation/get_server_statistics/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::get_server_statistics::builders::GetServerStatisticsInputBuilder {
   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::get_server_statistics::GetServerStatisticsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::get_server_statistics::GetServerStatisticsError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-client/rust-client-codegen/src/operation/get_storage/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::get_storage::builders::GetStorageInputBuilder {
   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::get_storage::GetStorageOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::get_storage::GetStorageError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/codegen-client-test/pokemon-service-client/rust-client-codegen/src/operation/stream_pokemon_radio/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::stream_pokemon_radio::builders::StreamPokemonRadioInputBuilder {
   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::stream_pokemon_radio::StreamPokemonRadioOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::stream_pokemon_radio::StreamPokemonRadioError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self