AWS SDK

AWS SDK

rev. 628eeeeeed390f5efdbfe607c18848c033debd3e (ignoring whitespace)

Files changed:

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

@@ -0,1 +0,3 @@
           1  +
POST /?X-Amz-Algorithm=AWS4-ECDSA-P256-SHA256&X-Amz-Credential=AKIDEXAMPLE%2F20150830%2Fservice%2Faws4_request&X-Amz-Date=20150830T123600Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Region-Set=us-east-1&X-Amz-Signature=3044022034768b9f03c61ee7f93b1e23198ff08923345e32f25e662afa5794997f00ebb102205813497325d50d374e486a3fce997e02ae9610a8eb81af01128103dd9d2d997d HTTP/1.1
           2  +
Host:example.amazonaws.com
           3  +

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

@@ -0,1 +0,2 @@
           1  +
POST / HTTP/1.1
           2  +
Host:example.amazonaws.com

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

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

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

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

@@ -1,1 +0,12 @@
    1      1   
POST
    2      2   
/
    3      3   
    4      4   
content-length:13
    5      5   
content-type:application/x-www-form-urlencoded; charset=utf-8
    6      6   
host:example.amazonaws.com
    7         -
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
           7  +
x-amz-content-sha256:9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e
    8      8   
x-amz-date:20150830T123600Z
    9      9   
x-amz-region-set:us-east-1
   10     10   
   11     11   
content-length;content-type;host;x-amz-content-sha256;x-amz-date;x-amz-region-set
   12         -
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
          12  +
9095672bbd1f56dfc5b65f3e153adc8731a4a654192329106275f4c7b24d0b6e

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

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