AWS SDK

AWS SDK

rev. 3964b40d6806bc3f52bd311e2c791030c3325f2c

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/query-string-to-sign.txt

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

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

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-canonical-request.txt

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

@@ -1,1 +0,9 @@
    1      1   
POST
    2      2   
/
    3      3   
    4      4   
host:example.amazonaws.com
    5      5   
x-amz-date:20150830T123600Z
    6      6   
x-amz-region-set:us-east-1
    7      7   
    8      8   
host;x-amz-date;x-amz-region-set
    9         -
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
           9  +
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

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

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