AWS SDK

AWS SDK

rev. ded3fc0811120daa67f842ba97a9bade66a73475

Files changed:

tmp-codegen-diff/aws-sdk/sdk/s3/src/config/endpoint.rs

@@ -1,1 +57,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
pub use ::aws_smithy_runtime_api::client::endpoint::EndpointFuture;
    3      3   
pub use ::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver;
    4      4   
pub use ::aws_smithy_types::endpoint::Endpoint;
    5      5   
    6         -
/// Interceptor that tracks endpoint override business metric.
    7         -
#[derive(Debug, Default)]
    8         -
pub(crate) struct EndpointOverrideFeatureTrackerInterceptor;
    9         -
   10         -
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EndpointOverrideFeatureTrackerInterceptor {
   11         -
    fn name(&self) -> &'static str {
   12         -
        "EndpointOverrideFeatureTrackerInterceptor"
   13         -
    }
   14         -
   15         -
    fn read_before_execution(
   16         -
        &self,
   17         -
        _context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<'_>,
   18         -
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
   19         -
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
   20         -
        if cfg.load::<::aws_types::endpoint_config::EndpointUrl>().is_some() {
   21         -
            cfg.interceptor_state()
   22         -
                .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::EndpointOverride);
   23         -
        }
   24         -
        ::std::result::Result::Ok(())
   25         -
    }
   26         -
}
   27         -
   28      6   
#[cfg(test)]
   29      7   
mod test {
   30      8   
   31      9   
    /// region is not a valid DNS-suffix
   32     10   
    #[test]
   33     11   
    fn test_1() {
   34     12   
        let params = crate::config::endpoint::Params::builder()
   35     13   
            .region("a b".to_string())
   36     14   
            .use_fips(false)
   37     15   
            .use_dual_stack(false)

tmp-codegen-diff/aws-sdk/sdk/s3control/src/config.rs

@@ -1306,1306 +1366,1365 @@
 1326   1326   
        runtime_components.push_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier::default());
 1327   1327   
        runtime_components.push_interceptor(crate::sdk_feature_tracker::retry_mode::RetryModeFeatureTrackerInterceptor::new());
 1328   1328   
        runtime_components.push_interceptor(::aws_runtime::service_clock_skew::ServiceClockSkewInterceptor::new());
 1329   1329   
        runtime_components.push_interceptor(::aws_runtime::request_info::RequestInfoInterceptor::new());
 1330   1330   
        runtime_components.push_interceptor(::aws_runtime::user_agent::UserAgentInterceptor::new());
 1331   1331   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
 1332   1332   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1333   1333   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1334   1334   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1335   1335   
        ));
 1336         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1337   1336   
        Self { config, runtime_components }
 1338   1337   
    }
 1339   1338   
}
 1340   1339   
 1341   1340   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1342   1341   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1343   1342   
        self.config.clone()
 1344   1343   
    }
 1345   1344   
 1346   1345   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/s3control/src/config/endpoint.rs

@@ -1,1 +57,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
pub use ::aws_smithy_runtime_api::client::endpoint::EndpointFuture;
    3      3   
pub use ::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver;
    4      4   
pub use ::aws_smithy_types::endpoint::Endpoint;
    5      5   
    6         -
/// Interceptor that tracks endpoint override business metric.
    7         -
#[derive(Debug, Default)]
    8         -
pub(crate) struct EndpointOverrideFeatureTrackerInterceptor;
    9         -
   10         -
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EndpointOverrideFeatureTrackerInterceptor {
   11         -
    fn name(&self) -> &'static str {
   12         -
        "EndpointOverrideFeatureTrackerInterceptor"
   13         -
    }
   14         -
   15         -
    fn read_before_execution(
   16         -
        &self,
   17         -
        _context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<'_>,
   18         -
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
   19         -
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
   20         -
        if cfg.load::<::aws_types::endpoint_config::EndpointUrl>().is_some() {
   21         -
            cfg.interceptor_state()
   22         -
                .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::EndpointOverride);
   23         -
        }
   24         -
        ::std::result::Result::Ok(())
   25         -
    }
   26         -
}
   27         -
   28      6   
#[cfg(test)]
   29      7   
mod test {
   30      8   
   31      9   
    /// Vanilla outposts without ARN region + access point ARN@us-west-2
   32     10   
    #[test]
   33     11   
    fn test_1() {
   34     12   
        let params = crate::config::endpoint::Params::builder()
   35     13   
            .access_point_name("arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint".to_string())
   36     14   
            .account_id("123456789012".to_string())
   37     15   
            .region("us-west-2".to_string())

tmp-codegen-diff/aws-sdk/sdk/signin/src/config.rs

@@ -1277,1277 +1337,1336 @@
 1297   1297   
        runtime_components.push_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier::default());
 1298   1298   
        runtime_components.push_interceptor(crate::sdk_feature_tracker::retry_mode::RetryModeFeatureTrackerInterceptor::new());
 1299   1299   
        runtime_components.push_interceptor(::aws_runtime::service_clock_skew::ServiceClockSkewInterceptor::new());
 1300   1300   
        runtime_components.push_interceptor(::aws_runtime::request_info::RequestInfoInterceptor::new());
 1301   1301   
        runtime_components.push_interceptor(::aws_runtime::user_agent::UserAgentInterceptor::new());
 1302   1302   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
 1303   1303   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1304   1304   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1305   1305   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1306   1306   
        ));
 1307         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1308   1307   
        Self { config, runtime_components }
 1309   1308   
    }
 1310   1309   
}
 1311   1310   
 1312   1311   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1313   1312   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1314   1313   
        self.config.clone()
 1315   1314   
    }
 1316   1315   
 1317   1316   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/signin/src/config/endpoint.rs

@@ -1,1 +57,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
pub use ::aws_smithy_runtime_api::client::endpoint::EndpointFuture;
    3      3   
pub use ::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver;
    4      4   
pub use ::aws_smithy_types::endpoint::Endpoint;
    5      5   
    6         -
/// Interceptor that tracks endpoint override business metric.
    7         -
#[derive(Debug, Default)]
    8         -
pub(crate) struct EndpointOverrideFeatureTrackerInterceptor;
    9         -
   10         -
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EndpointOverrideFeatureTrackerInterceptor {
   11         -
    fn name(&self) -> &'static str {
   12         -
        "EndpointOverrideFeatureTrackerInterceptor"
   13         -
    }
   14         -
   15         -
    fn read_before_execution(
   16         -
        &self,
   17         -
        _context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<'_>,
   18         -
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
   19         -
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
   20         -
        if cfg.load::<::aws_types::endpoint_config::EndpointUrl>().is_some() {
   21         -
            cfg.interceptor_state()
   22         -
                .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::EndpointOverride);
   23         -
        }
   24         -
        ::std::result::Result::Ok(())
   25         -
    }
   26         -
}
   27         -
   28      6   
#[cfg(test)]
   29      7   
mod test {
   30      8   
   31      9   
    /// For custom endpoint with region not set and fips disabled
   32     10   
    #[test]
   33     11   
    fn test_1() {
   34     12   
        let params = crate::config::endpoint::Params::builder()
   35     13   
            .endpoint("https://example.com".to_string())
   36     14   
            .use_fips(false)
   37     15   
            .build()

tmp-codegen-diff/aws-sdk/sdk/sso/src/config.rs

@@ -1277,1277 +1337,1336 @@
 1297   1297   
        runtime_components.push_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier::default());
 1298   1298   
        runtime_components.push_interceptor(crate::sdk_feature_tracker::retry_mode::RetryModeFeatureTrackerInterceptor::new());
 1299   1299   
        runtime_components.push_interceptor(::aws_runtime::service_clock_skew::ServiceClockSkewInterceptor::new());
 1300   1300   
        runtime_components.push_interceptor(::aws_runtime::request_info::RequestInfoInterceptor::new());
 1301   1301   
        runtime_components.push_interceptor(::aws_runtime::user_agent::UserAgentInterceptor::new());
 1302   1302   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
 1303   1303   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1304   1304   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1305   1305   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1306   1306   
        ));
 1307         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1308   1307   
        Self { config, runtime_components }
 1309   1308   
    }
 1310   1309   
}
 1311   1310   
 1312   1311   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1313   1312   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1314   1313   
        self.config.clone()
 1315   1314   
    }
 1316   1315   
 1317   1316   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/sso/src/config/endpoint.rs

@@ -1,1 +57,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
pub use ::aws_smithy_runtime_api::client::endpoint::EndpointFuture;
    3      3   
pub use ::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver;
    4      4   
pub use ::aws_smithy_types::endpoint::Endpoint;
    5      5   
    6         -
/// Interceptor that tracks endpoint override business metric.
    7         -
#[derive(Debug, Default)]
    8         -
pub(crate) struct EndpointOverrideFeatureTrackerInterceptor;
    9         -
   10         -
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EndpointOverrideFeatureTrackerInterceptor {
   11         -
    fn name(&self) -> &'static str {
   12         -
        "EndpointOverrideFeatureTrackerInterceptor"
   13         -
    }
   14         -
   15         -
    fn read_before_execution(
   16         -
        &self,
   17         -
        _context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<'_>,
   18         -
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
   19         -
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
   20         -
        if cfg.load::<::aws_types::endpoint_config::EndpointUrl>().is_some() {
   21         -
            cfg.interceptor_state()
   22         -
                .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::EndpointOverride);
   23         -
        }
   24         -
        ::std::result::Result::Ok(())
   25         -
    }
   26         -
}
   27         -
   28      6   
#[cfg(test)]
   29      7   
mod test {
   30      8   
   31      9   
    /// For region ap-east-1 with FIPS disabled and DualStack disabled
   32     10   
    #[test]
   33     11   
    fn test_1() {
   34     12   
        let params = crate::config::endpoint::Params::builder()
   35     13   
            .region("ap-east-1".to_string())
   36     14   
            .use_fips(false)
   37     15   
            .use_dual_stack(false)

tmp-codegen-diff/aws-sdk/sdk/ssooidc/src/config.rs

@@ -1277,1277 +1337,1336 @@
 1297   1297   
        runtime_components.push_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier::default());
 1298   1298   
        runtime_components.push_interceptor(crate::sdk_feature_tracker::retry_mode::RetryModeFeatureTrackerInterceptor::new());
 1299   1299   
        runtime_components.push_interceptor(::aws_runtime::service_clock_skew::ServiceClockSkewInterceptor::new());
 1300   1300   
        runtime_components.push_interceptor(::aws_runtime::request_info::RequestInfoInterceptor::new());
 1301   1301   
        runtime_components.push_interceptor(::aws_runtime::user_agent::UserAgentInterceptor::new());
 1302   1302   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
 1303   1303   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1304   1304   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1305   1305   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1306   1306   
        ));
 1307         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1308   1307   
        Self { config, runtime_components }
 1309   1308   
    }
 1310   1309   
}
 1311   1310   
 1312   1311   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1313   1312   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1314   1313   
        self.config.clone()
 1315   1314   
    }
 1316   1315   
 1317   1316   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/ssooidc/src/config/endpoint.rs

@@ -1,1 +57,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
pub use ::aws_smithy_runtime_api::client::endpoint::EndpointFuture;
    3      3   
pub use ::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver;
    4      4   
pub use ::aws_smithy_types::endpoint::Endpoint;
    5      5   
    6         -
/// Interceptor that tracks endpoint override business metric.
    7         -
#[derive(Debug, Default)]
    8         -
pub(crate) struct EndpointOverrideFeatureTrackerInterceptor;
    9         -
   10         -
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EndpointOverrideFeatureTrackerInterceptor {
   11         -
    fn name(&self) -> &'static str {
   12         -
        "EndpointOverrideFeatureTrackerInterceptor"
   13         -
    }
   14         -
   15         -
    fn read_before_execution(
   16         -
        &self,
   17         -
        _context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<'_>,
   18         -
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
   19         -
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
   20         -
        if cfg.load::<::aws_types::endpoint_config::EndpointUrl>().is_some() {
   21         -
            cfg.interceptor_state()
   22         -
                .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::EndpointOverride);
   23         -
        }
   24         -
        ::std::result::Result::Ok(())
   25         -
    }
   26         -
}
   27         -
   28      6   
#[cfg(test)]
   29      7   
mod test {
   30      8   
   31      9   
    /// For region ap-east-1 with FIPS disabled and DualStack disabled
   32     10   
    #[test]
   33     11   
    fn test_1() {
   34     12   
        let params = crate::config::endpoint::Params::builder()
   35     13   
            .region("ap-east-1".to_string())
   36     14   
            .use_fips(false)
   37     15   
            .use_dual_stack(false)

tmp-codegen-diff/aws-sdk/sdk/sts/src/config.rs

@@ -1277,1277 +1337,1336 @@
 1297   1297   
        runtime_components.push_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier::default());
 1298   1298   
        runtime_components.push_interceptor(crate::sdk_feature_tracker::retry_mode::RetryModeFeatureTrackerInterceptor::new());
 1299   1299   
        runtime_components.push_interceptor(::aws_runtime::service_clock_skew::ServiceClockSkewInterceptor::new());
 1300   1300   
        runtime_components.push_interceptor(::aws_runtime::request_info::RequestInfoInterceptor::new());
 1301   1301   
        runtime_components.push_interceptor(::aws_runtime::user_agent::UserAgentInterceptor::new());
 1302   1302   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
 1303   1303   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1304   1304   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1305   1305   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1306   1306   
        ));
 1307         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1308   1307   
        Self { config, runtime_components }
 1309   1308   
    }
 1310   1309   
}
 1311   1310   
 1312   1311   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1313   1312   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1314   1313   
        self.config.clone()
 1315   1314   
    }
 1316   1315   
 1317   1316   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/sts/src/config/endpoint.rs

@@ -1,1 +57,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
pub use ::aws_smithy_runtime_api::client::endpoint::EndpointFuture;
    3      3   
pub use ::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver;
    4      4   
pub use ::aws_smithy_types::endpoint::Endpoint;
    5      5   
    6         -
/// Interceptor that tracks endpoint override business metric.
    7         -
#[derive(Debug, Default)]
    8         -
pub(crate) struct EndpointOverrideFeatureTrackerInterceptor;
    9         -
   10         -
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EndpointOverrideFeatureTrackerInterceptor {
   11         -
    fn name(&self) -> &'static str {
   12         -
        "EndpointOverrideFeatureTrackerInterceptor"
   13         -
    }
   14         -
   15         -
    fn read_before_execution(
   16         -
        &self,
   17         -
        _context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<'_>,
   18         -
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
   19         -
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
   20         -
        if cfg.load::<::aws_types::endpoint_config::EndpointUrl>().is_some() {
   21         -
            cfg.interceptor_state()
   22         -
                .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::EndpointOverride);
   23         -
        }
   24         -
        ::std::result::Result::Ok(())
   25         -
    }
   26         -
}
   27         -
   28      6   
#[cfg(test)]
   29      7   
mod test {
   30      8   
   31      9   
    /// For region af-south-1 with FIPS disabled and DualStack disabled
   32     10   
    #[test]
   33     11   
    fn test_1() {
   34     12   
        let params = crate::config::endpoint::Params::builder()
   35     13   
            .region("af-south-1".to_string())
   36     14   
            .use_fips(false)
   37     15   
            .use_dual_stack(false)

tmp-codegen-diff/aws-sdk/sdk/timestreamquery/src/config.rs

@@ -1295,1295 +1355,1354 @@
 1315   1315   
        runtime_components.push_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier::default());
 1316   1316   
        runtime_components.push_interceptor(crate::sdk_feature_tracker::retry_mode::RetryModeFeatureTrackerInterceptor::new());
 1317   1317   
        runtime_components.push_interceptor(::aws_runtime::service_clock_skew::ServiceClockSkewInterceptor::new());
 1318   1318   
        runtime_components.push_interceptor(::aws_runtime::request_info::RequestInfoInterceptor::new());
 1319   1319   
        runtime_components.push_interceptor(::aws_runtime::user_agent::UserAgentInterceptor::new());
 1320   1320   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
 1321   1321   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1322   1322   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1323   1323   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1324   1324   
        ));
 1325         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1326   1325   
        Self { config, runtime_components }
 1327   1326   
    }
 1328   1327   
}
 1329   1328   
 1330   1329   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1331   1330   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1332   1331   
        self.config.clone()
 1333   1332   
    }
 1334   1333   
 1335   1334   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/timestreamquery/src/config/endpoint.rs

@@ -1,1 +57,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
pub use ::aws_smithy_runtime_api::client::endpoint::EndpointFuture;
    3      3   
pub use ::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver;
    4      4   
pub use ::aws_smithy_types::endpoint::Endpoint;
    5      5   
    6         -
/// Interceptor that tracks endpoint override business metric.
    7         -
#[derive(Debug, Default)]
    8         -
pub(crate) struct EndpointOverrideFeatureTrackerInterceptor;
    9         -
   10         -
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EndpointOverrideFeatureTrackerInterceptor {
   11         -
    fn name(&self) -> &'static str {
   12         -
        "EndpointOverrideFeatureTrackerInterceptor"
   13         -
    }
   14         -
   15         -
    fn read_before_execution(
   16         -
        &self,
   17         -
        _context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<'_>,
   18         -
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
   19         -
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
   20         -
        if cfg.load::<::aws_types::endpoint_config::EndpointUrl>().is_some() {
   21         -
            cfg.interceptor_state()
   22         -
                .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::EndpointOverride);
   23         -
        }
   24         -
        ::std::result::Result::Ok(())
   25         -
    }
   26         -
}
   27         -
   28      6   
#[cfg(test)]
   29      7   
mod test {
   30      8   
   31      9   
    /// For region ap-northeast-1 with FIPS disabled and DualStack disabled
   32     10   
    #[test]
   33     11   
    fn test_1() {
   34     12   
        let params = crate::config::endpoint::Params::builder()
   35     13   
            .region("ap-northeast-1".to_string())
   36     14   
            .use_fips(false)
   37     15   
            .use_dual_stack(false)

tmp-codegen-diff/aws-sdk/sdk/timestreamwrite/src/config.rs

@@ -1295,1295 +1355,1354 @@
 1315   1315   
        runtime_components.push_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier::default());
 1316   1316   
        runtime_components.push_interceptor(crate::sdk_feature_tracker::retry_mode::RetryModeFeatureTrackerInterceptor::new());
 1317   1317   
        runtime_components.push_interceptor(::aws_runtime::service_clock_skew::ServiceClockSkewInterceptor::new());
 1318   1318   
        runtime_components.push_interceptor(::aws_runtime::request_info::RequestInfoInterceptor::new());
 1319   1319   
        runtime_components.push_interceptor(::aws_runtime::user_agent::UserAgentInterceptor::new());
 1320   1320   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
 1321   1321   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1322   1322   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1323   1323   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1324   1324   
        ));
 1325         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1326   1325   
        Self { config, runtime_components }
 1327   1326   
    }
 1328   1327   
}
 1329   1328   
 1330   1329   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1331   1330   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1332   1331   
        self.config.clone()
 1333   1332   
    }
 1334   1333   
 1335   1334   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/timestreamwrite/src/config/endpoint.rs

@@ -1,1 +57,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
pub use ::aws_smithy_runtime_api::client::endpoint::EndpointFuture;
    3      3   
pub use ::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver;
    4      4   
pub use ::aws_smithy_types::endpoint::Endpoint;
    5      5   
    6         -
/// Interceptor that tracks endpoint override business metric.
    7         -
#[derive(Debug, Default)]
    8         -
pub(crate) struct EndpointOverrideFeatureTrackerInterceptor;
    9         -
   10         -
impl ::aws_smithy_runtime_api::client::interceptors::Intercept for EndpointOverrideFeatureTrackerInterceptor {
   11         -
    fn name(&self) -> &'static str {
   12         -
        "EndpointOverrideFeatureTrackerInterceptor"
   13         -
    }
   14         -
   15         -
    fn read_before_execution(
   16         -
        &self,
   17         -
        _context: &::aws_smithy_runtime_api::client::interceptors::context::BeforeSerializationInterceptorContextRef<'_>,
   18         -
        cfg: &mut ::aws_smithy_types::config_bag::ConfigBag,
   19         -
    ) -> ::std::result::Result<(), ::aws_smithy_runtime_api::box_error::BoxError> {
   20         -
        if cfg.load::<::aws_types::endpoint_config::EndpointUrl>().is_some() {
   21         -
            cfg.interceptor_state()
   22         -
                .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::EndpointOverride);
   23         -
        }
   24         -
        ::std::result::Result::Ok(())
   25         -
    }
   26         -
}
   27         -
   28      6   
#[cfg(test)]
   29      7   
mod test {
   30      8   
   31      9   
    /// For region ap-northeast-1 with FIPS disabled and DualStack disabled
   32     10   
    #[test]
   33     11   
    fn test_1() {
   34     12   
        let params = crate::config::endpoint::Params::builder()
   35     13   
            .region("ap-northeast-1".to_string())
   36     14   
            .use_fips(false)
   37     15   
            .use_dual_stack(false)

tmp-codegen-diff/aws-sdk/sdk/transcribestreaming/src/config.rs

@@ -1277,1277 +1337,1336 @@
 1297   1297   
        runtime_components.push_retry_classifier(::aws_smithy_runtime::client::retries::classifiers::HttpStatusCodeClassifier::default());
 1298   1298   
        runtime_components.push_interceptor(crate::sdk_feature_tracker::retry_mode::RetryModeFeatureTrackerInterceptor::new());
 1299   1299   
        runtime_components.push_interceptor(::aws_runtime::service_clock_skew::ServiceClockSkewInterceptor::new());
 1300   1300   
        runtime_components.push_interceptor(::aws_runtime::request_info::RequestInfoInterceptor::new());
 1301   1301   
        runtime_components.push_interceptor(::aws_runtime::user_agent::UserAgentInterceptor::new());
 1302   1302   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
 1303   1303   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1304   1304   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1305   1305   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1306   1306   
        ));
 1307         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1308   1307   
        Self { config, runtime_components }
 1309   1308   
    }
 1310   1309   
}
 1311   1310   
 1312   1311   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1313   1312   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1314   1313   
        self.config.clone()
 1315   1314   
    }
 1316   1315   
 1317   1316   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {