AWS SDK

AWS SDK

rev. f85172573d42c3716ca2b52edb7729bf5bc95ec7 (ignoring whitespace)

Files changed:

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

@@ -1,1 +117,117 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   51     51   
   52     52   
[dependencies.aws-smithy-types]
   53     53   
path = "../aws-smithy-types"
   54     54   
version = "1.3.3"
   55     55   
   56     56   
[dependencies.aws-smithy-xml]
   57     57   
path = "../aws-smithy-xml"
   58     58   
version = "0.60.11"
   59     59   
   60     60   
[dependencies.aws-types]
   61     61   
path = "../aws-types"
   62     62   
version = "1.3.9"
   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-config]
   76     76   
path = "../aws-config"
   77     77   
version = "1.8.9"
   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         -
version = "1.5.12"
          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"
   93     93   
   94     94   
[dev-dependencies.aws-smithy-http-client]
   95     95   
path = "../aws-smithy-http-client"
   96     96   
features = ["test-util", "wire-mock"]
   97     97   
version = "1.1.4"

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

@@ -1,1 +112,112 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.3"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.9"
   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.9"
   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         -
version = "1.5.12"
          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"
   88     88   
   89     89   
[dev-dependencies.aws-smithy-http-client]
   90     90   
path = "../aws-smithy-http-client"
   91     91   
features = ["test-util", "wire-mock"]
   92     92   
version = "1.1.4"

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

@@ -1,1 +118,118 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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   
   31     31   
[dependencies.aws-smithy-eventstream]
   32     32   
path = "../aws-smithy-eventstream"
   33     33   
version = "0.60.12"
   34     34   
   35     35   
[dependencies.aws-smithy-http]
   36     36   
path = "../aws-smithy-http"
   37     37   
features = ["event-stream"]
   38     38   
version = "0.62.5"
   39     39   
   40     40   
[dependencies.aws-smithy-json]
   41     41   
path = "../aws-smithy-json"
   42     42   
version = "0.61.6"
   43     43   
   44     44   
[dependencies.aws-smithy-runtime]
   45     45   
path = "../aws-smithy-runtime"
   46     46   
features = ["client"]
   47     47   
version = "1.9.4"
   48     48   
   49     49   
[dependencies.aws-smithy-runtime-api]
   50     50   
path = "../aws-smithy-runtime-api"
   51     51   
features = ["client", "http-02x"]
   52     52   
version = "1.9.1"
   53     53   
   54     54   
[dependencies.aws-smithy-types]
   55     55   
path = "../aws-smithy-types"
   56     56   
version = "1.3.3"
   57     57   
   58     58   
[dependencies.aws-types]
   59     59   
path = "../aws-types"
   60     60   
version = "1.3.9"
   61     61   
   62     62   
[dependencies.bytes]
   63     63   
version = "1.4.0"
   64     64   
   65     65   
[dependencies.fastrand]
   66     66   
version = "2.0.0"
   67     67   
   68     68   
[dependencies.http]
   69     69   
version = "0.2.9"
   70     70   
   71     71   
[dependencies.regex-lite]
   72     72   
version = "0.1.5"
   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.9"
   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         -
version = "1.5.12"
          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"
   94     94   
   95     95   
[dev-dependencies.aws-smithy-eventstream]
   96     96   
path = "../aws-smithy-eventstream"
   97     97   
features = ["test-util"]
   98     98   
version = "0.60.12"

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

@@ -1,1 +54,54 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          24  +
version = "1.5.13"
   25     25   
   26     26   
[dependencies.aws-sigv4]
   27     27   
path = "../aws-sigv4"
   28     28   
version = "1.3.5"
   29     29   
   30     30   
[dependencies.aws-smithy-async]
   31     31   
path = "../aws-smithy-async"
   32     32   
version = "1.2.6"
   33     33   
   34     34   
[dependencies.aws-smithy-http]
@@ -60,60 +125,125 @@
   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.9"
   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         -
version = "1.5.12"
          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"
  101    101   
  102    102   
[dev-dependencies.aws-smithy-http-client]
  103    103   
path = "../aws-smithy-http-client"
  104    104   
features = ["test-util", "wire-mock"]
  105    105   
version = "1.1.4"

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

@@ -1,1 +112,112 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.3"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.9"
   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.9"
   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         -
version = "1.5.12"
          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"
   88     88   
   89     89   
[dev-dependencies.aws-smithy-http-client]
   90     90   
path = "../aws-smithy-http-client"
   91     91   
features = ["test-util", "wire-mock"]
   92     92   
version = "1.1.4"

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

@@ -1,1 +103,103 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.3"
   51     51   
   52     52   
[dependencies.aws-smithy-xml]
   53     53   
path = "../aws-smithy-xml"
   54     54   
version = "0.60.11"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58     58   
version = "1.3.9"
   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.9"
   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 +55,55 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          25  +
version = "1.5.13"
   26     26   
   27     27   
[dependencies.aws-sigv4]
   28     28   
path = "../aws-sigv4"
   29     29   
version = "1.3.5"
   30     30   
   31     31   
[dependencies.aws-smithy-async]
   32     32   
path = "../aws-smithy-async"
   33     33   
version = "1.2.6"
   34     34   
   35     35   
[dependencies.aws-smithy-checksums]
@@ -99,99 +164,164 @@
  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.9"
  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         -
version = "1.5.12"
         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"
  140    140   
  141    141   
[dev-dependencies.aws-smithy-eventstream]
  142    142   
path = "../aws-smithy-eventstream"
  143    143   
features = ["test-util"]
  144    144   
version = "0.60.12"

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

@@ -203,203 +467,469 @@
  223    223   
            let runtime_components = RuntimeComponentsBuilder::for_tests()
  224    224   
                .with_time_source(Some(time.clone()))
  225    225   
                .with_sleep_impl(Some(TokioSleep::new()))
  226    226   
                .build()
  227    227   
                .unwrap();
  228    228   
  229    229   
            let sut = S3ExpressIdentityCache::new(1, time.clone().into_shared(), DEFAULT_BUFFER_TIME);
  230    230   
  231    231   
            let identity_resolver = test_identity_resolver(vec![Ok(identity_expiring_in(1000)), Ok(identity_expiring_in(2000))]);
  232    232   
  233         -
            let key = sut.key("test-bucket--usw2-az1--x-s3", &Credentials::for_tests_with_session_token());
         233  +
            let key = sut.key("test-bucket--usw2-az1--x-s3", &Credentials::for_tests());
  234    234   
  235    235   
            // First call to the cache, populating a cache entry.
  236    236   
            expect_identity(1000, &sut, key.clone(), || {
  237    237   
                let identity_resolver = identity_resolver.clone();
  238    238   
                let runtime_components = runtime_components.clone();
  239    239   
                async move { load(identity_resolver, &runtime_components).await }
  240    240   
            })
  241    241   
            .await;
  242    242   
  243    243   
            // Testing for a cache hit by advancing time such that the updated time is before the expiration of the first identity
  244    244   
            // i.e. 500 < 1000.
  245    245   
            time.set_time(epoch_secs(500));
  246    246   
  247    247   
            expect_identity(1000, &sut, key.clone(), || async move { panic!("new identity should not be loaded") }).await;
  248    248   
  249    249   
            // Testing for a cache miss by advancing time such that the updated time is now after the expiration of the first identity
  250    250   
            // and before the expiration of the second identity i.e. 1000 < 1500 && 1500 < 2000.
  251    251   
            time.set_time(epoch_secs(1500));
  252    252   
  253    253   
            expect_identity(2000, &sut, key, || async move { load(identity_resolver, &runtime_components).await }).await;
  254    254   
        }
  255    255   
  256    256   
        #[test]
  257    257   
        fn load_contention() {
  258    258   
            let rt = tokio::runtime::Builder::new_multi_thread()
  259    259   
                .enable_time()
  260    260   
                .worker_threads(16)
  261    261   
                .build()
  262    262   
                .unwrap();
  263    263   
  264    264   
            let time = ManualTimeSource::new(epoch_secs(0));
  265    265   
            let runtime_components = RuntimeComponentsBuilder::for_tests()
  266    266   
                .with_time_source(Some(time.clone()))
  267    267   
                .with_sleep_impl(Some(TokioSleep::new()))
  268    268   
                .build()
  269    269   
                .unwrap();
  270    270   
  271    271   
            let number_of_buckets = 4;
  272    272   
            let sut = Arc::new(S3ExpressIdentityCache::new(
  273    273   
                number_of_buckets,
  274    274   
                time.clone().into_shared(),
  275    275   
                DEFAULT_BUFFER_TIME,
  276    276   
            ));
  277    277   
  278    278   
            // Nested for loops below advance time by 200 in total, and each identity has the expiration
  279    279   
            // such that no matter what order async tasks are executed, it never expires.
  280    280   
            let safe_expiration = number_of_buckets as u64 * 50 + DEFAULT_BUFFER_TIME.as_secs() + 1;
  281    281   
            let identity_resolver = test_identity_resolver(vec![
  282    282   
                Ok(identity_expiring_in(safe_expiration)),
  283    283   
                Ok(identity_expiring_in(safe_expiration)),
  284    284   
                Ok(identity_expiring_in(safe_expiration)),
  285    285   
                Ok(identity_expiring_in(safe_expiration)),
  286    286   
            ]);
  287    287   
  288    288   
            let mut tasks = Vec::new();
  289    289   
            for i in 0..number_of_buckets {
  290         -
                let key = sut.key(&format!("test-bucket-{i}-usw2-az1--x-s3"), &Credentials::for_tests_with_session_token());
         290  +
                let key = sut.key(&format!("test-bucket-{i}-usw2-az1--x-s3"), &Credentials::for_tests());
  291    291   
                for _ in 0..50 {
  292    292   
                    let sut = sut.clone();
  293    293   
                    let key = key.clone();
  294    294   
                    let identity_resolver = identity_resolver.clone();
  295    295   
                    let time = time.clone();
  296    296   
                    let runtime_components = runtime_components.clone();
  297    297   
                    tasks.push(rt.spawn(async move {
  298    298   
                        let now = time.advance(Duration::from_secs(1));
  299    299   
                        let identity: Identity = sut
  300    300   
                            .get_or_load(key, || async move { load(identity_resolver, &runtime_components).await })
  301    301   
                            .await
  302    302   
                            .unwrap();
  303    303   
  304    304   
                        assert!(identity.expiration().unwrap() >= now, "{:?} >= {:?}", identity.expiration(), now);
  305    305   
                    }));
  306    306   
                }
  307    307   
            }
  308    308   
            let tasks = tasks.into_iter().collect::<FuturesUnordered<_>>();
  309    309   
            for task in tasks {
  310    310   
                rt.block_on(task).unwrap();
  311    311   
            }
  312    312   
        }
  313    313   
  314    314   
        #[tokio::test]
  315    315   
        async fn identity_fetch_triggered_by_lru_eviction() {
  316    316   
            let time = ManualTimeSource::new(UNIX_EPOCH);
  317    317   
            let runtime_components = RuntimeComponentsBuilder::for_tests()
  318    318   
                .with_time_source(Some(time.clone()))
  319    319   
                .with_sleep_impl(Some(TokioSleep::new()))
  320    320   
                .build()
  321    321   
                .unwrap();
  322    322   
  323    323   
            // Create a cache of size 2.
  324    324   
            let sut = S3ExpressIdentityCache::new(2, time.into_shared(), DEFAULT_BUFFER_TIME);
  325    325   
  326    326   
            let identity_resolver = test_identity_resolver(vec![
  327    327   
                Ok(identity_expiring_in(1000)),
  328    328   
                Ok(identity_expiring_in(2000)),
  329    329   
                Ok(identity_expiring_in(3000)),
  330    330   
                Ok(identity_expiring_in(4000)),
  331    331   
            ]);
  332    332   
  333         -
            let [key1, key2, key3] =
  334         -
                [1, 2, 3].map(|i| sut.key(&format!("test-bucket-{i}--usw2-az1--x-s3"), &Credentials::for_tests_with_session_token()));
         333  +
            let [key1, key2, key3] = [1, 2, 3].map(|i| sut.key(&format!("test-bucket-{i}--usw2-az1--x-s3"), &Credentials::for_tests()));
  335    334   
  336    335   
            // This should pupulate a cache entry for `key1`.
  337    336   
            expect_identity(1000, &sut, key1.clone(), || {
  338    337   
                let identity_resolver = identity_resolver.clone();
  339    338   
                let runtime_components = runtime_components.clone();
  340    339   
                async move { load(identity_resolver, &runtime_components).await }
  341    340   
            })
  342    341   
            .await;
  343    342   
            // This immediate next call for `key1` should be a cache hit.
  344    343   
            expect_identity(1000, &sut, key1.clone(), || async move { panic!("new identity should not be loaded") }).await;
  345    344   
  346    345   
            // This should pupulate a cache entry for `key2`.
  347    346   
            expect_identity(2000, &sut, key2, || {
  348    347   
                let identity_resolver = identity_resolver.clone();
  349    348   
                let runtime_components = runtime_components.clone();
  350    349   
                async move { load(identity_resolver, &runtime_components).await }
  351    350   
            })
  352    351   
            .await;
  353    352   
  354    353   
            // This should pupulate a cache entry for `key3`, but evicting a cache entry for `key1` because the cache is full.
  355    354   
            expect_identity(3000, &sut, key3.clone(), || {
  356    355   
                let identity_resolver = identity_resolver.clone();
  357    356   
                let runtime_components = runtime_components.clone();
  358    357   
                async move { load(identity_resolver, &runtime_components).await }
  359    358   
            })
  360    359   
            .await;
  361    360   
  362    361   
            // Attempt to get an identity for `key1` should end up fetching a new one since its cache entry has been evicted.
  363    362   
            // This fetch should now evict a cache entry for `key2`.
  364    363   
            expect_identity(4000, &sut, key1, || async move { load(identity_resolver, &runtime_components).await }).await;
  365    364   
  366    365   
            // A cache entry for `key3` should still exist in the cache.
  367    366   
            expect_identity(3000, &sut, key3, || async move { panic!("new identity should not be loaded") }).await;
  368    367   
        }
  369    368   
    }
  370    369   
}
  371    370   
/// Supporting code for S3 Express identity provider
  372    371   
pub(crate) mod identity_provider {
  373    372   
    use std::time::{Duration, SystemTime};
  374    373   
  375    374   
    use crate::s3_express::identity_cache::S3ExpressIdentityCache;
  376    375   
    use crate::types::SessionCredentials;
         376  +
    use aws_credential_types::credential_feature::AwsCredentialFeature;
  377    377   
    use aws_credential_types::provider::error::CredentialsError;
  378    378   
    use aws_credential_types::Credentials;
  379    379   
    use aws_smithy_async::time::{SharedTimeSource, TimeSource};
  380    380   
    use aws_smithy_runtime_api::box_error::BoxError;
  381    381   
    use aws_smithy_runtime_api::client::endpoint::EndpointResolverParams;
  382    382   
    use aws_smithy_runtime_api::client::identity::{Identity, IdentityCacheLocation, IdentityFuture, ResolveCachedIdentity, ResolveIdentity};
  383    383   
    use aws_smithy_runtime_api::client::interceptors::SharedInterceptor;
  384    384   
    use aws_smithy_runtime_api::client::runtime_components::{GetIdentityResolver, RuntimeComponents};
  385    385   
    use aws_smithy_runtime_api::shared::IntoShared;
  386    386   
    use aws_smithy_types::config_bag::ConfigBag;
  387    387   
  388    388   
    use super::identity_cache::{DEFAULT_BUFFER_TIME, DEFAULT_MAX_CACHE_CAPACITY};
  389    389   
  390    390   
    #[derive(Debug)]
  391    391   
    pub(crate) struct DefaultS3ExpressIdentityProvider {
  392    392   
        behavior_version: crate::config::BehaviorVersion,
  393    393   
        cache: S3ExpressIdentityCache,
  394    394   
    }
  395    395   
  396    396   
    impl TryFrom<SessionCredentials> for Credentials {
  397    397   
        type Error = BoxError;
  398    398   
  399    399   
        fn try_from(session_creds: SessionCredentials) -> Result<Self, Self::Error> {
  400    400   
            Ok(Credentials::new(
  401    401   
                session_creds.access_key_id,
  402    402   
                session_creds.secret_access_key,
  403    403   
                Some(session_creds.session_token),
  404    404   
                Some(
  405    405   
                    SystemTime::try_from(session_creds.expiration)
  406    406   
                        .map_err(|_| CredentialsError::unhandled("credential expiration time cannot be represented by a SystemTime"))?,
  407    407   
                ),
  408    408   
                "s3express",
  409    409   
            ))
  410    410   
        }
  411    411   
    }
  412    412   
  413    413   
    impl DefaultS3ExpressIdentityProvider {
  414    414   
        pub(crate) fn builder() -> Builder {
  415    415   
            Builder::default()
  416    416   
        }
  417    417   
  418    418   
        async fn identity<'a>(&'a self, runtime_components: &'a RuntimeComponents, config_bag: &'a ConfigBag) -> Result<Identity, BoxError> {
  419    419   
            let bucket_name = self.bucket_name(config_bag)?;
  420    420   
  421    421   
            let sigv4_identity_resolver = runtime_components
  422    422   
                .identity_resolver(aws_runtime::auth::sigv4::SCHEME_ID)
  423    423   
                .ok_or("identity resolver for sigv4 should be set for S3")?;
  424    424   
            let aws_identity = runtime_components
  425    425   
                .identity_cache()
  426    426   
                .resolve_cached_identity(sigv4_identity_resolver, runtime_components, config_bag)
  427    427   
                .await?;
  428    428   
  429    429   
            let credentials = aws_identity
  430    430   
                .data::<Credentials>()
  431    431   
                .ok_or("wrong identity type for SigV4. Expected AWS credentials but got `{identity:?}")?;
  432    432   
  433    433   
            let key = self.cache.key(bucket_name, credentials);
  434    434   
            self.cache
  435    435   
                .get_or_load(key, || async move {
  436    436   
                    let creds = self.express_session_credentials(bucket_name, runtime_components, config_bag).await?;
  437         -
                    let data = Credentials::try_from(creds)?;
         437  +
                    let mut data = Credentials::try_from(creds)?;
         438  +
                    data.get_property_mut_or_default::<Vec<AwsCredentialFeature>>()
         439  +
                        .push(AwsCredentialFeature::S3ExpressBucket);
  438    440   
                    Ok((Identity::new(data.clone(), data.expiry()), data.expiry().unwrap()))
  439    441   
                })
  440    442   
                .await
  441    443   
        }
  442    444   
  443    445   
        fn bucket_name<'a>(&'a self, config_bag: &'a ConfigBag) -> Result<&'a str, BoxError> {
  444    446   
            let params = config_bag.load::<EndpointResolverParams>().expect("endpoint resolver params must be set");
  445    447   
            let params = params
  446    448   
                .get::<crate::config::endpoint::Params>()
  447    449   
                .expect("`Params` should be wrapped in `EndpointResolverParams`");
@@ -497,499 +556,628 @@
  517    519   
  518    520   
    impl ResolveIdentity for DefaultS3ExpressIdentityProvider {
  519    521   
        fn resolve_identity<'a>(&'a self, runtime_components: &'a RuntimeComponents, config_bag: &'a ConfigBag) -> IdentityFuture<'a> {
  520    522   
            IdentityFuture::new(async move { self.identity(runtime_components, config_bag).await })
  521    523   
        }
  522    524   
  523    525   
        fn cache_location(&self) -> IdentityCacheLocation {
  524    526   
            IdentityCacheLocation::IdentityResolver
  525    527   
        }
  526    528   
    }
         529  +
         530  +
    #[cfg(test)]
         531  +
    mod tests {
         532  +
        use super::*;
         533  +
        use aws_credential_types::credential_feature::AwsCredentialFeature;
         534  +
        use aws_credential_types::Credentials;
         535  +
        use aws_smithy_runtime::client::http::test_util::{ReplayEvent, StaticReplayClient};
         536  +
         537  +
        #[test]
         538  +
        fn test_s3express_credentials_contain_feature() {
         539  +
            // This test verifies that when SessionCredentials are converted to Credentials
         540  +
            // within the identity provider code path, the S3ExpressBucket feature is embedded.
         541  +
            // We test the conversion logic directly rather than the full identity() method
         542  +
            // to avoid complex mocking of HTTP clients and runtime components.
         543  +
         544  +
            let session_creds = SessionCredentials::builder()
         545  +
                .access_key_id("test_access_key")
         546  +
                .secret_access_key("test_secret_key")
         547  +
                .session_token("test_session_token")
         548  +
                .expiration(aws_smithy_types::DateTime::from_secs(1000))
         549  +
                .build()
         550  +
                .expect("valid session credentials");
         551  +
         552  +
            // Simulate what the identity provider does: convert SessionCredentials to Credentials
         553  +
            // and embed the S3ExpressBucket feature
         554  +
            let mut credentials = Credentials::try_from(session_creds).expect("conversion should succeed");
         555  +
            credentials
         556  +
                .get_property_mut_or_default::<Vec<AwsCredentialFeature>>()
         557  +
                .push(AwsCredentialFeature::S3ExpressBucket);
         558  +
         559  +
            // Verify the feature is embedded in the Credentials
         560  +
            let creds_features = credentials
         561  +
                .get_property::<Vec<AwsCredentialFeature>>()
         562  +
                .expect("features should be present in credentials");
         563  +
            assert!(
         564  +
                creds_features.contains(&AwsCredentialFeature::S3ExpressBucket),
         565  +
                "S3ExpressBucket feature should be embedded in Credentials"
         566  +
            );
         567  +
         568  +
            // Verify the feature propagates to Identity when converted
         569  +
            let identity = Identity::from(credentials.clone());
         570  +
            assert!(identity.data::<Credentials>().is_some(), "Identity should contain Credentials");
         571  +
         572  +
            let identity_creds = identity.data::<Credentials>().expect("should have credentials");
         573  +
            let identity_features = identity_creds
         574  +
                .get_property::<Vec<AwsCredentialFeature>>()
         575  +
                .expect("features should be present in Identity's credentials");
         576  +
            assert!(
         577  +
                identity_features.contains(&AwsCredentialFeature::S3ExpressBucket),
         578  +
                "S3ExpressBucket feature should propagate to Identity after conversion"
         579  +
            );
         580  +
        }
         581  +
         582  +
        #[test]
         583  +
        fn test_session_credentials_conversion() {
         584  +
            let session_creds = SessionCredentials::builder()
         585  +
                .access_key_id("test_access_key")
         586  +
                .secret_access_key("test_secret_key")
         587  +
                .session_token("test_session_token")
         588  +
                .expiration(aws_smithy_types::DateTime::from_secs(1000))
         589  +
                .build()
         590  +
                .expect("valid session credentials");
         591  +
         592  +
            let credentials = Credentials::try_from(session_creds).expect("conversion should succeed");
         593  +
         594  +
            assert_eq!(credentials.access_key_id(), "test_access_key");
         595  +
            assert_eq!(credentials.secret_access_key(), "test_secret_key");
         596  +
            assert_eq!(credentials.session_token(), Some("test_session_token"));
         597  +
        }
         598  +
    }
  527    599   
}
  528    600   
  529    601   
/// Supporting code for S3 Express runtime plugin
  530    602   
pub(crate) mod runtime_plugin {
  531    603   
    use std::borrow::Cow;
  532    604   
  533    605   
    use aws_runtime::auth::SigV4SessionTokenNameOverride;
  534    606   
    use aws_sigv4::http_request::{SignatureLocation, SigningSettings};
  535    607   
    use aws_smithy_runtime_api::{
  536    608   
        box_error::BoxError,
@@ -624,696 +771,848 @@
  644    716   
    mod tests {
  645    717   
        use super::*;
  646    718   
        use aws_credential_types::Credentials;
  647    719   
        use aws_smithy_runtime_api::client::identity::ResolveIdentity;
  648    720   
  649    721   
        #[test]
  650    722   
        fn disable_option_set_from_service_client_should_take_the_highest_precedence() {
  651    723   
            // Disable option is set from service client.
  652    724   
            let disable_s3_express_session_token = crate::config::DisableS3ExpressSessionAuth(true);
  653    725   
  654         -
            // An environment variable says the session auth is _not_ disabled, but it will be
  655         -
            // overruled by what is in `layer`.
         726  +
            // An environment variable says the session auth is _not_ disabled,
         727  +
            // but it will be overruled by what is in `layer`.
  656    728   
            let actual = config(
  657    729   
                Some(disable_s3_express_session_token),
  658    730   
                Env::from_slice(&[(super::env::S3_DISABLE_EXPRESS_SESSION_AUTH, "false")]),
  659    731   
            );
  660    732   
  661         -
            // A config layer from this runtime plugin should not provide a new `DisableS3ExpressSessionAuth`
  662         -
            // if the disable option is set from service client.
         733  +
            // A config layer from this runtime plugin should not provide
         734  +
            // a new `DisableS3ExpressSessionAuth` if the disable option is set from service client.
  663    735   
            assert!(actual.load::<crate::config::DisableS3ExpressSessionAuth>().is_none());
  664    736   
        }
  665    737   
  666    738   
        #[test]
  667    739   
        fn disable_option_set_from_env_should_take_the_second_highest_precedence() {
  668         -
            // An environment variable says session auth is disabled
         740  +
            // Disable option is set from environment variable.
  669    741   
            let actual = config(None, Env::from_slice(&[(super::env::S3_DISABLE_EXPRESS_SESSION_AUTH, "true")]));
  670    742   
         743  +
            // The config layer should provide `DisableS3ExpressSessionAuth` from the environment variable.
  671    744   
            assert!(actual.load::<crate::config::DisableS3ExpressSessionAuth>().unwrap().0);
  672    745   
        }
  673    746   
  674    747   
        #[should_panic]
  675    748   
        #[test]
  676    749   
        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!()
         750  +
            todo!("TODO(aws-sdk-rust#1073): Implement profile file test")
  680    751   
        }
  681    752   
  682    753   
        #[test]
  683    754   
        fn disable_option_should_be_unspecified_if_unset() {
         755  +
            // Disable option is not set anywhere.
  684    756   
            let actual = config(None, Env::from_slice(&[]));
  685    757   
         758  +
            // The config layer should not provide `DisableS3ExpressSessionAuth` when it's not configured.
  686    759   
            assert!(actual.load::<crate::config::DisableS3ExpressSessionAuth>().is_none());
  687    760   
        }
  688    761   
  689    762   
        #[test]
  690    763   
        fn s3_express_runtime_plugin_should_set_default_identity_resolver() {
         764  +
            // Config has SigV4 credentials provider, so S3 Express identity resolver should be set.
  691    765   
            let config = crate::Config::builder()
  692    766   
                .behavior_version_latest()
  693    767   
                .time_source(aws_smithy_async::time::SystemTimeSource::new())
  694    768   
                .credentials_provider(Credentials::for_tests())
  695    769   
                .build();
  696    770   
  697    771   
            let actual = runtime_components_builder(config);
         772  +
            // The runtime plugin should provide a default S3 Express identity resolver.
  698    773   
            assert!(actual.identity_resolver(&crate::s3_express::auth::SCHEME_ID).is_some());
  699    774   
        }
  700    775   
  701    776   
        #[test]
  702    777   
        fn s3_express_plugin_should_not_set_default_identity_resolver_without_sigv4_counterpart() {
         778  +
            // Config does not have SigV4 credentials provider.
  703    779   
            let config = crate::Config::builder()
  704    780   
                .behavior_version_latest()
  705    781   
                .time_source(aws_smithy_async::time::SystemTimeSource::new())
  706    782   
                .build();
  707    783   
  708    784   
            let actual = runtime_components_builder(config);
         785  +
            // The runtime plugin should not provide S3 Express identity resolver without SigV4 credentials.
  709    786   
            assert!(actual.identity_resolver(&crate::s3_express::auth::SCHEME_ID).is_none());
  710    787   
        }
  711    788   
  712    789   
        #[tokio::test]
  713    790   
        async fn s3_express_plugin_should_not_set_default_identity_resolver_if_user_provided() {
         791  +
            // User provides a custom S3 Express credentials provider.
  714    792   
            let expected_access_key_id = "expected acccess key ID";
  715    793   
            let config = crate::Config::builder()
  716    794   
                .behavior_version_latest()
  717    795   
                .credentials_provider(Credentials::for_tests())
  718    796   
                .express_credentials_provider(Credentials::new(
  719    797   
                    expected_access_key_id,
  720    798   
                    "secret",
  721    799   
                    None,
  722    800   
                    None,
  723    801   
                    "test express credentials provider",
  724    802   
                ))
  725    803   
                .time_source(aws_smithy_async::time::SystemTimeSource::new())
  726    804   
                .build();
  727    805   
  728         -
            // `RuntimeComponentsBuilder` from `S3ExpressRuntimePlugin` should not provide an S3Express identity resolver.
         806  +
            // The runtime plugin should not override the user-provided identity resolver.
  729    807   
            let runtime_components_builder = runtime_components_builder(config.clone());
  730    808   
            assert!(runtime_components_builder
  731    809   
                .identity_resolver(&crate::s3_express::auth::SCHEME_ID)
  732    810   
                .is_none());
  733    811   
  734         -
            // Get the S3Express identity resolver from the service config.
         812  +
            // The user-provided identity resolver should be used.
  735    813   
            let express_identity_resolver = config.runtime_components.identity_resolver(&crate::s3_express::auth::SCHEME_ID).unwrap();
  736    814   
            let creds = express_identity_resolver
  737    815   
                .resolve_identity(&RuntimeComponentsBuilder::for_tests().build().unwrap(), &ConfigBag::base())
  738    816   
                .await
  739    817   
                .unwrap();
  740    818   
  741         -
            // Verify credentials are the one generated by the S3Express identity resolver user provided.
  742    819   
            assert_eq!(expected_access_key_id, creds.data::<Credentials>().unwrap().access_key_id());
  743    820   
        }
  744    821   
    }
  745    822   
}
  746    823   
  747    824   
pub(crate) mod checksum {
  748    825   
    use crate::http_request_checksum::DefaultRequestChecksumOverride;
  749    826   
    use aws_smithy_checksums::ChecksumAlgorithm;
  750    827   
    use aws_smithy_types::config_bag::ConfigBag;
  751    828   

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,
@@ -238,244 +364,354 @@
  258    264   
        ),
  259    265   
    ]);
  260    266   
    let client = test_client(|b| b.http_client(http_client.clone())).await;
  261    267   
  262    268   
    let _ = client
  263    269   
        .delete_objects()
  264    270   
        .bucket("s3express-test-bucket--usw2-az1--x-s3")
  265    271   
        .send()
  266    272   
        .await;
  267    273   
  268         -
    let checksum_headers: Vec<_> = http_client
  269         -
        .actual_requests()
  270         -
        .last()
  271         -
        .unwrap()
  272         -
        .headers()
  273         -
        .iter()
  274         -
        .filter(|(key, _)| key.starts_with("x-amz-checksum"))
  275         -
        .collect();
  276         -
  277         -
    assert_eq!(1, checksum_headers.len());
  278         -
    assert_eq!("x-amz-checksum-crc32", checksum_headers[0].0);
  279    274   
    http_client.assert_requests_match(&[""]);
  280    275   
}
  281    276   
  282    277   
#[tokio::test]
  283    278   
async fn default_checksum_should_be_none() {
  284    279   
    let http_client = StaticReplayClient::new(vec![
  285    280   
        ReplayEvent::new(create_session_request(), create_session_response()),
  286    281   
        ReplayEvent::new(
  287    282   
            operation_request_with_checksum("test?x-id=PutObject", None),
  288    283   
            response_ok(),
  289    284   
        ),
  290    285   
    ]);
  291    286   
    let client = test_client(|b| b.http_client(http_client.clone())).await;
  292    287   
  293    288   
    let _ = client
  294    289   
        .put_object()
  295    290   
        .bucket("s3express-test-bucket--usw2-az1--x-s3")
  296    291   
        .key("test")
  297    292   
        .body(SdkBody::empty().into())
  298    293   
        .send()
  299    294   
        .await;
  300    295   
  301    296   
    http_client.assert_requests_match(&[""]);
  302         -
  303         -
    let mut all_checksums = ChecksumAlgorithm::values()
  304         -
        .iter()
  305         -
        .map(|checksum| format!("amz-checksum-{}", checksum.to_lowercase()))
  306         -
        .chain(std::iter::once("content-md5".to_string()));
  307         -
  308         -
    assert!(!all_checksums.any(|checksum| http_client
  309         -
        .actual_requests()
  310         -
        .any(|req| req.headers().iter().any(|(key, _)| key == checksum))));
  311    297   
}
  312    298   
  313    299   
#[tokio::test]
  314    300   
async fn disable_s3_express_session_auth_at_service_client_level() {
  315    301   
    let (http_client, request) = capture_request(None);
  316    302   
    let conf = Config::builder()
  317    303   
        .http_client(http_client)
  318    304   
        .region(Region::new("us-west-2"))
  319    305   
        .with_test_defaults()
  320    306   
        .disable_s3_express_session_auth(true)
  321    307   
        .build();
  322    308   
    let client = Client::from_conf(conf);
  323    309   
  324    310   
    let _ = client
  325    311   
        .list_objects_v2()
  326    312   
        .bucket("s3express-test-bucket--usw2-az1--x-s3")
  327    313   
        .send()
  328    314   
        .await;
  329    315   
  330    316   
    let req = request.expect_request();
  331    317   
    assert!(
  332    318   
        req.headers().get("x-amz-create-session-mode").is_none(),
  333    319   
        "x-amz-create-session-mode should not appear in headers when S3 Express session auth is disabled"
  334    320   
    );
         321  +
         322  +
    // Verify that the User-Agent does NOT contain the S3ExpressBucket metric "J" when session auth is disabled
         323  +
    let user_agent = req.headers().get("x-amz-user-agent").unwrap();
         324  +
    assert_ua_does_not_contain_metric_values(user_agent, &["J"]);
  335    325   
}
  336    326   
  337    327   
#[tokio::test]
  338    328   
async fn disable_s3_express_session_auth_at_operation_level() {
  339    329   
    let (http_client, request) = capture_request(None);
  340    330   
    let conf = Config::builder()
  341    331   
        .http_client(http_client)
  342    332   
        .region(Region::new("us-west-2"))
  343    333   
        .with_test_defaults()
  344    334   
        .build();
@@ -391,381 +450,444 @@
  411    401   
        .send()
  412    402   
        .await;
  413    403   
  414    404   
    let req = rx.expect_request();
  415    405   
    let actual_session_token = req
  416    406   
        .headers()
  417    407   
        .get("x-amz-security-token")
  418    408   
        .expect("x-amz-security-token should be present");
  419    409   
    assert_eq!(expected_session_token, actual_session_token);
  420    410   
    assert!(req.headers().get("x-amz-s3session-token").is_none());
         411  +
         412  +
    // Verify that the User-Agent does NOT contain the S3ExpressBucket metric "J" for regular buckets
         413  +
    let user_agent = req.headers().get("x-amz-user-agent").unwrap();
         414  +
    assert_ua_does_not_contain_metric_values(user_agent, &["J"]);
  421    415   
}
  422    416   
  423    417   
#[tokio::test]
  424    418   
async fn s3_express_auth_flow_should_not_be_reached_with_no_auth_schemes() {
  425    419   
    #[derive(Debug)]
  426    420   
    struct TestResolver {
  427    421   
        url: String,
  428    422   
    }
  429    423   
    impl ResolveEndpoint for TestResolver {
  430    424   
        fn resolve_endpoint(&self, _params: &Params) -> EndpointFuture<'_> {

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

@@ -1,1 +119,119 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.3"
   51     51   
   52     52   
[dependencies.aws-smithy-xml]
   53     53   
path = "../aws-smithy-xml"
   54     54   
version = "0.60.11"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58     58   
version = "1.3.9"
   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.md-5]
   67     67   
version = "0.10.0"
   68     68   
   69     69   
[dependencies.regex-lite]
   70     70   
version = "0.1.5"
   71     71   
   72     72   
[dependencies.tracing]
   73     73   
version = "0.1"
   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.9"
   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         -
version = "1.5.12"
          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"
   95     95   
   96     96   
[dev-dependencies.aws-smithy-http-client]
   97     97   
path = "../aws-smithy-http-client"
   98     98   
features = ["test-util", "wire-mock"]
   99     99   
version = "1.1.4"

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

@@ -1,1 +86,86 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.3"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.9"
   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.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.3"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.9"
   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 +113,113 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   51     51   
   52     52   
[dependencies.aws-smithy-types]
   53     53   
path = "../aws-smithy-types"
   54     54   
version = "1.3.3"
   55     55   
   56     56   
[dependencies.aws-smithy-xml]
   57     57   
path = "../aws-smithy-xml"
   58     58   
version = "0.60.11"
   59     59   
   60     60   
[dependencies.aws-types]
   61     61   
path = "../aws-types"
   62     62   
version = "1.3.9"
   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         -
version = "1.5.12"
          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"
   89     89   
   90     90   
[dev-dependencies.aws-smithy-http-client]
   91     91   
path = "../aws-smithy-http-client"
   92     92   
features = ["test-util", "wire-mock"]
   93     93   
version = "1.1.4"

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

@@ -1,1 +116,116 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.3"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.9"
   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.9"
   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         -
version = "1.5.12"
          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"
   92     92   
   93     93   
[dev-dependencies.aws-smithy-http-client]
   94     94   
path = "../aws-smithy-http-client"
   95     95   
features = ["test-util", "wire-mock"]
   96     96   
version = "1.1.4"

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

@@ -1,1 +99,99 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          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.6"
   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.1"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50     50   
version = "1.3.3"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.9"
   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.9"
   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 +55,55 @@
   10     10   
rust-version = "1.86.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         -
version = "1.5.12"
          25  +
version = "1.5.13"
   26     26   
   27     27   
[dependencies.aws-sigv4]
   28     28   
path = "../aws-sigv4"
   29     29   
version = "1.3.5"
   30     30   
   31     31   
[dependencies.aws-smithy-async]
   32     32   
path = "../aws-smithy-async"
   33     33   
version = "1.2.6"
   34     34   
   35     35   
[dependencies.aws-smithy-eventstream]
@@ -65,65 +130,130 @@
   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.9"
   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         -
version = "1.5.12"
         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"
  106    106   
  107    107   
[dev-dependencies.aws-smithy-eventstream]
  108    108   
path = "../aws-smithy-eventstream"
  109    109   
features = ["test-util"]
  110    110   
version = "0.60.12"