Client Test

Client Test

rev. e96d5c6b680352523680952a00db27b5103ca7d9

Files changed:

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/config.rs

@@ -1202,1202 +1261,1262 @@
 1222   1222   
    let default_retry_partition = "simpleservice";
 1223   1223   
 1224   1224   
    let scope = "simple";
 1225   1225   
 1226   1226   
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1227   1227   
                        // defaults
 1228   1228   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1229   1229   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1230   1230   
                                .with_retry_partition_name(default_retry_partition)
 1231   1231   
                                .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."))
        1232  +
                                
 1232   1233   
                        ))
 1233   1234   
                        // user config
 1234   1235   
                        .with_client_plugin(
 1235   1236   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1236   1237   
                                .with_config(config.config.clone())
 1237   1238   
                                .with_runtime_components(config.runtime_components.clone())
 1238   1239   
                        )
 1239   1240   
                        // codegen config
 1240   1241   
                        .with_client_plugin(crate::config::ServiceRuntimePlugin::new(config.clone()))
 1241   1242   
                        .with_client_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePlugin::new())

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