AWS SDK

AWS SDK

rev. 3964b40d6806bc3f52bd311e2c791030c3325f2c

Files changed:

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-signed-request.txt

@@ -0,1 +0,10 @@
           1  +
POST / HTTP/1.1
           2  +
Content-Type:application/x-www-form-urlencoded; charset=utf-8
           3  +
Host:example.amazonaws.com
           4  +
Content-Length:13
           5  +
X-Amz-Date:20150830T123600Z
           6  +
X-Amz-Region-Set:us-east-1
           7  +
x-amz-content-sha256:9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
           8  +
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
           9  +
          10  +
Param1=value1

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/header-string-to-sign.txt

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

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/public-key.json

@@ -0,1 +0,4 @@
           1  +
{
           2  +
  "X":"b6618f6a65740a99e650b33b6b4b5bd0d43b176d721a3edfea7e7d2d56d936b1",
           3  +
  "Y":"865ed22a7eadc9c5cb9d2cbaca1b3699139fedc5043dc6661864218330c8e518"
           4  +
}

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-canonical-request.txt

Renamed from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded-parameters/query-canonical-request.txt

@@ -1,1 +0,9 @@
    1      1   
POST
    2      2   
/
    3      3   
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
    4      4   
content-length:13
    5      5   
content-type:application/x-www-form-urlencoded; charset=utf-8
    6      6   
host:example.amazonaws.com
    7      7   
    8      8   
content-length;content-type;host
    9         -
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
           9  +
9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded-parameters/query-signature.txt

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