Client Test

Client Test

rev. c6c51da7dc6fa5b08256b92c54448d3e87c30265

Files changed:

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

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

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

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

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

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::update_item::builders::UpdateItemInputBuilder {
   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::update_item::UpdateItemOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::update_item::UpdateItemError,
   78     79   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   79     80   
        >,
   80     81   
    > {
   81     82   
        let input = self

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

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

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

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

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

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

tmp-codegen-diff/codegen-client-test/ebs/rust-client-codegen/src/config.rs

@@ -1220,1220 +1279,1280 @@
 1240   1240   
    let default_retry_partition = "ebs";
 1241   1241   
 1242   1242   
    let scope = "ebs";
 1243   1243   
 1244   1244   
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1245   1245   
                        // defaults
 1246   1246   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1247   1247   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1248   1248   
                                .with_retry_partition_name(default_retry_partition)
 1249   1249   
                                .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature."))
        1250  +
                                
 1250   1251   
                        ))
 1251   1252   
                        // user config
 1252   1253   
                        .with_client_plugin(
 1253   1254   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1254   1255   
                                .with_config(config.config.clone())
 1255   1256   
                                .with_runtime_components(config.runtime_components.clone())
 1256   1257   
                        )
 1257   1258   
                        // codegen config
 1258   1259   
                        .with_client_plugin(crate::config::ServiceRuntimePlugin::new(config.clone()))
 1259   1260   
                        .with_client_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePlugin::new())

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

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

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

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

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

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

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

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

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

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::put_snapshot_block::builders::PutSnapshotBlockInputBuilder {
   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::put_snapshot_block::PutSnapshotBlockOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::put_snapshot_block::PutSnapshotBlockError,
   78     79   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   79     80   
        >,
   80     81   
    > {
   81     82   
        let input = self

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

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::start_snapshot::builders::StartSnapshotInputBuilder {
   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::start_snapshot::StartSnapshotOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::start_snapshot::StartSnapshotError,
   78     79   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   79     80   
        >,
   80     81   
    > {
   81     82   
        let input = self

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/config.rs

@@ -1220,1220 +1279,1280 @@
 1240   1240   
    let default_retry_partition = "ec2protocol";
 1241   1241   
 1242   1242   
    let scope = "ec2_query";
 1243   1243   
 1244   1244   
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1245   1245   
                        // defaults
 1246   1246   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1247   1247   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1248   1248   
                                .with_retry_partition_name(default_retry_partition)
 1249   1249   
                                .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature."))
        1250  +
                                
 1250   1251   
                        ))
 1251   1252   
                        // user config
 1252   1253   
                        .with_client_plugin(
 1253   1254   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1254   1255   
                                .with_config(config.config.clone())
 1255   1256   
                                .with_runtime_components(config.runtime_components.clone())
 1256   1257   
                        )
 1257   1258   
                        // codegen config
 1258   1259   
                        .with_client_plugin(crate::config::ServiceRuntimePlugin::new(config.clone()))
 1259   1260   
                        .with_client_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePlugin::new())

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

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

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

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