AWS SDK

AWS SDK

rev. 628eeeeeed390f5efdbfe607c18848c033debd3e

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