Client Test

Client Test

rev. 37ca4f54c48d351f8f3d2c0d6f191dc4f56fa6f4

Files changed:

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

@@ -1220,1220 +1279,1280 @@
 1240   1240   
    let default_retry_partition = "queryprotocol";
 1241   1241   
 1242   1242   
    let scope = "aws_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  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 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/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  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 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/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  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 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/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  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 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/endpoint-rules/rust-client-codegen/src/config.rs

@@ -1214,1214 +1273,1274 @@
 1234   1234   
    let default_retry_partition = "testservice";
 1235   1235   
 1236   1236   
    let scope = "endpoint-rules";
 1237   1237   
 1238   1238   
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1239   1239   
                        // defaults
 1240   1240   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1241   1241   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1242   1242   
                                .with_retry_partition_name(default_retry_partition)
 1243   1243   
                                .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."))
        1244  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 1244   1245   
                        ))
 1245   1246   
                        // user config
 1246   1247   
                        .with_client_plugin(
 1247   1248   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1248   1249   
                                .with_config(config.config.clone())
 1249   1250   
                                .with_runtime_components(config.runtime_components.clone())
 1250   1251   
                        )
 1251   1252   
                        // codegen config
 1252   1253   
                        .with_client_plugin(crate::config::ServiceRuntimePlugin::new(config.clone()))
 1253   1254   
                        .with_client_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePlugin::new())

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

@@ -1202,1202 +1261,1262 @@
 1222   1222   
    let default_retry_partition = "jsonrpc10";
 1223   1223   
 1224   1224   
    let scope = "json_rpc10";
 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  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 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/json_rpc11/rust-client-codegen/src/config.rs

@@ -1202,1202 +1261,1262 @@
 1222   1222   
    let default_retry_partition = "jsonprotocol";
 1223   1223   
 1224   1224   
    let scope = "json_rpc11";
 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  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 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/misc/rust-client-codegen/src/config.rs

@@ -1202,1202 +1261,1262 @@
 1222   1222   
    let default_retry_partition = "miscservice";
 1223   1223   
 1224   1224   
    let scope = "misc";
 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  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 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/naming_test_casing/rust-client-codegen/src/config.rs

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

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

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

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

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

tmp-codegen-diff/codegen-client-test/pokemon-service-awsjson-client/rust-client-codegen/src/config.rs

@@ -1204,1204 +1263,1264 @@
 1224   1224   
    let default_retry_partition = "pokemonservice";
 1225   1225   
 1226   1226   
    let scope = "pokemon-service-awsjson-client";
 1227   1227   
 1228   1228   
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1229   1229   
                        // defaults
 1230   1230   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1231   1231   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1232   1232   
                                .with_retry_partition_name(default_retry_partition)
 1233   1233   
                                .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."))
        1234  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 1234   1235   
                        ))
 1235   1236   
                        // user config
 1236   1237   
                        .with_client_plugin(
 1237   1238   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1238   1239   
                                .with_config(config.config.clone())
 1239   1240   
                                .with_runtime_components(config.runtime_components.clone())
 1240   1241   
                        )
 1241   1242   
                        // codegen config
 1242   1243   
                        .with_client_plugin(crate::config::ServiceRuntimePlugin::new(config.clone()))
 1243   1244   
                        .with_client_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePlugin::new())

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

@@ -1204,1204 +1263,1264 @@
 1224   1224   
    let default_retry_partition = "pokemonservice";
 1225   1225   
 1226   1226   
    let scope = "pokemon-service-client";
 1227   1227   
 1228   1228   
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1229   1229   
                        // defaults
 1230   1230   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1231   1231   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1232   1232   
                                .with_retry_partition_name(default_retry_partition)
 1233   1233   
                                .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."))
        1234  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 1234   1235   
                        ))
 1235   1236   
                        // user config
 1236   1237   
                        .with_client_plugin(
 1237   1238   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1238   1239   
                                .with_config(config.config.clone())
 1239   1240   
                                .with_runtime_components(config.runtime_components.clone())
 1240   1241   
                        )
 1241   1242   
                        // codegen config
 1242   1243   
                        .with_client_plugin(crate::config::ServiceRuntimePlugin::new(config.clone()))
 1243   1244   
                        .with_client_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePlugin::new())

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

@@ -1204,1204 +1263,1264 @@
 1224   1224   
    let default_retry_partition = "querycompatservice";
 1225   1225   
 1226   1226   
    let scope = "query-compat-test";
 1227   1227   
 1228   1228   
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1229   1229   
                        // defaults
 1230   1230   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1231   1231   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1232   1232   
                                .with_retry_partition_name(default_retry_partition)
 1233   1233   
                                .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."))
        1234  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 1234   1235   
                        ))
 1235   1236   
                        // user config
 1236   1237   
                        .with_client_plugin(
 1237   1238   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1238   1239   
                                .with_config(config.config.clone())
 1239   1240   
                                .with_runtime_components(config.runtime_components.clone())
 1240   1241   
                        )
 1241   1242   
                        // codegen config
 1242   1243   
                        .with_client_plugin(crate::config::ServiceRuntimePlugin::new(config.clone()))
 1243   1244   
                        .with_client_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePlugin::new())

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

@@ -1220,1220 +1279,1280 @@
 1240   1240   
    let default_retry_partition = "restjsonprotocol";
 1241   1241   
 1242   1242   
    let scope = "rest_json";
 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  +
                                .with_time_source(config.runtime_components.time_source().unwrap_or_default())
 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())