AWS SDK

AWS SDK

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