AWS SDK

AWS SDK

rev. 3964b40d6806bc3f52bd311e2c791030c3325f2c

Files changed:

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

@@ -0,1 +0,6 @@
           1  +
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
           2  +
Content-Type:application/x-www-form-urlencoded; charset=utf-8
           3  +
Host:example.amazonaws.com
           4  +
Content-Length:13
           5  +
           6  +
Param1=value1

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

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

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

Renamed 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

@@ -1,1 +6,6 @@
    1      1   
POST / HTTP/1.1
    2      2   
Content-Type:application/x-www-form-urlencoded; charset=utf-8
    3      3   
Host:example.amazonaws.com
    4         -
X-Amz-Date:20150830T123600Z
           4  +
Content-Length:13
    5      5   
    6      6   
Param1=value1

tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-signing-test-suite/v4a/post-x-www-form-urlencoded/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/header-canonical-request.txt

Renamed from tmp-codegen-diff/aws-sdk/sdk/aws-sigv4/aws-sig-v4a-test-suite/post-x-www-form-urlencoded/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
    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/header-signature.txt

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