AWS SDK

AWS SDK

rev. a7cbcc5fca4721e446c5953e134cd5ced6c9c178

Files changed:

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

@@ -1,1 +50,50 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
@@ -52,52 +112,112 @@
   72     72   
   73     73   
[dependencies.tracing]
   74     74   
version = "0.1"
   75     75   
[dev-dependencies.aws-config]
   76     76   
path = "../aws-config"
   77     77   
version = "1.8.10"
   78     78   
   79     79   
[dev-dependencies.aws-credential-types]
   80     80   
path = "../aws-credential-types"
   81     81   
features = ["test-util"]
   82         -
version = "1.2.8"
          82  +
version = "1.2.9"
   83     83   
   84     84   
[dev-dependencies.aws-runtime]
   85     85   
path = "../aws-runtime"
   86     86   
features = ["test-util"]
   87     87   
version = "1.5.13"
   88     88   
   89     89   
[dev-dependencies.aws-smithy-async]
   90     90   
path = "../aws-smithy-async"
   91     91   
features = ["test-util"]
   92     92   
version = "1.2.6"

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

@@ -1,1 +107,107 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32     32   
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36     36   
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-runtime]
   39     39   
path = "../aws-smithy-runtime"
   40     40   
features = ["client"]
   41     41   
version = "1.9.4"
   42     42   
   43     43   
[dependencies.aws-smithy-runtime-api]
   44     44   
path = "../aws-smithy-runtime-api"
   45     45   
features = ["client", "http-02x"]
   46     46   
version = "1.9.2"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.4"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.10"
   55     55   
   56     56   
[dependencies.bytes]
   57     57   
version = "1.4.0"
   58     58   
   59     59   
[dependencies.fastrand]
   60     60   
version = "2.0.0"
   61     61   
   62     62   
[dependencies.http]
   63     63   
version = "0.2.9"
   64     64   
   65     65   
[dependencies.regex-lite]
   66     66   
version = "0.1.5"
   67     67   
   68     68   
[dependencies.tracing]
   69     69   
version = "0.1"
   70     70   
[dev-dependencies.aws-config]
   71     71   
path = "../aws-config"
   72     72   
version = "1.8.10"
   73     73   
   74     74   
[dev-dependencies.aws-credential-types]
   75     75   
path = "../aws-credential-types"
   76     76   
features = ["test-util"]
   77         -
version = "1.2.8"
          77  +
version = "1.2.9"
   78     78   
   79     79   
[dev-dependencies.aws-runtime]
   80     80   
path = "../aws-runtime"
   81     81   
features = ["test-util"]
   82     82   
version = "1.5.13"
   83     83   
   84     84   
[dev-dependencies.aws-smithy-async]
   85     85   
path = "../aws-smithy-async"
   86     86   
features = ["test-util"]
   87     87   
version = "1.2.6"

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

@@ -1,1 +50,50 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
features = ["event-stream"]
   25     25   
version = "1.5.13"
   26     26   
   27     27   
[dependencies.aws-smithy-async]
   28     28   
path = "../aws-smithy-async"
   29     29   
version = "1.2.6"
   30     30   
@@ -53,53 +113,113 @@
   73     73   
   74     74   
[dependencies.tracing]
   75     75   
version = "0.1"
   76     76   
[dev-dependencies.aws-config]
   77     77   
path = "../aws-config"
   78     78   
version = "1.8.10"
   79     79   
   80     80   
[dev-dependencies.aws-credential-types]
   81     81   
path = "../aws-credential-types"
   82     82   
features = ["test-util"]
   83         -
version = "1.2.8"
          83  +
version = "1.2.9"
   84     84   
   85     85   
[dev-dependencies.aws-runtime]
   86     86   
path = "../aws-runtime"
   87     87   
features = ["test-util"]
   88     88   
version = "1.5.13"
   89     89   
   90     90   
[dev-dependencies.aws-smithy-async]
   91     91   
path = "../aws-smithy-async"
   92     92   
features = ["test-util"]
   93     93   
version = "1.2.6"

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

@@ -1,1 +50,50 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-sigv4]
   27     27   
path = "../aws-sigv4"
   28     28   
version = "1.3.6"
   29     29   
   30     30   
[dependencies.aws-smithy-async]
@@ -60,60 +120,120 @@
   80     80   
   81     81   
[dependencies.tracing]
   82     82   
version = "0.1"
   83     83   
[dev-dependencies.aws-config]
   84     84   
path = "../aws-config"
   85     85   
version = "1.8.10"
   86     86   
   87     87   
[dev-dependencies.aws-credential-types]
   88     88   
path = "../aws-credential-types"
   89     89   
features = ["test-util"]
   90         -
version = "1.2.8"
          90  +
version = "1.2.9"
   91     91   
   92     92   
[dev-dependencies.aws-runtime]
   93     93   
path = "../aws-runtime"
   94     94   
features = ["test-util"]
   95     95   
version = "1.5.13"
   96     96   
   97     97   
[dev-dependencies.aws-smithy-async]
   98     98   
path = "../aws-smithy-async"
   99     99   
features = ["test-util"]
  100    100   
version = "1.2.6"

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

@@ -1,1 +107,107 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
protocol = "aws.protocols#awsJson1_0"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32     32   
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36     36   
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-runtime]
   39     39   
path = "../aws-smithy-runtime"
   40     40   
features = ["client"]
   41     41   
version = "1.9.4"
   42     42   
   43     43   
[dependencies.aws-smithy-runtime-api]
   44     44   
path = "../aws-smithy-runtime-api"
   45     45   
features = ["client", "http-02x"]
   46     46   
version = "1.9.2"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.4"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.10"
   55     55   
   56     56   
[dependencies.bytes]
   57     57   
version = "1.4.0"
   58     58   
   59     59   
[dependencies.fastrand]
   60     60   
version = "2.0.0"
   61     61   
   62     62   
[dependencies.http]
   63     63   
version = "0.2.9"
   64     64   
   65     65   
[dependencies.regex-lite]
   66     66   
version = "0.1.5"
   67     67   
   68     68   
[dependencies.tracing]
   69     69   
version = "0.1"
   70     70   
[dev-dependencies.aws-config]
   71     71   
path = "../aws-config"
   72     72   
version = "1.8.10"
   73     73   
   74     74   
[dev-dependencies.aws-credential-types]
   75     75   
path = "../aws-credential-types"
   76     76   
features = ["test-util"]
   77         -
version = "1.2.8"
          77  +
version = "1.2.9"
   78     78   
   79     79   
[dev-dependencies.aws-runtime]
   80     80   
path = "../aws-runtime"
   81     81   
features = ["test-util"]
   82     82   
version = "1.5.13"
   83     83   
   84     84   
[dev-dependencies.aws-smithy-async]
   85     85   
path = "../aws-smithy-async"
   86     86   
features = ["test-util"]
   87     87   
version = "1.2.6"

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

@@ -1,1 +103,103 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32     32   
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36     36   
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-runtime]
   39     39   
path = "../aws-smithy-runtime"
   40     40   
features = ["client"]
   41     41   
version = "1.9.4"
   42     42   
   43     43   
[dependencies.aws-smithy-runtime-api]
   44     44   
path = "../aws-smithy-runtime-api"
   45     45   
features = ["client", "http-02x"]
   46     46   
version = "1.9.2"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.4"
   51     51   
   52     52   
[dependencies.aws-smithy-xml]
   53     53   
path = "../aws-smithy-xml"
   54     54   
version = "0.60.12"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58     58   
version = "1.3.10"
   59     59   
   60     60   
[dependencies.fastrand]
   61     61   
version = "2.0.0"
   62     62   
   63     63   
[dependencies.http]
   64     64   
version = "0.2.9"
   65     65   
   66     66   
[dependencies.regex-lite]
   67     67   
version = "0.1.5"
   68     68   
   69     69   
[dependencies.tracing]
   70     70   
version = "0.1"
   71     71   
[dev-dependencies.aws-config]
   72     72   
path = "../aws-config"
   73     73   
version = "1.8.10"
   74     74   
   75     75   
[dev-dependencies.aws-credential-types]
   76     76   
path = "../aws-credential-types"
   77     77   
features = ["test-util"]
   78         -
version = "1.2.8"
          78  +
version = "1.2.9"
   79     79   
   80     80   
[dev-dependencies.aws-smithy-http-client]
   81     81   
path = "../aws-smithy-http-client"
   82     82   
features = ["test-util"]
   83     83   
version = "1.1.4"
   84     84   
   85     85   
[dev-dependencies.pretty_assertions]
   86     86   
version = "1.3.0"
   87     87   
   88     88   
[dev-dependencies.tokio]

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

@@ -1,1 +50,50 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
features = ["event-stream", "http-02x"]
   25     25   
version = "1.5.13"
   26     26   
   27     27   
[dependencies.aws-sigv4]
   28     28   
path = "../aws-sigv4"
   29     29   
version = "1.3.6"
   30     30   
@@ -99,99 +159,159 @@
  119    119   
version = "1.12.0"
  120    120   
  121    121   
[dev-dependencies.aws-config]
  122    122   
path = "../aws-config"
  123    123   
features = ["behavior-version-latest"]
  124    124   
version = "1.8.10"
  125    125   
  126    126   
[dev-dependencies.aws-credential-types]
  127    127   
path = "../aws-credential-types"
  128    128   
features = ["test-util"]
  129         -
version = "1.2.8"
         129  +
version = "1.2.9"
  130    130   
  131    131   
[dev-dependencies.aws-runtime]
  132    132   
path = "../aws-runtime"
  133    133   
features = ["test-util"]
  134    134   
version = "1.5.13"
  135    135   
  136    136   
[dev-dependencies.aws-smithy-async]
  137    137   
path = "../aws-smithy-async"
  138    138   
features = ["test-util"]
  139    139   
version = "1.2.6"

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

@@ -347,347 +467,470 @@
  367    367   
            expect_identity(3000, &sut, key3, || async move { panic!("new identity should not be loaded") }).await;
  368    368   
        }
  369    369   
    }
  370    370   
}
  371    371   
/// Supporting code for S3 Express identity provider
  372    372   
pub(crate) mod identity_provider {
  373    373   
    use std::time::{Duration, SystemTime};
  374    374   
  375    375   
    use crate::s3_express::identity_cache::S3ExpressIdentityCache;
  376    376   
    use crate::types::SessionCredentials;
         377  +
    use aws_credential_types::credential_feature::AwsCredentialFeature;
  377    378   
    use aws_credential_types::provider::error::CredentialsError;
  378    379   
    use aws_credential_types::Credentials;
  379    380   
    use aws_smithy_async::time::{SharedTimeSource, TimeSource};
  380    381   
    use aws_smithy_runtime_api::box_error::BoxError;
  381    382   
    use aws_smithy_runtime_api::client::endpoint::EndpointResolverParams;
  382    383   
    use aws_smithy_runtime_api::client::identity::{Identity, IdentityCacheLocation, IdentityFuture, ResolveCachedIdentity, ResolveIdentity};
  383    384   
    use aws_smithy_runtime_api::client::interceptors::SharedInterceptor;
  384    385   
    use aws_smithy_runtime_api::client::runtime_components::{GetIdentityResolver, RuntimeComponents};
  385    386   
    use aws_smithy_runtime_api::shared::IntoShared;
  386    387   
    use aws_smithy_types::config_bag::ConfigBag;
  387    388   
  388    389   
    use super::identity_cache::{DEFAULT_BUFFER_TIME, DEFAULT_MAX_CACHE_CAPACITY};
  389    390   
  390    391   
    #[derive(Debug)]
  391    392   
    pub(crate) struct DefaultS3ExpressIdentityProvider {
  392    393   
        behavior_version: crate::config::BehaviorVersion,
  393    394   
        cache: S3ExpressIdentityCache,
  394    395   
    }
  395    396   
  396    397   
    impl TryFrom<SessionCredentials> for Credentials {
  397    398   
        type Error = BoxError;
  398    399   
  399    400   
        fn try_from(session_creds: SessionCredentials) -> Result<Self, Self::Error> {
  400    401   
            Ok(Credentials::new(
  401    402   
                session_creds.access_key_id,
  402    403   
                session_creds.secret_access_key,
  403    404   
                Some(session_creds.session_token),
  404    405   
                Some(
  405    406   
                    SystemTime::try_from(session_creds.expiration)
  406    407   
                        .map_err(|_| CredentialsError::unhandled("credential expiration time cannot be represented by a SystemTime"))?,
  407    408   
                ),
  408    409   
                "s3express",
  409    410   
            ))
  410    411   
        }
  411    412   
    }
  412    413   
  413    414   
    impl DefaultS3ExpressIdentityProvider {
  414    415   
        pub(crate) fn builder() -> Builder {
  415    416   
            Builder::default()
  416    417   
        }
  417    418   
  418    419   
        async fn identity<'a>(&'a self, runtime_components: &'a RuntimeComponents, config_bag: &'a ConfigBag) -> Result<Identity, BoxError> {
  419    420   
            let bucket_name = self.bucket_name(config_bag)?;
  420    421   
  421    422   
            let sigv4_identity_resolver = runtime_components
  422    423   
                .identity_resolver(aws_runtime::auth::sigv4::SCHEME_ID)
  423    424   
                .ok_or("identity resolver for sigv4 should be set for S3")?;
  424    425   
            let aws_identity = runtime_components
  425    426   
                .identity_cache()
  426    427   
                .resolve_cached_identity(sigv4_identity_resolver, runtime_components, config_bag)
  427    428   
                .await?;
  428    429   
  429    430   
            let credentials = aws_identity
  430    431   
                .data::<Credentials>()
  431    432   
                .ok_or("wrong identity type for SigV4. Expected AWS credentials but got `{identity:?}")?;
  432    433   
  433    434   
            let key = self.cache.key(bucket_name, credentials);
  434    435   
            self.cache
  435    436   
                .get_or_load(key, || async move {
  436    437   
                    let creds = self.express_session_credentials(bucket_name, runtime_components, config_bag).await?;
  437         -
                    let data = Credentials::try_from(creds)?;
         438  +
                    let mut data = Credentials::try_from(creds)?;
         439  +
                    data.get_property_mut_or_default::<Vec<AwsCredentialFeature>>()
         440  +
                        .push(AwsCredentialFeature::S3ExpressBucket);
  438    441   
                    Ok((Identity::new(data.clone(), data.expiry()), data.expiry().unwrap()))
  439    442   
                })
  440    443   
                .await
  441    444   
        }
  442    445   
  443    446   
        fn bucket_name<'a>(&'a self, config_bag: &'a ConfigBag) -> Result<&'a str, BoxError> {
  444    447   
            let params = config_bag.load::<EndpointResolverParams>().expect("endpoint resolver params must be set");
  445    448   
            let params = params
  446    449   
                .get::<crate::config::endpoint::Params>()
  447    450   
                .expect("`Params` should be wrapped in `EndpointResolverParams`");
@@ -497,500 +556,681 @@
  517    520   
  518    521   
    impl ResolveIdentity for DefaultS3ExpressIdentityProvider {
  519    522   
        fn resolve_identity<'a>(&'a self, runtime_components: &'a RuntimeComponents, config_bag: &'a ConfigBag) -> IdentityFuture<'a> {
  520    523   
            IdentityFuture::new(async move { self.identity(runtime_components, config_bag).await })
  521    524   
        }
  522    525   
  523    526   
        fn cache_location(&self) -> IdentityCacheLocation {
  524    527   
            IdentityCacheLocation::IdentityResolver
  525    528   
        }
  526    529   
    }
         530  +
         531  +
    #[cfg(test)]
         532  +
    mod tests {
         533  +
        use super::*;
         534  +
        use aws_credential_types::credential_feature::AwsCredentialFeature;
         535  +
        use aws_credential_types::Credentials;
         536  +
         537  +
        // Helper function to create test runtime components with SigV4 identity resolver
         538  +
        fn create_test_runtime_components(base_credentials: Credentials) -> aws_smithy_runtime_api::client::runtime_components::RuntimeComponents {
         539  +
            use aws_credential_types::provider::SharedCredentialsProvider;
         540  +
            use aws_smithy_runtime::client::http::test_util::infallible_client_fn;
         541  +
            use aws_smithy_runtime::client::orchestrator::endpoints::StaticUriEndpointResolver;
         542  +
            use aws_smithy_runtime::client::retries::strategy::NeverRetryStrategy;
         543  +
            use aws_smithy_runtime_api::client::auth::static_resolver::StaticAuthSchemeOptionResolver;
         544  +
            use aws_smithy_runtime_api::client::identity::SharedIdentityResolver;
         545  +
            use aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder;
         546  +
            use aws_smithy_types::body::SdkBody;
         547  +
         548  +
            let sigv4_resolver = SharedIdentityResolver::new(SharedCredentialsProvider::new(base_credentials));
         549  +
         550  +
            // Create a simple auth scheme option resolver for testing
         551  +
            let auth_option_resolver = StaticAuthSchemeOptionResolver::new(vec![aws_runtime::auth::sigv4::SCHEME_ID]);
         552  +
         553  +
            let http_client = infallible_client_fn(|_req| {
         554  +
                http::Response::builder()
         555  +
                    .status(200)
         556  +
                    .body(SdkBody::from(
         557  +
                        r#"<?xml version="1.0" encoding="UTF-8"?>
         558  +
                        <CreateSessionResult>
         559  +
                            <Credentials>
         560  +
                                <AccessKeyId>session_access_key</AccessKeyId>
         561  +
                                <SecretAccessKey>session_secret_key</SecretAccessKey>
         562  +
                                <SessionToken>session_token</SessionToken>
         563  +
                                <Expiration>2025-01-01T00:00:00Z</Expiration>
         564  +
                            </Credentials>
         565  +
                        </CreateSessionResult>"#,
         566  +
                    ))
         567  +
                    .unwrap()
         568  +
            });
         569  +
         570  +
            RuntimeComponentsBuilder::for_tests()
         571  +
                .with_identity_resolver(aws_runtime::auth::sigv4::SCHEME_ID, sigv4_resolver)
         572  +
                .with_http_client(Some(http_client))
         573  +
                .with_time_source(Some(aws_smithy_async::time::SystemTimeSource::new()))
         574  +
                .with_retry_strategy(Some(NeverRetryStrategy::new()))
         575  +
                .with_auth_scheme_option_resolver(Some(auth_option_resolver))
         576  +
                .with_endpoint_resolver(Some(StaticUriEndpointResolver::http_localhost(8080)))
         577  +
                .build()
         578  +
                .unwrap()
         579  +
        }
         580  +
         581  +
        // Helper function to create config bag with minimal S3 Express bucket parameters
         582  +
        fn create_test_config_bag(bucket_name: &str) -> aws_smithy_types::config_bag::ConfigBag {
         583  +
            use aws_smithy_runtime_api::client::endpoint::EndpointResolverParams;
         584  +
            use aws_smithy_runtime_api::client::stalled_stream_protection::StalledStreamProtectionConfig;
         585  +
            use aws_smithy_types::config_bag::{ConfigBag, Layer};
         586  +
         587  +
            let mut config_bag = ConfigBag::base();
         588  +
            let mut layer = Layer::new("test");
         589  +
         590  +
            let endpoint_params = EndpointResolverParams::new(crate::config::endpoint::Params::builder().bucket(bucket_name).build().unwrap());
         591  +
            layer.store_put(endpoint_params);
         592  +
         593  +
            layer.store_put(StalledStreamProtectionConfig::disabled());
         594  +
         595  +
            layer.store_put(crate::config::Region::new("us-west-2"));
         596  +
         597  +
            config_bag.push_layer(layer);
         598  +
         599  +
            config_bag
         600  +
        }
         601  +
         602  +
        #[test]
         603  +
        fn test_session_credentials_conversion() {
         604  +
            let session_creds = SessionCredentials::builder()
         605  +
                .access_key_id("test_access_key")
         606  +
                .secret_access_key("test_secret_key")
         607  +
                .session_token("test_session_token")
         608  +
                .expiration(aws_smithy_types::DateTime::from_secs(1000))
         609  +
                .build()
         610  +
                .expect("valid session credentials");
         611  +
         612  +
            let credentials = Credentials::try_from(session_creds).expect("conversion should succeed");
         613  +
         614  +
            assert_eq!(credentials.access_key_id(), "test_access_key");
         615  +
            assert_eq!(credentials.secret_access_key(), "test_secret_key");
         616  +
            assert_eq!(credentials.session_token(), Some("test_session_token"));
         617  +
        }
         618  +
         619  +
        #[tokio::test]
         620  +
        async fn test_identity_provider_embeds_s3express_feature() {
         621  +
            let bucket_name = "test-bucket--usw2-az1--x-s3";
         622  +
         623  +
            // Use helper functions to set up test components
         624  +
            let base_credentials = Credentials::for_tests();
         625  +
            let runtime_components = create_test_runtime_components(base_credentials);
         626  +
            let config_bag = create_test_config_bag(bucket_name);
         627  +
         628  +
            // Create the identity provider
         629  +
            let provider = DefaultS3ExpressIdentityProvider::builder()
         630  +
                .behavior_version(crate::config::BehaviorVersion::latest())
         631  +
                .time_source(aws_smithy_async::time::SystemTimeSource::new())
         632  +
                .build();
         633  +
         634  +
            // Call identity() and verify the S3ExpressBucket feature is present
         635  +
            let identity = provider
         636  +
                .identity(&runtime_components, &config_bag)
         637  +
                .await
         638  +
                .expect("identity() should succeed");
         639  +
         640  +
            let credentials = identity.data::<Credentials>().expect("Identity should contain Credentials");
         641  +
         642  +
            let features = credentials
         643  +
                .get_property::<Vec<AwsCredentialFeature>>()
         644  +
                .expect("Credentials should have features");
         645  +
         646  +
            assert!(
         647  +
                features.contains(&AwsCredentialFeature::S3ExpressBucket),
         648  +
                "S3ExpressBucket feature should be present in credentials returned by identity()"
         649  +
            );
         650  +
        }
         651  +
    }
  527    652   
}
  528    653   
  529    654   
/// Supporting code for S3 Express runtime plugin
  530    655   
pub(crate) mod runtime_plugin {
  531    656   
    use std::borrow::Cow;
  532    657   
  533    658   
    use aws_runtime::auth::SigV4SessionTokenNameOverride;
  534    659   
    use aws_sigv4::http_request::{SignatureLocation, SigningSettings};
  535    660   
    use aws_smithy_runtime_api::{
  536    661   
        box_error::BoxError,
@@ -624,749 +771,901 @@
  644    769   
    mod tests {
  645    770   
        use super::*;
  646    771   
        use aws_credential_types::Credentials;
  647    772   
        use aws_smithy_runtime_api::client::identity::ResolveIdentity;
  648    773   
  649    774   
        #[test]
  650    775   
        fn disable_option_set_from_service_client_should_take_the_highest_precedence() {
  651    776   
            // Disable option is set from service client.
  652    777   
            let disable_s3_express_session_token = crate::config::DisableS3ExpressSessionAuth(true);
  653    778   
  654         -
            // An environment variable says the session auth is _not_ disabled, but it will be
  655         -
            // overruled by what is in `layer`.
         779  +
            // An environment variable says the session auth is _not_ disabled,
         780  +
            // but it will be overruled by what is in `layer`.
  656    781   
            let actual = config(
  657    782   
                Some(disable_s3_express_session_token),
  658    783   
                Env::from_slice(&[(super::env::S3_DISABLE_EXPRESS_SESSION_AUTH, "false")]),
  659    784   
            );
  660    785   
  661         -
            // A config layer from this runtime plugin should not provide a new `DisableS3ExpressSessionAuth`
  662         -
            // if the disable option is set from service client.
         786  +
            // A config layer from this runtime plugin should not provide
         787  +
            // a new `DisableS3ExpressSessionAuth` if the disable option is set from service client.
  663    788   
            assert!(actual.load::<crate::config::DisableS3ExpressSessionAuth>().is_none());
  664    789   
        }
  665    790   
  666    791   
        #[test]
  667    792   
        fn disable_option_set_from_env_should_take_the_second_highest_precedence() {
  668         -
            // An environment variable says session auth is disabled
         793  +
            // Disable option is set from environment variable.
  669    794   
            let actual = config(None, Env::from_slice(&[(super::env::S3_DISABLE_EXPRESS_SESSION_AUTH, "true")]));
  670    795   
         796  +
            // The config layer should provide `DisableS3ExpressSessionAuth` from the environment variable.
  671    797   
            assert!(actual.load::<crate::config::DisableS3ExpressSessionAuth>().unwrap().0);
  672    798   
        }
  673    799   
  674    800   
        #[should_panic]
  675    801   
        #[test]
  676    802   
        fn disable_option_set_from_profile_file_should_take_the_lowest_precedence() {
  677         -
            // TODO(aws-sdk-rust#1073): Implement a test that mimics only setting
  678         -
            //  `s3_disable_express_session_auth` in a profile file
  679         -
            todo!()
         803  +
            todo!("TODO(aws-sdk-rust#1073): Implement profile file test")
  680    804   
        }
  681    805   
  682    806   
        #[test]
  683    807   
        fn disable_option_should_be_unspecified_if_unset() {
         808  +
            // Disable option is not set anywhere.
  684    809   
            let actual = config(None, Env::from_slice(&[]));
  685    810   
         811  +
            // The config layer should not provide `DisableS3ExpressSessionAuth` when it's not configured.
  686    812   
            assert!(actual.load::<crate::config::DisableS3ExpressSessionAuth>().is_none());
  687    813   
        }
  688    814   
  689    815   
        #[test]
  690    816   
        fn s3_express_runtime_plugin_should_set_default_identity_resolver() {
         817  +
            // Config has SigV4 credentials provider, so S3 Express identity resolver should be set.
  691    818   
            let config = crate::Config::builder()
  692    819   
                .behavior_version_latest()
  693    820   
                .time_source(aws_smithy_async::time::SystemTimeSource::new())
  694    821   
                .credentials_provider(Credentials::for_tests())
  695    822   
                .build();
  696    823   
  697    824   
            let actual = runtime_components_builder(config);
         825  +
            // The runtime plugin should provide a default S3 Express identity resolver.
  698    826   
            assert!(actual.identity_resolver(&crate::s3_express::auth::SCHEME_ID).is_some());
  699    827   
        }
  700    828   
  701    829   
        #[test]
  702    830   
        fn s3_express_plugin_should_not_set_default_identity_resolver_without_sigv4_counterpart() {
         831  +
            // Config does not have SigV4 credentials provider.
  703    832   
            let config = crate::Config::builder()
  704    833   
                .behavior_version_latest()
  705    834   
                .time_source(aws_smithy_async::time::SystemTimeSource::new())
  706    835   
                .build();
  707    836   
  708    837   
            let actual = runtime_components_builder(config);
         838  +
            // The runtime plugin should not provide S3 Express identity resolver without SigV4 credentials.
  709    839   
            assert!(actual.identity_resolver(&crate::s3_express::auth::SCHEME_ID).is_none());
  710    840   
        }
  711    841   
  712    842   
        #[tokio::test]
  713    843   
        async fn s3_express_plugin_should_not_set_default_identity_resolver_if_user_provided() {
         844  +
            // User provides a custom S3 Express credentials provider.
  714    845   
            let expected_access_key_id = "expected acccess key ID";
  715    846   
            let config = crate::Config::builder()
  716    847   
                .behavior_version_latest()
  717    848   
                .credentials_provider(Credentials::for_tests())
  718    849   
                .express_credentials_provider(Credentials::new(
  719    850   
                    expected_access_key_id,
  720    851   
                    "secret",
  721    852   
                    None,
  722    853   
                    None,
  723    854   
                    "test express credentials provider",
  724    855   
                ))
  725    856   
                .time_source(aws_smithy_async::time::SystemTimeSource::new())
  726    857   
                .build();
  727    858   
  728         -
            // `RuntimeComponentsBuilder` from `S3ExpressRuntimePlugin` should not provide an S3Express identity resolver.
         859  +
            // The runtime plugin should not override the user-provided identity resolver.
  729    860   
            let runtime_components_builder = runtime_components_builder(config.clone());
  730    861   
            assert!(runtime_components_builder
  731    862   
                .identity_resolver(&crate::s3_express::auth::SCHEME_ID)
  732    863   
                .is_none());
  733    864   
  734         -
            // Get the S3Express identity resolver from the service config.
         865  +
            // The user-provided identity resolver should be used.
  735    866   
            let express_identity_resolver = config.runtime_components.identity_resolver(&crate::s3_express::auth::SCHEME_ID).unwrap();
  736    867   
            let creds = express_identity_resolver
  737    868   
                .resolve_identity(&RuntimeComponentsBuilder::for_tests().build().unwrap(), &ConfigBag::base())
  738    869   
                .await
  739    870   
                .unwrap();
  740    871   
  741         -
            // Verify credentials are the one generated by the S3Express identity resolver user provided.
  742    872   
            assert_eq!(expected_access_key_id, creds.data::<Credentials>().unwrap().access_key_id());
  743    873   
        }
  744    874   
    }
  745    875   
}
  746    876   
  747    877   
pub(crate) mod checksum {
  748    878   
    use crate::http_request_checksum::DefaultRequestChecksumOverride;
  749    879   
    use aws_smithy_checksums::ChecksumAlgorithm;
  750    880   
    use aws_smithy_types::config_bag::ConfigBag;
  751    881   

tmp-codegen-diff/aws-sdk/sdk/s3/tests/express.rs

@@ -1,1 +86,92 @@
    1      1   
/*
    2      2   
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
    3      3   
 * SPDX-License-Identifier: Apache-2.0
    4      4   
 */
    5      5   
    6      6   
use std::time::{Duration, SystemTime};
    7      7   
    8      8   
use aws_config::timeout::TimeoutConfig;
    9      9   
use aws_config::Region;
          10  +
use aws_runtime::user_agent::test_util::assert_ua_does_not_contain_metric_values;
   10     11   
use aws_sdk_s3::config::endpoint::{EndpointFuture, Params, ResolveEndpoint};
   11     12   
use aws_sdk_s3::config::{Builder, Credentials};
   12     13   
use aws_sdk_s3::presigning::PresigningConfig;
   13     14   
use aws_sdk_s3::primitives::SdkBody;
   14     15   
use aws_sdk_s3::types::ChecksumAlgorithm;
   15     16   
use aws_sdk_s3::{Client, Config};
   16     17   
use aws_smithy_http_client::test_util::dvr::ReplayingClient;
   17     18   
use aws_smithy_http_client::test_util::{capture_request, ReplayEvent, StaticReplayClient};
   18     19   
use aws_smithy_runtime::test_util::capture_test_logs::capture_test_logs;
   19     20   
use aws_smithy_types::endpoint::Endpoint;
   20     21   
use http_1x::Uri;
   21     22   
   22     23   
async fn test_client<F>(update_builder: F) -> Client
   23     24   
where
   24     25   
    F: Fn(Builder) -> Builder,
   25     26   
{
   26     27   
    let sdk_config = aws_config::from_env().region("us-west-2").load().await;
   27     28   
    let config = Config::from(&sdk_config).to_builder().with_test_defaults();
   28     29   
    aws_sdk_s3::Client::from_conf(update_builder(config).build())
   29     30   
}
   30     31   
   31     32   
#[tokio::test]
   32     33   
async fn create_session_request_should_not_include_x_amz_s3session_token() {
   33     34   
    let (http_client, request) = capture_request(None);
   34     35   
    // There was a bug where a regular SigV4 session token was overwritten by an express session token
   35     36   
    // even for CreateSession API request.
   36     37   
    // To exercise that code path, it is important to include credentials with a session token below.
   37     38   
    let conf = Config::builder()
   38     39   
        .http_client(http_client)
   39     40   
        .region(Region::new("us-west-2"))
   40     41   
        .credentials_provider(::aws_credential_types::Credentials::for_tests_with_session_token())
   41     42   
        .build();
   42     43   
    let client = Client::from_conf(conf);
   43     44   
   44     45   
    let _ = client
   45     46   
        .list_objects_v2()
   46     47   
        .bucket("s3express-test-bucket--usw2-az1--x-s3")
   47     48   
        .send()
   48     49   
        .await;
   49     50   
   50     51   
    let req = request.expect_request();
   51     52   
    assert!(
   52     53   
        req.headers().get("x-amz-create-session-mode").is_none(),
   53     54   
        "`x-amz-create-session-mode` should not appear in headers of the first request when an express bucket is specified"
   54     55   
    );
   55     56   
    assert!(req.headers().get("x-amz-security-token").is_some());
   56     57   
    assert!(req.headers().get("x-amz-s3session-token").is_none());
          58  +
          59  +
    // The first request uses regular SigV4 credentials (for CreateSession), not S3 Express credentials,
          60  +
    // so metric "J" should NOT be present yet. It will appear on subsequent requests that use S3 Express credentials.
          61  +
    let user_agent = req.headers().get("x-amz-user-agent").unwrap();
          62  +
    assert_ua_does_not_contain_metric_values(user_agent, &["J"]);
   57     63   
}
   58     64   
   59     65   
#[tokio::test]
   60     66   
async fn mixed_auths() {
   61     67   
    let _logs = capture_test_logs();
   62     68   
   63     69   
    let http_client = ReplayingClient::from_file("tests/data/express/mixed-auths.json").unwrap();
   64     70   
    let client = test_client(|b| b.http_client(http_client.clone())).await;
   65     71   
   66     72   
    // A call to an S3 Express bucket where we should see two request/response pairs,
@@ -246,252 +364,373 @@
  266    272   
        .await;
  267    273   
  268    274   
    let checksum_headers: Vec<_> = http_client
  269    275   
        .actual_requests()
  270    276   
        .last()
  271    277   
        .unwrap()
  272    278   
        .headers()
  273    279   
        .iter()
  274    280   
        .filter(|(key, _)| key.starts_with("x-amz-checksum"))
  275    281   
        .collect();
  276         -
  277    282   
    assert_eq!(1, checksum_headers.len());
  278    283   
    assert_eq!("x-amz-checksum-crc32", checksum_headers[0].0);
         284  +
  279    285   
    http_client.assert_requests_match(&[""]);
  280    286   
}
  281    287   
  282    288   
#[tokio::test]
  283    289   
async fn default_checksum_should_be_none() {
  284    290   
    let http_client = StaticReplayClient::new(vec![
  285    291   
        ReplayEvent::new(create_session_request(), create_session_response()),
  286    292   
        ReplayEvent::new(
  287    293   
            operation_request_with_checksum("test?x-id=PutObject", None),
  288    294   
            response_ok(),
  289    295   
        ),
  290    296   
    ]);
  291    297   
    let client = test_client(|b| b.http_client(http_client.clone())).await;
  292    298   
  293    299   
    let _ = client
  294    300   
        .put_object()
  295    301   
        .bucket("s3express-test-bucket--usw2-az1--x-s3")
  296    302   
        .key("test")
  297    303   
        .body(SdkBody::empty().into())
  298    304   
        .send()
  299    305   
        .await;
  300    306   
  301    307   
    http_client.assert_requests_match(&[""]);
  302    308   
  303    309   
    let mut all_checksums = ChecksumAlgorithm::values()
  304    310   
        .iter()
  305    311   
        .map(|checksum| format!("amz-checksum-{}", checksum.to_lowercase()))
  306    312   
        .chain(std::iter::once("content-md5".to_string()));
  307         -
  308    313   
    assert!(!all_checksums.any(|checksum| http_client
  309    314   
        .actual_requests()
  310    315   
        .any(|req| req.headers().iter().any(|(key, _)| key == checksum))));
  311    316   
}
  312    317   
  313    318   
#[tokio::test]
  314    319   
async fn disable_s3_express_session_auth_at_service_client_level() {
  315    320   
    let (http_client, request) = capture_request(None);
  316    321   
    let conf = Config::builder()
  317    322   
        .http_client(http_client)
  318    323   
        .region(Region::new("us-west-2"))
  319    324   
        .with_test_defaults()
  320    325   
        .disable_s3_express_session_auth(true)
  321    326   
        .build();
  322    327   
    let client = Client::from_conf(conf);
  323    328   
  324    329   
    let _ = client
  325    330   
        .list_objects_v2()
  326    331   
        .bucket("s3express-test-bucket--usw2-az1--x-s3")
  327    332   
        .send()
  328    333   
        .await;
  329    334   
  330    335   
    let req = request.expect_request();
  331    336   
    assert!(
  332    337   
        req.headers().get("x-amz-create-session-mode").is_none(),
  333    338   
        "x-amz-create-session-mode should not appear in headers when S3 Express session auth is disabled"
  334    339   
    );
         340  +
         341  +
    // Verify that the User-Agent does NOT contain the S3ExpressBucket metric "J" when session auth is disabled
         342  +
    let user_agent = req.headers().get("x-amz-user-agent").unwrap();
         343  +
    assert_ua_does_not_contain_metric_values(user_agent, &["J"]);
  335    344   
}
  336    345   
  337    346   
#[tokio::test]
  338    347   
async fn disable_s3_express_session_auth_at_operation_level() {
  339    348   
    let (http_client, request) = capture_request(None);
  340    349   
    let conf = Config::builder()
  341    350   
        .http_client(http_client)
  342    351   
        .region(Region::new("us-west-2"))
  343    352   
        .with_test_defaults()
  344    353   
        .build();
@@ -391,400 +450,463 @@
  411    420   
        .send()
  412    421   
        .await;
  413    422   
  414    423   
    let req = rx.expect_request();
  415    424   
    let actual_session_token = req
  416    425   
        .headers()
  417    426   
        .get("x-amz-security-token")
  418    427   
        .expect("x-amz-security-token should be present");
  419    428   
    assert_eq!(expected_session_token, actual_session_token);
  420    429   
    assert!(req.headers().get("x-amz-s3session-token").is_none());
         430  +
         431  +
    // Verify that the User-Agent does NOT contain the S3ExpressBucket metric "J" for regular buckets
         432  +
    let user_agent = req.headers().get("x-amz-user-agent").unwrap();
         433  +
    assert_ua_does_not_contain_metric_values(user_agent, &["J"]);
  421    434   
}
  422    435   
  423    436   
#[tokio::test]
  424    437   
async fn s3_express_auth_flow_should_not_be_reached_with_no_auth_schemes() {
  425    438   
    #[derive(Debug)]
  426    439   
    struct TestResolver {
  427    440   
        url: String,
  428    441   
    }
  429    442   
    impl ResolveEndpoint for TestResolver {
  430    443   
        fn resolve_endpoint(&self, _params: &Params) -> EndpointFuture<'_> {

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

@@ -1,1 +50,50 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
@@ -54,54 +114,114 @@
   74     74   
   75     75   
[dependencies.url]
   76     76   
version = "2.3.1"
   77     77   
[dev-dependencies.aws-config]
   78     78   
path = "../aws-config"
   79     79   
version = "1.8.10"
   80     80   
   81     81   
[dev-dependencies.aws-credential-types]
   82     82   
path = "../aws-credential-types"
   83     83   
features = ["test-util"]
   84         -
version = "1.2.8"
          84  +
version = "1.2.9"
   85     85   
   86     86   
[dev-dependencies.aws-runtime]
   87     87   
path = "../aws-runtime"
   88     88   
features = ["test-util"]
   89     89   
version = "1.5.13"
   90     90   
   91     91   
[dev-dependencies.aws-smithy-async]
   92     92   
path = "../aws-smithy-async"
   93     93   
features = ["test-util"]
   94     94   
version = "1.2.6"

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

@@ -1,1 +86,86 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32     32   
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36     36   
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-runtime]
   39     39   
path = "../aws-smithy-runtime"
   40     40   
features = ["client"]
   41     41   
version = "1.9.4"
   42     42   
   43     43   
[dependencies.aws-smithy-runtime-api]
   44     44   
path = "../aws-smithy-runtime-api"
   45     45   
features = ["client", "http-02x"]
   46     46   
version = "1.9.2"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.4"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.10"
   55     55   
   56     56   
[dependencies.bytes]
   57     57   
version = "1.4.0"
   58     58   
   59     59   
[dependencies.fastrand]
   60     60   
version = "2.0.0"
   61     61   
   62     62   
[dependencies.http]
   63     63   
version = "0.2.9"
   64     64   
   65     65   
[dependencies.regex-lite]
   66     66   
version = "0.1.5"
   67     67   
   68     68   
[dependencies.tracing]
   69     69   
version = "0.1"
   70     70   
[dev-dependencies.aws-credential-types]
   71     71   
path = "../aws-credential-types"
   72     72   
features = ["test-util"]
   73         -
version = "1.2.8"
          73  +
version = "1.2.9"
   74     74   
   75     75   
[dev-dependencies.tokio]
   76     76   
version = "1.23.1"
   77     77   
features = ["macros", "test-util", "rt-multi-thread"]
   78     78   
   79     79   
[features]
   80     80   
behavior-version-latest = []
   81     81   
rustls = ["aws-smithy-runtime/tls-rustls"]
   82     82   
default-https-client = ["aws-smithy-runtime/default-https-client"]
   83     83   
rt-tokio = ["aws-smithy-async/rt-tokio", "aws-smithy-types/rt-tokio"]

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

@@ -1,1 +86,86 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32     32   
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36     36   
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-runtime]
   39     39   
path = "../aws-smithy-runtime"
   40     40   
features = ["client"]
   41     41   
version = "1.9.4"
   42     42   
   43     43   
[dependencies.aws-smithy-runtime-api]
   44     44   
path = "../aws-smithy-runtime-api"
   45     45   
features = ["client", "http-02x"]
   46     46   
version = "1.9.2"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.4"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.10"
   55     55   
   56     56   
[dependencies.bytes]
   57     57   
version = "1.4.0"
   58     58   
   59     59   
[dependencies.fastrand]
   60     60   
version = "2.0.0"
   61     61   
   62     62   
[dependencies.http]
   63     63   
version = "0.2.9"
   64     64   
   65     65   
[dependencies.regex-lite]
   66     66   
version = "0.1.5"
   67     67   
   68     68   
[dependencies.tracing]
   69     69   
version = "0.1"
   70     70   
[dev-dependencies.aws-credential-types]
   71     71   
path = "../aws-credential-types"
   72     72   
features = ["test-util"]
   73         -
version = "1.2.8"
          73  +
version = "1.2.9"
   74     74   
   75     75   
[dev-dependencies.tokio]
   76     76   
version = "1.23.1"
   77     77   
features = ["macros", "test-util", "rt-multi-thread"]
   78     78   
   79     79   
[features]
   80     80   
behavior-version-latest = []
   81     81   
rustls = ["aws-smithy-runtime/tls-rustls"]
   82     82   
default-https-client = ["aws-smithy-runtime/default-https-client"]
   83     83   
rt-tokio = ["aws-smithy-async/rt-tokio", "aws-smithy-types/rt-tokio"]

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

@@ -1,1 +108,108 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32     32   
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36     36   
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-query]
   39     39   
path = "../aws-smithy-query"
   40     40   
version = "0.60.8"
   41     41   
   42     42   
[dependencies.aws-smithy-runtime]
   43     43   
path = "../aws-smithy-runtime"
   44     44   
features = ["client"]
   45     45   
version = "1.9.4"
   46     46   
   47     47   
[dependencies.aws-smithy-runtime-api]
   48     48   
path = "../aws-smithy-runtime-api"
   49     49   
features = ["client", "http-02x"]
   50     50   
version = "1.9.2"
   51     51   
   52     52   
[dependencies.aws-smithy-types]
   53     53   
path = "../aws-smithy-types"
   54     54   
version = "1.3.4"
   55     55   
   56     56   
[dependencies.aws-smithy-xml]
   57     57   
path = "../aws-smithy-xml"
   58     58   
version = "0.60.12"
   59     59   
   60     60   
[dependencies.aws-types]
   61     61   
path = "../aws-types"
   62     62   
version = "1.3.10"
   63     63   
   64     64   
[dependencies.fastrand]
   65     65   
version = "2.0.0"
   66     66   
   67     67   
[dependencies.http]
   68     68   
version = "0.2.9"
   69     69   
   70     70   
[dependencies.regex-lite]
   71     71   
version = "0.1.5"
   72     72   
   73     73   
[dependencies.tracing]
   74     74   
version = "0.1"
   75     75   
[dev-dependencies.aws-credential-types]
   76     76   
path = "../aws-credential-types"
   77     77   
features = ["test-util"]
   78         -
version = "1.2.8"
          78  +
version = "1.2.9"
   79     79   
   80     80   
[dev-dependencies.aws-runtime]
   81     81   
path = "../aws-runtime"
   82     82   
features = ["test-util"]
   83     83   
version = "1.5.13"
   84     84   
   85     85   
[dev-dependencies.aws-smithy-async]
   86     86   
path = "../aws-smithy-async"
   87     87   
features = ["test-util"]
   88     88   
version = "1.2.6"

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

@@ -1,1 +111,111 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
protocol = "aws.protocols#awsJson1_0"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32     32   
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36     36   
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-runtime]
   39     39   
path = "../aws-smithy-runtime"
   40     40   
features = ["client"]
   41     41   
version = "1.9.4"
   42     42   
   43     43   
[dependencies.aws-smithy-runtime-api]
   44     44   
path = "../aws-smithy-runtime-api"
   45     45   
features = ["client", "http-02x"]
   46     46   
version = "1.9.2"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.4"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.10"
   55     55   
   56     56   
[dependencies.bytes]
   57     57   
version = "1.4.0"
   58     58   
   59     59   
[dependencies.fastrand]
   60     60   
version = "2.0.0"
   61     61   
   62     62   
[dependencies.http]
   63     63   
version = "0.2.9"
   64     64   
   65     65   
[dependencies.regex-lite]
   66     66   
version = "0.1.5"
   67     67   
   68     68   
[dependencies.tokio]
   69     69   
version = "1.23.1"
   70     70   
features = ["sync"]
   71     71   
   72     72   
[dependencies.tracing]
   73     73   
version = "0.1"
   74     74   
[dev-dependencies.aws-config]
   75     75   
path = "../aws-config"
   76     76   
version = "1.8.10"
   77     77   
   78     78   
[dev-dependencies.aws-credential-types]
   79     79   
path = "../aws-credential-types"
   80     80   
features = ["test-util"]
   81         -
version = "1.2.8"
          81  +
version = "1.2.9"
   82     82   
   83     83   
[dev-dependencies.aws-runtime]
   84     84   
path = "../aws-runtime"
   85     85   
features = ["test-util"]
   86     86   
version = "1.5.13"
   87     87   
   88     88   
[dev-dependencies.aws-smithy-async]
   89     89   
path = "../aws-smithy-async"
   90     90   
features = ["test-util"]
   91     91   
version = "1.2.6"

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

@@ -1,1 +99,99 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
protocol = "aws.protocols#awsJson1_0"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32     32   
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36     36   
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-runtime]
   39     39   
path = "../aws-smithy-runtime"
   40     40   
features = ["client"]
   41     41   
version = "1.9.4"
   42     42   
   43     43   
[dependencies.aws-smithy-runtime-api]
   44     44   
path = "../aws-smithy-runtime-api"
   45     45   
features = ["client", "http-02x"]
   46     46   
version = "1.9.2"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.4"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.10"
   55     55   
   56     56   
[dependencies.bytes]
   57     57   
version = "1.4.0"
   58     58   
   59     59   
[dependencies.fastrand]
   60     60   
version = "2.0.0"
   61     61   
   62     62   
[dependencies.http]
   63     63   
version = "0.2.9"
   64     64   
   65     65   
[dependencies.regex-lite]
   66     66   
version = "0.1.5"
   67     67   
   68     68   
[dependencies.tokio]
   69     69   
version = "1.23.1"
   70     70   
features = ["sync"]
   71     71   
   72     72   
[dependencies.tracing]
   73     73   
version = "0.1"
   74     74   
[dev-dependencies.aws-config]
   75     75   
path = "../aws-config"
   76     76   
version = "1.8.10"
   77     77   
   78     78   
[dev-dependencies.aws-credential-types]
   79     79   
path = "../aws-credential-types"
   80     80   
features = ["test-util"]
   81         -
version = "1.2.8"
          81  +
version = "1.2.9"
   82     82   
   83     83   
[dev-dependencies.aws-smithy-async]
   84     84   
path = "../aws-smithy-async"
   85     85   
features = ["test-util"]
   86     86   
version = "1.2.6"
   87     87   
   88     88   
[dev-dependencies.tokio]
   89     89   
version = "1.23.1"
   90     90   
features = ["macros", "test-util", "rt-multi-thread"]
   91     91   

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

@@ -1,1 +50,50 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   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         -
version = "1.2.8"
          20  +
version = "1.2.9"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
features = ["event-stream"]
   25     25   
version = "1.5.13"
   26     26   
   27     27   
[dependencies.aws-sigv4]
   28     28   
path = "../aws-sigv4"
   29     29   
version = "1.3.6"
   30     30   
@@ -65,65 +125,125 @@
   85     85   
[dev-dependencies.async-stream]
   86     86   
version = "0.3.0"
   87     87   
   88     88   
[dev-dependencies.aws-config]
   89     89   
path = "../aws-config"
   90     90   
version = "1.8.10"
   91     91   
   92     92   
[dev-dependencies.aws-credential-types]
   93     93   
path = "../aws-credential-types"
   94     94   
features = ["test-util"]
   95         -
version = "1.2.8"
          95  +
version = "1.2.9"
   96     96   
   97     97   
[dev-dependencies.aws-runtime]
   98     98   
path = "../aws-runtime"
   99     99   
features = ["test-util"]
  100    100   
version = "1.5.13"
  101    101   
  102    102   
[dev-dependencies.aws-smithy-async]
  103    103   
path = "../aws-smithy-async"
  104    104   
features = ["test-util"]
  105    105   
version = "1.2.6"