AWS SDK

AWS SDK

rev. 703af49b7608996376f0414c2c5111bb1f2461f0 (ignoring whitespace)

Files changed:

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

@@ -1278,1278 +1337,1338 @@
 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   1307   
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
        1308  +
        runtime_components.push_interceptor(crate::observability_feature::ObservabilityFeatureTrackerInterceptor);
 1308   1309   
        Self { config, runtime_components }
 1309   1310   
    }
 1310   1311   
}
 1311   1312   
 1312   1313   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1313   1314   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1314   1315   
        self.config.clone()
 1315   1316   
    }
 1316   1317   
 1317   1318   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/kms/src/lib.rs

@@ -191,191 +236,238 @@
  211    211   
  212    212   
/// All operations that this crate can perform.
  213    213   
pub mod operation;
  214    214   
  215    215   
/// Primitives such as `Blob` or `DateTime` used by other types.
  216    216   
pub mod primitives;
  217    217   
  218    218   
/// Data structures used by operation inputs/outputs.
  219    219   
pub mod types;
  220    220   
         221  +
mod observability_feature;
         222  +
  221    223   
pub(crate) mod protocol_serde;
  222    224   
  223    225   
mod sdk_feature_tracker;
  224    226   
  225    227   
mod serialization_settings;
  226    228   
  227    229   
mod endpoint_lib;
  228    230   
  229    231   
mod lens;
  230    232   

tmp-codegen-diff/aws-sdk/sdk/kms/src/observability_feature.rs

@@ -0,1 +0,38 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/*
           3  +
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
           4  +
 * SPDX-License-Identifier: Apache-2.0
           5  +
 */
           6  +
           7  +
use aws_smithy_runtime::client::sdk_feature::SmithySdkFeature;
           8  +
use aws_smithy_runtime_api::{
           9  +
    box_error::BoxError,
          10  +
    client::interceptors::{context::BeforeSerializationInterceptorContextRef, Intercept},
          11  +
};
          12  +
use aws_smithy_types::config_bag::ConfigBag;
          13  +
          14  +
// Interceptor that tracks Smithy SDK features for observability (tracing/metrics).
          15  +
#[derive(Debug, Default)]
          16  +
pub(crate) struct ObservabilityFeatureTrackerInterceptor;
          17  +
          18  +
impl Intercept for ObservabilityFeatureTrackerInterceptor {
          19  +
    fn name(&self) -> &'static str {
          20  +
        "ObservabilityFeatureTrackerInterceptor"
          21  +
    }
          22  +
          23  +
    fn read_before_execution(&self, _context: &BeforeSerializationInterceptorContextRef<'_>, cfg: &mut ConfigBag) -> Result<(), BoxError> {
          24  +
        // Check if an OpenTelemetry meter provider is configured via the global provider
          25  +
        if let Ok(telemetry_provider) = aws_smithy_observability::global::get_telemetry_provider() {
          26  +
            let meter_provider = telemetry_provider.meter_provider();
          27  +
          28  +
            // Use provider_name() to detect OpenTelemetry without importing the otel crate.
          29  +
            // This avoids adding aws-smithy-observability-otel as a dependency.
          30  +
            // Note: as_any() is available for type-based checking if stronger guarantees are needed.
          31  +
            if meter_provider.provider_name() == "otel" {
          32  +
                cfg.interceptor_state().store_append(SmithySdkFeature::ObservabilityOtelMetrics);
          33  +
            }
          34  +
        }
          35  +
          36  +
        Ok(())
          37  +
    }
          38  +
}

tmp-codegen-diff/aws-sdk/sdk/lambda/Cargo.toml

@@ -1,1 +118,122 @@
   15     15   
[package.metadata.docs.rs]
   16     16   
all-features = true
   17     17   
targets = ["x86_64-unknown-linux-gnu"]
   18     18   
[dependencies.aws-credential-types]
   19     19   
path = "../aws-credential-types"
   20     20   
version = "1.2.11"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
features = ["event-stream"]
   25         -
version = "1.5.17"
          25  +
version = "1.5.18"
   26     26   
   27     27   
[dependencies.aws-smithy-async]
   28     28   
path = "../aws-smithy-async"
   29     29   
version = "1.2.7"
   30     30   
   31     31   
[dependencies.aws-smithy-eventstream]
   32     32   
path = "../aws-smithy-eventstream"
   33     33   
version = "0.60.14"
   34     34   
   35     35   
[dependencies.aws-smithy-http]
   36     36   
path = "../aws-smithy-http"
   37     37   
features = ["event-stream"]
   38     38   
version = "0.62.6"
   39     39   
   40     40   
[dependencies.aws-smithy-json]
   41     41   
path = "../aws-smithy-json"
   42     42   
version = "0.61.8"
   43     43   
          44  +
[dependencies.aws-smithy-observability]
          45  +
path = "../aws-smithy-observability"
          46  +
version = "0.1.6"
          47  +
   44     48   
[dependencies.aws-smithy-runtime]
   45     49   
path = "../aws-smithy-runtime"
   46     50   
features = ["client"]
   47     51   
version = "1.9.5"
   48     52   
   49     53   
[dependencies.aws-smithy-runtime-api]
   50     54   
path = "../aws-smithy-runtime-api"
   51     55   
features = ["client", "http-02x"]
   52     56   
version = "1.9.3"
   53     57   
   54     58   
[dependencies.aws-smithy-types]
   55     59   
path = "../aws-smithy-types"
   56     60   
version = "1.3.5"
   57     61   
   58     62   
[dependencies.aws-types]
   59     63   
path = "../aws-types"
   60     64   
version = "1.3.11"
   61     65   
   62     66   
[dependencies.bytes]
   63     67   
version = "1.4.0"
   64     68   
   65     69   
[dependencies.fastrand]
   66     70   
version = "2.0.0"
   67     71   
   68     72   
[dependencies.http]
   69     73   
version = "0.2.9"
   70     74   
   71     75   
[dependencies.regex-lite]
   72     76   
version = "0.1.5"
   73     77   
   74     78   
[dependencies.tracing]
   75     79   
version = "0.1"
   76     80   
[dev-dependencies.aws-config]
   77     81   
path = "../aws-config"
   78     82   
version = "1.8.12"
   79     83   
   80     84   
[dev-dependencies.aws-credential-types]
   81     85   
path = "../aws-credential-types"
   82     86   
features = ["test-util"]
   83     87   
version = "1.2.11"
   84     88   
   85     89   
[dev-dependencies.aws-runtime]
   86     90   
path = "../aws-runtime"
   87     91   
features = ["test-util"]
   88         -
version = "1.5.17"
          92  +
version = "1.5.18"
   89     93   
   90     94   
[dev-dependencies.aws-smithy-async]
   91     95   
path = "../aws-smithy-async"
   92     96   
features = ["test-util"]
   93     97   
version = "1.2.7"
   94     98   
   95     99   
[dev-dependencies.aws-smithy-eventstream]
   96    100   
path = "../aws-smithy-eventstream"
   97    101   
features = ["test-util"]
   98    102   
version = "0.60.14"

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

@@ -1278,1278 +1337,1338 @@
 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   1307   
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
        1308  +
        runtime_components.push_interceptor(crate::observability_feature::ObservabilityFeatureTrackerInterceptor);
 1308   1309   
        Self { config, runtime_components }
 1309   1310   
    }
 1310   1311   
}
 1311   1312   
 1312   1313   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1313   1314   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1314   1315   
        self.config.clone()
 1315   1316   
    }
 1316   1317   
 1317   1318   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/lambda/src/lib.rs

@@ -201,201 +253,255 @@
  221    221   
pub mod operation;
  222    222   
  223    223   
/// Primitives such as `Blob` or `DateTime` used by other types.
  224    224   
pub mod primitives;
  225    225   
  226    226   
/// Data structures used by operation inputs/outputs.
  227    227   
pub mod types;
  228    228   
  229    229   
mod event_receiver;
  230    230   
         231  +
mod observability_feature;
         232  +
  231    233   
pub(crate) mod protocol_serde;
  232    234   
  233    235   
mod sdk_feature_tracker;
  234    236   
  235    237   
mod serialization_settings;
  236    238   
  237    239   
mod endpoint_lib;
  238    240   
  239    241   
mod lens;
  240    242   

tmp-codegen-diff/aws-sdk/sdk/lambda/src/observability_feature.rs

@@ -0,1 +0,38 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/*
           3  +
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
           4  +
 * SPDX-License-Identifier: Apache-2.0
           5  +
 */
           6  +
           7  +
use aws_smithy_runtime::client::sdk_feature::SmithySdkFeature;
           8  +
use aws_smithy_runtime_api::{
           9  +
    box_error::BoxError,
          10  +
    client::interceptors::{context::BeforeSerializationInterceptorContextRef, Intercept},
          11  +
};
          12  +
use aws_smithy_types::config_bag::ConfigBag;
          13  +
          14  +
// Interceptor that tracks Smithy SDK features for observability (tracing/metrics).
          15  +
#[derive(Debug, Default)]
          16  +
pub(crate) struct ObservabilityFeatureTrackerInterceptor;
          17  +
          18  +
impl Intercept for ObservabilityFeatureTrackerInterceptor {
          19  +
    fn name(&self) -> &'static str {
          20  +
        "ObservabilityFeatureTrackerInterceptor"
          21  +
    }
          22  +
          23  +
    fn read_before_execution(&self, _context: &BeforeSerializationInterceptorContextRef<'_>, cfg: &mut ConfigBag) -> Result<(), BoxError> {
          24  +
        // Check if an OpenTelemetry meter provider is configured via the global provider
          25  +
        if let Ok(telemetry_provider) = aws_smithy_observability::global::get_telemetry_provider() {
          26  +
            let meter_provider = telemetry_provider.meter_provider();
          27  +
          28  +
            // Use provider_name() to detect OpenTelemetry without importing the otel crate.
          29  +
            // This avoids adding aws-smithy-observability-otel as a dependency.
          30  +
            // Note: as_any() is available for type-based checking if stronger guarantees are needed.
          31  +
            if meter_provider.provider_name() == "otel" {
          32  +
                cfg.interceptor_state().store_append(SmithySdkFeature::ObservabilityOtelMetrics);
          33  +
            }
          34  +
        }
          35  +
          36  +
        Ok(())
          37  +
    }
          38  +
}

tmp-codegen-diff/aws-sdk/sdk/polly/Cargo.toml

@@ -1,1 +125,129 @@
   14     14   
protocol = "aws.protocols#restJson1"
   15     15   
[package.metadata.docs.rs]
   16     16   
all-features = true
   17     17   
targets = ["x86_64-unknown-linux-gnu"]
   18     18   
[dependencies.aws-credential-types]
   19     19   
path = "../aws-credential-types"
   20     20   
version = "1.2.11"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24         -
version = "1.5.17"
          24  +
version = "1.5.18"
   25     25   
   26     26   
[dependencies.aws-sigv4]
   27     27   
path = "../aws-sigv4"
   28     28   
version = "1.3.7"
   29     29   
   30     30   
[dependencies.aws-smithy-async]
   31     31   
path = "../aws-smithy-async"
   32     32   
version = "1.2.7"
   33     33   
   34     34   
[dependencies.aws-smithy-http]
   35     35   
path = "../aws-smithy-http"
   36     36   
version = "0.62.6"
   37     37   
   38     38   
[dependencies.aws-smithy-json]
   39     39   
path = "../aws-smithy-json"
   40     40   
version = "0.61.8"
   41     41   
          42  +
[dependencies.aws-smithy-observability]
          43  +
path = "../aws-smithy-observability"
          44  +
version = "0.1.6"
          45  +
   42     46   
[dependencies.aws-smithy-runtime]
   43     47   
path = "../aws-smithy-runtime"
   44     48   
features = ["client"]
   45     49   
version = "1.9.5"
   46     50   
   47     51   
[dependencies.aws-smithy-runtime-api]
   48     52   
path = "../aws-smithy-runtime-api"
   49     53   
features = ["client", "http-02x"]
   50     54   
version = "1.9.3"
   51     55   
   52     56   
[dependencies.aws-smithy-types]
   53     57   
path = "../aws-smithy-types"
   54     58   
version = "1.3.5"
   55     59   
   56     60   
[dependencies.aws-types]
   57     61   
path = "../aws-types"
   58     62   
version = "1.3.11"
   59     63   
   60     64   
[dependencies.bytes]
   61     65   
version = "1.4.0"
   62     66   
   63     67   
[dependencies.fastrand]
   64     68   
version = "2.0.0"
   65     69   
   66     70   
[dependencies.http]
   67     71   
version = "0.2.9"
   68     72   
   69     73   
[dependencies.http-1x]
   70     74   
version = "1"
   71     75   
package = "http"
   72     76   
   73     77   
[dependencies.http-body-1x]
   74     78   
version = "1"
   75     79   
optional = true
   76     80   
package = "http-body"
   77     81   
   78     82   
[dependencies.regex-lite]
   79     83   
version = "0.1.5"
   80     84   
   81     85   
[dependencies.tracing]
   82     86   
version = "0.1"
   83     87   
[dev-dependencies.aws-config]
   84     88   
path = "../aws-config"
   85     89   
version = "1.8.12"
   86     90   
   87     91   
[dev-dependencies.aws-credential-types]
   88     92   
path = "../aws-credential-types"
   89     93   
features = ["test-util"]
   90     94   
version = "1.2.11"
   91     95   
   92     96   
[dev-dependencies.aws-runtime]
   93     97   
path = "../aws-runtime"
   94     98   
features = ["test-util"]
   95         -
version = "1.5.17"
          99  +
version = "1.5.18"
   96    100   
   97    101   
[dev-dependencies.aws-smithy-async]
   98    102   
path = "../aws-smithy-async"
   99    103   
features = ["test-util"]
  100    104   
version = "1.2.7"
  101    105   
  102    106   
[dev-dependencies.aws-smithy-http-client]
  103    107   
path = "../aws-smithy-http-client"
  104    108   
features = ["test-util", "wire-mock"]
  105    109   
version = "1.1.5"

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

@@ -1278,1278 +1337,1338 @@
 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   1307   
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
        1308  +
        runtime_components.push_interceptor(crate::observability_feature::ObservabilityFeatureTrackerInterceptor);
 1308   1309   
        Self { config, runtime_components }
 1309   1310   
    }
 1310   1311   
}
 1311   1312   
 1312   1313   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1313   1314   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1314   1315   
        self.config.clone()
 1315   1316   
    }
 1316   1317   
 1317   1318   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/polly/src/lib.rs

@@ -162,162 +209,211 @@
  182    182   
  183    183   
/// All operations that this crate can perform.
  184    184   
pub mod operation;
  185    185   
  186    186   
/// Primitives such as `Blob` or `DateTime` used by other types.
  187    187   
pub mod primitives;
  188    188   
  189    189   
/// Data structures used by operation inputs/outputs.
  190    190   
pub mod types;
  191    191   
         192  +
mod observability_feature;
         193  +
  192    194   
pub mod presigning;
  193    195   
  194    196   
pub(crate) mod presigning_interceptors;
  195    197   
  196    198   
pub(crate) mod protocol_serde;
  197    199   
  198    200   
mod sdk_feature_tracker;
  199    201   
  200    202   
mod serialization_settings;
  201    203   

tmp-codegen-diff/aws-sdk/sdk/polly/src/observability_feature.rs

@@ -0,1 +0,38 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/*
           3  +
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
           4  +
 * SPDX-License-Identifier: Apache-2.0
           5  +
 */
           6  +
           7  +
use aws_smithy_runtime::client::sdk_feature::SmithySdkFeature;
           8  +
use aws_smithy_runtime_api::{
           9  +
    box_error::BoxError,
          10  +
    client::interceptors::{context::BeforeSerializationInterceptorContextRef, Intercept},
          11  +
};
          12  +
use aws_smithy_types::config_bag::ConfigBag;
          13  +
          14  +
// Interceptor that tracks Smithy SDK features for observability (tracing/metrics).
          15  +
#[derive(Debug, Default)]
          16  +
pub(crate) struct ObservabilityFeatureTrackerInterceptor;
          17  +
          18  +
impl Intercept for ObservabilityFeatureTrackerInterceptor {
          19  +
    fn name(&self) -> &'static str {
          20  +
        "ObservabilityFeatureTrackerInterceptor"
          21  +
    }
          22  +
          23  +
    fn read_before_execution(&self, _context: &BeforeSerializationInterceptorContextRef<'_>, cfg: &mut ConfigBag) -> Result<(), BoxError> {
          24  +
        // Check if an OpenTelemetry meter provider is configured via the global provider
          25  +
        if let Ok(telemetry_provider) = aws_smithy_observability::global::get_telemetry_provider() {
          26  +
            let meter_provider = telemetry_provider.meter_provider();
          27  +
          28  +
            // Use provider_name() to detect OpenTelemetry without importing the otel crate.
          29  +
            // This avoids adding aws-smithy-observability-otel as a dependency.
          30  +
            // Note: as_any() is available for type-based checking if stronger guarantees are needed.
          31  +
            if meter_provider.provider_name() == "otel" {
          32  +
                cfg.interceptor_state().store_append(SmithySdkFeature::ObservabilityOtelMetrics);
          33  +
            }
          34  +
        }
          35  +
          36  +
        Ok(())
          37  +
    }
          38  +
}

tmp-codegen-diff/aws-sdk/sdk/route53/Cargo.toml

@@ -1,1 +67,71 @@
   14     14   
protocol = "aws.protocols#restXml"
   15     15   
[package.metadata.docs.rs]
   16     16   
all-features = true
   17     17   
targets = ["x86_64-unknown-linux-gnu"]
   18     18   
[dependencies.aws-credential-types]
   19     19   
path = "../aws-credential-types"
   20     20   
version = "1.2.11"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24         -
version = "1.5.17"
          24  +
version = "1.5.18"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.7"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32     32   
version = "0.62.6"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36     36   
version = "0.61.8"
   37     37   
          38  +
[dependencies.aws-smithy-observability]
          39  +
path = "../aws-smithy-observability"
          40  +
version = "0.1.6"
          41  +
   38     42   
[dependencies.aws-smithy-runtime]
   39     43   
path = "../aws-smithy-runtime"
   40     44   
features = ["client"]
   41     45   
version = "1.9.5"
   42     46   
   43     47   
[dependencies.aws-smithy-runtime-api]
   44     48   
path = "../aws-smithy-runtime-api"
   45     49   
features = ["client", "http-02x"]
   46     50   
version = "1.9.3"
   47     51   

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

@@ -1278,1278 +1337,1338 @@
 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   1307   
        runtime_components.push_interceptor(crate::config::endpoint::EndpointOverrideFeatureTrackerInterceptor);
        1308  +
        runtime_components.push_interceptor(crate::observability_feature::ObservabilityFeatureTrackerInterceptor);
 1308   1309   
        Self { config, runtime_components }
 1309   1310   
    }
 1310   1311   
}
 1311   1312   
 1312   1313   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1313   1314   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1314   1315   
        self.config.clone()
 1315   1316   
    }
 1316   1317   
 1317   1318   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

tmp-codegen-diff/aws-sdk/sdk/route53/src/lib.rs

@@ -179,179 +231,233 @@
  199    199   
  200    200   
/// All operations that this crate can perform.
  201    201   
pub mod operation;
  202    202   
  203    203   
/// Primitives such as `Blob` or `DateTime` used by other types.
  204    204   
pub mod primitives;
  205    205   
  206    206   
/// Data structures used by operation inputs/outputs.
  207    207   
pub mod types;
  208    208   
         209  +
mod observability_feature;
         210  +
  209    211   
pub(crate) mod protocol_serde;
  210    212   
  211    213   
mod route53_resource_id_preprocessor;
  212    214   
  213    215   
mod sdk_feature_tracker;
  214    216   
  215    217   
mod serialization_settings;
  216    218   
  217    219   
mod endpoint_lib;
  218    220   

tmp-codegen-diff/aws-sdk/sdk/route53/src/observability_feature.rs

@@ -0,1 +0,38 @@
           1  +
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
           2  +
/*
           3  +
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
           4  +
 * SPDX-License-Identifier: Apache-2.0
           5  +
 */
           6  +
           7  +
use aws_smithy_runtime::client::sdk_feature::SmithySdkFeature;
           8  +
use aws_smithy_runtime_api::{
           9  +
    box_error::BoxError,
          10  +
    client::interceptors::{context::BeforeSerializationInterceptorContextRef, Intercept},
          11  +
};
          12  +
use aws_smithy_types::config_bag::ConfigBag;
          13  +
          14  +
// Interceptor that tracks Smithy SDK features for observability (tracing/metrics).
          15  +
#[derive(Debug, Default)]
          16  +
pub(crate) struct ObservabilityFeatureTrackerInterceptor;
          17  +
          18  +
impl Intercept for ObservabilityFeatureTrackerInterceptor {
          19  +
    fn name(&self) -> &'static str {
          20  +
        "ObservabilityFeatureTrackerInterceptor"
          21  +
    }
          22  +
          23  +
    fn read_before_execution(&self, _context: &BeforeSerializationInterceptorContextRef<'_>, cfg: &mut ConfigBag) -> Result<(), BoxError> {
          24  +
        // Check if an OpenTelemetry meter provider is configured via the global provider
          25  +
        if let Ok(telemetry_provider) = aws_smithy_observability::global::get_telemetry_provider() {
          26  +
            let meter_provider = telemetry_provider.meter_provider();
          27  +
          28  +
            // Use provider_name() to detect OpenTelemetry without importing the otel crate.
          29  +
            // This avoids adding aws-smithy-observability-otel as a dependency.
          30  +
            // Note: as_any() is available for type-based checking if stronger guarantees are needed.
          31  +
            if meter_provider.provider_name() == "otel" {
          32  +
                cfg.interceptor_state().store_append(SmithySdkFeature::ObservabilityOtelMetrics);
          33  +
            }
          34  +
        }
          35  +
          36  +
        Ok(())
          37  +
    }
          38  +
}

tmp-codegen-diff/aws-sdk/sdk/s3/Cargo.toml

@@ -1,1 +81,85 @@
   15     15   
[package.metadata.docs.rs]
   16     16   
all-features = true
   17     17   
targets = ["x86_64-unknown-linux-gnu"]
   18     18   
[dependencies.aws-credential-types]
   19     19   
path = "../aws-credential-types"
   20     20   
version = "1.2.11"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
features = ["event-stream", "http-02x"]
   25         -
version = "1.5.17"
          25  +
version = "1.5.18"
   26     26   
   27     27   
[dependencies.aws-sigv4]
   28     28   
path = "../aws-sigv4"
   29     29   
version = "1.3.7"
   30     30   
   31     31   
[dependencies.aws-smithy-async]
   32     32   
path = "../aws-smithy-async"
   33     33   
version = "1.2.7"
   34     34   
   35     35   
[dependencies.aws-smithy-checksums]
   36     36   
path = "../aws-smithy-checksums"
   37     37   
version = "0.63.12"
   38     38   
   39     39   
[dependencies.aws-smithy-eventstream]
   40     40   
path = "../aws-smithy-eventstream"
   41     41   
version = "0.60.14"
   42     42   
   43     43   
[dependencies.aws-smithy-http]
   44     44   
path = "../aws-smithy-http"
   45     45   
features = ["event-stream"]
   46     46   
version = "0.62.6"
   47     47   
   48     48   
[dependencies.aws-smithy-json]
   49     49   
path = "../aws-smithy-json"
   50     50   
version = "0.61.8"
   51     51   
          52  +
[dependencies.aws-smithy-observability]
          53  +
path = "../aws-smithy-observability"
          54  +
version = "0.1.6"
          55  +
   52     56   
[dependencies.aws-smithy-runtime]
   53     57   
path = "../aws-smithy-runtime"
   54     58   
features = ["client"]
   55     59   
version = "1.9.5"
   56     60   
   57     61   
[dependencies.aws-smithy-runtime-api]
   58     62   
path = "../aws-smithy-runtime-api"
   59     63   
features = ["client", "http-02x"]
   60     64   
version = "1.9.3"
   61     65   
@@ -104,108 +164,168 @@
  124    128   
version = "1.8.12"
  125    129   
  126    130   
[dev-dependencies.aws-credential-types]
  127    131   
path = "../aws-credential-types"
  128    132   
features = ["test-util"]
  129    133   
version = "1.2.11"
  130    134   
  131    135   
[dev-dependencies.aws-runtime]
  132    136   
path = "../aws-runtime"
  133    137   
features = ["test-util"]
  134         -
version = "1.5.17"
         138  +
version = "1.5.18"
  135    139   
  136    140   
[dev-dependencies.aws-smithy-async]
  137    141   
path = "../aws-smithy-async"
  138    142   
features = ["test-util"]
  139    143   
version = "1.2.7"
  140    144   
  141    145   
[dev-dependencies.aws-smithy-eventstream]
  142    146   
path = "../aws-smithy-eventstream"
  143    147   
features = ["test-util"]
  144    148   
version = "0.60.14"