AWS SDK

AWS SDK

rev. 3964b40d6806bc3f52bd311e2c791030c3325f2c (ignoring whitespace)

Files changed:

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

@@ -0,1 +0,6 @@
           1  +
POST /?Param1=value1 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=304402202785ef1eddce96aa4f4cb359f00fcb1155fa7f679b4af8949a8ea097381543fc02205a9719949fcc5452e690dcd2426318aa17d87aa67c68fdd66f815ae2d3591b49
           6  +

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-vanilla-query/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/query-signature.txt

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