AWS SDK

AWS SDK

rev. 3964b40d6806bc3f52bd311e2c791030c3325f2c (ignoring whitespace)

Files changed:

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

@@ -0,1 +0,3 @@
           1  +
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
           2  +
Host:example.amazonaws.com
           3  +

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

Renamed from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4-test-suite/post-vanilla-query/post-vanilla-query.req

@@ -1,1 +3,0 @@
    1      1   
POST /?Param1=value1 HTTP/1.1
    2      2   
Host:example.amazonaws.com
    3         -
X-Amz-Date:20150830T123600Z

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

@@ -0,1 +0,12 @@
           1  +
{
           2  +
    "credentials": {
           3  +
        "access_key_id": "AKIDEXAMPLE",
           4  +
        "secret_access_key": "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY"
           5  +
    },
           6  +
    "expiration_in_seconds": 3600,
           7  +
    "normalize": true,
           8  +
    "region": "us-east-1",
           9  +
    "service": "service",
          10  +
    "sign_body": false,
          11  +
    "timestamp": "2015-08-30T12:36:00Z"
          12  +
}

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

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