AWS SDK

AWS SDK

rev. ded3fc0811120daa67f842ba97a9bade66a73475 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/ec2/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/ecs/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/ecs/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/glacier/src/config.rs

@@ -1278,1278 +1338,1337 @@
 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(crate::glacier_interceptors::GlacierApiVersionInterceptor::new("2012-06-01"));
 1303   1303   
        runtime_components.push_interceptor(::aws_runtime::invocation_id::InvocationIdInterceptor::new());
 1304   1304   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1305   1305   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1306   1306   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1307   1307   
        ));
 1308         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1309   1308   
        Self { config, runtime_components }
 1310   1309   
    }
 1311   1310   
}
 1312   1311   
 1313   1312   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1314   1313   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1315   1314   
        self.config.clone()
 1316   1315   
    }
 1317   1316   
 1318   1317   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/glacier/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/iam/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/iam/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/kms/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/kms/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/lambda/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/lambda/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/polly/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/polly/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/route53/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/route53/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 aws-global 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("aws-global".to_string())
   36     14   
            .use_fips(false)
   37     15   
            .use_dual_stack(false)

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

@@ -1435,1435 +1495,1494 @@
 1455   1455   
        runtime_components.push_interceptor(::aws_runtime::recursion_detection::RecursionDetectionInterceptor::new());
 1456   1456   
        runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1457   1457   
            ::aws_runtime::auth::sigv4::SigV4AuthScheme::new(),
 1458   1458   
        ));
 1459   1459   
        #[cfg(feature = "sigv4a")]
 1460   1460   
        {
 1461   1461   
            runtime_components.push_auth_scheme(::aws_smithy_runtime_api::client::auth::SharedAuthScheme::new(
 1462   1462   
                ::aws_runtime::auth::sigv4a::SigV4aAuthScheme::new(),
 1463   1463   
            ));
 1464   1464   
        }
 1465         -
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
 1466   1465   
        Self { config, runtime_components }
 1467   1466   
    }
 1468   1467   
}
 1469   1468   
 1470   1469   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1471   1470   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1472   1471   
        self.config.clone()
 1473   1472   
    }
 1474   1473   
 1475   1474   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {