Client Test

Client Test

rev. c6c51da7dc6fa5b08256b92c54448d3e87c30265

Files changed:

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

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

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

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

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

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::xml_timestamps::builders::XmlTimestampsInputBuilder {
   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::xml_timestamps::XmlTimestampsOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::xml_timestamps::XmlTimestampsError,
   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/config.rs

@@ -1220,1220 +1279,1280 @@
 1240   1240   
    let default_retry_partition = "dynamodb";
 1241   1241   
 1242   1242   
    let scope = "dynamo";
 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/dynamo/rust-client-codegen/src/operation/batch_execute_statement/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::batch_execute_statement::builders::BatchExecuteStatementInputBuilder {
   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::batch_execute_statement::BatchExecuteStatementOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::batch_execute_statement::BatchExecuteStatementError,
   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/batch_get_item/builders.rs

@@ -52,52 +112,113 @@
   72     72   
    pub fn as_input(&self) -> &crate::operation::batch_get_item::builders::BatchGetItemInputBuilder {
   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::batch_get_item::BatchGetItemOutput,
   87     88   
        ::aws_smithy_runtime_api::client::result::SdkError<
   88     89   
            crate::operation::batch_get_item::BatchGetItemError,
   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/batch_write_item/builders.rs

@@ -67,67 +127,128 @@
   87     87   
    pub fn as_input(&self) -> &crate::operation::batch_write_item::builders::BatchWriteItemInputBuilder {
   88     88   
        &self.inner
   89     89   
    }
   90     90   
    /// Sends the request and returns the response.
   91     91   
    ///
   92     92   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   93     93   
    /// can be matched against.
   94     94   
    ///
   95     95   
    /// By default, any retryable failures will be retried twice. Retry behavior
   96     96   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   97         -
    /// set when configuring the client.
          97  +
    /// set when configuring the client. Note: retries are enabled by default when using
          98  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   98     99   
    pub async fn send(
   99    100   
        self,
  100    101   
    ) -> ::std::result::Result<
  101    102   
        crate::operation::batch_write_item::BatchWriteItemOutput,
  102    103   
        ::aws_smithy_runtime_api::client::result::SdkError<
  103    104   
            crate::operation::batch_write_item::BatchWriteItemError,
  104    105   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  105    106   
        >,
  106    107   
    > {
  107    108   
        let input = self

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

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

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

@@ -70,70 +130,131 @@
   90     90   
    pub fn as_input(&self) -> &crate::operation::create_global_table::builders::CreateGlobalTableInputBuilder {
   91     91   
        &self.inner
   92     92   
    }
   93     93   
    /// Sends the request and returns the response.
   94     94   
    ///
   95     95   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   96     96   
    /// can be matched against.
   97     97   
    ///
   98     98   
    /// By default, any retryable failures will be retried twice. Retry behavior
   99     99   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
  100         -
    /// set when configuring the client.
         100  +
    /// set when configuring the client. Note: retries are enabled by default when using
         101  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
  101    102   
    pub async fn send(
  102    103   
        self,
  103    104   
    ) -> ::std::result::Result<
  104    105   
        crate::operation::create_global_table::CreateGlobalTableOutput,
  105    106   
        ::aws_smithy_runtime_api::client::result::SdkError<
  106    107   
            crate::operation::create_global_table::CreateGlobalTableError,
  107    108   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  108    109   
        >,
  109    110   
    > {
  110    111   
        let input = self

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

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

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

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::delete_backup::builders::DeleteBackupInputBuilder {
   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::delete_backup::DeleteBackupOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::delete_backup::DeleteBackupError,
   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/delete_item/builders.rs

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

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

@@ -45,45 +105,106 @@
   65     65   
    pub fn as_input(&self) -> &crate::operation::delete_table::builders::DeleteTableInputBuilder {
   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::delete_table::DeleteTableOutput,
   80     81   
        ::aws_smithy_runtime_api::client::result::SdkError<
   81     82   
            crate::operation::delete_table::DeleteTableError,
   82     83   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   83     84   
        >,
   84     85   
    > {
   85     86   
        let input = self

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

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::describe_backup::builders::DescribeBackupInputBuilder {
   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::describe_backup::DescribeBackupOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::describe_backup::DescribeBackupError,
   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/describe_continuous_backups/builders.rs

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

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

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