AWS SDK

AWS SDK

rev. e48ccee0154f81d455955afa85c29300f723084d

Files changed:

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

@@ -1295,1295 +1354,1355 @@
 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::observability_feature::ObservabilityFeatureTrackerInterceptor);
 1325   1326   
        Self { config, runtime_components }
 1326   1327   
    }
 1327   1328   
}
 1328   1329   
 1329   1330   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1330   1331   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1331   1332   
        self.config.clone()
 1332   1333   
    }
 1333   1334   
 1334   1335   
    fn order(&self) -> ::aws_smithy_runtime_api::client::runtime_plugin::Order {

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

@@ -182,182 +232,234 @@
  202    202   
/// Primitives such as `Blob` or `DateTime` used by other types.
  203    203   
pub mod primitives;
  204    204   
  205    205   
/// Data structures used by operation inputs/outputs.
  206    206   
pub mod types;
  207    207   
  208    208   
pub(crate) mod client_idempotency_token;
  209    209   
  210    210   
mod idempotency_token;
  211    211   
         212  +
mod observability_feature;
         213  +
  212    214   
pub(crate) mod protocol_serde;
  213    215   
  214    216   
mod sdk_feature_tracker;
  215    217   
  216    218   
mod serialization_settings;
  217    219   
  218    220   
mod endpoint_lib;
  219    221   
  220    222   
mod lens;
  221    223   

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

@@ -0,1 +0,40 @@
           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 downcast to check if it's specifically the OTel implementation
          29  +
            // This is more reliable than string matching on type names
          30  +
            if let Some(_otel_provider) = meter_provider
          31  +
                .as_any()
          32  +
                .downcast_ref::<aws_smithy_observability_otel::meter::OtelMeterProvider>()
          33  +
            {
          34  +
                cfg.interceptor_state().store_append(SmithySdkFeature::ObservabilityOtelMetrics);
          35  +
            }
          36  +
        }
          37  +
          38  +
        Ok(())
          39  +
    }
          40  +
}

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

@@ -1,1 +126,134 @@
   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.5"
          45  +
          46  +
[dependencies.aws-smithy-observability-otel]
          47  +
path = "../aws-smithy-observability-otel"
          48  +
version = "0.1.3"
          49  +
   42     50   
[dependencies.aws-smithy-runtime]
   43     51   
path = "../aws-smithy-runtime"
   44     52   
features = ["client"]
   45     53   
version = "1.9.5"
   46     54   
   47     55   
[dependencies.aws-smithy-runtime-api]
   48     56   
path = "../aws-smithy-runtime-api"
   49     57   
features = ["client", "http-02x"]
   50     58   
version = "1.9.3"
   51     59   
   52     60   
[dependencies.aws-smithy-types]
   53     61   
path = "../aws-smithy-types"
   54     62   
version = "1.3.5"
   55     63   
   56     64   
[dependencies.aws-types]
   57     65   
path = "../aws-types"
   58     66   
version = "1.3.11"
   59     67   
   60     68   
[dependencies.bytes]
   61     69   
version = "1.4.0"
   62     70   
   63     71   
[dependencies.fastrand]
   64     72   
version = "2.0.0"
   65     73   
   66     74   
[dependencies.hex]
   67     75   
version = "0.4.3"
   68     76   
   69     77   
[dependencies.http]
   70     78   
version = "0.2.9"
   71     79   
   72     80   
[dependencies.http-1x]
   73     81   
version = "1"
   74     82   
package = "http"
   75     83   
   76     84   
[dependencies.regex-lite]
   77     85   
version = "0.1.5"
   78     86   
   79     87   
[dependencies.ring]
   80     88   
version = "0.17.5"
   81     89   
   82     90   
[dependencies.tracing]
   83     91   
version = "0.1"
   84     92   
[dev-dependencies.aws-config]
   85     93   
path = "../aws-config"
   86     94   
version = "1.8.12"
   87     95   
   88     96   
[dev-dependencies.aws-credential-types]
   89     97   
path = "../aws-credential-types"
   90     98   
features = ["test-util"]
   91     99   
version = "1.2.11"
   92    100   
   93    101   
[dev-dependencies.aws-runtime]
   94    102   
path = "../aws-runtime"
   95    103   
features = ["test-util"]
   96         -
version = "1.5.17"
         104  +
version = "1.5.18"
   97    105   
   98    106   
[dev-dependencies.aws-smithy-async]
   99    107   
path = "../aws-smithy-async"
  100    108   
features = ["test-util"]
  101    109   
version = "1.2.7"
  102    110   
  103    111   
[dev-dependencies.aws-smithy-http-client]
  104    112   
path = "../aws-smithy-http-client"
  105    113   
features = ["test-util", "wire-mock"]
  106    114   
version = "1.1.5"

tmp-codegen-diff/aws-sdk/sdk/glacier/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(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::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/glacier/src/lib.rs

@@ -186,186 +236,238 @@
  206    206   
pub mod operation;
  207    207   
  208    208   
/// Primitives such as `Blob` or `DateTime` used by other types.
  209    209   
pub mod primitives;
  210    210   
  211    211   
/// Data structures used by operation inputs/outputs.
  212    212   
pub mod types;
  213    213   
  214    214   
mod glacier_interceptors;
  215    215   
         216  +
mod observability_feature;
         217  +
  216    218   
pub(crate) mod protocol_serde;
  217    219   
  218    220   
mod sdk_feature_tracker;
  219    221   
  220    222   
mod serialization_settings;
  221    223   
  222    224   
mod endpoint_lib;
  223    225   
  224    226   
mod lens;
  225    227   

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

@@ -0,1 +0,40 @@
           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 downcast to check if it's specifically the OTel implementation
          29  +
            // This is more reliable than string matching on type names
          30  +
            if let Some(_otel_provider) = meter_provider
          31  +
                .as_any()
          32  +
                .downcast_ref::<aws_smithy_observability_otel::meter::OtelMeterProvider>()
          33  +
            {
          34  +
                cfg.interceptor_state().store_append(SmithySdkFeature::ObservabilityOtelMetrics);
          35  +
            }
          36  +
        }
          37  +
          38  +
        Ok(())
          39  +
    }
          40  +
}

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

@@ -1,1 +117,125 @@
   14     14   
protocol = "aws.protocols#awsQuery"
   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.5"
          41  +
          42  +
[dependencies.aws-smithy-observability-otel]
          43  +
path = "../aws-smithy-observability-otel"
          44  +
version = "0.1.3"
          45  +
   38     46   
[dependencies.aws-smithy-query]
   39     47   
path = "../aws-smithy-query"
   40     48   
version = "0.60.9"
   41     49   
   42     50   
[dependencies.aws-smithy-runtime]
   43     51   
path = "../aws-smithy-runtime"
   44     52   
features = ["client"]
   45     53   
version = "1.9.5"
   46     54   
   47     55   
[dependencies.aws-smithy-runtime-api]
   48     56   
path = "../aws-smithy-runtime-api"
   49     57   
features = ["client", "http-02x"]
   50     58   
version = "1.9.3"
   51     59   
   52     60   
[dependencies.aws-smithy-types]
   53     61   
path = "../aws-smithy-types"
   54     62   
version = "1.3.5"
   55     63   
   56     64   
[dependencies.aws-smithy-xml]
   57     65   
path = "../aws-smithy-xml"
   58     66   
version = "0.60.13"
   59     67   
   60     68   
[dependencies.aws-types]
   61     69   
path = "../aws-types"
   62     70   
version = "1.3.11"
   63     71   
   64     72   
[dependencies.fastrand]
   65     73   
version = "2.0.0"
   66     74   
   67     75   
[dependencies.http]
   68     76   
version = "0.2.9"
   69     77   
   70     78   
[dependencies.regex-lite]
   71     79   
version = "0.1.5"
   72     80   
   73     81   
[dependencies.tracing]
   74     82   
version = "0.1"
   75     83   
[dev-dependencies.aws-config]
   76     84   
path = "../aws-config"
   77     85   
version = "1.8.12"
   78     86   
   79     87   
[dev-dependencies.aws-credential-types]
   80     88   
path = "../aws-credential-types"
   81     89   
features = ["test-util"]
   82     90   
version = "1.2.11"
   83     91   
   84     92   
[dev-dependencies.aws-runtime]
   85     93   
path = "../aws-runtime"
   86     94   
features = ["test-util"]
   87         -
version = "1.5.17"
          95  +
version = "1.5.18"
   88     96   
   89     97   
[dev-dependencies.aws-smithy-async]
   90     98   
path = "../aws-smithy-async"
   91     99   
features = ["test-util"]
   92    100   
version = "1.2.7"
   93    101   
   94    102   
[dev-dependencies.aws-smithy-http-client]
   95    103   
path = "../aws-smithy-http-client"
   96    104   
features = ["test-util", "wire-mock"]
   97    105   
version = "1.1.5"

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

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

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

@@ -174,174 +224,226 @@
  194    194   
  195    195   
/// All operations that this crate can perform.
  196    196   
pub mod operation;
  197    197   
  198    198   
/// Primitives such as `Blob` or `DateTime` used by other types.
  199    199   
pub mod primitives;
  200    200   
  201    201   
/// Data structures used by operation inputs/outputs.
  202    202   
pub mod types;
  203    203   
         204  +
mod observability_feature;
         205  +
  204    206   
pub(crate) mod protocol_serde;
  205    207   
  206    208   
mod sdk_feature_tracker;
  207    209   
  208    210   
mod serialization_settings;
  209    211   
  210    212   
mod endpoint_lib;
  211    213   
  212    214   
mod lens;
  213    215   

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

@@ -0,1 +0,40 @@
           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 downcast to check if it's specifically the OTel implementation
          29  +
            // This is more reliable than string matching on type names
          30  +
            if let Some(_otel_provider) = meter_provider
          31  +
                .as_any()
          32  +
                .downcast_ref::<aws_smithy_observability_otel::meter::OtelMeterProvider>()
          33  +
            {
          34  +
                cfg.interceptor_state().store_append(SmithySdkFeature::ObservabilityOtelMetrics);
          35  +
            }
          36  +
        }
          37  +
          38  +
        Ok(())
          39  +
    }
          40  +
}

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

@@ -1,1 +112,120 @@
   14     14   
protocol = "aws.protocols#awsJson1_1"
   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.5"
          41  +
          42  +
[dependencies.aws-smithy-observability-otel]
          43  +
path = "../aws-smithy-observability-otel"
          44  +
version = "0.1.3"
          45  +
   38     46   
[dependencies.aws-smithy-runtime]
   39     47   
path = "../aws-smithy-runtime"
   40     48   
features = ["client"]
   41     49   
version = "1.9.5"
   42     50   
   43     51   
[dependencies.aws-smithy-runtime-api]
   44     52   
path = "../aws-smithy-runtime-api"
   45     53   
features = ["client", "http-02x"]
   46     54   
version = "1.9.3"
   47     55   
   48     56   
[dependencies.aws-smithy-types]
   49     57   
path = "../aws-smithy-types"
   50     58   
version = "1.3.5"
   51     59   
   52     60   
[dependencies.aws-types]
   53     61   
path = "../aws-types"
   54     62   
version = "1.3.11"
   55     63   
   56     64   
[dependencies.bytes]
   57     65   
version = "1.4.0"
   58     66   
   59     67   
[dependencies.fastrand]
   60     68   
version = "2.0.0"
   61     69   
   62     70   
[dependencies.http]
   63     71   
version = "0.2.9"
   64     72   
   65     73   
[dependencies.regex-lite]
   66     74   
version = "0.1.5"
   67     75   
   68     76   
[dependencies.tracing]
   69     77   
version = "0.1"
   70     78   
[dev-dependencies.aws-config]
   71     79   
path = "../aws-config"
   72     80   
version = "1.8.12"
   73     81   
   74     82   
[dev-dependencies.aws-credential-types]
   75     83   
path = "../aws-credential-types"
   76     84   
features = ["test-util"]
   77     85   
version = "1.2.11"
   78     86   
   79     87   
[dev-dependencies.aws-runtime]
   80     88   
path = "../aws-runtime"
   81     89   
features = ["test-util"]
   82         -
version = "1.5.17"
          90  +
version = "1.5.18"
   83     91   
   84     92   
[dev-dependencies.aws-smithy-async]
   85     93   
path = "../aws-smithy-async"
   86     94   
features = ["test-util"]
   87     95   
version = "1.2.7"
   88     96   
   89     97   
[dev-dependencies.aws-smithy-http-client]
   90     98   
path = "../aws-smithy-http-client"
   91     99   
features = ["test-util", "wire-mock"]
   92    100   
version = "1.1.5"

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

@@ -1277,1277 +1336,1337 @@
 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::observability_feature::ObservabilityFeatureTrackerInterceptor);
 1307   1308   
        Self { config, runtime_components }
 1308   1309   
    }
 1309   1310   
}
 1310   1311   
 1311   1312   
impl ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugin for ServiceRuntimePlugin {
 1312   1313   
    fn config(&self) -> ::std::option::Option<::aws_smithy_types::config_bag::FrozenLayer> {
 1313   1314   
        self.config.clone()
 1314   1315   
    }
 1315   1316   
 1316   1317   
    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,40 @@
           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 downcast to check if it's specifically the OTel implementation
          29  +
            // This is more reliable than string matching on type names
          30  +
            if let Some(_otel_provider) = meter_provider
          31  +
                .as_any()
          32  +
                .downcast_ref::<aws_smithy_observability_otel::meter::OtelMeterProvider>()
          33  +
            {
          34  +
                cfg.interceptor_state().store_append(SmithySdkFeature::ObservabilityOtelMetrics);
          35  +
            }
          36  +
        }
          37  +
          38  +
        Ok(())
          39  +
    }
          40  +
}

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

@@ -1,1 +118,126 @@
   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.5"
          47  +
          48  +
[dependencies.aws-smithy-observability-otel]
          49  +
path = "../aws-smithy-observability-otel"
          50  +
version = "0.1.3"
          51  +
   44     52   
[dependencies.aws-smithy-runtime]
   45     53   
path = "../aws-smithy-runtime"
   46     54   
features = ["client"]
   47     55   
version = "1.9.5"
   48     56   
   49     57   
[dependencies.aws-smithy-runtime-api]
   50     58   
path = "../aws-smithy-runtime-api"
   51     59   
features = ["client", "http-02x"]
   52     60   
version = "1.9.3"
   53     61   
   54     62   
[dependencies.aws-smithy-types]
   55     63   
path = "../aws-smithy-types"
   56     64   
version = "1.3.5"
   57     65   
   58     66   
[dependencies.aws-types]
   59     67   
path = "../aws-types"
   60     68   
version = "1.3.11"
   61     69   
   62     70   
[dependencies.bytes]
   63     71   
version = "1.4.0"
   64     72   
   65     73   
[dependencies.fastrand]
   66     74   
version = "2.0.0"
   67     75   
   68     76   
[dependencies.http]
   69     77   
version = "0.2.9"
   70     78   
   71     79   
[dependencies.regex-lite]
   72     80   
version = "0.1.5"
   73     81   
   74     82   
[dependencies.tracing]
   75     83   
version = "0.1"
   76     84   
[dev-dependencies.aws-config]
   77     85   
path = "../aws-config"
   78     86   
version = "1.8.12"
   79     87   
   80     88   
[dev-dependencies.aws-credential-types]
   81     89   
path = "../aws-credential-types"
   82     90   
features = ["test-util"]
   83     91   
version = "1.2.11"
   84     92   
   85     93   
[dev-dependencies.aws-runtime]
   86     94   
path = "../aws-runtime"
   87     95   
features = ["test-util"]
   88         -
version = "1.5.17"
          96  +
version = "1.5.18"
   89     97   
   90     98   
[dev-dependencies.aws-smithy-async]
   91     99   
path = "../aws-smithy-async"
   92    100   
features = ["test-util"]
   93    101   
version = "1.2.7"
   94    102   
   95    103   
[dev-dependencies.aws-smithy-eventstream]
   96    104   
path = "../aws-smithy-eventstream"
   97    105   
features = ["test-util"]
   98    106   
version = "0.60.14"