AWS SDK

AWS SDK

rev. 3964b40d6806bc3f52bd311e2c791030c3325f2c

Files changed:

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/header-signed-request.txt

@@ -0,1 +0,6 @@
           1  +
POST / HTTP/1.1
           2  +
Host:example.amazonaws.com
           3  +
X-Amz-Date:20150830T123600Z
           4  +
X-Amz-Region-Set:us-east-1
           5  +
Authorization:AWS4-ECDSA-P256-SHA256 Credential=AKIDEXAMPLE/20150830/service/aws4_request, SignedHeaders=host;x-amz-date;x-amz-region-set, Signature=3044022020e04d83be1fc4c7669eb2530c48444ff2ef65e73ab6d4084ba89b886b70d01a0220570df05bd3ba39ccd96a3e831ed8757fbb516baa603d78eaed3ccc95d50a2abb
           6  +

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/header-string-to-sign.txt

Renamed from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-vanilla/header-string-to-sign.txt

@@ -1,1 +0,4 @@
    1      1   
AWS4-ECDSA-P256-SHA256
    2      2   
20150830T123600Z
    3      3   
20150830/service/aws4_request
    4         -
806a9b01b76472cc6b66fff02630726d55f8b4ada6d2fd9b36eb0d710e215861
           4  +
806a9b01b76472cc6b66fff02630726d55f8b4ada6d2fd9b36eb0d710e215861

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/public-key.json

@@ -0,1 +0,4 @@
           1  +
{
           2  +
  "X":"b6618f6a65740a99e650b33b6b4b5bd0d43b176d721a3edfea7e7d2d56d936b1",
           3  +
  "Y":"865ed22a7eadc9c5cb9d2cbaca1b3699139fedc5043dc6661864218330c8e518"
           4  +
}

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/query-canonical-request.txt

Renamed from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-vanilla/query-canonical-request.txt

@@ -1,1 +0,7 @@
    1      1   
POST
    2      2   
/
    3      3   
X-Amz-Algorithm=AWS4-ECDSA-P256-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-Expires=3600&X-Amz-Region-Set=us-east-1&X-Amz-SignedHeaders=host
    4      4   
host:example.amazonaws.com
    5      5   
    6      6   
host
    7         -
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
           7  +
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/query-signature.txt

@@ -0,1 +3183,3617 @@
           1  +
30440220158b75ce84ef2d97a0b287759f9104b9e093ef3a912a84bd78d30274d08c10c4022064fb9961da1d951aba42455df5752c3e3fa8055cd053b59ad53b140d54f6aafd
              \
 No newline at end of file
    0      2   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/query-signed-request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/query-signed-request.txt
    1      3   
new file mode 100644
    2      4   
index 0000000..616973f
    3         -
-- /dev/null
           5  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/query-signed-request.txt
    4      6   
@@ -0,0 +1,3 @@
           7  +
POST /?X-Amz-Algorithm=AWS4-ECDSA-P256-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Region-Set=us-east-1&X-Amz-Signature=3044022034768b9f03c61ee7f93b1e23198ff08923345e32f25e662afa5794997f00ebb102205813497325d50d374e486a3fce997e02ae9610a8eb81af01128103dd9d2d997d HTTP/1.1
           8  +
Host:example.amazonaws.com
           9  +
    5     10   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-vanilla/query-string-to-sign.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/query-string-to-sign.txt
    6     11   
similarity index 99%
    7     12   
rename from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-vanilla/query-string-to-sign.txt
    8     13   
rename to tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/query-string-to-sign.txt
    9     14   
index 34e3382..711c162 100644
   10         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-vanilla/query-string-to-sign.txt
          15  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/query-string-to-sign.txt
   11     16   
@@ -1,4 +1,4 @@
   12     17   
AWS4-ECDSA-P256-SHA256
   13     18   
20150830T123600Z
   14     19   
20150830/service/aws4_request
   15         -
192546340393592ef9baaa24656f55ed91288110e7514b50f0a3f79bb761a29c
          20  +
192546340393592ef9baaa24656f55ed91288110e7514b50f0a3f79bb761a29c
              \
 No newline at end of file
   16     21   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/request.txt
   17     22   
new file mode 100644
   18     23   
index 0000000..3f0a82a
   19         -
-- /dev/null
          24  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla/request.txt
   20     25   
@@ -0,0 +1,2 @@
          26  +
POST / HTTP/1.1
          27  +
Host:example.amazonaws.com
   21     28   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/context.json b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/context.json
   22     29   
new file mode 100644
   23     30   
index 0000000..0db1df1
   24         -
-- /dev/null
          31  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/context.json
   25     32   
@@ -0,0 +1,12 @@
          33  +
{
          34  +
    "credentials": {
          35  +
        "access_key_id": "AKIDEXAMPLE",
          36  +
        "secret_access_key": "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY"
          37  +
    },
          38  +
    "expiration_in_seconds": 3600,
          39  +
    "normalize": true,
          40  +
    "region": "us-east-1",
          41  +
    "service": "service",
          42  +
    "sign_body": true,
          43  +
    "timestamp": "2015-08-30T12:36:00Z"
          44  +
}
              \
 No newline at end of file
   26     45   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded-parameters/header-canonical-request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-canonical-request.txt
   27     46   
similarity index 62%
   28     47   
rename from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded-parameters/header-canonical-request.txt
   29     48   
rename to tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-canonical-request.txt
   30     49   
index 05ab787..62639b2 100644
   31         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded-parameters/header-canonical-request.txt
          50  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-canonical-request.txt
   32     51   
@@ -1,12 +1,12 @@
   33     52   
POST
   34     53   
/
   35     54   
   36     55   
content-length:13
   37     56   
content-type:application/x-www-form-urlencoded; charset=utf-8
   38     57   
host:example.amazonaws.com
   39         -
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
          58  +
x-amz-content-sha256:9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
   40     59   
x-amz-date:20150830T123600Z
   41     60   
x-amz-region-set:us-east-1
   42     61   
   43     62   
content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-region-set
   44         -
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
          63  +
9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
              \
 No newline at end of file
   45     64   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-signature.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-signature.txt
   46     65   
new file mode 100644
   47     66   
index 0000000..006ec2e
   48         -
-- /dev/null
          67  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-signature.txt
   49     68   
@@ -0,0 +1 @@
          69  +
3045022100eaa8151b5a6e60d9c52dfa60d186a304d0226984aa9ed21f2913267cdfd365c902203bfd4e6dfea58e68d3cb892939f3a00ac91e80c8df69828aefa1e48245928678
              \
 No newline at end of file
   50     70   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-signed-request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-signed-request.txt
   51     71   
new file mode 100644
   52     72   
index 0000000..87a11f2
   53         -
-- /dev/null
          73  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-signed-request.txt
   54     74   
@@ -0,0 +1,10 @@
          75  +
POST / HTTP/1.1
          76  +
Content-Type:application/x-www-form-urlencoded; charset=utf-8
          77  +
Host:example.amazonaws.com
          78  +
Content-Length:13
          79  +
X-Amz-Date:20150830T123600Z
          80  +
X-Amz-Region-Set:us-east-1
          81  +
x-amz-content-sha256:9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
          82  +
Authorization:AWS4-ECDSA-P256-SHA256 Credential=AKIDEXAMPLE/20150830/service/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-region-set, Signature=3045022100c016dc61cbd380cf8160711320957071f5c122ef69164d56d02f79daf51a0603022043e3313aa2f6b46285cc89dfe5616ccc74c810a3d7ea25b76ee1ca496f7facba
          83  +
          84  +
Param1=value1
              \
 No newline at end of file
   55     85   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-string-to-sign.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-string-to-sign.txt
   56     86   
new file mode 100644
   57     87   
index 0000000..c047afb
   58         -
-- /dev/null
          88  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-string-to-sign.txt
   59     89   
@@ -0,0 +1,4 @@
          90  +
AWS4-ECDSA-P256-SHA256
          91  +
20150830T123600Z
          92  +
20150830/service/aws4_request
          93  +
bcdb9ab3050c0bb18c5e9eb60e6eb1aaaf00907920065569a99b0c51278639b5
              \
 No newline at end of file
   60     94   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/public-key.json b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/public-key.json
   61     95   
new file mode 100644
   62     96   
index 0000000..379dcb2
   63         -
-- /dev/null
          97  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/public-key.json
   64     98   
@@ -0,0 +1,4 @@
          99  +
{
         100  +
  "X":"b6618f6a65740a99e650b33b6b4b5bd0d43b176d721a3edfea7e7d2d56d936b1",
         101  +
  "Y":"865ed22a7eadc9c5cb9d2cbaca1b3699139fedc5043dc6661864218330c8e518"
         102  +
}
   65    103   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded-parameters/query-canonical-request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-canonical-request.txt
   66    104   
similarity index 85%
   67    105   
rename from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded-parameters/query-canonical-request.txt
   68    106   
rename to tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-canonical-request.txt
   69    107   
index fcc454f..6933a8c 100644
   70         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded-parameters/query-canonical-request.txt
         108  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-canonical-request.txt
   71    109   
@@ -1,9 +1,9 @@
   72    110   
POST
   73    111   
/
   74    112   
X-Amz-Algorithm=AWS4-ECDSA-P256-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-Expires=3600&X-Amz-Region-Set=us-east-1&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost
   75    113   
content-length:13
   76    114   
content-type:application/x-www-form-urlencoded; charset=utf-8
   77    115   
host:example.amazonaws.com
   78    116   
   79    117   
content-length;content-type;host
   80         -
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
         118  +
9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
              \
 No newline at end of file
   81    119   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-signature.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-signature.txt
   82    120   
new file mode 100644
   83    121   
index 0000000..34a2e12
   84         -
-- /dev/null
         122  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-signature.txt
   85    123   
@@ -0,0 +1 @@
         124  +
3046022100dcfa462c480d85707221a690323639df78fb10eb2f4913abcfc4eec215c39fb8022100bad863cf9d951963fc2d8068a2887742d553283e5086f644e3ca9ff8b262e13c
              \
 No newline at end of file
   86    125   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-signed-request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-signed-request.txt
   87    126   
new file mode 100644
   88    127   
index 0000000..197b99e
   89         -
-- /dev/null
         128  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-signed-request.txt
   90    129   
@@ -0,0 +1,6 @@
         130  +
POST /?X-Amz-Algorithm=AWS4-ECDSA-P256-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost&X-Amz-Expires=3600&X-Amz-Region-Set=us-east-1&X-Amz-Signature=30450220128d491ccca3f9a7988d00454d2210dd884d7990ca2cb844d4968c8fa9e937f8022100b3668dd440d8206074460567cee98691f66412fe5a83d8e32c601e1331f2ec2b HTTP/1.1
         131  +
Content-Type:application/x-www-form-urlencoded; charset=utf-8
         132  +
Host:example.amazonaws.com
         133  +
Content-Length:13
         134  +
         135  +
Param1=value1
              \
 No newline at end of file
   91    136   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-string-to-sign.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-string-to-sign.txt
   92    137   
new file mode 100644
   93    138   
index 0000000..9d2bc74
   94         -
-- /dev/null
         139  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-string-to-sign.txt
   95    140   
@@ -0,0 +1,4 @@
         141  +
AWS4-ECDSA-P256-SHA256
         142  +
20150830T123600Z
         143  +
20150830/service/aws4_request
         144  +
d4dab970413a0459d2a3bb644b278e96e85f2f6ac8fa09a74bbd6a269ec3dd82
              \
 No newline at end of file
   96    145   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4-test-suite/post-x-www-form-urlencoded-parameters/post-x-www-form-urlencoded-parameters.req b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/request.txt
   97    146   
similarity index 80%
   98    147   
rename from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4-test-suite/post-x-www-form-urlencoded-parameters/post-x-www-form-urlencoded-parameters.req
   99    148   
rename to tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/request.txt
  100    149   
index 36015f1..8289eaa 100644
  101         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4-test-suite/post-x-www-form-urlencoded-parameters/post-x-www-form-urlencoded-parameters.req
         150  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/request.txt
  102    151   
@@ -1,6 +1,6 @@
  103    152   
POST / HTTP/1.1
  104    153   
Content-Type:application/x-www-form-urlencoded; charset=utf-8
  105    154   
Host:example.amazonaws.com
  106         -
X-Amz-Date:20150830T123600Z
         155  +
Content-Length:13
  107    156   
  108    157   
Param1=value1
              \
 No newline at end of file
  109    158   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/context.json b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/context.json
  110    159   
new file mode 100644
  111    160   
index 0000000..0db1df1
  112         -
-- /dev/null
         161  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/context.json
  113    162   
@@ -0,0 +1,12 @@
         163  +
{
         164  +
    "credentials": {
         165  +
        "access_key_id": "AKIDEXAMPLE",
         166  +
        "secret_access_key": "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY"
         167  +
    },
         168  +
    "expiration_in_seconds": 3600,
         169  +
    "normalize": true,
         170  +
    "region": "us-east-1",
         171  +
    "service": "service",
         172  +
    "sign_body": true,
         173  +
    "timestamp": "2015-08-30T12:36:00Z"
         174  +
}
              \
 No newline at end of file
  114    175   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/header-canonical-request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-canonical-request.txt
  115    176   
similarity index 61%
  116    177   
rename from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/header-canonical-request.txt
  117    178   
rename to tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-canonical-request.txt
  118    179   
index 69009dc..797632b 100644
  119         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/header-canonical-request.txt
         180  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-canonical-request.txt
  120    181   
@@ -1,12 +1,12 @@
  121    182   
POST
  122    183   
/
  123    184   
  124    185   
content-length:13
  125    186   
content-type:application/x-www-form-urlencoded
  126    187   
host:example.amazonaws.com
  127         -
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
         188  +
x-amz-content-sha256:9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
  128    189   
x-amz-date:20150830T123600Z
  129    190   
x-amz-region-set:us-east-1
  130    191   
  131    192   
content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-region-set
  132         -
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
         193  +
9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
              \
 No newline at end of file
  133    194   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-signature.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-signature.txt
  134    195   
new file mode 100644
  135    196   
index 0000000..f5a641c
  136         -
-- /dev/null
         197  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-signature.txt
  137    198   
@@ -0,0 +1 @@
         199  +
304402202dc0a1ca6ca9308bece143f48201f2500761a242ba6efc7857e1ba01a022e843022053f570cb5adf521df2f6732b5077becd86bc2073b30e9d48c2057851902c1c0e
              \
 No newline at end of file
  138    200   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-signed-request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-signed-request.txt
  139    201   
new file mode 100644
  140    202   
index 0000000..7bd94a7
  141         -
-- /dev/null
         203  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-signed-request.txt
  142    204   
@@ -0,0 +1,10 @@
         205  +
POST / HTTP/1.1
         206  +
Content-Type:application/x-www-form-urlencoded
         207  +
Host:example.amazonaws.com
         208  +
Content-Length:13
         209  +
X-Amz-Date:20150830T123600Z
         210  +
X-Amz-Region-Set:us-east-1
         211  +
x-amz-content-sha256:9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
         212  +
Authorization:AWS4-ECDSA-P256-SHA256 Credential=AKIDEXAMPLE/20150830/service/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-region-set, Signature=3045022100955bbc0f0b9d4284719808642167f7d5ea4a72f8c296b75b442898c8b81cd7e502202425fb97620fa9a20344d22b248dd00db07524fc39b5ad77533e00b277331241
         213  +
         214  +
Param1=value1
              \
 No newline at end of file
  143    215   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-string-to-sign.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-string-to-sign.txt
  144    216   
new file mode 100644
  145    217   
index 0000000..8d25ba9
  146         -
-- /dev/null
         218  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/header-string-to-sign.txt
  147    219   
@@ -0,0 +1,4 @@
         220  +
AWS4-ECDSA-P256-SHA256
         221  +
20150830T123600Z
         222  +
20150830/service/aws4_request
         223  +
ba7fa291aefad463b308fdc89b33d852aea9fbcfa151d820117bd8189066cb91
              \
 No newline at end of file
  148    224   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/public-key.json b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/public-key.json
  149    225   
new file mode 100644
  150    226   
index 0000000..379dcb2
  151         -
-- /dev/null
         227  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/public-key.json
  152    228   
@@ -0,0 +1,4 @@
         229  +
{
         230  +
  "X":"b6618f6a65740a99e650b33b6b4b5bd0d43b176d721a3edfea7e7d2d56d936b1",
         231  +
  "Y":"865ed22a7eadc9c5cb9d2cbaca1b3699139fedc5043dc6661864218330c8e518"
         232  +
}
  153    233   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/query-canonical-request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-canonical-request.txt
  154    234   
similarity index 99%
  155    235   
rename from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/query-canonical-request.txt
  156    236   
rename to tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-canonical-request.txt
  157    237   
index 9ed065b..563ff58 100644
  158         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/query-canonical-request.txt
         238  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-canonical-request.txt
  159    239   
@@ -1,9 +1,9 @@
  160    240   
POST
  161    241   
/
  162    242   
X-Amz-Algorithm=AWS4-ECDSA-P256-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-Expires=3600&X-Amz-Region-Set=us-east-1&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost
  163    243   
content-length:13
  164    244   
content-type:application/x-www-form-urlencoded
  165    245   
host:example.amazonaws.com
  166    246   
  167    247   
content-length;content-type;host
  168         -
9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
         248  +
9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
              \
 No newline at end of file
  169    249   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-signature.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-signature.txt
  170    250   
new file mode 100644
  171    251   
index 0000000..0c77daf
  172         -
-- /dev/null
         252  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-signature.txt
  173    253   
@@ -0,0 +1 @@
         254  +
304402205e21d399153f879b0f32c38742d12941299467bfdc213224cc76a97acffd6ec6022035a9be37a38c19e98e5cfc536fabe885e82fbf999081234b364cab5cacff8733
              \
 No newline at end of file
  174    255   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-signed-request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-signed-request.txt
  175    256   
new file mode 100644
  176    257   
index 0000000..71d6de9
  177         -
-- /dev/null
         258  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-signed-request.txt
  178    259   
@@ -0,0 +1,6 @@
         260  +
POST /?X-Amz-Algorithm=AWS4-ECDSA-P256-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-SignedHeaders=content-length%3Bcontent-type%3Bhost&X-Amz-Expires=3600&X-Amz-Region-Set=us-east-1&X-Amz-Signature=30450221008d8a6aa0bc3f651e6c14c52e9e24dbca58964641c9cb6e55169f9dc74766ae3d022016126756ce1523ac972f66f6bf6e981f44572d3c8916f1f43d428fb2caa0e1ea HTTP/1.1
         261  +
Content-Type:application/x-www-form-urlencoded
         262  +
Host:example.amazonaws.com
         263  +
Content-Length:13
         264  +
         265  +
Param1=value1
              \
 No newline at end of file
  179    266   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/query-string-to-sign.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-string-to-sign.txt
  180    267   
similarity index 99%
  181    268   
rename from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/query-string-to-sign.txt
  182    269   
rename to tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-string-to-sign.txt
  183    270   
index bef3143..cc7a224 100644
  184         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/query-string-to-sign.txt
         271  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/query-string-to-sign.txt
  185    272   
@@ -1,4 +1,4 @@
  186    273   
AWS4-ECDSA-P256-SHA256
  187    274   
20150830T123600Z
  188    275   
20150830/service/aws4_request
  189         -
4e4122984d30d13170a298ece62cc30f8da12578fb3b482616b1f11036b13934
         276  +
4e4122984d30d13170a298ece62cc30f8da12578fb3b482616b1f11036b13934
              \
 No newline at end of file
  190    277   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/request.txt b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/request.txt
  191    278   
new file mode 100644
  192    279   
index 0000000..760b2d3
  193         -
-- /dev/null
         280  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/request.txt
  194    281   
@@ -0,0 +1,6 @@
         282  +
POST / HTTP/1.1
         283  +
Content-Type:application/x-www-form-urlencoded
         284  +
Host:example.amazonaws.com
         285  +
Content-Length:13
         286  +
         287  +
Param1=value1
              \
 No newline at end of file
  195    288   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/canonical_request.rs b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/canonical_request.rs
  196    289   
index 9bd636f..b53f33f 100644
  197         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/canonical_request.rs
         290  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/canonical_request.rs
  198    291   
@@ -346,67 +346,78 @@ impl CanonicalRequest<'_> {
  199    292   
            params.push((Cow::Borrowed(k), Cow::Borrowed(v)));
  200    293   
        }
  201    294   
  202    295   
        if let SignatureValues::QueryParams(values) = values {
  203    296   
            add_param(&mut params, param::X_AMZ_DATE, &values.date_time);
  204    297   
            add_param(&mut params, param::X_AMZ_EXPIRES, &values.expires);
  205    298   
  206    299   
            #[cfg(feature = "sigv4a")]
  207    300   
            if let Some(regions) = values.region_set {
  208    301   
                add_param(&mut params, sigv4a::param::X_AMZ_REGION_SET, regions);
  209    302   
            }
  210    303   
  211    304   
            add_param(&mut params, param::X_AMZ_ALGORITHM, values.algorithm);
  212    305   
            add_param(&mut params, param::X_AMZ_CREDENTIAL, &values.credential);
  213    306   
            add_param(
  214    307   
                &mut params,
  215    308   
                param::X_AMZ_SIGNED_HEADERS,
  216    309   
                values.signed_headers.as_str(),
  217    310   
            );
  218    311   
  219    312   
            if let Some(security_token) = values.security_token {
  220    313   
                add_param(
  221    314   
                    &mut params,
  222    315   
                    settings
  223    316   
                        .session_token_name_override
  224    317   
                        .unwrap_or(param::X_AMZ_SECURITY_TOKEN),
  225    318   
                    security_token,
  226    319   
                );
  227    320   
            }
  228    321   
        }
  229         -
        // Sort by param name, and then by param value
         322  +
         323  +
        // Sort on the _encoded_ key/value pairs
         324  +
        let mut params: Vec<(String, String)> = params
         325  +
            .into_iter()
         326  +
            .map(|x| {
         327  +
                use aws_smithy_http::query::fmt_string;
         328  +
                let enc_k = fmt_string(&x.0);
         329  +
                let enc_v = fmt_string(&x.1);
         330  +
                (enc_k, enc_v)
         331  +
            })
         332  +
            .collect();
         333  +
  230    334   
        params.sort();
  231    335   
  232    336   
        let mut query = QueryWriter::new(uri);
  233    337   
        query.clear_params();
  234    338   
        for (key, value) in params {
  235         -
            query.insert(&key, &value);
         339  +
            query.insert_encoded(&key, &value);
  236    340   
        }
  237    341   
  238    342   
        let query = query.build_query();
  239    343   
        if query.is_empty() {
  240    344   
            None
  241    345   
        } else {
  242    346   
            Some(query)
  243    347   
        }
  244    348   
    }
  245    349   
  246    350   
    fn insert_host_header(
  247    351   
        canonical_headers: &mut HeaderMap<HeaderValue>,
  248    352   
        uri: &Uri,
  249    353   
    ) -> HeaderValue {
  250    354   
        match canonical_headers.get(&HOST) {
  251    355   
            Some(header) => header.clone(),
  252    356   
            None => {
  253    357   
                let port = uri.port();
  254    358   
                let scheme = uri.scheme();
  255    359   
                let authority = uri
  256    360   
                    .authority()
  257    361   
                    .expect("request uri authority must be set for signing")
  258    362   
                    .as_str();
  259    363   
                let host = uri
  260    364   
                    .host()
  261    365   
                    .expect("request uri host must be set for signing");
  262    366   
  263    367   
                // Check if port is default (80 for HTTP, 443 for HTTPS) and if so exclude it from the
  264    368   
                // Host header when signing since RFC 2616 indicates that the default port should not be
  265    369   
                // sent in the Host header (and Hyper strips default ports if they are present)
  266    370   
@@ -642,310 +653,320 @@ impl<'a> StringToSign<'a> {
  267    371   
            service,
  268    372   
            hashed_creq,
  269    373   
            signature_version: SignatureVersion::V4a,
  270    374   
        }
  271    375   
    }
  272    376   
}
  273    377   
  274    378   
impl fmt::Display for StringToSign<'_> {
  275    379   
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
  276    380   
        write!(
  277    381   
            f,
  278    382   
            "{}\n{}\n{}\n{}",
  279    383   
            self.algorithm,
  280    384   
            format_date_time(self.time),
  281    385   
            match self.signature_version {
  282    386   
                SignatureVersion::V4 => self.scope.to_string(),
  283    387   
                SignatureVersion::V4a => self.scope.v4a_display(),
  284    388   
            },
  285    389   
            self.hashed_creq
  286    390   
        )
  287    391   
    }
  288    392   
}
  289    393   
  290    394   
#[cfg(test)]
  291    395   
mod tests {
  292    396   
    use crate::date_time::test_parsers::parse_date_time;
  293    397   
    use crate::http_request::canonical_request::{
  294    398   
        normalize_header_value, trim_all, CanonicalRequest, SigningScope, StringToSign,
  295    399   
    };
  296    400   
    use crate::http_request::test;
         401  +
    use crate::http_request::test::SigningSuiteTest;
  297    402   
    use crate::http_request::{
  298    403   
        PayloadChecksumKind, SessionTokenMode, SignableBody, SignableRequest, SignatureLocation,
  299    404   
        SigningParams, SigningSettings,
  300    405   
    };
  301    406   
    use crate::sign::v4;
  302    407   
    use crate::sign::v4::sha256_hex_string;
  303    408   
    use aws_credential_types::Credentials;
  304    409   
    use aws_smithy_http::query_writer::QueryWriter;
  305    410   
    use aws_smithy_runtime_api::client::identity::Identity;
  306    411   
    use http0::{HeaderValue, Uri};
  307    412   
    use pretty_assertions::assert_eq;
  308    413   
    use proptest::{prelude::*, proptest};
  309    414   
    use std::borrow::Cow;
  310    415   
    use std::time::Duration;
  311    416   
  312    417   
    fn signing_params(identity: &Identity, settings: SigningSettings) -> SigningParams<'_> {
  313    418   
        v4::signing_params::Builder::default()
  314    419   
            .identity(identity)
  315    420   
            .region("test-region")
  316    421   
            .name("testservicename")
  317    422   
            .time(parse_date_time("20210511T154045Z").unwrap())
  318    423   
            .settings(settings)
  319    424   
            .build()
  320    425   
            .unwrap()
  321    426   
            .into()
  322    427   
    }
  323    428   
  324    429   
    #[test]
  325    430   
    fn test_repeated_header() {
  326         -
        let mut req = test::v4::test_request("get-vanilla-query-order-key-case");
         431  +
        let test = test::SigningSuiteTest::v4("get-vanilla-query-order-key-case");
         432  +
        let mut req = test.request();
  327    433   
        req.headers.push((
  328    434   
            "x-amz-object-attributes".to_string(),
  329    435   
            "Checksum".to_string(),
  330    436   
        ));
  331    437   
        req.headers.push((
  332    438   
            "x-amz-object-attributes".to_string(),
  333    439   
            "ObjectSize".to_string(),
  334    440   
        ));
  335    441   
        let req = SignableRequest::from(&req);
  336    442   
        let settings = SigningSettings {
  337    443   
            payload_checksum_kind: PayloadChecksumKind::XAmzSha256,
  338    444   
            session_token_mode: SessionTokenMode::Exclude,
  339    445   
            ..Default::default()
  340    446   
        };
  341    447   
        let identity = Credentials::for_tests().into();
  342    448   
        let signing_params = signing_params(&identity, settings);
  343    449   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  344    450   
  345    451   
        assert_eq!(
  346    452   
            creq.values.signed_headers().to_string(),
  347    453   
            "host;x-amz-content-sha256;x-amz-date;x-amz-object-attributes"
  348    454   
        );
  349    455   
        assert_eq!(
  350    456   
            creq.header_values_for("x-amz-object-attributes"),
  351    457   
            "Checksum,ObjectSize",
  352    458   
        );
  353    459   
    }
  354    460   
  355    461   
    #[test]
  356    462   
    fn test_host_header_properly_handles_ports() {
  357    463   
        fn host_header_test_setup(endpoint: String) -> String {
  358         -
            let mut req = test::v4::test_request("get-vanilla");
         464  +
            let test = SigningSuiteTest::v4("get-vanilla");
         465  +
            let mut req = test.request();
  359    466   
            req.uri = endpoint;
  360    467   
            let req = SignableRequest::from(&req);
  361    468   
            let settings = SigningSettings {
  362    469   
                payload_checksum_kind: PayloadChecksumKind::XAmzSha256,
  363    470   
                session_token_mode: SessionTokenMode::Exclude,
  364    471   
                ..Default::default()
  365    472   
            };
  366    473   
            let identity = Credentials::for_tests().into();
  367    474   
            let signing_params = signing_params(&identity, settings);
  368    475   
            let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  369    476   
            creq.header_values_for("host")
  370    477   
        }
  371    478   
  372    479   
        // HTTP request with 80 port should not be signed with that port
  373    480   
        let http_80_host_header = host_header_test_setup("http://localhost:80".into());
  374    481   
        assert_eq!(http_80_host_header, "localhost",);
  375    482   
  376    483   
        // HTTP request with non-80 port should be signed with that port
  377    484   
        let http_1234_host_header = host_header_test_setup("http://localhost:1234".into());
  378    485   
        assert_eq!(http_1234_host_header, "localhost:1234",);
  379    486   
  380    487   
        // HTTPS request with 443 port should not be signed with that port
  381    488   
        let https_443_host_header = host_header_test_setup("https://localhost:443".into());
  382    489   
        assert_eq!(https_443_host_header, "localhost",);
  383    490   
  384    491   
        // HTTPS request with non-443 port should be signed with that port
  385    492   
        let https_1234_host_header = host_header_test_setup("https://localhost:1234".into());
  386    493   
        assert_eq!(https_1234_host_header, "localhost:1234",);
  387    494   
    }
  388    495   
  389    496   
    #[test]
  390    497   
    fn test_set_xamz_sha_256() {
  391         -
        let req = test::v4::test_request("get-vanilla-query-order-key-case");
         498  +
        let test = SigningSuiteTest::v4("get-vanilla-query-order-key-case");
         499  +
        let req = test.request();
  392    500   
        let req = SignableRequest::from(&req);
  393    501   
        let settings = SigningSettings {
  394    502   
            payload_checksum_kind: PayloadChecksumKind::XAmzSha256,
  395    503   
            session_token_mode: SessionTokenMode::Exclude,
  396    504   
            ..Default::default()
  397    505   
        };
  398    506   
        let identity = Credentials::for_tests().into();
  399    507   
        let mut signing_params = signing_params(&identity, settings);
  400    508   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  401    509   
        assert_eq!(
  402    510   
            creq.values.content_sha256(),
  403    511   
            "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
  404    512   
        );
  405    513   
        // assert that the sha256 header was added
  406    514   
        assert_eq!(
  407    515   
            creq.values.signed_headers().as_str(),
  408    516   
            "host;x-amz-content-sha256;x-amz-date"
  409    517   
        );
  410    518   
  411    519   
        signing_params.set_payload_checksum_kind(PayloadChecksumKind::NoHeader);
  412    520   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  413    521   
        assert_eq!(creq.values.signed_headers().as_str(), "host;x-amz-date");
  414    522   
    }
  415    523   
  416    524   
    #[test]
  417    525   
    fn test_unsigned_payload() {
  418         -
        let mut req = test::v4::test_request("get-vanilla-query-order-key-case");
         526  +
        let test = SigningSuiteTest::v4("get-vanilla-query-order-key-case");
         527  +
        let mut req = test.request();
  419    528   
        req.set_body(SignableBody::UnsignedPayload);
  420    529   
        let req: SignableRequest<'_> = SignableRequest::from(&req);
  421    530   
  422    531   
        let settings = SigningSettings {
  423    532   
            payload_checksum_kind: PayloadChecksumKind::XAmzSha256,
  424    533   
            ..Default::default()
  425    534   
        };
  426    535   
        let identity = Credentials::for_tests().into();
  427    536   
        let signing_params = signing_params(&identity, settings);
  428    537   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  429    538   
        assert_eq!(creq.values.content_sha256(), "UNSIGNED-PAYLOAD");
  430    539   
        assert!(creq.to_string().ends_with("UNSIGNED-PAYLOAD"));
  431    540   
    }
  432    541   
  433    542   
    #[test]
  434    543   
    fn test_precomputed_payload() {
  435    544   
        let payload_hash = "44ce7dd67c959e0d3524ffac1771dfbba87d2b6b4b4e99e42034a8b803f8b072";
  436         -
        let mut req = test::v4::test_request("get-vanilla-query-order-key-case");
         545  +
        let test = SigningSuiteTest::v4("get-vanilla-query-order-key-case");
         546  +
        let mut req = test.request();
  437    547   
        req.set_body(SignableBody::Precomputed(String::from(payload_hash)));
  438    548   
        let req = SignableRequest::from(&req);
  439    549   
        let settings = SigningSettings {
  440    550   
            payload_checksum_kind: PayloadChecksumKind::XAmzSha256,
  441    551   
            ..Default::default()
  442    552   
        };
  443    553   
        let identity = Credentials::for_tests().into();
  444    554   
        let signing_params = signing_params(&identity, settings);
  445    555   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  446    556   
        assert_eq!(creq.values.content_sha256(), payload_hash);
  447    557   
        assert!(creq.to_string().ends_with(payload_hash));
  448    558   
    }
  449    559   
  450    560   
    #[test]
  451    561   
    fn test_generate_scope() {
  452    562   
        let expected = "20150830/us-east-1/iam/aws4_request\n";
  453    563   
        let scope = SigningScope {
  454    564   
            time: parse_date_time("20150830T123600Z").unwrap(),
  455    565   
            region: "us-east-1",
  456    566   
            service: "iam",
  457    567   
        };
  458    568   
        assert_eq!(format!("{}\n", scope), expected);
  459    569   
    }
  460    570   
  461    571   
    #[test]
  462    572   
    fn test_string_to_sign() {
  463    573   
        let time = parse_date_time("20150830T123600Z").unwrap();
  464         -
        let creq = test::v4::test_canonical_request("get-vanilla-query-order-key-case");
  465         -
        let expected_sts = test::v4::test_sts("get-vanilla-query-order-key-case");
         574  +
        let test = SigningSuiteTest::v4("get-vanilla-query-order-key-case");
         575  +
        let creq = test.canonical_request(SignatureLocation::Headers);
         576  +
        let expected_sts = test.string_to_sign(SignatureLocation::Headers);
  466    577   
        let encoded = sha256_hex_string(creq.as_bytes());
  467    578   
  468    579   
        let actual = StringToSign::new_v4(time, "us-east-1", "service", &encoded);
  469    580   
        assert_eq!(expected_sts, actual.to_string());
  470    581   
    }
  471    582   
  472    583   
    #[test]
  473    584   
    fn test_digest_of_canonical_request() {
  474         -
        let creq = test::v4::test_canonical_request("get-vanilla-query-order-key-case");
         585  +
        let test = SigningSuiteTest::v4("get-vanilla-query-order-key-case");
         586  +
        let creq = test.canonical_request(SignatureLocation::Headers);
  475    587   
        let expected = "816cd5b414d056048ba4f7c5386d6e0533120fb1fcfa93762cf0fc39e2cf19e0";
  476    588   
        let actual = sha256_hex_string(creq.as_bytes());
  477    589   
        assert_eq!(expected, actual);
  478    590   
    }
  479    591   
  480    592   
    #[test]
  481    593   
    fn test_double_url_encode_path() {
  482         -
        let req = test::v4::test_request("double-encode-path");
         594  +
        let test = SigningSuiteTest::v4("double-encode-path");
         595  +
        let req = test.request();
  483    596   
        let req = SignableRequest::from(&req);
  484    597   
        let identity = Credentials::for_tests().into();
  485    598   
        let signing_params = signing_params(&identity, SigningSettings::default());
  486    599   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  487    600   
  488         -
        let expected = test::v4::test_canonical_request("double-encode-path");
         601  +
        let expected = test.canonical_request(SignatureLocation::Headers);
  489    602   
        let actual = format!("{}", creq);
  490    603   
        assert_eq!(actual, expected);
  491    604   
    }
  492    605   
  493    606   
    #[test]
  494    607   
    fn test_double_url_encode() {
  495         -
        let req = test::v4::test_request("double-url-encode");
         608  +
        let test = SigningSuiteTest::v4("double-url-encode");
         609  +
        let req = test.request();
  496    610   
        let req = SignableRequest::from(&req);
  497    611   
        let identity = Credentials::for_tests().into();
  498    612   
        let signing_params = signing_params(&identity, SigningSettings::default());
  499    613   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  500         -
  501         -
        let expected = test::v4::test_canonical_request("double-url-encode");
         614  +
        let expected = test.canonical_request(SignatureLocation::Headers);
  502    615   
        let actual = format!("{}", creq);
  503    616   
        assert_eq!(actual, expected);
  504    617   
    }
  505    618   
  506    619   
    #[test]
  507    620   
    fn test_tilde_in_uri() {
  508    621   
        let req = http0::Request::builder()
  509    622   
            .uri("https://s3.us-east-1.amazonaws.com/my-bucket?list-type=2&prefix=~objprefix&single&k=&unreserved=-_.~").body("").unwrap().into();
  510    623   
        let req = SignableRequest::from(&req);
  511    624   
        let identity = Credentials::for_tests().into();
  512    625   
        let signing_params = signing_params(&identity, SigningSettings::default());
  513    626   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  514    627   
        assert_eq!(
  515    628   
            Some("k=&list-type=2&prefix=~objprefix&single=&unreserved=-_.~"),
  516    629   
            creq.params.as_deref(),
  517    630   
        );
  518    631   
    }
  519    632   
  520    633   
    #[test]
  521    634   
    fn test_signing_urls_with_percent_encoded_query_strings() {
  522    635   
        let all_printable_ascii_chars: String = (32u8..127).map(char::from).collect();
  523    636   
        let uri = Uri::from_static("https://s3.us-east-1.amazonaws.com/my-bucket");
  524    637   
  525    638   
        let mut query_writer = QueryWriter::new(&uri);
  526    639   
        query_writer.insert("list-type", "2");
  527    640   
        query_writer.insert("prefix", &all_printable_ascii_chars);
  528    641   
  529    642   
        let req = http0::Request::builder()
  530    643   
            .uri(query_writer.build_uri())
  531    644   
            .body("")
  532    645   
            .unwrap()
  533    646   
            .into();
  534    647   
        let req = SignableRequest::from(&req);
  535    648   
        let identity = Credentials::for_tests().into();
  536    649   
        let signing_params = signing_params(&identity, SigningSettings::default());
  537    650   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  538    651   
  539    652   
        let expected = "list-type=2&prefix=%20%21%22%23%24%25%26%27%28%29%2A%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%40ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~";
  540    653   
        let actual = creq.params.unwrap();
  541    654   
        assert_eq!(expected, actual);
  542    655   
    }
  543    656   
  544    657   
    #[test]
  545    658   
    fn test_omit_session_token() {
  546         -
        let req = test::v4::test_request("get-vanilla-query-order-key-case");
         659  +
        let test = SigningSuiteTest::v4("get-vanilla-query-order-key-case");
         660  +
        let req = test.request();
  547    661   
        let req = SignableRequest::from(&req);
  548    662   
        let settings = SigningSettings {
  549    663   
            session_token_mode: SessionTokenMode::Include,
  550    664   
            ..Default::default()
  551    665   
        };
  552    666   
        let identity = Credentials::for_tests_with_session_token().into();
  553    667   
        let mut signing_params = signing_params(&identity, settings);
  554    668   
  555    669   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  556    670   
        assert_eq!(
  557    671   
            creq.values.signed_headers().as_str(),
  558    672   
            "host;x-amz-date;x-amz-security-token"
  559    673   
        );
  560    674   
        assert_eq!(
  561    675   
            creq.headers.get("x-amz-security-token").unwrap(),
  562    676   
            "notarealsessiontoken"
  563    677   
        );
  564    678   
  565    679   
        signing_params.set_session_token_mode(SessionTokenMode::Exclude);
  566    680   
        let creq = CanonicalRequest::from(&req, &signing_params).unwrap();
  567    681   
        assert_eq!(
  568    682   
            creq.headers.get("x-amz-security-token").unwrap(),
  569    683   
            "notarealsessiontoken"
  570    684   
        );
  571    685   
        assert_eq!(creq.values.signed_headers().as_str(), "host;x-amz-date");
  572    686   
    }
  573    687   
  574    688   
    // It should exclude authorization, user-agent, x-amzn-trace-id, and transfer-encoding headers from presigning
  575    689   
    #[test]
  576    690   
    fn non_presigning_header_exclusion() {
  577    691   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/sign.rs b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/sign.rs
  578    692   
index c4bbbee..30b4743 100644
  579         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/sign.rs
         693  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/sign.rs
  580    694   
@@ -478,436 +478,324 @@ fn add_header(map: &mut Vec<Header>, key: &'static str, value: &str, sensitive:
  581    695   
        sensitive,
  582    696   
    });
  583    697   
}
  584    698   
  585    699   
// add signature to authorization header
  586    700   
// Authorization: algorithm Credential=access key ID/credential scope, SignedHeaders=SignedHeaders, Signature=signature
  587    701   
fn build_authorization_header(
  588    702   
    access_key: &str,
  589    703   
    creq: &CanonicalRequest<'_>,
  590    704   
    sts: StringToSign<'_>,
  591    705   
    signature: &str,
  592    706   
    signature_version: SignatureVersion,
  593    707   
) -> String {
  594    708   
    let scope = match signature_version {
  595    709   
        SignatureVersion::V4 => sts.scope.to_string(),
  596    710   
        SignatureVersion::V4a => sts.scope.v4a_display(),
  597    711   
    };
  598    712   
    format!(
  599    713   
        "{} Credential={}/{}, SignedHeaders={}, Signature={}",
  600    714   
        sts.algorithm,
  601    715   
        access_key,
  602    716   
        scope,
  603    717   
        creq.values.signed_headers().as_str(),
  604    718   
        signature
  605    719   
    )
  606    720   
}
  607    721   
#[cfg(test)]
  608    722   
mod tests {
  609    723   
    use crate::date_time::test_parsers::parse_date_time;
  610    724   
    use crate::http_request::sign::{add_header, SignableRequest};
         725  +
    use crate::http_request::test::SigningSuiteTest;
  611    726   
    use crate::http_request::{
  612         -
        sign, test, SessionTokenMode, SignableBody, SignatureLocation, SigningInstructions,
         727  +
        sign, SessionTokenMode, SignableBody, SignatureLocation, SigningInstructions,
  613    728   
        SigningSettings,
  614    729   
    };
  615    730   
    use crate::sign::v4;
  616    731   
    use aws_credential_types::Credentials;
  617    732   
    use http0::{HeaderValue, Request};
  618    733   
    use pretty_assertions::assert_eq;
  619    734   
    use proptest::proptest;
  620    735   
    use std::borrow::Cow;
  621    736   
    use std::iter;
  622         -
    use std::time::Duration;
  623    737   
  624    738   
    macro_rules! assert_req_eq {
  625    739   
        (http: $expected:expr, $actual:expr) => {
  626    740   
            let mut expected = ($expected).map(|_b|"body");
  627    741   
            let mut actual = ($actual).map(|_b|"body");
  628    742   
            make_headers_comparable(&mut expected);
  629    743   
            make_headers_comparable(&mut actual);
  630    744   
            assert_eq!(format!("{:?}", expected), format!("{:?}", actual));
  631    745   
        };
  632    746   
        ($expected:tt, $actual:tt) => {
  633    747   
            assert_req_eq!(http: ($expected).as_http_request(), $actual);
  634    748   
        };
  635    749   
    }
  636    750   
  637    751   
    pub(crate) fn make_headers_comparable<B>(request: &mut Request<B>) {
  638    752   
        for (_name, value) in request.headers_mut() {
  639    753   
            value.set_sensitive(false);
  640    754   
        }
  641    755   
    }
  642    756   
  643         -
    #[test]
  644         -
    fn test_sign_vanilla_with_headers() {
  645         -
        let settings = SigningSettings::default();
  646         -
        let identity = &Credentials::for_tests().into();
  647         -
        let params = v4::SigningParams {
  648         -
            identity,
  649         -
            region: "us-east-1",
  650         -
            name: "service",
  651         -
            time: parse_date_time("20150830T123600Z").unwrap(),
  652         -
            settings,
  653         -
        }
  654         -
        .into();
  655         -
  656         -
        let original = test::v4::test_request("get-vanilla-query-order-key-case");
  657         -
        let signable = SignableRequest::from(&original);
  658         -
        let out = sign(signable, &params).unwrap();
  659         -
        assert_eq!(
  660         -
            "5557820e7380d585310524bd93d51a08d7757fb5efd7344ee12088f2b0860947",
  661         -
            out.signature
  662         -
        );
  663         -
  664         -
        let mut signed = original.as_http_request();
  665         -
        out.output.apply_to_request_http0x(&mut signed);
  666         -
  667         -
        let expected = test::v4::test_signed_request("get-vanilla-query-order-key-case");
  668         -
        assert_req_eq!(expected, signed);
  669         -
    }
  670         -
         757  +
    // Sigv4A suite tests
  671    758   
    #[cfg(feature = "sigv4a")]
  672         -
    mod sigv4a_tests {
  673         -
        use super::*;
  674         -
        use crate::http_request::canonical_request::{CanonicalRequest, StringToSign};
  675         -
        use crate::http_request::{sign, test, SigningParams};
  676         -
        use crate::sign::v4a;
  677         -
        use p256::ecdsa::signature::{Signature, Verifier};
  678         -
        use p256::ecdsa::{DerSignature, SigningKey};
  679         -
        use pretty_assertions::assert_eq;
  680         -
  681         -
        fn new_v4a_signing_params_from_context(
  682         -
            test_context: &'_ test::v4a::TestContext,
  683         -
            signature_location: SignatureLocation,
  684         -
        ) -> SigningParams<'_> {
  685         -
            let mut params = v4a::SigningParams::from(test_context);
  686         -
            params.settings.signature_location = signature_location;
  687         -
  688         -
            params.into()
  689         -
        }
  690         -
  691         -
        fn run_v4a_test_suite(test_name: &str, signature_location: SignatureLocation) {
  692         -
            let tc = test::v4a::test_context(test_name);
  693         -
            let params = new_v4a_signing_params_from_context(&tc, signature_location);
  694         -
  695         -
            let req = test::v4a::test_request(test_name);
  696         -
            let expected_creq = test::v4a::test_canonical_request(test_name, signature_location);
  697         -
            let signable_req = SignableRequest::from(&req);
  698         -
            let actual_creq = CanonicalRequest::from(&signable_req, &params).unwrap();
  699         -
  700         -
            assert_eq!(expected_creq, actual_creq.to_string(), "creq didn't match");
  701         -
  702         -
            let expected_string_to_sign =
  703         -
                test::v4a::test_string_to_sign(test_name, signature_location);
  704         -
            let hashed_creq = &v4::sha256_hex_string(actual_creq.to_string().as_bytes());
  705         -
            let actual_string_to_sign = StringToSign::new_v4a(
  706         -
                *params.time(),
  707         -
                params.region_set().unwrap(),
  708         -
                params.name(),
  709         -
                hashed_creq,
  710         -
            )
  711         -
            .to_string();
  712         -
  713         -
            assert_eq!(
  714         -
                expected_string_to_sign, actual_string_to_sign,
  715         -
                "'string to sign' didn't match"
  716         -
            );
         759  +
    mod v4a_suite {
         760  +
        use crate::http_request::test::v4a::run_test_suite_v4a;
  717    761   
  718         -
            let out = sign(signable_req, &params).unwrap();
  719         -
            // Sigv4a signatures are non-deterministic, so we can't compare the signature directly.
  720         -
            out.output
  721         -
                .apply_to_request_http0x(&mut req.as_http_request());
  722         -
  723         -
            let creds = params.credentials().unwrap();
  724         -
            let signing_key =
  725         -
                v4a::generate_signing_key(creds.access_key_id(), creds.secret_access_key());
  726         -
            let sig = DerSignature::from_bytes(&hex::decode(out.signature).unwrap()).unwrap();
  727         -
            let sig = sig
  728         -
                .try_into()
  729         -
                .expect("DER-style signatures are always convertible into fixed-size signatures");
  730         -
  731         -
            let signing_key = SigningKey::from_bytes(signing_key.as_ref()).unwrap();
  732         -
            let peer_public_key = signing_key.verifying_key();
  733         -
            let sts = actual_string_to_sign.as_bytes();
  734         -
            peer_public_key.verify(sts, &sig).unwrap();
         762  +
        #[test]
         763  +
        fn test_get_header_key_duplicate() {
         764  +
            run_test_suite_v4a("get-header-key-duplicate")
  735    765   
        }
  736    766   
  737    767   
        #[test]
  738         -
        fn test_get_header_key_duplicate() {
  739         -
            run_v4a_test_suite("get-header-key-duplicate", SignatureLocation::Headers);
         768  +
        #[ignore = "httpparse doesn't support parsing multiline headers since they are deprecated in RFC7230"]
         769  +
        fn test_get_header_value_multiline() {
         770  +
            run_test_suite_v4a("get-header-value-multiline")
  740    771   
        }
  741    772   
  742    773   
        #[test]
  743    774   
        fn test_get_header_value_order() {
  744         -
            run_v4a_test_suite("get-header-value-order", SignatureLocation::Headers);
         775  +
            run_test_suite_v4a("get-header-value-order")
  745    776   
        }
  746    777   
  747    778   
        #[test]
  748    779   
        fn test_get_header_value_trim() {
  749         -
            run_v4a_test_suite("get-header-value-trim", SignatureLocation::Headers);
         780  +
            run_test_suite_v4a("get-header-value-trim");
  750    781   
        }
  751    782   
  752    783   
        #[test]
  753    784   
        fn test_get_relative_normalized() {
  754         -
            run_v4a_test_suite("get-relative-normalized", SignatureLocation::Headers);
         785  +
            run_test_suite_v4a("get-relative-normalized");
  755    786   
        }
  756    787   
  757    788   
        #[test]
  758    789   
        fn test_get_relative_relative_normalized() {
  759         -
            run_v4a_test_suite(
  760         -
                "get-relative-relative-normalized",
  761         -
                SignatureLocation::Headers,
  762         -
            );
         790  +
            run_test_suite_v4a("get-relative-relative-normalized");
  763    791   
        }
  764    792   
  765    793   
        #[test]
  766    794   
        fn test_get_relative_relative_unnormalized() {
  767         -
            run_v4a_test_suite(
  768         -
                "get-relative-relative-unnormalized",
  769         -
                SignatureLocation::Headers,
  770         -
            );
         795  +
            run_test_suite_v4a("get-relative-relative-unnormalized");
  771    796   
        }
  772    797   
  773    798   
        #[test]
  774    799   
        fn test_get_relative_unnormalized() {
  775         -
            run_v4a_test_suite("get-relative-unnormalized", SignatureLocation::Headers);
         800  +
            run_test_suite_v4a("get-relative-unnormalized");
  776    801   
        }
  777    802   
  778    803   
        #[test]
  779    804   
        fn test_get_slash_dot_slash_normalized() {
  780         -
            run_v4a_test_suite("get-slash-dot-slash-normalized", SignatureLocation::Headers);
         805  +
            run_test_suite_v4a("get-slash-dot-slash-normalized");
  781    806   
        }
  782    807   
  783    808   
        #[test]
  784    809   
        fn test_get_slash_dot_slash_unnormalized() {
  785         -
            run_v4a_test_suite(
  786         -
                "get-slash-dot-slash-unnormalized",
  787         -
                SignatureLocation::Headers,
  788         -
            );
         810  +
            run_test_suite_v4a("get-slash-dot-slash-unnormalized");
  789    811   
        }
  790    812   
  791    813   
        #[test]
  792    814   
        fn test_get_slash_normalized() {
  793         -
            run_v4a_test_suite("get-slash-normalized", SignatureLocation::Headers);
         815  +
            run_test_suite_v4a("get-slash-normalized");
  794    816   
        }
  795    817   
  796    818   
        #[test]
  797    819   
        fn test_get_slash_pointless_dot_normalized() {
  798         -
            run_v4a_test_suite(
  799         -
                "get-slash-pointless-dot-normalized",
  800         -
                SignatureLocation::Headers,
  801         -
            );
         820  +
            run_test_suite_v4a("get-slash-pointless-dot-normalized");
  802    821   
        }
  803    822   
  804    823   
        #[test]
  805    824   
        fn test_get_slash_pointless_dot_unnormalized() {
  806         -
            run_v4a_test_suite(
  807         -
                "get-slash-pointless-dot-unnormalized",
  808         -
                SignatureLocation::Headers,
  809         -
            );
         825  +
            run_test_suite_v4a("get-slash-pointless-dot-unnormalized");
  810    826   
        }
  811    827   
  812    828   
        #[test]
  813    829   
        fn test_get_slash_unnormalized() {
  814         -
            run_v4a_test_suite("get-slash-unnormalized", SignatureLocation::Headers);
         830  +
            run_test_suite_v4a("get-slash-unnormalized");
  815    831   
        }
  816    832   
  817    833   
        #[test]
  818    834   
        fn test_get_slashes_normalized() {
  819         -
            run_v4a_test_suite("get-slashes-normalized", SignatureLocation::Headers);
         835  +
            run_test_suite_v4a("get-slashes-normalized");
  820    836   
        }
  821    837   
  822    838   
        #[test]
  823    839   
        fn test_get_slashes_unnormalized() {
  824         -
            run_v4a_test_suite("get-slashes-unnormalized", SignatureLocation::Headers);
         840  +
            run_test_suite_v4a("get-slashes-unnormalized");
         841  +
        }
         842  +
         843  +
        #[test]
         844  +
        #[ignore = "relies on single encode of path segments"]
         845  +
        // rely on single encoding of path segments, i.e. string-to-sign contains %20 for spaces rather than %25%20 as it should.
         846  +
        // skipped until we add control over double_uri_encode in context.json
         847  +
        fn test_get_space_normalized() {
         848  +
            run_test_suite_v4a("get-space-normalized");
         849  +
        }
         850  +
         851  +
        #[test]
         852  +
        #[ignore = "httpparse fails on unencoded spaces in path"]
         853  +
        // the input request has unencoded space ' ' in the path which fails to parse
         854  +
        fn test_get_space_unnormalized() {
         855  +
            run_test_suite_v4a("get-space-unnormalized");
  825    856   
        }
  826    857   
  827    858   
        #[test]
  828    859   
        fn test_get_unreserved() {
  829         -
            run_v4a_test_suite("get-unreserved", SignatureLocation::Headers);
         860  +
            run_test_suite_v4a("get-unreserved");
         861  +
        }
         862  +
         863  +
        #[test]
         864  +
        #[ignore = "httparse fails on invalid uri character"]
         865  +
        // relies on /ሴ canonicalized as /%E1%88%B4 when it should be /%25%E1%25%88%25%B4
         866  +
        fn test_get_utf8() {
         867  +
            run_test_suite_v4a("get-utf8");
  830    868   
        }
  831    869   
  832    870   
        #[test]
  833    871   
        fn test_get_vanilla() {
  834         -
            run_v4a_test_suite("get-vanilla", SignatureLocation::Headers);
         872  +
            run_test_suite_v4a("get-vanilla");
  835    873   
        }
  836    874   
  837    875   
        #[test]
  838    876   
        fn test_get_vanilla_empty_query_key() {
  839         -
            run_v4a_test_suite(
  840         -
                "get-vanilla-empty-query-key",
  841         -
                SignatureLocation::QueryParams,
  842         -
            );
         877  +
            run_test_suite_v4a("get-vanilla-empty-query-key");
  843    878   
        }
  844    879   
  845    880   
        #[test]
  846    881   
        fn test_get_vanilla_query() {
  847         -
            run_v4a_test_suite("get-vanilla-query", SignatureLocation::QueryParams);
         882  +
            run_test_suite_v4a("get-vanilla-query");
         883  +
        }
         884  +
         885  +
        #[test]
         886  +
        fn test_get_vanilla_query_order_encoded() {
         887  +
            run_test_suite_v4a("get-vanilla-query-order-encoded");
  848    888   
        }
  849    889   
  850    890   
        #[test]
  851    891   
        fn test_get_vanilla_query_order_key_case() {
  852         -
            run_v4a_test_suite(
  853         -
                "get-vanilla-query-order-key-case",
  854         -
                SignatureLocation::QueryParams,
  855         -
            );
         892  +
            run_test_suite_v4a("get-vanilla-query-order-key-case");
  856    893   
        }
  857    894   
  858    895   
        #[test]
  859    896   
        fn test_get_vanilla_query_unreserved() {
  860         -
            run_v4a_test_suite(
  861         -
                "get-vanilla-query-unreserved",
  862         -
                SignatureLocation::QueryParams,
  863         -
            );
         897  +
            run_test_suite_v4a("get-vanilla-query-unreserved");
         898  +
        }
         899  +
         900  +
        #[test]
         901  +
        #[ignore = "httparse fails on invalid uri character"]
         902  +
        // relies on /ሴ canonicalized as /%E1%88%B4 when it should be /%25%E1%25%88%25%B4
         903  +
        fn test_get_vanilla_utf8_query() {
         904  +
            run_test_suite_v4a("get-vanilla-utf8-query");
  864    905   
        }
  865    906   
  866    907   
        #[test]
  867    908   
        fn test_get_vanilla_with_session_token() {
  868         -
            run_v4a_test_suite("get-vanilla-with-session-token", SignatureLocation::Headers);
         909  +
            run_test_suite_v4a("get-vanilla-with-session-token")
  869    910   
        }
  870    911   
  871    912   
        #[test]
  872    913   
        fn test_post_header_key_case() {
  873         -
            run_v4a_test_suite("post-header-key-case", SignatureLocation::Headers);
         914  +
            run_test_suite_v4a("post-header-key-case");
  874    915   
        }
  875    916   
  876    917   
        #[test]
  877    918   
        fn test_post_header_key_sort() {
  878         -
            run_v4a_test_suite("post-header-key-sort", SignatureLocation::Headers);
         919  +
            run_test_suite_v4a("post-header-key-sort");
  879    920   
        }
  880    921   
  881    922   
        #[test]
  882    923   
        fn test_post_header_value_case() {
  883         -
            run_v4a_test_suite("post-header-value-case", SignatureLocation::Headers);
         924  +
            run_test_suite_v4a("post-header-value-case");
  884    925   
        }
  885    926   
  886    927   
        #[test]
  887    928   
        fn test_post_sts_header_after() {
  888         -
            run_v4a_test_suite("post-sts-header-after", SignatureLocation::Headers);
         929  +
            run_test_suite_v4a("post-sts-header-after");
  889    930   
        }
  890    931   
  891    932   
        #[test]
  892    933   
        fn test_post_sts_header_before() {
  893         -
            run_v4a_test_suite("post-sts-header-before", SignatureLocation::Headers);
         934  +
            run_test_suite_v4a("post-sts-header-before");
  894    935   
        }
  895    936   
  896    937   
        #[test]
  897    938   
        fn test_post_vanilla() {
  898         -
            run_v4a_test_suite("post-vanilla", SignatureLocation::Headers);
         939  +
            run_test_suite_v4a("post-vanilla");
  899    940   
        }
  900    941   
  901    942   
        #[test]
  902    943   
        fn test_post_vanilla_empty_query_value() {
  903         -
            run_v4a_test_suite(
  904         -
                "post-vanilla-empty-query-value",
  905         -
                SignatureLocation::QueryParams,
  906         -
            );
         944  +
            run_test_suite_v4a("post-vanilla-empty-query-value");
  907    945   
        }
  908    946   
  909    947   
        #[test]
  910    948   
        fn test_post_vanilla_query() {
  911         -
            run_v4a_test_suite("post-vanilla-query", SignatureLocation::QueryParams);
         949  +
            run_test_suite_v4a("post-vanilla-query");
  912    950   
        }
  913    951   
  914    952   
        #[test]
  915    953   
        fn test_post_x_www_form_urlencoded() {
  916         -
            run_v4a_test_suite("post-x-www-form-urlencoded", SignatureLocation::Headers);
         954  +
            run_test_suite_v4a("post-x-www-form-urlencoded");
  917    955   
        }
  918    956   
  919    957   
        #[test]
  920    958   
        fn test_post_x_www_form_urlencoded_parameters() {
  921         -
            run_v4a_test_suite(
  922         -
                "post-x-www-form-urlencoded-parameters",
  923         -
                SignatureLocation::QueryParams,
  924         -
            );
         959  +
            run_test_suite_v4a("post-x-www-form-urlencoded-parameters");
  925    960   
        }
  926    961   
    }
  927    962   
  928    963   
    #[test]
  929    964   
    fn test_sign_url_escape() {
  930         -
        let test = "double-encode-path";
         965  +
        let test = SigningSuiteTest::v4("double-encode-path");
  931    966   
        let settings = SigningSettings::default();
  932    967   
        let identity = &Credentials::for_tests().into();
  933    968   
        let params = v4::SigningParams {
  934    969   
            identity,
  935    970   
            region: "us-east-1",
  936    971   
            name: "service",
  937    972   
            time: parse_date_time("20150830T123600Z").unwrap(),
  938    973   
            settings,
  939    974   
        }
  940    975   
        .into();
  941    976   
  942         -
        let original = test::v4::test_request(test);
         977  +
        let original = test.request();
  943    978   
        let signable = SignableRequest::from(&original);
  944    979   
        let out = sign(signable, &params).unwrap();
  945    980   
        assert_eq!(
  946    981   
            "57d157672191bac40bae387e48bbe14b15303c001fdbb01f4abf295dccb09705",
  947    982   
            out.signature
  948    983   
        );
  949    984   
  950    985   
        let mut signed = original.as_http_request();
  951    986   
        out.output.apply_to_request_http0x(&mut signed);
  952    987   
  953         -
        let expected = test::v4::test_signed_request(test);
  954         -
        assert_req_eq!(expected, signed);
  955         -
    }
  956         -
  957         -
    #[test]
  958         -
    fn test_sign_vanilla_with_query_params() {
  959         -
        let settings = SigningSettings {
  960         -
            signature_location: SignatureLocation::QueryParams,
  961         -
            expires_in: Some(Duration::from_secs(35)),
  962         -
            ..Default::default()
  963         -
        };
  964         -
        let identity = &Credentials::for_tests().into();
  965         -
        let params = v4::SigningParams {
  966         -
            identity,
  967         -
            region: "us-east-1",
  968         -
            name: "service",
  969         -
            time: parse_date_time("20150830T123600Z").unwrap(),
  970         -
            settings,
  971         -
        }
  972         -
        .into();
  973         -
  974         -
        let original = test::v4::test_request("get-vanilla-query-order-key-case");
  975         -
        let signable = SignableRequest::from(&original);
  976         -
        let out = sign(signable, &params).unwrap();
  977         -
        assert_eq!(
  978         -
            "ecce208e4b4f7d7e3a4cc22ced6acc2ad1d170ee8ba87d7165f6fa4b9aff09ab",
  979         -
            out.signature
  980         -
        );
  981         -
  982         -
        let mut signed = original.as_http_request();
  983         -
        out.output.apply_to_request_http0x(&mut signed);
  984         -
  985         -
        let expected =
  986         -
            test::v4::test_signed_request_query_params("get-vanilla-query-order-key-case");
         988  +
        let expected = test.signed_request(SignatureLocation::Headers);
  987    989   
        assert_req_eq!(expected, signed);
  988    990   
    }
  989    991   
  990    992   
    #[test]
  991    993   
    fn test_sign_headers_utf8() {
  992    994   
        let settings = SigningSettings::default();
  993    995   
        let identity = &Credentials::for_tests().into();
  994    996   
        let params = v4::SigningParams {
  995    997   
            identity,
  996    998   
            region: "us-east-1",
  997    999   
            name: "service",
  998   1000   
            time: parse_date_time("20150830T123600Z").unwrap(),
  999   1001   
            settings,
 1000   1002   
        }
 1001   1003   
        .into();
 1002   1004   
 1003   1005   
        let original = http0::Request::builder()
 1004   1006   
            .uri("https://some-endpoint.some-region.amazonaws.com")
 1005   1007   
            .header("some-header", HeaderValue::from_str("テスト").unwrap())
 1006   1008   
            .body("")
 1007   1009   
            .unwrap()
 1008   1010   
            .into();
 1009   1011   
        let signable = SignableRequest::from(&original);
 1010   1012   
        let out = sign(signable, &params).unwrap();
 1011   1013   
        assert_eq!(
 1012   1014   
            "55e16b31f9bde5fd04f9d3b780dd2b5e5f11a5219001f91a8ca9ec83eaf1618f",
 1013   1015   
            out.signature
 1014   1016   
        );
 1015   1017   
 1016   1018   
        let mut signed = original.as_http_request();
 1017   1019   
@@ -1138,31 +1026,236 @@ mod tests {
 1018   1020   
        let mut request = http::Request::builder()
 1019   1021   
            .uri("https://some-endpoint.some-region.amazonaws.com/some/path")
 1020   1022   
            .body("")
 1021   1023   
            .unwrap();
 1022   1024   
 1023   1025   
        instructions.apply_to_request_http1x(&mut request);
 1024   1026   
 1025   1027   
        assert_eq!(
 1026   1028   
            "/some/path?some-param=f%26o%3Fo&some-other-param%3F=bar",
 1027   1029   
            request.uri().path_and_query().unwrap().to_string()
 1028   1030   
        );
 1029   1031   
    }
 1030   1032   
 1031   1033   
    #[test]
 1032   1034   
    fn test_debug_signable_body() {
 1033   1035   
        let sut = SignableBody::Bytes(b"hello signable body");
 1034   1036   
        assert_eq!(
 1035   1037   
            "Bytes(\"** REDACTED **. To print 19 bytes of raw data, set environment variable `LOG_SIGNABLE_BODY=true`\")",
 1036   1038   
            format!("{sut:?}")
 1037   1039   
        );
 1038   1040   
 1039   1041   
        let sut = SignableBody::UnsignedPayload;
 1040   1042   
        assert_eq!("UnsignedPayload", format!("{sut:?}"));
 1041   1043   
 1042   1044   
        let sut = SignableBody::Precomputed("precomputed".to_owned());
 1043   1045   
        assert_eq!("Precomputed(\"precomputed\")", format!("{sut:?}"));
 1044   1046   
 1045   1047   
        let sut = SignableBody::StreamingUnsignedPayloadTrailer;
 1046   1048   
        assert_eq!("StreamingUnsignedPayloadTrailer", format!("{sut:?}"));
 1047   1049   
    }
        1050  +
        1051  +
    // v4 test suite
        1052  +
    mod v4_suite {
        1053  +
        use crate::http_request::test::run_test_suite_v4;
        1054  +
        1055  +
        #[test]
        1056  +
        fn test_get_header_key_duplicate() {
        1057  +
            run_test_suite_v4("get-header-key-duplicate");
        1058  +
        }
        1059  +
        1060  +
        #[test]
        1061  +
        #[ignore = "httpparse doesn't support parsing multiline headers since they are deprecated in RFC7230"]
        1062  +
        fn test_get_header_value_multiline() {
        1063  +
            run_test_suite_v4("get-header-value-multiline");
        1064  +
        }
        1065  +
        1066  +
        #[test]
        1067  +
        fn test_get_header_value_order() {
        1068  +
            run_test_suite_v4("get-header-value-order");
        1069  +
        }
        1070  +
        1071  +
        #[test]
        1072  +
        fn test_get_header_value_trim() {
        1073  +
            run_test_suite_v4("get-header-value-trim");
        1074  +
        }
        1075  +
        1076  +
        #[test]
        1077  +
        fn test_get_relative_normalized() {
        1078  +
            run_test_suite_v4("get-relative-normalized");
        1079  +
        }
        1080  +
        1081  +
        #[test]
        1082  +
        fn test_get_relative_relative_normalized() {
        1083  +
            run_test_suite_v4("get-relative-relative-normalized");
        1084  +
        }
        1085  +
        1086  +
        #[test]
        1087  +
        fn test_get_relative_relative_unnormalized() {
        1088  +
            run_test_suite_v4("get-relative-relative-unnormalized");
        1089  +
        }
        1090  +
        1091  +
        #[test]
        1092  +
        fn test_get_relative_unnormalized() {
        1093  +
            run_test_suite_v4("get-relative-unnormalized");
        1094  +
        }
        1095  +
        1096  +
        #[test]
        1097  +
        fn test_get_slash_dot_slash_normalized() {
        1098  +
            run_test_suite_v4("get-slash-dot-slash-normalized");
        1099  +
        }
        1100  +
        1101  +
        #[test]
        1102  +
        fn test_get_slash_dot_slash_unnormalized() {
        1103  +
            run_test_suite_v4("get-slash-dot-slash-unnormalized");
        1104  +
        }
        1105  +
        1106  +
        #[test]
        1107  +
        fn test_get_slash_normalized() {
        1108  +
            run_test_suite_v4("get-slash-normalized");
        1109  +
        }
        1110  +
        1111  +
        #[test]
        1112  +
        fn test_get_slash_pointless_dot_normalized() {
        1113  +
            run_test_suite_v4("get-slash-pointless-dot-normalized");
        1114  +
        }
        1115  +
        1116  +
        #[test]
        1117  +
        fn test_get_slash_pointless_dot_unnormalized() {
        1118  +
            run_test_suite_v4("get-slash-pointless-dot-unnormalized");
        1119  +
        }
        1120  +
        1121  +
        #[test]
        1122  +
        fn test_get_slash_unnormalized() {
        1123  +
            run_test_suite_v4("get-slash-unnormalized");
        1124  +
        }
        1125  +
        1126  +
        #[test]
        1127  +
        fn test_get_slashes_normalized() {
        1128  +
            run_test_suite_v4("get-slashes-normalized");
        1129  +
        }
        1130  +
        1131  +
        #[test]
        1132  +
        fn test_get_slashes_unnormalized() {
        1133  +
            run_test_suite_v4("get-slashes-unnormalized");
        1134  +
        }
        1135  +
        1136  +
        #[test]
        1137  +
        #[ignore = "relies on single encode of path segments"]
        1138  +
        // rely on single encoding of path segments, i.e. string-to-sign contains %20 for spaces rather than %25%20 as it should.
        1139  +
        // skipped until we add control over double_uri_encode in context.json
        1140  +
        fn test_get_space_normalized() {
        1141  +
            run_test_suite_v4("get-space-normalized");
        1142  +
        }
        1143  +
        1144  +
        #[test]
        1145  +
        #[ignore = "httpparse fails on unencoded spaces in path"]
        1146  +
        // the input request has unencoded space ' ' in the path which fails to parse
        1147  +
        fn test_get_space_unnormalized() {
        1148  +
            run_test_suite_v4("get-space-unnormalized");
        1149  +
        }
        1150  +
        1151  +
        #[test]
        1152  +
        fn test_get_unreserved() {
        1153  +
            run_test_suite_v4("get-unreserved");
        1154  +
        }
        1155  +
        1156  +
        #[test]
        1157  +
        #[ignore = "httparse fails on invalid uri character"]
        1158  +
        // relies on /ሴ canonicalized as /%E1%88%B4 when it should be /%25%E1%25%88%25%B4
        1159  +
        fn test_get_utf8() {
        1160  +
            run_test_suite_v4("get-utf8");
        1161  +
        }
        1162  +
        1163  +
        #[test]
        1164  +
        fn test_get_vanilla() {
        1165  +
            run_test_suite_v4("get-vanilla");
        1166  +
        }
        1167  +
        1168  +
        #[test]
        1169  +
        fn test_get_vanilla_empty_query_key() {
        1170  +
            run_test_suite_v4("get-vanilla-empty-query-key");
        1171  +
        }
        1172  +
        1173  +
        #[test]
        1174  +
        fn test_get_vanilla_query() {
        1175  +
            run_test_suite_v4("get-vanilla-query");
        1176  +
        }
        1177  +
        1178  +
        #[test]
        1179  +
        fn test_get_vanilla_query_order_encoded() {
        1180  +
            run_test_suite_v4("get-vanilla-query-order-encoded");
        1181  +
        }
        1182  +
        1183  +
        #[test]
        1184  +
        fn test_get_vanilla_query_order_key_case() {
        1185  +
            run_test_suite_v4("get-vanilla-query-order-key-case");
        1186  +
        }
        1187  +
        1188  +
        #[test]
        1189  +
        fn test_get_vanilla_query_unreserved() {
        1190  +
            run_test_suite_v4("get-vanilla-query-unreserved");
        1191  +
        }
        1192  +
        1193  +
        #[test]
        1194  +
        #[ignore = "httparse fails on invalid uri character"]
        1195  +
        // relies on /ሴ canonicalized as /%E1%88%B4 when it should be /%25%E1%25%88%25%B4
        1196  +
        fn test_get_vanilla_utf8_query() {
        1197  +
            run_test_suite_v4("get-vanilla-utf8-query");
        1198  +
        }
        1199  +
        1200  +
        #[test]
        1201  +
        fn test_get_vanilla_with_session_token() {
        1202  +
            run_test_suite_v4("get-vanilla-with-session-token");
        1203  +
        }
        1204  +
        1205  +
        #[test]
        1206  +
        fn test_post_header_key_case() {
        1207  +
            run_test_suite_v4("post-header-key-case");
        1208  +
        }
        1209  +
        1210  +
        #[test]
        1211  +
        fn test_post_header_key_sort() {
        1212  +
            run_test_suite_v4("post-header-key-sort");
        1213  +
        }
        1214  +
        1215  +
        #[test]
        1216  +
        fn test_post_header_value_case() {
        1217  +
            run_test_suite_v4("post-header-value-case");
        1218  +
        }
        1219  +
        1220  +
        #[test]
        1221  +
        fn test_post_sts_header_after() {
        1222  +
            run_test_suite_v4("post-sts-header-after");
        1223  +
        }
        1224  +
        1225  +
        #[test]
        1226  +
        fn test_post_sts_header_before() {
        1227  +
            run_test_suite_v4("post-sts-header-before");
        1228  +
        }
        1229  +
        1230  +
        #[test]
        1231  +
        fn test_post_vanilla() {
        1232  +
            run_test_suite_v4("post-vanilla");
        1233  +
        }
        1234  +
        1235  +
        #[test]
        1236  +
        fn test_post_vanilla_empty_query_value() {
        1237  +
            run_test_suite_v4("post-vanilla-empty-query-value");
        1238  +
        }
        1239  +
        1240  +
        #[test]
        1241  +
        fn test_post_vanilla_query() {
        1242  +
            run_test_suite_v4("post-vanilla-query");
        1243  +
        }
        1244  +
        1245  +
        #[test]
        1246  +
        fn test_post_x_www_form_urlencoded() {
        1247  +
            run_test_suite_v4("post-x-www-form-urlencoded");
        1248  +
        }
        1249  +
        1250  +
        #[test]
        1251  +
        fn test_post_x_www_form_urlencoded_parameters() {
        1252  +
            run_test_suite_v4("post-x-www-form-urlencoded-parameters");
        1253  +
        }
        1254  +
    }
 1048   1255   
}
 1049   1256   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/test.rs b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/test.rs
 1050   1257   
index be6c496..86eec20 100644
 1051         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/test.rs
        1258  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/http_request/test.rs
 1052   1259   
@@ -1,242 +1,453 @@
 1053   1260   
/*
 1054   1261   
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 1055   1262   
 * SPDX-License-Identifier: Apache-2.0
 1056   1263   
 */
 1057   1264   
 1058   1265   
//! Functions shared between the tests of several modules.
 1059   1266   
 1060         -
use crate::http_request::{SignableBody, SignableRequest};
        1267  +
use crate::http_request::canonical_request::{CanonicalRequest, StringToSign};
        1268  +
use crate::http_request::{
        1269  +
    PayloadChecksumKind, SessionTokenMode, SignableBody, SignableRequest, SignatureLocation,
        1270  +
    SigningSettings,
        1271  +
};
        1272  +
use aws_credential_types::Credentials;
        1273  +
use aws_smithy_runtime_api::client::identity::Identity;
 1061   1274   
use http0::{Method, Uri};
        1275  +
use std::borrow::Cow;
 1062   1276   
use std::error::Error as StdError;
        1277  +
use std::time::{Duration, SystemTime};
        1278  +
use time::format_description::well_known::Rfc3339;
        1279  +
use time::OffsetDateTime;
        1280  +
        1281  +
/// Common test suite collection
        1282  +
#[derive(Debug, Clone, Copy, Eq, PartialEq)]
        1283  +
enum Collection {
        1284  +
    V4,
        1285  +
    V4A,
        1286  +
}
 1063   1287   
 1064         -
pub(crate) mod v4 {
 1065         -
    use super::*;
        1288  +
/// A test from the common CRT test suite
        1289  +
#[derive(Debug, Clone)]
        1290  +
pub(crate) struct SigningSuiteTest {
        1291  +
    test_name: &'static str,
        1292  +
    collection: Collection,
        1293  +
}
 1066   1294   
 1067         -
    fn path(name: &str, ext: &str) -> String {
 1068         -
        format!("aws-sig-v4-test-suite/{}/{}.{}", name, name, ext)
        1295  +
impl SigningSuiteTest {
        1296  +
    /// Create a new test from the V4 test suite
        1297  +
    pub(crate) fn v4(test_name: &'static str) -> Self {
        1298  +
        Self {
        1299  +
            test_name,
        1300  +
            collection: Collection::V4,
        1301  +
        }
 1069   1302   
    }
 1070   1303   
 1071         -
    pub(crate) fn test_canonical_request(name: &str) -> String {
 1072         -
        // Tests fail if there's a trailing newline in the file, and pre-commit requires trailing newlines
 1073         -
        read(&path(name, "creq")).trim().to_string()
        1304  +
    /// Create a new test from the V4a test suite
        1305  +
    pub(crate) fn v4a(test_name: &'static str) -> Self {
        1306  +
        Self {
        1307  +
            test_name,
        1308  +
            collection: Collection::V4A,
        1309  +
        }
 1074   1310   
    }
 1075   1311   
 1076         -
    pub(crate) fn test_sts(name: &str) -> String {
 1077         -
        read(&path(name, "sts"))
        1312  +
    /// Get the path to a file in this test suite directory
        1313  +
    fn path(&self, filename: &str) -> String {
        1314  +
        let dir = match self.collection {
        1315  +
            Collection::V4 => "v4",
        1316  +
            Collection::V4A => "v4a",
        1317  +
        };
        1318  +
        format!("aws-signing-test-suite/{dir}/{}/{filename}", self.test_name)
 1078   1319   
    }
 1079   1320   
 1080         -
    pub(crate) fn test_request(name: &str) -> TestRequest {
 1081         -
        test_parsed_request(name, "req")
        1321  +
    /// Get the HTTP request for the test
        1322  +
    pub(crate) fn request(&self) -> TestRequest {
        1323  +
        test_parsed_request(&self.path("request.txt"))
 1082   1324   
    }
 1083   1325   
 1084         -
    pub(crate) fn test_signed_request(name: &str) -> TestRequest {
 1085         -
        test_parsed_request(name, "sreq")
        1326  +
    /// Get the signed HTTP request for the test
        1327  +
    pub(crate) fn signed_request(&self, signature_location: SignatureLocation) -> TestRequest {
        1328  +
        match signature_location {
        1329  +
            SignatureLocation::QueryParams => {
        1330  +
                test_parsed_request(&self.path("query-signed-request.txt"))
        1331  +
            }
        1332  +
            SignatureLocation::Headers => {
        1333  +
                test_parsed_request(&self.path("header-signed-request.txt"))
        1334  +
            }
        1335  +
        }
 1086   1336   
    }
 1087   1337   
 1088         -
    pub(crate) fn test_signed_request_query_params(name: &str) -> TestRequest {
 1089         -
        test_parsed_request(name, "qpsreq")
        1338  +
    /// Get the canonical request for the test
        1339  +
    pub(crate) fn canonical_request(&self, signature_location: SignatureLocation) -> String {
        1340  +
        match signature_location {
        1341  +
            SignatureLocation::QueryParams => read(&self.path("query-canonical-request.txt")),
        1342  +
            SignatureLocation::Headers => read(&self.path("header-canonical-request.txt")),
        1343  +
        }
 1090   1344   
    }
 1091   1345   
 1092         -
    fn test_parsed_request(name: &str, ext: &str) -> TestRequest {
 1093         -
        let path = path(name, ext);
 1094         -
        match parse_request(read(&path).as_bytes()) {
 1095         -
            Ok(parsed) => parsed,
 1096         -
            Err(err) => panic!("Failed to parse {}: {}", path, err),
        1346  +
    /// Get the string to sign for the test
        1347  +
    pub(crate) fn string_to_sign(&self, signature_location: SignatureLocation) -> String {
        1348  +
        match signature_location {
        1349  +
            SignatureLocation::QueryParams => read(&self.path("query-string-to-sign.txt")),
        1350  +
            SignatureLocation::Headers => read(&self.path("header-string-to-sign.txt")),
 1097   1351   
        }
 1098   1352   
    }
 1099   1353   
 1100         -
    #[test]
 1101         -
    fn test_parse() {
 1102         -
        test_request("post-header-key-case");
        1354  +
    /// Get the signature for the test
        1355  +
    pub(crate) fn signature(&self, signature_location: SignatureLocation) -> String {
        1356  +
        match signature_location {
        1357  +
            SignatureLocation::QueryParams => read(&self.path("query-signature.txt")),
        1358  +
            SignatureLocation::Headers => read(&self.path("header-signature.txt")),
        1359  +
        }
 1103   1360   
    }
 1104   1361   
 1105         -
    #[test]
 1106         -
    fn test_read_query_params() {
 1107         -
        test_request("get-vanilla-query-order-key-case");
        1362  +
    /// Get the test context for the test
        1363  +
    pub(crate) fn context(&self) -> TestContext {
        1364  +
        let context = read(&self.path("context.json"));
        1365  +
        let tc_builder: TestContextBuilder = serde_json::from_str(&context).unwrap();
        1366  +
        tc_builder.build()
 1108   1367   
    }
 1109   1368   
}
 1110   1369   
 1111         -
#[cfg(feature = "sigv4a")]
 1112         -
pub(crate) mod v4a {
 1113         -
    use super::*;
 1114         -
    use crate::http_request::{
 1115         -
        PayloadChecksumKind, SessionTokenMode, SignatureLocation, SigningSettings,
 1116         -
    };
 1117         -
    use aws_credential_types::Credentials;
 1118         -
    use aws_smithy_runtime_api::client::identity::Identity;
 1119         -
    use serde_derive::Deserialize;
 1120         -
    use std::time::{Duration, SystemTime};
 1121         -
    use time::format_description::well_known::Rfc3339;
 1122         -
    use time::OffsetDateTime;
 1123         -
 1124         -
    fn path(test_name: &str, definition_name: &str) -> String {
 1125         -
        format!("aws-sig-v4a-test-suite/{test_name}/{definition_name}.txt")
        1370  +
fn test_parsed_request(path: &str) -> TestRequest {
        1371  +
    match parse_request(read(path).as_bytes()) {
        1372  +
        Ok(parsed) => parsed,
        1373  +
        Err(err) => panic!("Failed to parse {}: {}", path, err),
 1126   1374   
    }
        1375  +
}
 1127   1376   
 1128         -
    pub(crate) fn test_request(name: &str) -> TestRequest {
 1129         -
        test_parsed_request(&path(name, "request"))
 1130         -
    }
        1377  +
fn new_v4_signing_params_from_context(
        1378  +
    test_context: &'_ TestContext,
        1379  +
    signature_location: SignatureLocation,
        1380  +
) -> crate::http_request::SigningParams<'_> {
        1381  +
    let mut params = crate::sign::v4::SigningParams::from(test_context);
        1382  +
    params.settings.signature_location = signature_location;
        1383  +
    params.into()
        1384  +
}
 1131   1385   
 1132         -
    pub(crate) fn test_canonical_request(
 1133         -
        name: &str,
 1134         -
        signature_location: SignatureLocation,
 1135         -
    ) -> String {
 1136         -
        match signature_location {
 1137         -
            SignatureLocation::QueryParams => read(&path(name, "query-canonical-request")),
 1138         -
            SignatureLocation::Headers => read(&path(name, "header-canonical-request")),
        1386  +
/// Run the given test from the v4 suite for both header and query
        1387  +
/// signature locations
        1388  +
pub(crate) fn run_test_suite_v4(test_name: &'static str) {
        1389  +
    run_v4_test(test_name, SignatureLocation::Headers);
        1390  +
    run_v4_test(test_name, SignatureLocation::QueryParams);
        1391  +
}
        1392  +
        1393  +
fn assert_uri_eq(expected: &Uri, actual: &Uri) {
        1394  +
    assert_eq!(expected.scheme(), actual.scheme());
        1395  +
    assert_eq!(expected.authority(), actual.authority());
        1396  +
    assert_eq!(expected.path(), actual.path());
        1397  +
        1398  +
    // query params may be out of order
        1399  +
    let mut expected_params: Vec<(Cow<'_, str>, Cow<'_, str>)> =
        1400  +
        form_urlencoded::parse(expected.query().unwrap_or_default().as_bytes()).collect();
        1401  +
    expected_params.sort();
        1402  +
        1403  +
    let mut actual_params: Vec<(Cow<'_, str>, Cow<'_, str>)> =
        1404  +
        form_urlencoded::parse(actual.query().unwrap_or_default().as_bytes()).collect();
        1405  +
    actual_params.sort();
        1406  +
        1407  +
    assert_eq!(expected_params, actual_params);
        1408  +
}
        1409  +
        1410  +
fn assert_requests_eq(expected: TestRequest, actual: http0::Request<&str>) {
        1411  +
    let expected = expected.as_http_request();
        1412  +
    let actual = actual;
        1413  +
    assert_eq!(expected.method(), actual.method());
        1414  +
    assert_eq!(
        1415  +
        expected.headers().len(),
        1416  +
        actual.headers().len(),
        1417  +
        "extra or missing headers"
        1418  +
    );
        1419  +
    assert_eq!(expected.headers(), actual.headers(), "headers mismatch");
        1420  +
    assert_uri_eq(expected.uri(), actual.uri());
        1421  +
    assert_eq!(*expected.body(), *actual.body(), "body mismatch");
        1422  +
}
        1423  +
        1424  +
/// Run the given test from the v4 suite for the given signature location
        1425  +
pub(crate) fn run_v4_test(test_name: &'static str, signature_location: SignatureLocation) {
        1426  +
    let test = SigningSuiteTest::v4(test_name);
        1427  +
    let tc = test.context();
        1428  +
    let params = new_v4_signing_params_from_context(&tc, signature_location);
        1429  +
        1430  +
    let req = test.request();
        1431  +
    let expected_creq = test.canonical_request(signature_location);
        1432  +
    let signable_req = SignableRequest::from(&req);
        1433  +
    let actual_creq = CanonicalRequest::from(&signable_req, &params).unwrap();
        1434  +
        1435  +
    // check canonical request
        1436  +
    assert_eq!(
        1437  +
        expected_creq,
        1438  +
        actual_creq.to_string(),
        1439  +
        "canonical request didn't match (signature location: {signature_location:?})"
        1440  +
    );
        1441  +
        1442  +
    let expected_string_to_sign = test.string_to_sign(signature_location);
        1443  +
    let hashed_creq = &crate::sign::v4::sha256_hex_string(actual_creq.to_string().as_bytes());
        1444  +
    let actual_string_to_sign = StringToSign::new_v4(
        1445  +
        *params.time(),
        1446  +
        params.region().unwrap(),
        1447  +
        params.name(),
        1448  +
        hashed_creq,
        1449  +
    )
        1450  +
    .to_string();
        1451  +
        1452  +
    // check string to sign
        1453  +
    assert_eq!(
        1454  +
        expected_string_to_sign, actual_string_to_sign,
        1455  +
        "'string to sign' didn't match (signature location: {signature_location:?})"
        1456  +
    );
        1457  +
        1458  +
    let out = crate::http_request::sign(signable_req, &params).unwrap();
        1459  +
    let mut signed = req.as_http_request();
        1460  +
    out.output.apply_to_request_http0x(&mut signed);
        1461  +
        1462  +
    // check signature
        1463  +
    assert_eq!(
        1464  +
        test.signature(signature_location),
        1465  +
        out.signature,
        1466  +
        "signature didn't match (signature location: {signature_location:?})"
        1467  +
    );
        1468  +
        1469  +
    let expected = test.signed_request(signature_location);
        1470  +
    assert_requests_eq(expected, signed);
        1471  +
}
        1472  +
        1473  +
/// Test suite context.json
        1474  +
pub(crate) struct TestContext {
        1475  +
    pub(crate) identity: Identity,
        1476  +
    pub(crate) expiration_in_seconds: u64,
        1477  +
    pub(crate) normalize: bool,
        1478  +
    pub(crate) region: String,
        1479  +
    pub(crate) service: String,
        1480  +
    pub(crate) timestamp: String,
        1481  +
    pub(crate) omit_session_token: bool,
        1482  +
    pub(crate) sign_body: bool,
        1483  +
}
        1484  +
        1485  +
// Serde has limitations requiring this odd workaround.
        1486  +
// See https://github.com/serde-rs/serde/issues/368 for more info.
        1487  +
fn return_true() -> bool {
        1488  +
    true
        1489  +
}
        1490  +
        1491  +
#[derive(serde_derive::Deserialize)]
        1492  +
pub(crate) struct TestContextBuilder {
        1493  +
    credentials: TestContextCreds,
        1494  +
    expiration_in_seconds: u64,
        1495  +
    normalize: bool,
        1496  +
    region: String,
        1497  +
    service: String,
        1498  +
    timestamp: String,
        1499  +
    #[serde(default)]
        1500  +
    omit_session_token: bool,
        1501  +
    #[serde(default = "return_true")]
        1502  +
    sign_body: bool,
        1503  +
}
        1504  +
        1505  +
impl TestContextBuilder {
        1506  +
    pub(crate) fn build(self) -> TestContext {
        1507  +
        let identity = Identity::new(
        1508  +
            Credentials::from_keys(
        1509  +
                &self.credentials.access_key_id,
        1510  +
                &self.credentials.secret_access_key,
        1511  +
                self.credentials.token.clone(),
        1512  +
            ),
        1513  +
            Some(SystemTime::UNIX_EPOCH + Duration::from_secs(self.expiration_in_seconds)),
        1514  +
        );
        1515  +
        1516  +
        TestContext {
        1517  +
            identity,
        1518  +
            expiration_in_seconds: self.expiration_in_seconds,
        1519  +
            normalize: self.normalize,
        1520  +
            region: self.region,
        1521  +
            service: self.service,
        1522  +
            timestamp: self.timestamp,
        1523  +
            omit_session_token: self.omit_session_token,
        1524  +
            sign_body: self.sign_body,
 1139   1525   
        }
 1140   1526   
    }
        1527  +
}
 1141   1528   
 1142         -
    pub(crate) fn test_string_to_sign(name: &str, signature_location: SignatureLocation) -> String {
 1143         -
        match signature_location {
 1144         -
            SignatureLocation::QueryParams => read(&path(name, "query-string-to-sign")),
 1145         -
            SignatureLocation::Headers => read(&path(name, "header-string-to-sign")),
        1529  +
#[derive(serde_derive::Deserialize)]
        1530  +
pub(crate) struct TestContextCreds {
        1531  +
    access_key_id: String,
        1532  +
    secret_access_key: String,
        1533  +
    token: Option<String>,
        1534  +
}
        1535  +
        1536  +
impl<'a> From<&'a TestContext> for crate::sign::v4::SigningParams<'a, SigningSettings> {
        1537  +
    fn from(tc: &'a TestContext) -> Self {
        1538  +
        crate::sign::v4::SigningParams {
        1539  +
            identity: &tc.identity,
        1540  +
            region: &tc.region,
        1541  +
            name: &tc.service,
        1542  +
            time: OffsetDateTime::parse(&tc.timestamp, &Rfc3339)
        1543  +
                .unwrap()
        1544  +
                .into(),
        1545  +
            settings: SigningSettings {
        1546  +
                // payload_checksum_kind: PayloadChecksumKind::XAmzSha256,
        1547  +
                expires_in: Some(Duration::from_secs(tc.expiration_in_seconds)),
        1548  +
                uri_path_normalization_mode: tc.normalize.into(),
        1549  +
                session_token_mode: if tc.omit_session_token {
        1550  +
                    SessionTokenMode::Exclude
        1551  +
                } else {
        1552  +
                    SessionTokenMode::Include
        1553  +
                },
        1554  +
                payload_checksum_kind: if tc.sign_body {
        1555  +
                    PayloadChecksumKind::XAmzSha256
        1556  +
                } else {
        1557  +
                    PayloadChecksumKind::NoHeader
        1558  +
                },
        1559  +
                ..Default::default()
        1560  +
            },
 1146   1561   
        }
 1147   1562   
    }
        1563  +
}
 1148   1564   
 1149         -
    fn test_parsed_request(path: &str) -> TestRequest {
 1150         -
        match parse_request(read(path).as_bytes()) {
 1151         -
            Ok(parsed) => parsed,
 1152         -
            Err(err) => panic!("Failed to parse {}: {}", path, err),
 1153         -
        }
        1565  +
#[cfg(feature = "sigv4a")]
        1566  +
pub(crate) mod v4a {
        1567  +
    use super::*;
        1568  +
    use crate::http_request::{
        1569  +
        sign, PayloadChecksumKind, SessionTokenMode, SignatureLocation, SigningSettings,
        1570  +
    };
        1571  +
    use crate::sign::v4a;
        1572  +
    use p256::ecdsa::signature::{Signature, Verifier};
        1573  +
    use p256::ecdsa::{DerSignature, SigningKey};
        1574  +
    use std::time::Duration;
        1575  +
    use time::format_description::well_known::Rfc3339;
        1576  +
    use time::OffsetDateTime;
        1577  +
        1578  +
    fn new_v4a_signing_params_from_context(
        1579  +
        test_context: &'_ TestContext,
        1580  +
        signature_location: SignatureLocation,
        1581  +
    ) -> crate::http_request::SigningParams<'_> {
        1582  +
        let mut params = crate::sign::v4a::SigningParams::from(test_context);
        1583  +
        params.settings.signature_location = signature_location;
        1584  +
        params.into()
 1154   1585   
    }
 1155   1586   
 1156         -
    pub(crate) fn test_context(test_name: &str) -> TestContext {
 1157         -
        let path = format!("aws-sig-v4a-test-suite/{test_name}/context.json");
 1158         -
        let context = read(&path);
 1159         -
        let tc_builder: TestContextBuilder = serde_json::from_str(&context).unwrap();
 1160         -
        tc_builder.build()
        1587  +
    pub(crate) fn run_test_suite_v4a(test_name: &'static str) {
        1588  +
        run_v4a_test(test_name, SignatureLocation::Headers);
        1589  +
        run_v4a_test(test_name, SignatureLocation::QueryParams);
 1161   1590   
    }
 1162   1591   
 1163         -
    pub(crate) struct TestContext {
 1164         -
        pub(crate) identity: Identity,
 1165         -
        pub(crate) expiration_in_seconds: u64,
 1166         -
        pub(crate) normalize: bool,
 1167         -
        pub(crate) region: String,
 1168         -
        pub(crate) service: String,
 1169         -
        pub(crate) timestamp: String,
 1170         -
        pub(crate) omit_session_token: bool,
 1171         -
        pub(crate) sign_body: bool,
        1592  +
    pub(crate) fn run_v4a_test(test_name: &'static str, signature_location: SignatureLocation) {
        1593  +
        let test = SigningSuiteTest::v4a(test_name);
        1594  +
        let tc = test.context();
        1595  +
        let params = new_v4a_signing_params_from_context(&tc, signature_location);
        1596  +
        1597  +
        let req = test.request();
        1598  +
        let expected_creq = test.canonical_request(signature_location);
        1599  +
        let signable_req = SignableRequest::from(&req);
        1600  +
        let actual_creq = CanonicalRequest::from(&signable_req, &params).unwrap();
        1601  +
        1602  +
        assert_eq!(
        1603  +
            expected_creq,
        1604  +
            actual_creq.to_string(),
        1605  +
            "canonical request didn't match (signature location: {signature_location:?})"
        1606  +
        );
        1607  +
        1608  +
        let expected_string_to_sign = test.string_to_sign(signature_location);
        1609  +
        let hashed_creq = &crate::sign::v4::sha256_hex_string(actual_creq.to_string().as_bytes());
        1610  +
        let actual_string_to_sign = StringToSign::new_v4a(
        1611  +
            *params.time(),
        1612  +
            params.region_set().unwrap(),
        1613  +
            params.name(),
        1614  +
            hashed_creq,
        1615  +
        )
        1616  +
        .to_string();
        1617  +
        1618  +
        assert_eq!(
        1619  +
            expected_string_to_sign, actual_string_to_sign,
        1620  +
            "'string to sign' didn't match (signature location: {signature_location:?})"
        1621  +
        );
        1622  +
        1623  +
        let out = sign(signable_req, &params).unwrap();
        1624  +
        // Sigv4a signatures are non-deterministic, so we can't compare the signature directly.
        1625  +
        out.output
        1626  +
            .apply_to_request_http0x(&mut req.as_http_request());
        1627  +
        1628  +
        let creds = params.credentials().unwrap();
        1629  +
        let signing_key =
        1630  +
            v4a::generate_signing_key(creds.access_key_id(), creds.secret_access_key());
        1631  +
        let sig = DerSignature::from_bytes(&hex::decode(out.signature).unwrap()).unwrap();
        1632  +
        let sig = sig
        1633  +
            .try_into()
        1634  +
            .expect("DER-style signatures are always convertible into fixed-size signatures");
        1635  +
        1636  +
        let signing_key = SigningKey::from_bytes(signing_key.as_ref()).unwrap();
        1637  +
        let peer_public_key = signing_key.verifying_key();
        1638  +
        let sts = actual_string_to_sign.as_bytes();
        1639  +
        peer_public_key.verify(sts, &sig).unwrap();
        1640  +
        // TODO(sigv4a) - use public.key.json as verifying key?
 1172   1641   
    }
 1173   1642   
 1174   1643   
    impl<'a> From<&'a TestContext> for crate::sign::v4a::SigningParams<'a, SigningSettings> {
 1175   1644   
        fn from(tc: &'a TestContext) -> Self {
 1176   1645   
            crate::sign::v4a::SigningParams {
 1177   1646   
                identity: &tc.identity,
 1178   1647   
                region_set: &tc.region,
 1179   1648   
                name: &tc.service,
 1180   1649   
                time: OffsetDateTime::parse(&tc.timestamp, &Rfc3339)
 1181   1650   
                    .unwrap()
 1182   1651   
                    .into(),
 1183   1652   
                settings: SigningSettings {
 1184   1653   
                    // payload_checksum_kind: PayloadChecksumKind::XAmzSha256,
 1185   1654   
                    expires_in: Some(Duration::from_secs(tc.expiration_in_seconds)),
 1186   1655   
                    uri_path_normalization_mode: tc.normalize.into(),
 1187   1656   
                    session_token_mode: if tc.omit_session_token {
 1188   1657   
                        SessionTokenMode::Exclude
 1189   1658   
                    } else {
 1190   1659   
                        SessionTokenMode::Include
 1191   1660   
                    },
 1192   1661   
                    payload_checksum_kind: if tc.sign_body {
 1193   1662   
                        PayloadChecksumKind::XAmzSha256
 1194   1663   
                    } else {
 1195   1664   
                        PayloadChecksumKind::NoHeader
 1196   1665   
                    },
 1197   1666   
                    ..Default::default()
 1198   1667   
                },
 1199   1668   
            }
 1200   1669   
        }
 1201   1670   
    }
 1202   1671   
 1203         -
    // Serde has limitations requiring this odd workaround.
 1204         -
    // See https://github.com/serde-rs/serde/issues/368 for more info.
 1205         -
    fn return_true() -> bool {
 1206         -
        true
 1207         -
    }
 1208         -
 1209         -
    #[derive(Deserialize)]
 1210         -
    pub(crate) struct TestContextBuilder {
 1211         -
        credentials: TestContextCreds,
 1212         -
        expiration_in_seconds: u64,
 1213         -
        normalize: bool,
 1214         -
        region: String,
 1215         -
        service: String,
 1216         -
        timestamp: String,
 1217         -
        #[serde(default)]
 1218         -
        omit_session_token: bool,
 1219         -
        #[serde(default = "return_true")]
 1220         -
        sign_body: bool,
 1221         -
    }
 1222         -
 1223         -
    impl TestContextBuilder {
 1224         -
        pub(crate) fn build(self) -> TestContext {
 1225         -
            let identity = Identity::new(
 1226         -
                Credentials::from_keys(
 1227         -
                    &self.credentials.access_key_id,
 1228         -
                    &self.credentials.secret_access_key,
 1229         -
                    self.credentials.token.clone(),
 1230         -
                ),
 1231         -
                Some(SystemTime::UNIX_EPOCH + Duration::from_secs(self.expiration_in_seconds)),
 1232         -
            );
 1233         -
 1234         -
            TestContext {
 1235         -
                identity,
 1236         -
                expiration_in_seconds: self.expiration_in_seconds,
 1237         -
                normalize: self.normalize,
 1238         -
                region: self.region,
 1239         -
                service: self.service,
 1240         -
                timestamp: self.timestamp,
 1241         -
                omit_session_token: self.omit_session_token,
 1242         -
                sign_body: self.sign_body,
 1243         -
            }
 1244         -
        }
 1245         -
    }
 1246         -
 1247         -
    #[derive(Deserialize)]
 1248         -
    pub(crate) struct TestContextCreds {
 1249         -
        access_key_id: String,
 1250         -
        secret_access_key: String,
 1251         -
        token: Option<String>,
 1252         -
    }
 1253         -
 1254   1672   
    #[test]
 1255   1673   
    fn test_parse() {
 1256         -
        let req = test_request("post-header-key-case");
        1674  +
        let req = SigningSuiteTest::v4a("post-header-key-case").request();
 1257   1675   
        assert_eq!(req.method, "POST");
 1258   1676   
        assert_eq!(req.uri, "https://example.amazonaws.com/");
 1259   1677   
        assert!(req.headers.is_empty());
 1260   1678   
    }
 1261   1679   
 1262   1680   
    #[test]
 1263   1681   
    fn test_read_query_params() {
 1264         -
        let req = test_request("get-header-value-trim");
        1682  +
        let req = SigningSuiteTest::v4a("get-header-value-trim").request();
 1265   1683   
        assert_eq!(req.method, "GET");
 1266   1684   
        assert_eq!(req.uri, "https://example.amazonaws.com/");
 1267   1685   
        assert!(!req.headers.is_empty());
 1268   1686   
    }
 1269   1687   
}
 1270   1688   
 1271   1689   
fn read(path: &str) -> String {
 1272   1690   
    println!("Loading `{}` for test case...", path);
 1273   1691   
    let v = {
 1274   1692   
        match std::fs::read_to_string(path) {
 1275   1693   
            // This replacement is necessary for tests to pass on Windows, as reading the
 1276   1694   
            // test snapshots from the file system results in CRLF line endings being inserted.
 1277   1695   
            Ok(value) => value.replace("\r\n", "\n"),
 1278   1696   
            Err(err) => {
 1279   1697   
                panic!("failed to load test case `{}`: {}", path, err);
 1280   1698   
            }
 1281   1699   
        }
 1282   1700   
    };
 1283   1701   
 1284   1702   
    v.trim().to_string()
 1285   1703   
}
 1286   1704   
 1287   1705   
pub(crate) struct TestRequest {
 1288   1706   
    pub(crate) uri: String,
 1289   1707   
    pub(crate) method: String,
 1290   1708   
    pub(crate) headers: Vec<(String, String)>,
 1291   1709   
    pub(crate) body: TestSignedBody,
 1292   1710   
}
 1293   1711   
 1294   1712   
pub(crate) enum TestSignedBody {
 1295   1713   
@@ -290,79 +501,87 @@ impl<B: AsRef<[u8]>> From<http0::Request<B>> for TestRequest {
 1296   1714   
                        String::from_utf8(v.as_bytes().to_vec()).unwrap(),
 1297   1715   
                    )
 1298   1716   
                })
 1299   1717   
                .collect::<Vec<_>>(),
 1300   1718   
            body: TestSignedBody::Bytes(value.body().as_ref().to_vec()),
 1301   1719   
        }
 1302   1720   
    }
 1303   1721   
}
 1304   1722   
 1305   1723   
impl<'a> From<&'a TestRequest> for SignableRequest<'a> {
 1306   1724   
    fn from(request: &'a TestRequest) -> SignableRequest<'a> {
 1307   1725   
        SignableRequest::new(
 1308   1726   
            &request.method,
 1309   1727   
            &request.uri,
 1310   1728   
            request
 1311   1729   
                .headers
 1312   1730   
                .iter()
 1313   1731   
                .map(|(k, v)| (k.as_str(), v.as_str())),
 1314   1732   
            request.body.as_signable_body(),
 1315   1733   
        )
 1316   1734   
        .expect("URI MUST be valid")
 1317   1735   
    }
 1318   1736   
}
 1319   1737   
 1320   1738   
fn parse_request(s: &[u8]) -> Result<TestRequest, Box<dyn StdError + Send + Sync + 'static>> {
 1321   1739   
    let mut headers = [httparse::EMPTY_HEADER; 64];
 1322   1740   
    // httparse 1.5 requires two trailing newlines to head the header section.
 1323   1741   
    let mut with_newline = Vec::from(s);
 1324   1742   
    with_newline.push(b'\n');
 1325   1743   
    let mut req = httparse::Request::new(&mut headers);
 1326         -
    let _ = req.parse(&with_newline).unwrap();
        1744  +
    let status = req.parse(&with_newline).unwrap();
        1745  +
        1746  +
    let body = if status.is_complete() {
        1747  +
        let body_offset = status.unwrap();
        1748  +
        // ignore the newline we added, take from original
        1749  +
        &s[body_offset..]
        1750  +
    } else {
        1751  +
        &[]
        1752  +
    };
 1327   1753   
 1328   1754   
    let mut uri_builder = Uri::builder().scheme("https");
 1329   1755   
    if let Some(path) = req.path {
 1330   1756   
        uri_builder = uri_builder.path_and_query(path);
 1331   1757   
    }
 1332   1758   
 1333   1759   
    let mut headers = vec![];
 1334   1760   
    for header in req.headers {
 1335   1761   
        let name = header.name.to_lowercase();
 1336   1762   
        if name == "host" {
 1337   1763   
            uri_builder = uri_builder.authority(header.value);
 1338   1764   
        } else if !name.is_empty() {
 1339   1765   
            headers.push((
 1340   1766   
                header.name.to_string(),
 1341   1767   
                std::str::from_utf8(header.value)?.to_string(),
 1342   1768   
            ));
 1343   1769   
        }
 1344   1770   
    }
 1345   1771   
 1346   1772   
    Ok(TestRequest {
 1347   1773   
        uri: uri_builder.build()?.to_string(),
 1348   1774   
        method: req.method.unwrap().to_string(),
 1349   1775   
        headers,
 1350         -
        body: TestSignedBody::Bytes(vec![]),
        1776  +
        body: TestSignedBody::Bytes(Vec::from(body)),
 1351   1777   
    })
 1352   1778   
}
 1353   1779   
 1354   1780   
#[test]
 1355   1781   
fn test_parse_headers() {
 1356   1782   
    let buf = b"Host:example.amazonaws.com\nX-Amz-Date:20150830T123600Z\n\nblah blah";
 1357   1783   
    let mut headers = [httparse::EMPTY_HEADER; 4];
 1358   1784   
    assert_eq!(
 1359   1785   
        httparse::parse_headers(buf, &mut headers),
 1360   1786   
        Ok(httparse::Status::Complete((
 1361   1787   
            56,
 1362   1788   
            &[
 1363   1789   
                httparse::Header {
 1364   1790   
                    name: "Host",
 1365   1791   
                    value: b"example.amazonaws.com",
 1366   1792   
                },
 1367   1793   
                httparse::Header {
 1368   1794   
                    name: "X-Amz-Date",
 1369   1795   
                    value: b"20150830T123600Z",
 1370   1796   
                }
 1371   1797   
            ][..]
 1372   1798   
        )))
 1373   1799   
    );
 1374   1800   
}
 1375   1801   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/sign/v4.rs b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/sign/v4.rs
 1376   1802   
index a208453..fc00249 100644
 1377         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/sign/v4.rs
        1803  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/src/sign/v4.rs
 1378   1804   
@@ -168,52 +168,54 @@ pub mod signing_params {
 1379   1805   
        );
 1380   1806   
 1381   1807   
        /// Builds an instance of [`SigningParams`]. Will yield a [`BuildError`] if
 1382   1808   
        /// a required argument was not given.
 1383   1809   
        pub fn build(self) -> Result<SigningParams<'a, S>, BuildError> {
 1384   1810   
            Ok(SigningParams {
 1385   1811   
                identity: self
 1386   1812   
                    .identity
 1387   1813   
                    .ok_or_else(|| BuildError::new("identity is required"))?,
 1388   1814   
                region: self
 1389   1815   
                    .region
 1390   1816   
                    .ok_or_else(|| BuildError::new("region is required"))?,
 1391   1817   
                name: self
 1392   1818   
                    .name
 1393   1819   
                    .ok_or_else(|| BuildError::new("name is required"))?,
 1394   1820   
                time: self
 1395   1821   
                    .time
 1396   1822   
                    .ok_or_else(|| BuildError::new("time is required"))?,
 1397   1823   
                settings: self
 1398   1824   
                    .settings
 1399   1825   
                    .ok_or_else(|| BuildError::new("settings are required"))?,
 1400   1826   
            })
 1401   1827   
        }
 1402   1828   
    }
 1403   1829   
}
 1404   1830   
 1405   1831   
#[cfg(test)]
 1406   1832   
mod tests {
 1407   1833   
    use super::{calculate_signature, generate_signing_key, sha256_hex_string};
 1408   1834   
    use crate::date_time::test_parsers::parse_date_time;
 1409         -
    use crate::http_request::test;
 1410   1835   
 1411   1836   
    #[test]
 1412   1837   
    fn test_signature_calculation() {
 1413   1838   
        let secret = "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY";
 1414         -
        let creq = test::v4::test_canonical_request("iam");
        1839  +
        let creq = r#"AWS4-HMAC-SHA256
        1840  +
20150830T123600Z
        1841  +
20150830/us-east-1/iam/aws4_request
        1842  +
f536975d06c0309214f805bb90ccff089219ecd68b2577efef23edd43b7e1a59"#;
 1415   1843   
        let time = parse_date_time("20150830T123600Z").unwrap();
 1416   1844   
 1417   1845   
        let derived_key = generate_signing_key(secret, time, "us-east-1", "iam");
 1418   1846   
        let signature = calculate_signature(derived_key, creq.as_bytes());
 1419   1847   
 1420   1848   
        let expected = "5d672d79c15b13162d9279b0855cfba6789a8edb4c82c400e06b5924a6f2b5d7";
 1421   1849   
        assert_eq!(expected, &signature);
 1422   1850   
    }
 1423   1851   
 1424   1852   
    #[test]
 1425   1853   
    fn sign_payload_empty_string() {
 1426   1854   
        let expected = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
 1427   1855   
        let actual = sha256_hex_string([]);
 1428   1856   
        assert_eq!(expected, actual);
 1429   1857   
    }
 1430   1858   
}
 1431   1859   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-checksums/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-checksums/Cargo.toml
 1432   1860   
index ce78c38..8c2f591 100644
 1433         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-checksums/Cargo.toml
        1861  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-checksums/Cargo.toml
 1434   1862   
@@ -1,43 +1,43 @@
 1435   1863   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 1436   1864   
[package]
 1437   1865   
name = "aws-smithy-checksums"
 1438   1866   
version = "0.63.5"
 1439   1867   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Zelda Hessler <zhessler@amazon.com>"]
 1440   1868   
description = "Checksum calculation and verification callbacks"
 1441   1869   
edition = "2021"
 1442   1870   
license = "Apache-2.0"
 1443   1871   
repository = "https://github.com/smithy-lang/smithy-rs"
 1444   1872   
[package.metadata.docs.rs]
 1445   1873   
all-features = true
 1446   1874   
targets = ["x86_64-unknown-linux-gnu"]
 1447   1875   
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
 1448   1876   
rustdoc-args = ["--cfg", "docsrs"]
 1449   1877   
 1450   1878   
[dependencies]
 1451   1879   
bytes = "1.10.0"
 1452   1880   
crc-fast = "1.3.0"
 1453   1881   
hex = "0.4.3"
 1454   1882   
http = "0.2.9"
 1455   1883   
http-body = "0.4.5"
 1456   1884   
md-5 = "0.10"
 1457   1885   
pin-project-lite = "0.2.14"
 1458   1886   
sha1 = "0.10"
 1459   1887   
sha2 = "0.10"
 1460   1888   
tracing = "0.1.40"
 1461   1889   
 1462   1890   
[dependencies.aws-smithy-http]
 1463   1891   
path = "../aws-smithy-http"
 1464         -
version = "0.62.2"
        1892  +
version = "0.62.3"
 1465   1893   
 1466   1894   
[dependencies.aws-smithy-types]
 1467   1895   
path = "../aws-smithy-types"
 1468   1896   
version = "1.3.2"
 1469   1897   
 1470   1898   
[dev-dependencies]
 1471   1899   
bytes-utils = "0.1.2"
 1472   1900   
pretty_assertions = "1.3"
 1473   1901   
tracing-test = "0.2.1"
 1474   1902   
 1475   1903   
[dev-dependencies.tokio]
 1476   1904   
version = "1.23.1"
 1477   1905   
features = ["macros", "rt"]
 1478   1906   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/Cargo.toml
 1479   1907   
index 970c99e..d3c7a49 100644
 1480         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/Cargo.toml
        1908  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/Cargo.toml
 1481   1909   
@@ -1,34 +1,34 @@
 1482   1910   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 1483   1911   
[package]
 1484   1912   
name = "aws-smithy-http"
 1485         -
version = "0.62.2"
        1913  +
version = "0.62.3"
 1486   1914   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 1487   1915   
description = "Smithy HTTP logic for smithy-rs."
 1488   1916   
edition = "2021"
 1489   1917   
license = "Apache-2.0"
 1490   1918   
repository = "https://github.com/smithy-lang/smithy-rs"
 1491   1919   
[package.metadata.docs.rs]
 1492   1920   
all-features = true
 1493   1921   
targets = ["x86_64-unknown-linux-gnu"]
 1494   1922   
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
 1495   1923   
rustdoc-args = ["--cfg", "docsrs"]
 1496   1924   
 1497   1925   
[features]
 1498   1926   
event-stream = ["aws-smithy-eventstream"]
 1499   1927   
rt-tokio = ["aws-smithy-types/rt-tokio"]
 1500   1928   
 1501   1929   
[dependencies]
 1502   1930   
bytes = "1.10.0"
 1503   1931   
bytes-utils = "0.1"
 1504   1932   
percent-encoding = "2.3.1"
 1505   1933   
pin-project-lite = "0.2.14"
 1506   1934   
pin-utils = "0.1.0"
 1507   1935   
tracing = "0.1.40"
 1508   1936   
futures-core = "0.3.31"
 1509   1937   
 1510   1938   
[dependencies.aws-smithy-eventstream]
 1511   1939   
path = "../aws-smithy-eventstream"
 1512   1940   
optional = true
 1513   1941   
version = "0.60.10"
 1514   1942   
 1515   1943   
[dependencies.aws-smithy-runtime-api]
 1516   1944   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/fuzz/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/fuzz/Cargo.toml
 1517   1945   
index 508f7a2..361545e 100644
 1518         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/fuzz/Cargo.toml
        1946  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/fuzz/Cargo.toml
 1519   1947   
@@ -1,27 +1,27 @@
 1520   1948   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 1521   1949   
[[bin]]
 1522   1950   
name = "read_many_from_str"
 1523   1951   
path = "fuzz_targets/read_many_from_str.rs"
 1524   1952   
test = false
 1525   1953   
doc = false
 1526   1954   
 1527   1955   
[package]
 1528   1956   
name = "aws-smithy-http-fuzz"
 1529   1957   
version = "0.0.0"
 1530   1958   
authors = ["Automatically generated"]
 1531   1959   
publish = false
 1532   1960   
edition = "2021"
 1533   1961   
 1534   1962   
[package.metadata]
 1535   1963   
cargo-fuzz = true
 1536   1964   
 1537   1965   
[dependencies]
 1538   1966   
libfuzzer-sys = "=0.4.7"
 1539   1967   
http = "0.2.3"
 1540   1968   
 1541   1969   
[dependencies.aws-smithy-http]
 1542   1970   
path = ".."
 1543         -
version = "0.62.2"
        1971  +
version = "0.62.3"
 1544   1972   
 1545   1973   
[workspace]
 1546   1974   
members = ["."]
 1547   1975   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/src/query_writer.rs b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/src/query_writer.rs
 1548   1976   
index fef41d0..2792229 100644
 1549         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/src/query_writer.rs
        1977  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-http/src/query_writer.rs
 1550   1978   
@@ -25,68 +25,74 @@ impl QueryWriter {
 1551   1979   
    pub fn new(uri: &Uri) -> Self {
 1552   1980   
        let new_path_and_query = uri
 1553   1981   
            .path_and_query()
 1554   1982   
            .map(|pq| pq.to_string())
 1555   1983   
            .unwrap_or_default();
 1556   1984   
        let prefix = if uri.query().is_none() {
 1557   1985   
            Some('?')
 1558   1986   
        } else if !uri.query().unwrap_or_default().is_empty() {
 1559   1987   
            Some('&')
 1560   1988   
        } else {
 1561   1989   
            None
 1562   1990   
        };
 1563   1991   
        QueryWriter {
 1564   1992   
            base_uri: uri.clone(),
 1565   1993   
            new_path_and_query,
 1566   1994   
            prefix,
 1567   1995   
        }
 1568   1996   
    }
 1569   1997   
 1570   1998   
    /// Clears all query parameters.
 1571   1999   
    pub fn clear_params(&mut self) {
 1572   2000   
        if let Some(index) = self.new_path_and_query.find('?') {
 1573   2001   
            self.new_path_and_query.truncate(index);
 1574   2002   
            self.prefix = Some('?');
 1575   2003   
        }
 1576   2004   
    }
 1577   2005   
 1578   2006   
    /// Inserts a new query parameter. The key and value are percent encoded
 1579   2007   
    /// by `QueryWriter`. Passing in percent encoded values will result in double encoding.
 1580   2008   
    pub fn insert(&mut self, k: &str, v: &str) {
        2009  +
        self.insert_encoded(&percent_encode_query(k), &percent_encode_query(v));
        2010  +
    }
        2011  +
    
        2012  +
    /// Inserts a new already encoded query parameter. The key and value will be inserted
        2013  +
    /// as is.
        2014  +
    pub fn insert_encoded(&mut self, encoded_k: &str, encoded_v: &str) {
 1581   2015   
        if let Some(prefix) = self.prefix {
 1582   2016   
            self.new_path_and_query.push(prefix);
 1583   2017   
        }
 1584   2018   
        self.prefix = Some('&');
 1585         -
        self.new_path_and_query.push_str(&percent_encode_query(k));
        2019  +
        self.new_path_and_query.push_str(encoded_k);
 1586   2020   
        self.new_path_and_query.push('=');
 1587         -
 1588         -
        self.new_path_and_query.push_str(&percent_encode_query(v));
        2021  +
        self.new_path_and_query.push_str(encoded_v)
        2022  +
        
 1589   2023   
    }
 1590   2024   
 1591   2025   
    /// Returns just the built query string.
 1592   2026   
    pub fn build_query(self) -> String {
 1593   2027   
        self.build_uri().query().unwrap_or_default().to_string()
 1594   2028   
    }
 1595   2029   
 1596   2030   
    /// Returns a full [`Uri`] with the query string updated.
 1597   2031   
    pub fn build_uri(self) -> Uri {
 1598   2032   
        let mut parts = self.base_uri.into_parts();
 1599   2033   
        parts.path_and_query = Some(
 1600   2034   
            self.new_path_and_query
 1601   2035   
                .parse()
 1602   2036   
                .expect("adding query should not invalidate URI"),
 1603   2037   
        );
 1604   2038   
        Uri::from_parts(parts).expect("a valid URL in should always produce a valid URL out")
 1605   2039   
    }
 1606   2040   
}
 1607   2041   
 1608   2042   
#[cfg(test)]
 1609   2043   
mod test {
 1610   2044   
    use super::QueryWriter;
 1611   2045   
    use http_02x::Uri;
 1612   2046   
 1613   2047   
    #[test]
 1614   2048   
    fn empty_uri() {
 1615   2049   
        let uri = Uri::from_static("http://www.example.com");
 1616   2050   
        let mut query_writer = QueryWriter::new(&uri);
 1617   2051   
        query_writer.insert("key", "val%ue");
 1618   2052   
        query_writer.insert("another", "value");
 1619   2053   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-runtime/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-runtime/Cargo.toml
 1620   2054   
index f108978..df7a9fe 100644
 1621         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-runtime/Cargo.toml
        2055  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-runtime/Cargo.toml
 1622   2056   
@@ -15,61 +15,61 @@ rustdoc-args = ["--cfg", "docsrs"]
 1623   2057   
 1624   2058   
[package.metadata.smithy-rs-release-tooling]
 1625   2059   
stable = true
 1626   2060   
[package.metadata.cargo-udeps.ignore]
 1627   2061   
normal = ["aws-smithy-http"]
 1628   2062   
 1629   2063   
[features]
 1630   2064   
client = ["aws-smithy-runtime-api/client", "aws-smithy-types/http-body-1-x"]
 1631   2065   
http-auth = ["aws-smithy-runtime-api/http-auth"]
 1632   2066   
connector-hyper-0-14-x = ["dep:aws-smithy-http-client", "aws-smithy-http-client?/hyper-014"]
 1633   2067   
tls-rustls = ["dep:aws-smithy-http-client", "aws-smithy-http-client?/legacy-rustls-ring", "connector-hyper-0-14-x"]
 1634   2068   
default-https-client = ["dep:aws-smithy-http-client", "aws-smithy-http-client?/rustls-aws-lc"]
 1635   2069   
rt-tokio = ["tokio/rt"]
 1636   2070   
test-util = ["aws-smithy-runtime-api/test-util", "dep:tracing-subscriber", "aws-smithy-http-client/test-util", "legacy-test-util"]
 1637   2071   
legacy-test-util = ["aws-smithy-runtime-api/test-util", "dep:tracing-subscriber", "aws-smithy-http-client/test-util", "connector-hyper-0-14-x", "aws-smithy-http-client/legacy-test-util"]
 1638   2072   
wire-mock = ["legacy-test-util", "aws-smithy-http-client/wire-mock"]
 1639   2073   
 1640   2074   
[dependencies]
 1641   2075   
bytes = "1.10.0"
 1642   2076   
fastrand = "2.3.0"
 1643   2077   
pin-project-lite = "0.2.14"
 1644   2078   
pin-utils = "0.1.0"
 1645   2079   
tracing = "0.1.40"
 1646   2080   
 1647   2081   
[dependencies.aws-smithy-async]
 1648   2082   
path = "../aws-smithy-async"
 1649   2083   
version = "1.2.5"
 1650   2084   
 1651   2085   
[dependencies.aws-smithy-http]
 1652   2086   
path = "../aws-smithy-http"
 1653         -
version = "0.62.2"
        2087  +
version = "0.62.3"
 1654   2088   
 1655   2089   
[dependencies.aws-smithy-observability]
 1656   2090   
path = "../aws-smithy-observability"
 1657   2091   
version = "0.1.3"
 1658   2092   
 1659   2093   
[dependencies.aws-smithy-runtime-api]
 1660   2094   
path = "../aws-smithy-runtime-api"
 1661   2095   
version = "1.8.5"
 1662   2096   
 1663   2097   
[dependencies.aws-smithy-types]
 1664   2098   
path = "../aws-smithy-types"
 1665   2099   
features = ["http-body-0-4-x"]
 1666   2100   
version = "1.3.2"
 1667   2101   
 1668   2102   
[dependencies.aws-smithy-http-client]
 1669   2103   
path = "../aws-smithy-http-client"
 1670   2104   
optional = true
 1671   2105   
version = "1.0.6"
 1672   2106   
 1673   2107   
[dependencies.http-02x]
 1674   2108   
package = "http"
 1675   2109   
version = "0.2.9"
 1676   2110   
 1677   2111   
[dependencies.http-1x]
 1678   2112   
package = "http"
 1679   2113   
version = "1"
 1680   2114   
 1681   2115   
[dependencies.http-body-04x]
 1682   2116   
package = "http-body"
 1683   2117   
version = "0.4.5"
 1684   2118   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-wasm/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-wasm/Cargo.toml
 1685   2119   
index 4e050c6..f58eb1c 100644
 1686         -
-- a/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-wasm/Cargo.toml
        2120  +
++ b/tmp-codegen-diff/aws-sdk/sdk/aws-smithy-wasm/Cargo.toml
 1687   2121   
@@ -1,33 +1,33 @@
 1688   2122   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 1689   2123   
[package]
 1690   2124   
name = "aws-smithy-wasm"
 1691   2125   
version = "0.1.4"
 1692   2126   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Eduardo Rodrigues <16357187+eduardomourar@users.noreply.github.com>"]
 1693   2127   
description = "Smithy WebAssembly configuration for smithy-rs."
 1694   2128   
edition = "2021"
 1695   2129   
license = "Apache-2.0"
 1696   2130   
repository = "https://github.com/awslabs/smithy-rs"
 1697   2131   
[package.metadata.docs.rs]
 1698   2132   
all-features = true
 1699   2133   
targets = ["x86_64-unknown-linux-gnu"]
 1700   2134   
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
 1701   2135   
rustdoc-args = ["--cfg", "docsrs"]
 1702   2136   
 1703   2137   
[dependencies]
 1704   2138   
bytes = "1.10.0"
 1705   2139   
http = "1.0.0"
 1706   2140   
tracing = "0.1.40"
 1707   2141   
wasi = "0.12.1"
 1708   2142   
 1709   2143   
[dependencies.aws-smithy-runtime-api]
 1710   2144   
path = "../aws-smithy-runtime-api"
 1711   2145   
features = ["http-1x"]
 1712   2146   
version = "1.8.5"
 1713   2147   
 1714   2148   
[dependencies.aws-smithy-http]
 1715   2149   
path = "../aws-smithy-http"
 1716         -
version = "0.62.2"
        2150  +
version = "0.62.3"
 1717   2151   
 1718   2152   
[dependencies.aws-smithy-types]
 1719   2153   
path = "../aws-smithy-types"
 1720   2154   
version = "1.3.2"
 1721   2155   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/bedrockruntime/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/bedrockruntime/Cargo.toml
 1722   2156   
index a880648..139e808 100644
 1723         -
-- a/tmp-codegen-diff/aws-sdk/sdk/bedrockruntime/Cargo.toml
        2157  +
++ b/tmp-codegen-diff/aws-sdk/sdk/bedrockruntime/Cargo.toml
 1724   2158   
@@ -7,61 +7,61 @@ description = "AWS SDK for Amazon Bedrock Runtime"
 1725   2159   
edition = "2021"
 1726   2160   
license = "Apache-2.0"
 1727   2161   
repository = "https://github.com/awslabs/aws-sdk-rust"
 1728   2162   
rust-version = "1.86.0"
 1729   2163   
readme = "README.md"
 1730   2164   
[package.metadata.smithy]
 1731   2165   
codegen-version = "ci"
 1732   2166   
[package.metadata.docs.rs]
 1733   2167   
all-features = true
 1734   2168   
targets = ["x86_64-unknown-linux-gnu"]
 1735   2169   
[dependencies.aws-credential-types]
 1736   2170   
path = "../aws-credential-types"
 1737   2171   
version = "1.2.4"
 1738   2172   
 1739   2173   
[dependencies.aws-runtime]
 1740   2174   
path = "../aws-runtime"
 1741   2175   
features = ["event-stream"]
 1742   2176   
version = "1.5.9"
 1743   2177   
 1744   2178   
[dependencies.aws-smithy-async]
 1745   2179   
path = "../aws-smithy-async"
 1746   2180   
version = "1.2.5"
 1747   2181   
 1748   2182   
[dependencies.aws-smithy-eventstream]
 1749   2183   
path = "../aws-smithy-eventstream"
 1750   2184   
version = "0.60.10"
 1751   2185   
 1752   2186   
[dependencies.aws-smithy-http]
 1753   2187   
path = "../aws-smithy-http"
 1754   2188   
features = ["event-stream"]
 1755         -
version = "0.62.2"
        2189  +
version = "0.62.3"
 1756   2190   
 1757   2191   
[dependencies.aws-smithy-json]
 1758   2192   
path = "../aws-smithy-json"
 1759   2193   
version = "0.61.4"
 1760   2194   
 1761   2195   
[dependencies.aws-smithy-runtime]
 1762   2196   
path = "../aws-smithy-runtime"
 1763   2197   
features = ["client"]
 1764   2198   
version = "1.8.5"
 1765   2199   
 1766   2200   
[dependencies.aws-smithy-runtime-api]
 1767   2201   
path = "../aws-smithy-runtime-api"
 1768   2202   
features = ["client", "http-02x"]
 1769   2203   
version = "1.8.5"
 1770   2204   
 1771   2205   
[dependencies.aws-smithy-types]
 1772   2206   
path = "../aws-smithy-types"
 1773   2207   
version = "1.3.2"
 1774   2208   
 1775   2209   
[dependencies.aws-types]
 1776   2210   
path = "../aws-types"
 1777   2211   
version = "1.3.8"
 1778   2212   
 1779   2213   
[dependencies.bytes]
 1780   2214   
version = "1.4.0"
 1781   2215   
 1782   2216   
[dependencies.fastrand]
 1783   2217   
version = "2.0.0"
 1784   2218   
 1785   2219   
[dependencies.http]
 1786   2220   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/Cargo.toml
 1787   2221   
index 415ecc9..667d12b 100644
 1788         -
-- a/tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/Cargo.toml
        2222  +
++ b/tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/Cargo.toml
 1789   2223   
@@ -7,61 +7,61 @@ description = "AWS SDK for Amazon CloudWatch Logs"
 1790   2224   
edition = "2021"
 1791   2225   
license = "Apache-2.0"
 1792   2226   
repository = "https://github.com/awslabs/aws-sdk-rust"
 1793   2227   
rust-version = "1.86.0"
 1794   2228   
readme = "README.md"
 1795   2229   
[package.metadata.smithy]
 1796   2230   
codegen-version = "ci"
 1797   2231   
[package.metadata.docs.rs]
 1798   2232   
all-features = true
 1799   2233   
targets = ["x86_64-unknown-linux-gnu"]
 1800   2234   
[dependencies.aws-credential-types]
 1801   2235   
path = "../aws-credential-types"
 1802   2236   
version = "1.2.4"
 1803   2237   
 1804   2238   
[dependencies.aws-runtime]
 1805   2239   
path = "../aws-runtime"
 1806   2240   
features = ["event-stream"]
 1807   2241   
version = "1.5.9"
 1808   2242   
 1809   2243   
[dependencies.aws-smithy-async]
 1810   2244   
path = "../aws-smithy-async"
 1811   2245   
version = "1.2.5"
 1812   2246   
 1813   2247   
[dependencies.aws-smithy-eventstream]
 1814   2248   
path = "../aws-smithy-eventstream"
 1815   2249   
version = "0.60.10"
 1816   2250   
 1817   2251   
[dependencies.aws-smithy-http]
 1818   2252   
path = "../aws-smithy-http"
 1819   2253   
features = ["event-stream"]
 1820         -
version = "0.62.2"
        2254  +
version = "0.62.3"
 1821   2255   
 1822   2256   
[dependencies.aws-smithy-json]
 1823   2257   
path = "../aws-smithy-json"
 1824   2258   
version = "0.61.4"
 1825   2259   
 1826   2260   
[dependencies.aws-smithy-runtime]
 1827   2261   
path = "../aws-smithy-runtime"
 1828   2262   
features = ["client"]
 1829   2263   
version = "1.8.5"
 1830   2264   
 1831   2265   
[dependencies.aws-smithy-runtime-api]
 1832   2266   
path = "../aws-smithy-runtime-api"
 1833   2267   
features = ["client", "http-02x"]
 1834   2268   
version = "1.8.5"
 1835   2269   
 1836   2270   
[dependencies.aws-smithy-types]
 1837   2271   
path = "../aws-smithy-types"
 1838   2272   
version = "1.3.2"
 1839   2273   
 1840   2274   
[dependencies.aws-types]
 1841   2275   
path = "../aws-types"
 1842   2276   
version = "1.3.8"
 1843   2277   
 1844   2278   
[dependencies.bytes]
 1845   2279   
version = "1.4.0"
 1846   2280   
 1847   2281   
[dependencies.fastrand]
 1848   2282   
version = "2.0.0"
 1849   2283   
 1850   2284   
[dependencies.http]
 1851   2285   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/codecatalyst/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/codecatalyst/Cargo.toml
 1852   2286   
index 8871cab..ed88de6 100644
 1853         -
-- a/tmp-codegen-diff/aws-sdk/sdk/codecatalyst/Cargo.toml
        2287  +
++ b/tmp-codegen-diff/aws-sdk/sdk/codecatalyst/Cargo.toml
 1854   2288   
@@ -1,61 +1,61 @@
 1855   2289   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 1856   2290   
[package]
 1857   2291   
name = "aws-sdk-codecatalyst"
 1858   2292   
version = "0.0.0-local"
 1859   2293   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 1860   2294   
description = "AWS SDK for Amazon CodeCatalyst"
 1861   2295   
edition = "2021"
 1862   2296   
license = "Apache-2.0"
 1863   2297   
repository = "https://github.com/awslabs/aws-sdk-rust"
 1864   2298   
rust-version = "1.86.0"
 1865   2299   
readme = "README.md"
 1866   2300   
[package.metadata.smithy]
 1867   2301   
codegen-version = "ci"
 1868   2302   
[package.metadata.docs.rs]
 1869   2303   
all-features = true
 1870   2304   
targets = ["x86_64-unknown-linux-gnu"]
 1871   2305   
[dependencies.aws-credential-types]
 1872   2306   
path = "../aws-credential-types"
 1873   2307   
version = "1.2.4"
 1874   2308   
 1875   2309   
[dependencies.aws-runtime]
 1876   2310   
path = "../aws-runtime"
 1877   2311   
version = "1.5.9"
 1878   2312   
 1879   2313   
[dependencies.aws-smithy-async]
 1880   2314   
path = "../aws-smithy-async"
 1881   2315   
version = "1.2.5"
 1882   2316   
 1883   2317   
[dependencies.aws-smithy-http]
 1884   2318   
path = "../aws-smithy-http"
 1885         -
version = "0.62.2"
        2319  +
version = "0.62.3"
 1886   2320   
 1887   2321   
[dependencies.aws-smithy-json]
 1888   2322   
path = "../aws-smithy-json"
 1889   2323   
version = "0.61.4"
 1890   2324   
 1891   2325   
[dependencies.aws-smithy-runtime]
 1892   2326   
path = "../aws-smithy-runtime"
 1893   2327   
features = ["client", "http-auth"]
 1894   2328   
version = "1.8.5"
 1895   2329   
 1896   2330   
[dependencies.aws-smithy-runtime-api]
 1897   2331   
path = "../aws-smithy-runtime-api"
 1898   2332   
features = ["client", "http-02x", "http-auth"]
 1899   2333   
version = "1.8.5"
 1900   2334   
 1901   2335   
[dependencies.aws-smithy-types]
 1902   2336   
path = "../aws-smithy-types"
 1903   2337   
version = "1.3.2"
 1904   2338   
 1905   2339   
[dependencies.aws-types]
 1906   2340   
path = "../aws-types"
 1907   2341   
version = "1.3.8"
 1908   2342   
 1909   2343   
[dependencies.bytes]
 1910   2344   
version = "1.4.0"
 1911   2345   
 1912   2346   
[dependencies.fastrand]
 1913   2347   
version = "2.0.0"
 1914   2348   
 1915   2349   
[dependencies.http]
 1916   2350   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/config/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/config/Cargo.toml
 1917   2351   
index 89573ff..05238af 100644
 1918         -
-- a/tmp-codegen-diff/aws-sdk/sdk/config/Cargo.toml
        2352  +
++ b/tmp-codegen-diff/aws-sdk/sdk/config/Cargo.toml
 1919   2353   
@@ -1,61 +1,61 @@
 1920   2354   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 1921   2355   
[package]
 1922   2356   
name = "aws-sdk-config"
 1923   2357   
version = "0.0.0-local"
 1924   2358   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 1925   2359   
description = "AWS SDK for AWS Config"
 1926   2360   
edition = "2021"
 1927   2361   
license = "Apache-2.0"
 1928   2362   
repository = "https://github.com/awslabs/aws-sdk-rust"
 1929   2363   
rust-version = "1.86.0"
 1930   2364   
readme = "README.md"
 1931   2365   
[package.metadata.smithy]
 1932   2366   
codegen-version = "ci"
 1933   2367   
[package.metadata.docs.rs]
 1934   2368   
all-features = true
 1935   2369   
targets = ["x86_64-unknown-linux-gnu"]
 1936   2370   
[dependencies.aws-credential-types]
 1937   2371   
path = "../aws-credential-types"
 1938   2372   
version = "1.2.4"
 1939   2373   
 1940   2374   
[dependencies.aws-runtime]
 1941   2375   
path = "../aws-runtime"
 1942   2376   
version = "1.5.9"
 1943   2377   
 1944   2378   
[dependencies.aws-smithy-async]
 1945   2379   
path = "../aws-smithy-async"
 1946   2380   
version = "1.2.5"
 1947   2381   
 1948   2382   
[dependencies.aws-smithy-http]
 1949   2383   
path = "../aws-smithy-http"
 1950         -
version = "0.62.2"
        2384  +
version = "0.62.3"
 1951   2385   
 1952   2386   
[dependencies.aws-smithy-json]
 1953   2387   
path = "../aws-smithy-json"
 1954   2388   
version = "0.61.4"
 1955   2389   
 1956   2390   
[dependencies.aws-smithy-runtime]
 1957   2391   
path = "../aws-smithy-runtime"
 1958   2392   
features = ["client"]
 1959   2393   
version = "1.8.5"
 1960   2394   
 1961   2395   
[dependencies.aws-smithy-runtime-api]
 1962   2396   
path = "../aws-smithy-runtime-api"
 1963   2397   
features = ["client", "http-02x"]
 1964   2398   
version = "1.8.5"
 1965   2399   
 1966   2400   
[dependencies.aws-smithy-types]
 1967   2401   
path = "../aws-smithy-types"
 1968   2402   
version = "1.3.2"
 1969   2403   
 1970   2404   
[dependencies.aws-types]
 1971   2405   
path = "../aws-types"
 1972   2406   
version = "1.3.8"
 1973   2407   
 1974   2408   
[dependencies.bytes]
 1975   2409   
version = "1.4.0"
 1976   2410   
 1977   2411   
[dependencies.fastrand]
 1978   2412   
version = "2.0.0"
 1979   2413   
 1980   2414   
[dependencies.http]
 1981   2415   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/dynamodb/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/dynamodb/Cargo.toml
 1982   2416   
index d397c58..2c1062b 100644
 1983         -
-- a/tmp-codegen-diff/aws-sdk/sdk/dynamodb/Cargo.toml
        2417  +
++ b/tmp-codegen-diff/aws-sdk/sdk/dynamodb/Cargo.toml
 1984   2418   
@@ -1,61 +1,61 @@
 1985   2419   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 1986   2420   
[package]
 1987   2421   
name = "aws-sdk-dynamodb"
 1988   2422   
version = "0.0.0-local"
 1989   2423   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 1990   2424   
description = "AWS SDK for Amazon DynamoDB"
 1991   2425   
edition = "2021"
 1992   2426   
license = "Apache-2.0"
 1993   2427   
repository = "https://github.com/awslabs/aws-sdk-rust"
 1994   2428   
rust-version = "1.86.0"
 1995   2429   
readme = "README.md"
 1996   2430   
[package.metadata.smithy]
 1997   2431   
codegen-version = "ci"
 1998   2432   
[package.metadata.docs.rs]
 1999   2433   
all-features = true
 2000   2434   
targets = ["x86_64-unknown-linux-gnu"]
 2001   2435   
[dependencies.aws-credential-types]
 2002   2436   
path = "../aws-credential-types"
 2003   2437   
version = "1.2.4"
 2004   2438   
 2005   2439   
[dependencies.aws-runtime]
 2006   2440   
path = "../aws-runtime"
 2007   2441   
version = "1.5.9"
 2008   2442   
 2009   2443   
[dependencies.aws-smithy-async]
 2010   2444   
path = "../aws-smithy-async"
 2011   2445   
version = "1.2.5"
 2012   2446   
 2013   2447   
[dependencies.aws-smithy-http]
 2014   2448   
path = "../aws-smithy-http"
 2015         -
version = "0.62.2"
        2449  +
version = "0.62.3"
 2016   2450   
 2017   2451   
[dependencies.aws-smithy-json]
 2018   2452   
path = "../aws-smithy-json"
 2019   2453   
version = "0.61.4"
 2020   2454   
 2021   2455   
[dependencies.aws-smithy-runtime]
 2022   2456   
path = "../aws-smithy-runtime"
 2023   2457   
features = ["client"]
 2024   2458   
version = "1.8.5"
 2025   2459   
 2026   2460   
[dependencies.aws-smithy-runtime-api]
 2027   2461   
path = "../aws-smithy-runtime-api"
 2028   2462   
features = ["client", "http-02x"]
 2029   2463   
version = "1.8.5"
 2030   2464   
 2031   2465   
[dependencies.aws-smithy-types]
 2032   2466   
path = "../aws-smithy-types"
 2033   2467   
version = "1.3.2"
 2034   2468   
 2035   2469   
[dependencies.aws-types]
 2036   2470   
path = "../aws-types"
 2037   2471   
version = "1.3.8"
 2038   2472   
 2039   2473   
[dependencies.bytes]
 2040   2474   
version = "1.4.0"
 2041   2475   
 2042   2476   
[dependencies.fastrand]
 2043   2477   
version = "2.0.0"
 2044   2478   
 2045   2479   
[dependencies.http]
 2046   2480   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/ec2/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/ec2/Cargo.toml
 2047   2481   
index c0ba315..46168af 100644
 2048         -
-- a/tmp-codegen-diff/aws-sdk/sdk/ec2/Cargo.toml
        2482  +
++ b/tmp-codegen-diff/aws-sdk/sdk/ec2/Cargo.toml
 2049   2483   
@@ -1,61 +1,61 @@
 2050   2484   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2051   2485   
[package]
 2052   2486   
name = "aws-sdk-ec2"
 2053   2487   
version = "0.0.0-local"
 2054   2488   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2055   2489   
description = "AWS SDK for Amazon Elastic Compute Cloud"
 2056   2490   
edition = "2021"
 2057   2491   
license = "Apache-2.0"
 2058   2492   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2059   2493   
rust-version = "1.86.0"
 2060   2494   
readme = "README.md"
 2061   2495   
[package.metadata.smithy]
 2062   2496   
codegen-version = "ci"
 2063   2497   
[package.metadata.docs.rs]
 2064   2498   
all-features = true
 2065   2499   
targets = ["x86_64-unknown-linux-gnu"]
 2066   2500   
[dependencies.aws-credential-types]
 2067   2501   
path = "../aws-credential-types"
 2068   2502   
version = "1.2.4"
 2069   2503   
 2070   2504   
[dependencies.aws-runtime]
 2071   2505   
path = "../aws-runtime"
 2072   2506   
version = "1.5.9"
 2073   2507   
 2074   2508   
[dependencies.aws-smithy-async]
 2075   2509   
path = "../aws-smithy-async"
 2076   2510   
version = "1.2.5"
 2077   2511   
 2078   2512   
[dependencies.aws-smithy-http]
 2079   2513   
path = "../aws-smithy-http"
 2080         -
version = "0.62.2"
        2514  +
version = "0.62.3"
 2081   2515   
 2082   2516   
[dependencies.aws-smithy-json]
 2083   2517   
path = "../aws-smithy-json"
 2084   2518   
version = "0.61.4"
 2085   2519   
 2086   2520   
[dependencies.aws-smithy-query]
 2087   2521   
path = "../aws-smithy-query"
 2088   2522   
version = "0.60.7"
 2089   2523   
 2090   2524   
[dependencies.aws-smithy-runtime]
 2091   2525   
path = "../aws-smithy-runtime"
 2092   2526   
features = ["client"]
 2093   2527   
version = "1.8.5"
 2094   2528   
 2095   2529   
[dependencies.aws-smithy-runtime-api]
 2096   2530   
path = "../aws-smithy-runtime-api"
 2097   2531   
features = ["client", "http-02x"]
 2098   2532   
version = "1.8.5"
 2099   2533   
 2100   2534   
[dependencies.aws-smithy-types]
 2101   2535   
path = "../aws-smithy-types"
 2102   2536   
version = "1.3.2"
 2103   2537   
 2104   2538   
[dependencies.aws-smithy-xml]
 2105   2539   
path = "../aws-smithy-xml"
 2106   2540   
version = "0.60.10"
 2107   2541   
 2108   2542   
[dependencies.aws-types]
 2109   2543   
path = "../aws-types"
 2110   2544   
version = "1.3.8"
 2111   2545   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/ecs/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/ecs/Cargo.toml
 2112   2546   
index 4474d17..095d40e 100644
 2113         -
-- a/tmp-codegen-diff/aws-sdk/sdk/ecs/Cargo.toml
        2547  +
++ b/tmp-codegen-diff/aws-sdk/sdk/ecs/Cargo.toml
 2114   2548   
@@ -1,61 +1,61 @@
 2115   2549   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2116   2550   
[package]
 2117   2551   
name = "aws-sdk-ecs"
 2118   2552   
version = "0.0.0-local"
 2119   2553   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2120   2554   
description = "AWS SDK for Amazon EC2 Container Service"
 2121   2555   
edition = "2021"
 2122   2556   
license = "Apache-2.0"
 2123   2557   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2124   2558   
rust-version = "1.86.0"
 2125   2559   
readme = "README.md"
 2126   2560   
[package.metadata.smithy]
 2127   2561   
codegen-version = "ci"
 2128   2562   
[package.metadata.docs.rs]
 2129   2563   
all-features = true
 2130   2564   
targets = ["x86_64-unknown-linux-gnu"]
 2131   2565   
[dependencies.aws-credential-types]
 2132   2566   
path = "../aws-credential-types"
 2133   2567   
version = "1.2.4"
 2134   2568   
 2135   2569   
[dependencies.aws-runtime]
 2136   2570   
path = "../aws-runtime"
 2137   2571   
version = "1.5.9"
 2138   2572   
 2139   2573   
[dependencies.aws-smithy-async]
 2140   2574   
path = "../aws-smithy-async"
 2141   2575   
version = "1.2.5"
 2142   2576   
 2143   2577   
[dependencies.aws-smithy-http]
 2144   2578   
path = "../aws-smithy-http"
 2145         -
version = "0.62.2"
        2579  +
version = "0.62.3"
 2146   2580   
 2147   2581   
[dependencies.aws-smithy-json]
 2148   2582   
path = "../aws-smithy-json"
 2149   2583   
version = "0.61.4"
 2150   2584   
 2151   2585   
[dependencies.aws-smithy-runtime]
 2152   2586   
path = "../aws-smithy-runtime"
 2153   2587   
features = ["client"]
 2154   2588   
version = "1.8.5"
 2155   2589   
 2156   2590   
[dependencies.aws-smithy-runtime-api]
 2157   2591   
path = "../aws-smithy-runtime-api"
 2158   2592   
features = ["client", "http-02x"]
 2159   2593   
version = "1.8.5"
 2160   2594   
 2161   2595   
[dependencies.aws-smithy-types]
 2162   2596   
path = "../aws-smithy-types"
 2163   2597   
version = "1.3.2"
 2164   2598   
 2165   2599   
[dependencies.aws-types]
 2166   2600   
path = "../aws-types"
 2167   2601   
version = "1.3.8"
 2168   2602   
 2169   2603   
[dependencies.bytes]
 2170   2604   
version = "1.4.0"
 2171   2605   
 2172   2606   
[dependencies.fastrand]
 2173   2607   
version = "2.0.0"
 2174   2608   
 2175   2609   
[dependencies.http]
 2176   2610   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/glacier/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/glacier/Cargo.toml
 2177   2611   
index 15b1d77..16d7d89 100644
 2178         -
-- a/tmp-codegen-diff/aws-sdk/sdk/glacier/Cargo.toml
        2612  +
++ b/tmp-codegen-diff/aws-sdk/sdk/glacier/Cargo.toml
 2179   2613   
@@ -1,65 +1,65 @@
 2180   2614   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2181   2615   
[package]
 2182   2616   
name = "aws-sdk-glacier"
 2183   2617   
version = "0.0.0-local"
 2184   2618   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2185   2619   
description = "AWS SDK for Amazon Glacier"
 2186   2620   
edition = "2021"
 2187   2621   
license = "Apache-2.0"
 2188   2622   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2189   2623   
rust-version = "1.86.0"
 2190   2624   
readme = "README.md"
 2191   2625   
[package.metadata.smithy]
 2192   2626   
codegen-version = "ci"
 2193   2627   
[package.metadata.docs.rs]
 2194   2628   
all-features = true
 2195   2629   
targets = ["x86_64-unknown-linux-gnu"]
 2196   2630   
[dependencies.aws-credential-types]
 2197   2631   
path = "../aws-credential-types"
 2198   2632   
version = "1.2.4"
 2199   2633   
 2200   2634   
[dependencies.aws-runtime]
 2201   2635   
path = "../aws-runtime"
 2202   2636   
version = "1.5.9"
 2203   2637   
 2204   2638   
[dependencies.aws-sigv4]
 2205   2639   
path = "../aws-sigv4"
 2206         -
version = "1.3.3"
        2640  +
version = "1.3.4"
 2207   2641   
 2208   2642   
[dependencies.aws-smithy-async]
 2209   2643   
path = "../aws-smithy-async"
 2210   2644   
version = "1.2.5"
 2211   2645   
 2212   2646   
[dependencies.aws-smithy-http]
 2213   2647   
path = "../aws-smithy-http"
 2214         -
version = "0.62.2"
        2648  +
version = "0.62.3"
 2215   2649   
 2216   2650   
[dependencies.aws-smithy-json]
 2217   2651   
path = "../aws-smithy-json"
 2218   2652   
version = "0.61.4"
 2219   2653   
 2220   2654   
[dependencies.aws-smithy-runtime]
 2221   2655   
path = "../aws-smithy-runtime"
 2222   2656   
features = ["client"]
 2223   2657   
version = "1.8.5"
 2224   2658   
 2225   2659   
[dependencies.aws-smithy-runtime-api]
 2226   2660   
path = "../aws-smithy-runtime-api"
 2227   2661   
features = ["client", "http-02x"]
 2228   2662   
version = "1.8.5"
 2229   2663   
 2230   2664   
[dependencies.aws-smithy-types]
 2231   2665   
path = "../aws-smithy-types"
 2232   2666   
version = "1.3.2"
 2233   2667   
 2234   2668   
[dependencies.aws-types]
 2235   2669   
path = "../aws-types"
 2236   2670   
version = "1.3.8"
 2237   2671   
 2238   2672   
[dependencies.bytes]
 2239   2673   
version = "1.4.0"
 2240   2674   
 2241   2675   
[dependencies.fastrand]
 2242   2676   
version = "2.0.0"
 2243   2677   
 2244   2678   
[dependencies.hex]
 2245   2679   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/iam/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/iam/Cargo.toml
 2246   2680   
index d718a3a..65e6f24 100644
 2247         -
-- a/tmp-codegen-diff/aws-sdk/sdk/iam/Cargo.toml
        2681  +
++ b/tmp-codegen-diff/aws-sdk/sdk/iam/Cargo.toml
 2248   2682   
@@ -1,61 +1,61 @@
 2249   2683   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2250   2684   
[package]
 2251   2685   
name = "aws-sdk-iam"
 2252   2686   
version = "0.0.0-local"
 2253   2687   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2254   2688   
description = "AWS SDK for AWS Identity and Access Management"
 2255   2689   
edition = "2021"
 2256   2690   
license = "Apache-2.0"
 2257   2691   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2258   2692   
rust-version = "1.86.0"
 2259   2693   
readme = "README.md"
 2260   2694   
[package.metadata.smithy]
 2261   2695   
codegen-version = "ci"
 2262   2696   
[package.metadata.docs.rs]
 2263   2697   
all-features = true
 2264   2698   
targets = ["x86_64-unknown-linux-gnu"]
 2265   2699   
[dependencies.aws-credential-types]
 2266   2700   
path = "../aws-credential-types"
 2267   2701   
version = "1.2.4"
 2268   2702   
 2269   2703   
[dependencies.aws-runtime]
 2270   2704   
path = "../aws-runtime"
 2271   2705   
version = "1.5.9"
 2272   2706   
 2273   2707   
[dependencies.aws-smithy-async]
 2274   2708   
path = "../aws-smithy-async"
 2275   2709   
version = "1.2.5"
 2276   2710   
 2277   2711   
[dependencies.aws-smithy-http]
 2278   2712   
path = "../aws-smithy-http"
 2279         -
version = "0.62.2"
        2713  +
version = "0.62.3"
 2280   2714   
 2281   2715   
[dependencies.aws-smithy-json]
 2282   2716   
path = "../aws-smithy-json"
 2283   2717   
version = "0.61.4"
 2284   2718   
 2285   2719   
[dependencies.aws-smithy-query]
 2286   2720   
path = "../aws-smithy-query"
 2287   2721   
version = "0.60.7"
 2288   2722   
 2289   2723   
[dependencies.aws-smithy-runtime]
 2290   2724   
path = "../aws-smithy-runtime"
 2291   2725   
features = ["client"]
 2292   2726   
version = "1.8.5"
 2293   2727   
 2294   2728   
[dependencies.aws-smithy-runtime-api]
 2295   2729   
path = "../aws-smithy-runtime-api"
 2296   2730   
features = ["client", "http-02x"]
 2297   2731   
version = "1.8.5"
 2298   2732   
 2299   2733   
[dependencies.aws-smithy-types]
 2300   2734   
path = "../aws-smithy-types"
 2301   2735   
version = "1.3.2"
 2302   2736   
 2303   2737   
[dependencies.aws-smithy-xml]
 2304   2738   
path = "../aws-smithy-xml"
 2305   2739   
version = "0.60.10"
 2306   2740   
 2307   2741   
[dependencies.aws-types]
 2308   2742   
path = "../aws-types"
 2309   2743   
version = "1.3.8"
 2310   2744   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/kms/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/kms/Cargo.toml
 2311   2745   
index 0ed4302..3d828a5 100644
 2312         -
-- a/tmp-codegen-diff/aws-sdk/sdk/kms/Cargo.toml
        2746  +
++ b/tmp-codegen-diff/aws-sdk/sdk/kms/Cargo.toml
 2313   2747   
@@ -1,61 +1,61 @@
 2314   2748   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2315   2749   
[package]
 2316   2750   
name = "aws-sdk-kms"
 2317   2751   
version = "0.0.0-local"
 2318   2752   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2319   2753   
description = "AWS SDK for AWS Key Management Service"
 2320   2754   
edition = "2021"
 2321   2755   
license = "Apache-2.0"
 2322   2756   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2323   2757   
rust-version = "1.86.0"
 2324   2758   
readme = "README.md"
 2325   2759   
[package.metadata.smithy]
 2326   2760   
codegen-version = "ci"
 2327   2761   
[package.metadata.docs.rs]
 2328   2762   
all-features = true
 2329   2763   
targets = ["x86_64-unknown-linux-gnu"]
 2330   2764   
[dependencies.aws-credential-types]
 2331   2765   
path = "../aws-credential-types"
 2332   2766   
version = "1.2.4"
 2333   2767   
 2334   2768   
[dependencies.aws-runtime]
 2335   2769   
path = "../aws-runtime"
 2336   2770   
version = "1.5.9"
 2337   2771   
 2338   2772   
[dependencies.aws-smithy-async]
 2339   2773   
path = "../aws-smithy-async"
 2340   2774   
version = "1.2.5"
 2341   2775   
 2342   2776   
[dependencies.aws-smithy-http]
 2343   2777   
path = "../aws-smithy-http"
 2344         -
version = "0.62.2"
        2778  +
version = "0.62.3"
 2345   2779   
 2346   2780   
[dependencies.aws-smithy-json]
 2347   2781   
path = "../aws-smithy-json"
 2348   2782   
version = "0.61.4"
 2349   2783   
 2350   2784   
[dependencies.aws-smithy-runtime]
 2351   2785   
path = "../aws-smithy-runtime"
 2352   2786   
features = ["client"]
 2353   2787   
version = "1.8.5"
 2354   2788   
 2355   2789   
[dependencies.aws-smithy-runtime-api]
 2356   2790   
path = "../aws-smithy-runtime-api"
 2357   2791   
features = ["client", "http-02x"]
 2358   2792   
version = "1.8.5"
 2359   2793   
 2360   2794   
[dependencies.aws-smithy-types]
 2361   2795   
path = "../aws-smithy-types"
 2362   2796   
version = "1.3.2"
 2363   2797   
 2364   2798   
[dependencies.aws-types]
 2365   2799   
path = "../aws-types"
 2366   2800   
version = "1.3.8"
 2367   2801   
 2368   2802   
[dependencies.bytes]
 2369   2803   
version = "1.4.0"
 2370   2804   
 2371   2805   
[dependencies.fastrand]
 2372   2806   
version = "2.0.0"
 2373   2807   
 2374   2808   
[dependencies.http]
 2375   2809   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/lambda/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/lambda/Cargo.toml
 2376   2810   
index 6518dfc..6b94752 100644
 2377         -
-- a/tmp-codegen-diff/aws-sdk/sdk/lambda/Cargo.toml
        2811  +
++ b/tmp-codegen-diff/aws-sdk/sdk/lambda/Cargo.toml
 2378   2812   
@@ -7,61 +7,61 @@ description = "AWS SDK for AWS Lambda"
 2379   2813   
edition = "2021"
 2380   2814   
license = "Apache-2.0"
 2381   2815   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2382   2816   
rust-version = "1.86.0"
 2383   2817   
readme = "README.md"
 2384   2818   
[package.metadata.smithy]
 2385   2819   
codegen-version = "ci"
 2386   2820   
[package.metadata.docs.rs]
 2387   2821   
all-features = true
 2388   2822   
targets = ["x86_64-unknown-linux-gnu"]
 2389   2823   
[dependencies.aws-credential-types]
 2390   2824   
path = "../aws-credential-types"
 2391   2825   
version = "1.2.4"
 2392   2826   
 2393   2827   
[dependencies.aws-runtime]
 2394   2828   
path = "../aws-runtime"
 2395   2829   
features = ["event-stream"]
 2396   2830   
version = "1.5.9"
 2397   2831   
 2398   2832   
[dependencies.aws-smithy-async]
 2399   2833   
path = "../aws-smithy-async"
 2400   2834   
version = "1.2.5"
 2401   2835   
 2402   2836   
[dependencies.aws-smithy-eventstream]
 2403   2837   
path = "../aws-smithy-eventstream"
 2404   2838   
version = "0.60.10"
 2405   2839   
 2406   2840   
[dependencies.aws-smithy-http]
 2407   2841   
path = "../aws-smithy-http"
 2408   2842   
features = ["event-stream"]
 2409         -
version = "0.62.2"
        2843  +
version = "0.62.3"
 2410   2844   
 2411   2845   
[dependencies.aws-smithy-json]
 2412   2846   
path = "../aws-smithy-json"
 2413   2847   
version = "0.61.4"
 2414   2848   
 2415   2849   
[dependencies.aws-smithy-runtime]
 2416   2850   
path = "../aws-smithy-runtime"
 2417   2851   
features = ["client"]
 2418   2852   
version = "1.8.5"
 2419   2853   
 2420   2854   
[dependencies.aws-smithy-runtime-api]
 2421   2855   
path = "../aws-smithy-runtime-api"
 2422   2856   
features = ["client", "http-02x"]
 2423   2857   
version = "1.8.5"
 2424   2858   
 2425   2859   
[dependencies.aws-smithy-types]
 2426   2860   
path = "../aws-smithy-types"
 2427   2861   
version = "1.3.2"
 2428   2862   
 2429   2863   
[dependencies.aws-types]
 2430   2864   
path = "../aws-types"
 2431   2865   
version = "1.3.8"
 2432   2866   
 2433   2867   
[dependencies.bytes]
 2434   2868   
version = "1.4.0"
 2435   2869   
 2436   2870   
[dependencies.fastrand]
 2437   2871   
version = "2.0.0"
 2438   2872   
 2439   2873   
[dependencies.http]
 2440   2874   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/polly/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/polly/Cargo.toml
 2441   2875   
index dabb0e0..34cbc15 100644
 2442         -
-- a/tmp-codegen-diff/aws-sdk/sdk/polly/Cargo.toml
        2876  +
++ b/tmp-codegen-diff/aws-sdk/sdk/polly/Cargo.toml
 2443   2877   
@@ -1,65 +1,65 @@
 2444   2878   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2445   2879   
[package]
 2446   2880   
name = "aws-sdk-polly"
 2447   2881   
version = "0.0.0-local"
 2448   2882   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2449   2883   
description = "AWS SDK for Amazon Polly"
 2450   2884   
edition = "2021"
 2451   2885   
license = "Apache-2.0"
 2452   2886   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2453   2887   
rust-version = "1.86.0"
 2454   2888   
readme = "README.md"
 2455   2889   
[package.metadata.smithy]
 2456   2890   
codegen-version = "ci"
 2457   2891   
[package.metadata.docs.rs]
 2458   2892   
all-features = true
 2459   2893   
targets = ["x86_64-unknown-linux-gnu"]
 2460   2894   
[dependencies.aws-credential-types]
 2461   2895   
path = "../aws-credential-types"
 2462   2896   
version = "1.2.4"
 2463   2897   
 2464   2898   
[dependencies.aws-runtime]
 2465   2899   
path = "../aws-runtime"
 2466   2900   
version = "1.5.9"
 2467   2901   
 2468   2902   
[dependencies.aws-sigv4]
 2469   2903   
path = "../aws-sigv4"
 2470         -
version = "1.3.3"
        2904  +
version = "1.3.4"
 2471   2905   
 2472   2906   
[dependencies.aws-smithy-async]
 2473   2907   
path = "../aws-smithy-async"
 2474   2908   
version = "1.2.5"
 2475   2909   
 2476   2910   
[dependencies.aws-smithy-http]
 2477   2911   
path = "../aws-smithy-http"
 2478         -
version = "0.62.2"
        2912  +
version = "0.62.3"
 2479   2913   
 2480   2914   
[dependencies.aws-smithy-json]
 2481   2915   
path = "../aws-smithy-json"
 2482   2916   
version = "0.61.4"
 2483   2917   
 2484   2918   
[dependencies.aws-smithy-runtime]
 2485   2919   
path = "../aws-smithy-runtime"
 2486   2920   
features = ["client"]
 2487   2921   
version = "1.8.5"
 2488   2922   
 2489   2923   
[dependencies.aws-smithy-runtime-api]
 2490   2924   
path = "../aws-smithy-runtime-api"
 2491   2925   
features = ["client", "http-02x"]
 2492   2926   
version = "1.8.5"
 2493   2927   
 2494   2928   
[dependencies.aws-smithy-types]
 2495   2929   
path = "../aws-smithy-types"
 2496   2930   
version = "1.3.2"
 2497   2931   
 2498   2932   
[dependencies.aws-types]
 2499   2933   
path = "../aws-types"
 2500   2934   
version = "1.3.8"
 2501   2935   
 2502   2936   
[dependencies.bytes]
 2503   2937   
version = "1.4.0"
 2504   2938   
 2505   2939   
[dependencies.fastrand]
 2506   2940   
version = "2.0.0"
 2507   2941   
 2508   2942   
[dependencies.http]
 2509   2943   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/qldbsession/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/qldbsession/Cargo.toml
 2510   2944   
index a884716..f3d8713 100644
 2511         -
-- a/tmp-codegen-diff/aws-sdk/sdk/qldbsession/Cargo.toml
        2945  +
++ b/tmp-codegen-diff/aws-sdk/sdk/qldbsession/Cargo.toml
 2512   2946   
@@ -1,61 +1,61 @@
 2513   2947   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2514   2948   
[package]
 2515   2949   
name = "aws-sdk-qldbsession"
 2516   2950   
version = "0.0.0-local"
 2517   2951   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2518   2952   
description = "AWS SDK for Amazon QLDB Session"
 2519   2953   
edition = "2021"
 2520   2954   
license = "Apache-2.0"
 2521   2955   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2522   2956   
rust-version = "1.86.0"
 2523   2957   
readme = "README.md"
 2524   2958   
[package.metadata.smithy]
 2525   2959   
codegen-version = "ci"
 2526   2960   
[package.metadata.docs.rs]
 2527   2961   
all-features = true
 2528   2962   
targets = ["x86_64-unknown-linux-gnu"]
 2529   2963   
[dependencies.aws-credential-types]
 2530   2964   
path = "../aws-credential-types"
 2531   2965   
version = "1.2.4"
 2532   2966   
 2533   2967   
[dependencies.aws-runtime]
 2534   2968   
path = "../aws-runtime"
 2535   2969   
version = "1.5.9"
 2536   2970   
 2537   2971   
[dependencies.aws-smithy-async]
 2538   2972   
path = "../aws-smithy-async"
 2539   2973   
version = "1.2.5"
 2540   2974   
 2541   2975   
[dependencies.aws-smithy-http]
 2542   2976   
path = "../aws-smithy-http"
 2543         -
version = "0.62.2"
        2977  +
version = "0.62.3"
 2544   2978   
 2545   2979   
[dependencies.aws-smithy-json]
 2546   2980   
path = "../aws-smithy-json"
 2547   2981   
version = "0.61.4"
 2548   2982   
 2549   2983   
[dependencies.aws-smithy-runtime]
 2550   2984   
path = "../aws-smithy-runtime"
 2551   2985   
features = ["client"]
 2552   2986   
version = "1.8.5"
 2553   2987   
 2554   2988   
[dependencies.aws-smithy-runtime-api]
 2555   2989   
path = "../aws-smithy-runtime-api"
 2556   2990   
features = ["client", "http-02x"]
 2557   2991   
version = "1.8.5"
 2558   2992   
 2559   2993   
[dependencies.aws-smithy-types]
 2560   2994   
path = "../aws-smithy-types"
 2561   2995   
version = "1.3.2"
 2562   2996   
 2563   2997   
[dependencies.aws-types]
 2564   2998   
path = "../aws-types"
 2565   2999   
version = "1.3.8"
 2566   3000   
 2567   3001   
[dependencies.bytes]
 2568   3002   
version = "1.4.0"
 2569   3003   
 2570   3004   
[dependencies.fastrand]
 2571   3005   
version = "2.0.0"
 2572   3006   
 2573   3007   
[dependencies.http]
 2574   3008   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/route53/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/route53/Cargo.toml
 2575   3009   
index 32a7dc9..a2c752d 100644
 2576         -
-- a/tmp-codegen-diff/aws-sdk/sdk/route53/Cargo.toml
        3010  +
++ b/tmp-codegen-diff/aws-sdk/sdk/route53/Cargo.toml
 2577   3011   
@@ -1,61 +1,61 @@
 2578   3012   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2579   3013   
[package]
 2580   3014   
name = "aws-sdk-route53"
 2581   3015   
version = "0.0.0-local"
 2582   3016   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2583   3017   
description = "AWS SDK for Amazon Route 53"
 2584   3018   
edition = "2021"
 2585   3019   
license = "Apache-2.0"
 2586   3020   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2587   3021   
rust-version = "1.86.0"
 2588   3022   
readme = "README.md"
 2589   3023   
[package.metadata.smithy]
 2590   3024   
codegen-version = "ci"
 2591   3025   
[package.metadata.docs.rs]
 2592   3026   
all-features = true
 2593   3027   
targets = ["x86_64-unknown-linux-gnu"]
 2594   3028   
[dependencies.aws-credential-types]
 2595   3029   
path = "../aws-credential-types"
 2596   3030   
version = "1.2.4"
 2597   3031   
 2598   3032   
[dependencies.aws-runtime]
 2599   3033   
path = "../aws-runtime"
 2600   3034   
version = "1.5.9"
 2601   3035   
 2602   3036   
[dependencies.aws-smithy-async]
 2603   3037   
path = "../aws-smithy-async"
 2604   3038   
version = "1.2.5"
 2605   3039   
 2606   3040   
[dependencies.aws-smithy-http]
 2607   3041   
path = "../aws-smithy-http"
 2608         -
version = "0.62.2"
        3042  +
version = "0.62.3"
 2609   3043   
 2610   3044   
[dependencies.aws-smithy-json]
 2611   3045   
path = "../aws-smithy-json"
 2612   3046   
version = "0.61.4"
 2613   3047   
 2614   3048   
[dependencies.aws-smithy-runtime]
 2615   3049   
path = "../aws-smithy-runtime"
 2616   3050   
features = ["client"]
 2617   3051   
version = "1.8.5"
 2618   3052   
 2619   3053   
[dependencies.aws-smithy-runtime-api]
 2620   3054   
path = "../aws-smithy-runtime-api"
 2621   3055   
features = ["client", "http-02x"]
 2622   3056   
version = "1.8.5"
 2623   3057   
 2624   3058   
[dependencies.aws-smithy-types]
 2625   3059   
path = "../aws-smithy-types"
 2626   3060   
version = "1.3.2"
 2627   3061   
 2628   3062   
[dependencies.aws-smithy-xml]
 2629   3063   
path = "../aws-smithy-xml"
 2630   3064   
version = "0.60.10"
 2631   3065   
 2632   3066   
[dependencies.aws-types]
 2633   3067   
path = "../aws-types"
 2634   3068   
version = "1.3.8"
 2635   3069   
 2636   3070   
[dependencies.fastrand]
 2637   3071   
version = "2.0.0"
 2638   3072   
 2639   3073   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/s3/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/s3/Cargo.toml
 2640   3074   
index f65e261..2f6bec0 100644
 2641         -
-- a/tmp-codegen-diff/aws-sdk/sdk/s3/Cargo.toml
        3075  +
++ b/tmp-codegen-diff/aws-sdk/sdk/s3/Cargo.toml
 2642   3076   
@@ -1,75 +1,75 @@
 2643   3077   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2644   3078   
[package]
 2645   3079   
name = "aws-sdk-s3"
 2646   3080   
version = "0.0.0-local"
 2647   3081   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2648   3082   
description = "AWS SDK for Amazon Simple Storage Service"
 2649   3083   
edition = "2021"
 2650   3084   
license = "Apache-2.0"
 2651   3085   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2652   3086   
rust-version = "1.86.0"
 2653   3087   
readme = "README.md"
 2654   3088   
[package.metadata.smithy]
 2655   3089   
codegen-version = "ci"
 2656   3090   
[package.metadata.docs.rs]
 2657   3091   
all-features = true
 2658   3092   
targets = ["x86_64-unknown-linux-gnu"]
 2659   3093   
[dependencies.aws-credential-types]
 2660   3094   
path = "../aws-credential-types"
 2661   3095   
version = "1.2.4"
 2662   3096   
 2663   3097   
[dependencies.aws-runtime]
 2664   3098   
path = "../aws-runtime"
 2665   3099   
features = ["event-stream", "http-02x"]
 2666   3100   
version = "1.5.9"
 2667   3101   
 2668   3102   
[dependencies.aws-sigv4]
 2669   3103   
path = "../aws-sigv4"
 2670         -
version = "1.3.3"
        3104  +
version = "1.3.4"
 2671   3105   
 2672   3106   
[dependencies.aws-smithy-async]
 2673   3107   
path = "../aws-smithy-async"
 2674   3108   
version = "1.2.5"
 2675   3109   
 2676   3110   
[dependencies.aws-smithy-checksums]
 2677   3111   
path = "../aws-smithy-checksums"
 2678   3112   
version = "0.63.5"
 2679   3113   
 2680   3114   
[dependencies.aws-smithy-eventstream]
 2681   3115   
path = "../aws-smithy-eventstream"
 2682   3116   
version = "0.60.10"
 2683   3117   
 2684   3118   
[dependencies.aws-smithy-http]
 2685   3119   
path = "../aws-smithy-http"
 2686   3120   
features = ["event-stream"]
 2687         -
version = "0.62.2"
        3121  +
version = "0.62.3"
 2688   3122   
 2689   3123   
[dependencies.aws-smithy-json]
 2690   3124   
path = "../aws-smithy-json"
 2691   3125   
version = "0.61.4"
 2692   3126   
 2693   3127   
[dependencies.aws-smithy-runtime]
 2694   3128   
path = "../aws-smithy-runtime"
 2695   3129   
features = ["client"]
 2696   3130   
version = "1.8.5"
 2697   3131   
 2698   3132   
[dependencies.aws-smithy-runtime-api]
 2699   3133   
path = "../aws-smithy-runtime-api"
 2700   3134   
features = ["client", "http-02x"]
 2701   3135   
version = "1.8.5"
 2702   3136   
 2703   3137   
[dependencies.aws-smithy-types]
 2704   3138   
path = "../aws-smithy-types"
 2705   3139   
version = "1.3.2"
 2706   3140   
 2707   3141   
[dependencies.aws-smithy-xml]
 2708   3142   
path = "../aws-smithy-xml"
 2709   3143   
version = "0.60.10"
 2710   3144   
 2711   3145   
[dependencies.aws-types]
 2712   3146   
path = "../aws-types"
 2713   3147   
version = "1.3.8"
 2714   3148   
 2715   3149   
[dependencies.bytes]
 2716   3150   
version = "1.4.0"
 2717   3151   
 2718   3152   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/s3control/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/s3control/Cargo.toml
 2719   3153   
index b4d1cdd..861c0cc 100644
 2720         -
-- a/tmp-codegen-diff/aws-sdk/sdk/s3control/Cargo.toml
        3154  +
++ b/tmp-codegen-diff/aws-sdk/sdk/s3control/Cargo.toml
 2721   3155   
@@ -1,61 +1,61 @@
 2722   3156   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2723   3157   
[package]
 2724   3158   
name = "aws-sdk-s3control"
 2725   3159   
version = "0.0.0-local"
 2726   3160   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2727   3161   
description = "AWS SDK for AWS S3 Control"
 2728   3162   
edition = "2021"
 2729   3163   
license = "Apache-2.0"
 2730   3164   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2731   3165   
rust-version = "1.86.0"
 2732   3166   
readme = "README.md"
 2733   3167   
[package.metadata.smithy]
 2734   3168   
codegen-version = "ci"
 2735   3169   
[package.metadata.docs.rs]
 2736   3170   
all-features = true
 2737   3171   
targets = ["x86_64-unknown-linux-gnu"]
 2738   3172   
[dependencies.aws-credential-types]
 2739   3173   
path = "../aws-credential-types"
 2740   3174   
version = "1.2.4"
 2741   3175   
 2742   3176   
[dependencies.aws-runtime]
 2743   3177   
path = "../aws-runtime"
 2744   3178   
version = "1.5.9"
 2745   3179   
 2746   3180   
[dependencies.aws-smithy-async]
 2747   3181   
path = "../aws-smithy-async"
 2748   3182   
version = "1.2.5"
 2749   3183   
 2750   3184   
[dependencies.aws-smithy-http]
 2751   3185   
path = "../aws-smithy-http"
 2752         -
version = "0.62.2"
        3186  +
version = "0.62.3"
 2753   3187   
 2754   3188   
[dependencies.aws-smithy-json]
 2755   3189   
path = "../aws-smithy-json"
 2756   3190   
version = "0.61.4"
 2757   3191   
 2758   3192   
[dependencies.aws-smithy-runtime]
 2759   3193   
path = "../aws-smithy-runtime"
 2760   3194   
features = ["client"]
 2761   3195   
version = "1.8.5"
 2762   3196   
 2763   3197   
[dependencies.aws-smithy-runtime-api]
 2764   3198   
path = "../aws-smithy-runtime-api"
 2765   3199   
features = ["client", "http-02x"]
 2766   3200   
version = "1.8.5"
 2767   3201   
 2768   3202   
[dependencies.aws-smithy-types]
 2769   3203   
path = "../aws-smithy-types"
 2770   3204   
version = "1.3.2"
 2771   3205   
 2772   3206   
[dependencies.aws-smithy-xml]
 2773   3207   
path = "../aws-smithy-xml"
 2774   3208   
version = "0.60.10"
 2775   3209   
 2776   3210   
[dependencies.aws-types]
 2777   3211   
path = "../aws-types"
 2778   3212   
version = "1.3.8"
 2779   3213   
 2780   3214   
[dependencies.fastrand]
 2781   3215   
version = "2.0.0"
 2782   3216   
 2783   3217   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/sso/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/sso/Cargo.toml
 2784   3218   
index 2cde182..fc367f4 100644
 2785         -
-- a/tmp-codegen-diff/aws-sdk/sdk/sso/Cargo.toml
        3219  +
++ b/tmp-codegen-diff/aws-sdk/sdk/sso/Cargo.toml
 2786   3220   
@@ -1,61 +1,61 @@
 2787   3221   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2788   3222   
[package]
 2789   3223   
name = "aws-sdk-sso"
 2790   3224   
version = "0.0.0-local"
 2791   3225   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2792   3226   
description = "AWS SDK for AWS Single Sign-On"
 2793   3227   
edition = "2021"
 2794   3228   
license = "Apache-2.0"
 2795   3229   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2796   3230   
rust-version = "1.86.0"
 2797   3231   
readme = "README.md"
 2798   3232   
[package.metadata.smithy]
 2799   3233   
codegen-version = "ci"
 2800   3234   
[package.metadata.docs.rs]
 2801   3235   
all-features = true
 2802   3236   
targets = ["x86_64-unknown-linux-gnu"]
 2803   3237   
[dependencies.aws-credential-types]
 2804   3238   
path = "../aws-credential-types"
 2805   3239   
version = "1.2.4"
 2806   3240   
 2807   3241   
[dependencies.aws-runtime]
 2808   3242   
path = "../aws-runtime"
 2809   3243   
version = "1.5.9"
 2810   3244   
 2811   3245   
[dependencies.aws-smithy-async]
 2812   3246   
path = "../aws-smithy-async"
 2813   3247   
version = "1.2.5"
 2814   3248   
 2815   3249   
[dependencies.aws-smithy-http]
 2816   3250   
path = "../aws-smithy-http"
 2817         -
version = "0.62.2"
        3251  +
version = "0.62.3"
 2818   3252   
 2819   3253   
[dependencies.aws-smithy-json]
 2820   3254   
path = "../aws-smithy-json"
 2821   3255   
version = "0.61.4"
 2822   3256   
 2823   3257   
[dependencies.aws-smithy-runtime]
 2824   3258   
path = "../aws-smithy-runtime"
 2825   3259   
features = ["client"]
 2826   3260   
version = "1.8.5"
 2827   3261   
 2828   3262   
[dependencies.aws-smithy-runtime-api]
 2829   3263   
path = "../aws-smithy-runtime-api"
 2830   3264   
features = ["client", "http-02x"]
 2831   3265   
version = "1.8.5"
 2832   3266   
 2833   3267   
[dependencies.aws-smithy-types]
 2834   3268   
path = "../aws-smithy-types"
 2835   3269   
version = "1.3.2"
 2836   3270   
 2837   3271   
[dependencies.aws-types]
 2838   3272   
path = "../aws-types"
 2839   3273   
version = "1.3.8"
 2840   3274   
 2841   3275   
[dependencies.bytes]
 2842   3276   
version = "1.4.0"
 2843   3277   
 2844   3278   
[dependencies.fastrand]
 2845   3279   
version = "2.0.0"
 2846   3280   
 2847   3281   
[dependencies.http]
 2848   3282   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/ssooidc/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/ssooidc/Cargo.toml
 2849   3283   
index 7a34c16..588d0bd 100644
 2850         -
-- a/tmp-codegen-diff/aws-sdk/sdk/ssooidc/Cargo.toml
        3284  +
++ b/tmp-codegen-diff/aws-sdk/sdk/ssooidc/Cargo.toml
 2851   3285   
@@ -1,61 +1,61 @@
 2852   3286   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2853   3287   
[package]
 2854   3288   
name = "aws-sdk-ssooidc"
 2855   3289   
version = "0.0.0-local"
 2856   3290   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2857   3291   
description = "AWS SDK for AWS SSO OIDC"
 2858   3292   
edition = "2021"
 2859   3293   
license = "Apache-2.0"
 2860   3294   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2861   3295   
rust-version = "1.86.0"
 2862   3296   
readme = "README.md"
 2863   3297   
[package.metadata.smithy]
 2864   3298   
codegen-version = "ci"
 2865   3299   
[package.metadata.docs.rs]
 2866   3300   
all-features = true
 2867   3301   
targets = ["x86_64-unknown-linux-gnu"]
 2868   3302   
[dependencies.aws-credential-types]
 2869   3303   
path = "../aws-credential-types"
 2870   3304   
version = "1.2.4"
 2871   3305   
 2872   3306   
[dependencies.aws-runtime]
 2873   3307   
path = "../aws-runtime"
 2874   3308   
version = "1.5.9"
 2875   3309   
 2876   3310   
[dependencies.aws-smithy-async]
 2877   3311   
path = "../aws-smithy-async"
 2878   3312   
version = "1.2.5"
 2879   3313   
 2880   3314   
[dependencies.aws-smithy-http]
 2881   3315   
path = "../aws-smithy-http"
 2882         -
version = "0.62.2"
        3316  +
version = "0.62.3"
 2883   3317   
 2884   3318   
[dependencies.aws-smithy-json]
 2885   3319   
path = "../aws-smithy-json"
 2886   3320   
version = "0.61.4"
 2887   3321   
 2888   3322   
[dependencies.aws-smithy-runtime]
 2889   3323   
path = "../aws-smithy-runtime"
 2890   3324   
features = ["client"]
 2891   3325   
version = "1.8.5"
 2892   3326   
 2893   3327   
[dependencies.aws-smithy-runtime-api]
 2894   3328   
path = "../aws-smithy-runtime-api"
 2895   3329   
features = ["client", "http-02x"]
 2896   3330   
version = "1.8.5"
 2897   3331   
 2898   3332   
[dependencies.aws-smithy-types]
 2899   3333   
path = "../aws-smithy-types"
 2900   3334   
version = "1.3.2"
 2901   3335   
 2902   3336   
[dependencies.aws-types]
 2903   3337   
path = "../aws-types"
 2904   3338   
version = "1.3.8"
 2905   3339   
 2906   3340   
[dependencies.bytes]
 2907   3341   
version = "1.4.0"
 2908   3342   
 2909   3343   
[dependencies.fastrand]
 2910   3344   
version = "2.0.0"
 2911   3345   
 2912   3346   
[dependencies.http]
 2913   3347   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/sts/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/sts/Cargo.toml
 2914   3348   
index 895dfb3..f2ce34e 100644
 2915         -
-- a/tmp-codegen-diff/aws-sdk/sdk/sts/Cargo.toml
        3349  +
++ b/tmp-codegen-diff/aws-sdk/sdk/sts/Cargo.toml
 2916   3350   
@@ -1,61 +1,61 @@
 2917   3351   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2918   3352   
[package]
 2919   3353   
name = "aws-sdk-sts"
 2920   3354   
version = "0.0.0-local"
 2921   3355   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2922   3356   
description = "AWS SDK for AWS Security Token Service"
 2923   3357   
edition = "2021"
 2924   3358   
license = "Apache-2.0"
 2925   3359   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2926   3360   
rust-version = "1.86.0"
 2927   3361   
readme = "README.md"
 2928   3362   
[package.metadata.smithy]
 2929   3363   
codegen-version = "ci"
 2930   3364   
[package.metadata.docs.rs]
 2931   3365   
all-features = true
 2932   3366   
targets = ["x86_64-unknown-linux-gnu"]
 2933   3367   
[dependencies.aws-credential-types]
 2934   3368   
path = "../aws-credential-types"
 2935   3369   
version = "1.2.4"
 2936   3370   
 2937   3371   
[dependencies.aws-runtime]
 2938   3372   
path = "../aws-runtime"
 2939   3373   
version = "1.5.9"
 2940   3374   
 2941   3375   
[dependencies.aws-smithy-async]
 2942   3376   
path = "../aws-smithy-async"
 2943   3377   
version = "1.2.5"
 2944   3378   
 2945   3379   
[dependencies.aws-smithy-http]
 2946   3380   
path = "../aws-smithy-http"
 2947         -
version = "0.62.2"
        3381  +
version = "0.62.3"
 2948   3382   
 2949   3383   
[dependencies.aws-smithy-json]
 2950   3384   
path = "../aws-smithy-json"
 2951   3385   
version = "0.61.4"
 2952   3386   
 2953   3387   
[dependencies.aws-smithy-query]
 2954   3388   
path = "../aws-smithy-query"
 2955   3389   
version = "0.60.7"
 2956   3390   
 2957   3391   
[dependencies.aws-smithy-runtime]
 2958   3392   
path = "../aws-smithy-runtime"
 2959   3393   
features = ["client"]
 2960   3394   
version = "1.8.5"
 2961   3395   
 2962   3396   
[dependencies.aws-smithy-runtime-api]
 2963   3397   
path = "../aws-smithy-runtime-api"
 2964   3398   
features = ["client", "http-02x"]
 2965   3399   
version = "1.8.5"
 2966   3400   
 2967   3401   
[dependencies.aws-smithy-types]
 2968   3402   
path = "../aws-smithy-types"
 2969   3403   
version = "1.3.2"
 2970   3404   
 2971   3405   
[dependencies.aws-smithy-xml]
 2972   3406   
path = "../aws-smithy-xml"
 2973   3407   
version = "0.60.10"
 2974   3408   
 2975   3409   
[dependencies.aws-types]
 2976   3410   
path = "../aws-types"
 2977   3411   
version = "1.3.8"
 2978   3412   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/timestreamquery/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/timestreamquery/Cargo.toml
 2979   3413   
index d556561..91178b6 100644
 2980         -
-- a/tmp-codegen-diff/aws-sdk/sdk/timestreamquery/Cargo.toml
        3414  +
++ b/tmp-codegen-diff/aws-sdk/sdk/timestreamquery/Cargo.toml
 2981   3415   
@@ -1,61 +1,61 @@
 2982   3416   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 2983   3417   
[package]
 2984   3418   
name = "aws-sdk-timestreamquery"
 2985   3419   
version = "0.0.0-local"
 2986   3420   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 2987   3421   
description = "AWS SDK for Amazon Timestream Query"
 2988   3422   
edition = "2021"
 2989   3423   
license = "Apache-2.0"
 2990   3424   
repository = "https://github.com/awslabs/aws-sdk-rust"
 2991   3425   
rust-version = "1.86.0"
 2992   3426   
readme = "README.md"
 2993   3427   
[package.metadata.smithy]
 2994   3428   
codegen-version = "ci"
 2995   3429   
[package.metadata.docs.rs]
 2996   3430   
all-features = true
 2997   3431   
targets = ["x86_64-unknown-linux-gnu"]
 2998   3432   
[dependencies.aws-credential-types]
 2999   3433   
path = "../aws-credential-types"
 3000   3434   
version = "1.2.4"
 3001   3435   
 3002   3436   
[dependencies.aws-runtime]
 3003   3437   
path = "../aws-runtime"
 3004   3438   
version = "1.5.9"
 3005   3439   
 3006   3440   
[dependencies.aws-smithy-async]
 3007   3441   
path = "../aws-smithy-async"
 3008   3442   
version = "1.2.5"
 3009   3443   
 3010   3444   
[dependencies.aws-smithy-http]
 3011   3445   
path = "../aws-smithy-http"
 3012         -
version = "0.62.2"
        3446  +
version = "0.62.3"
 3013   3447   
 3014   3448   
[dependencies.aws-smithy-json]
 3015   3449   
path = "../aws-smithy-json"
 3016   3450   
version = "0.61.4"
 3017   3451   
 3018   3452   
[dependencies.aws-smithy-runtime]
 3019   3453   
path = "../aws-smithy-runtime"
 3020   3454   
features = ["client"]
 3021   3455   
version = "1.8.5"
 3022   3456   
 3023   3457   
[dependencies.aws-smithy-runtime-api]
 3024   3458   
path = "../aws-smithy-runtime-api"
 3025   3459   
features = ["client", "http-02x"]
 3026   3460   
version = "1.8.5"
 3027   3461   
 3028   3462   
[dependencies.aws-smithy-types]
 3029   3463   
path = "../aws-smithy-types"
 3030   3464   
version = "1.3.2"
 3031   3465   
 3032   3466   
[dependencies.aws-types]
 3033   3467   
path = "../aws-types"
 3034   3468   
version = "1.3.8"
 3035   3469   
 3036   3470   
[dependencies.bytes]
 3037   3471   
version = "1.4.0"
 3038   3472   
 3039   3473   
[dependencies.fastrand]
 3040   3474   
version = "2.0.0"
 3041   3475   
 3042   3476   
[dependencies.http]
 3043   3477   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/timestreamwrite/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/timestreamwrite/Cargo.toml
 3044   3478   
index 0c56e4c..95731e3 100644
 3045         -
-- a/tmp-codegen-diff/aws-sdk/sdk/timestreamwrite/Cargo.toml
        3479  +
++ b/tmp-codegen-diff/aws-sdk/sdk/timestreamwrite/Cargo.toml
 3046   3480   
@@ -1,61 +1,61 @@
 3047   3481   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 3048   3482   
[package]
 3049   3483   
name = "aws-sdk-timestreamwrite"
 3050   3484   
version = "0.0.0-local"
 3051   3485   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 3052   3486   
description = "AWS SDK for Amazon Timestream Write"
 3053   3487   
edition = "2021"
 3054   3488   
license = "Apache-2.0"
 3055   3489   
repository = "https://github.com/awslabs/aws-sdk-rust"
 3056   3490   
rust-version = "1.86.0"
 3057   3491   
readme = "README.md"
 3058   3492   
[package.metadata.smithy]
 3059   3493   
codegen-version = "ci"
 3060   3494   
[package.metadata.docs.rs]
 3061   3495   
all-features = true
 3062   3496   
targets = ["x86_64-unknown-linux-gnu"]
 3063   3497   
[dependencies.aws-credential-types]
 3064   3498   
path = "../aws-credential-types"
 3065   3499   
version = "1.2.4"
 3066   3500   
 3067   3501   
[dependencies.aws-runtime]
 3068   3502   
path = "../aws-runtime"
 3069   3503   
version = "1.5.9"
 3070   3504   
 3071   3505   
[dependencies.aws-smithy-async]
 3072   3506   
path = "../aws-smithy-async"
 3073   3507   
version = "1.2.5"
 3074   3508   
 3075   3509   
[dependencies.aws-smithy-http]
 3076   3510   
path = "../aws-smithy-http"
 3077         -
version = "0.62.2"
        3511  +
version = "0.62.3"
 3078   3512   
 3079   3513   
[dependencies.aws-smithy-json]
 3080   3514   
path = "../aws-smithy-json"
 3081   3515   
version = "0.61.4"
 3082   3516   
 3083   3517   
[dependencies.aws-smithy-runtime]
 3084   3518   
path = "../aws-smithy-runtime"
 3085   3519   
features = ["client"]
 3086   3520   
version = "1.8.5"
 3087   3521   
 3088   3522   
[dependencies.aws-smithy-runtime-api]
 3089   3523   
path = "../aws-smithy-runtime-api"
 3090   3524   
features = ["client", "http-02x"]
 3091   3525   
version = "1.8.5"
 3092   3526   
 3093   3527   
[dependencies.aws-smithy-types]
 3094   3528   
path = "../aws-smithy-types"
 3095   3529   
version = "1.3.2"
 3096   3530   
 3097   3531   
[dependencies.aws-types]
 3098   3532   
path = "../aws-types"
 3099   3533   
version = "1.3.8"
 3100   3534   
 3101   3535   
[dependencies.bytes]
 3102   3536   
version = "1.4.0"
 3103   3537   
 3104   3538   
[dependencies.fastrand]
 3105   3539   
version = "2.0.0"
 3106   3540   
 3107   3541   
[dependencies.http]
 3108   3542   
diff --git a/tmp-codegen-diff/aws-sdk/sdk/transcribestreaming/Cargo.toml b/tmp-codegen-diff/aws-sdk/sdk/transcribestreaming/Cargo.toml
 3109   3543   
index 5b35037..9fb220a 100644
 3110         -
-- a/tmp-codegen-diff/aws-sdk/sdk/transcribestreaming/Cargo.toml
        3544  +
++ b/tmp-codegen-diff/aws-sdk/sdk/transcribestreaming/Cargo.toml
 3111   3545   
@@ -1,71 +1,71 @@
 3112   3546   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
 3113   3547   
[package]
 3114   3548   
name = "aws-sdk-transcribestreaming"
 3115   3549   
version = "0.0.0-local"
 3116   3550   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
 3117   3551   
description = "AWS SDK for Amazon Transcribe Streaming Service"
 3118   3552   
edition = "2021"
 3119   3553   
license = "Apache-2.0"
 3120   3554   
repository = "https://github.com/awslabs/aws-sdk-rust"
 3121   3555   
rust-version = "1.86.0"
 3122   3556   
readme = "README.md"
 3123   3557   
[package.metadata.smithy]
 3124   3558   
codegen-version = "ci"
 3125   3559   
[package.metadata.docs.rs]
 3126   3560   
all-features = true
 3127   3561   
targets = ["x86_64-unknown-linux-gnu"]
 3128   3562   
[dependencies.aws-credential-types]
 3129   3563   
path = "../aws-credential-types"
 3130   3564   
version = "1.2.4"
 3131   3565   
 3132   3566   
[dependencies.aws-runtime]
 3133   3567   
path = "../aws-runtime"
 3134   3568   
features = ["event-stream"]
 3135   3569   
version = "1.5.9"
 3136   3570   
 3137   3571   
[dependencies.aws-sigv4]
 3138   3572   
path = "../aws-sigv4"
 3139         -
version = "1.3.3"
        3573  +
version = "1.3.4"
 3140   3574   
 3141   3575   
[dependencies.aws-smithy-async]
 3142   3576   
path = "../aws-smithy-async"
 3143   3577   
version = "1.2.5"
 3144   3578   
 3145   3579   
[dependencies.aws-smithy-eventstream]
 3146   3580   
path = "../aws-smithy-eventstream"
 3147   3581   
version = "0.60.10"
 3148   3582   
 3149   3583   
[dependencies.aws-smithy-http]
 3150   3584   
path = "../aws-smithy-http"
 3151   3585   
features = ["event-stream"]
 3152         -
version = "0.62.2"
        3586  +
version = "0.62.3"
 3153   3587   
 3154   3588   
[dependencies.aws-smithy-json]
 3155   3589   
path = "../aws-smithy-json"
 3156   3590   
version = "0.61.4"
 3157   3591   
 3158   3592   
[dependencies.aws-smithy-runtime]
 3159   3593   
path = "../aws-smithy-runtime"
 3160   3594   
features = ["client"]
 3161   3595   
version = "1.8.5"
 3162   3596