Client Test

Client Test

rev. daaaaae30b6928be97b33eccac35ffadde7c457d (ignoring whitespace)

Files changed:

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

@@ -1204,1204 +1263,1264 @@
 1224   1224   
    let default_retry_partition = "restjsonprotocol";
 1225   1225   
 1226   1226   
    let scope = "rest_json_extras";
 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_xml/rust-client-codegen/src/config.rs

@@ -1220,1220 +1279,1280 @@
 1240   1240   
    let default_retry_partition = "restxmlprotocol";
 1241   1241   
 1242   1242   
    let scope = "rest_xml";
 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/rest_xml_extras/rust-client-codegen/src/config.rs

@@ -1204,1204 +1263,1264 @@
 1224   1224   
    let default_retry_partition = "restxmlprotocol";
 1225   1225   
 1226   1226   
    let scope = "rest_xml_extras";
 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_xml_extras_unwrapped/rust-client-codegen/src/config.rs

@@ -1204,1204 +1263,1264 @@
 1224   1224   
    let default_retry_partition = "restxmlprotocol";
 1225   1225   
 1226   1226   
    let scope = "rest_xml_extras_unwrapped";
 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_xml_namespace/rust-client-codegen/src/config.rs

@@ -1204,1204 +1263,1264 @@
 1224   1224   
    let default_retry_partition = "restxmlprotocolnamespace";
 1225   1225   
 1226   1226   
    let scope = "rest_xml_namespace";
 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/rpcv2Cbor/rust-client-codegen/src/config.rs

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

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

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

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

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

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

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

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  +
                                .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())