AWS SDK

AWS SDK

rev. 28ea677dc2319253e62e49485b98cb87d334c4d8

Files changed:

tmp-codegen-diff/aws-sdk/sdk/aws-config/Cargo.toml

@@ -48,48 +108,108 @@
   68     68   
path = "../aws-smithy-runtime-api"
   69     69   
features = ["client"]
   70     70   
version = "1.7.0"
   71     71   
   72     72   
[dependencies.aws-smithy-types]
   73     73   
path = "../aws-smithy-types"
   74     74   
version = "1.2.0"
   75     75   
   76     76   
[dependencies.aws-types]
   77     77   
path = "../aws-types"
   78         -
version = "1.3.1"
          78  +
version = "1.3.2"
   79     79   
   80     80   
[dependencies.hyper]
   81     81   
version = "0.14.26"
   82     82   
default-features = false
   83     83   
   84     84   
[dependencies.time]
   85     85   
version = "0.3.4"
   86     86   
features = ["parsing"]
   87     87   
   88     88   
[dependencies.tokio]

tmp-codegen-diff/aws-sdk/sdk/aws-config/fuzz/Cargo.toml

@@ -1,1 +30,30 @@
   17     17   
   18     18   
[dependencies]
   19     19   
libfuzzer-sys = "0.4"
   20     20   
   21     21   
[dependencies.aws-config]
   22     22   
path = ".."
   23     23   
version = "1.5.2"
   24     24   
   25     25   
[dependencies.aws-types]
   26     26   
path = "../../../sdk/build/aws-sdk/sdk/aws-types"
   27         -
version = "1.3.1"
          27  +
version = "1.3.2"
   28     28   
   29     29   
[workspace]
   30     30   
members = ["."]

tmp-codegen-diff/aws-sdk/sdk/aws-runtime/Cargo.toml

@@ -37,37 +97,97 @@
   57     57   
path = "../aws-smithy-runtime-api"
   58     58   
features = ["client"]
   59     59   
version = "1.7.0"
   60     60   
   61     61   
[dependencies.aws-smithy-types]
   62     62   
path = "../aws-smithy-types"
   63     63   
version = "1.2.0"
   64     64   
   65     65   
[dependencies.aws-types]
   66     66   
path = "../aws-types"
   67         -
version = "1.3.1"
          67  +
version = "1.3.2"
   68     68   
   69     69   
[dependencies.uuid]
   70     70   
version = "1"
   71     71   
   72     72   
[dev-dependencies]
   73     73   
arbitrary = "1.3"
   74     74   
bytes-utils = "0.1.2"
   75     75   
proptest = "1.2"
   76     76   
serde_json = "1"
   77     77   
tracing-test = "0.2.4"

tmp-codegen-diff/aws-sdk/sdk/aws-types/Cargo.toml

@@ -1,1 +65,69 @@
    1      1   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
[package]
    3      3   
name = "aws-types"
    4         -
version = "1.3.1"
           4  +
version = "1.3.2"
    5      5   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
    6      6   
description = "Cross-service types for the AWS SDK."
    7      7   
edition = "2021"
    8      8   
license = "Apache-2.0"
    9      9   
repository = "https://github.com/smithy-lang/smithy-rs"
   10     10   
[package.metadata.docs.rs]
   11     11   
all-features = true
   12     12   
targets = ["x86_64-unknown-linux-gnu"]
   13     13   
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
   14     14   
rustdoc-args = ["--cfg", "docsrs"]
   15     15   
   16     16   
[package.metadata.smithy-rs-release-tooling]
   17     17   
stable = true
   18     18   
[package.metadata.cargo-udeps.ignore]
   19     19   
normal = ["aws-smithy-runtime", "hyper-rustls"]
   20     20   
   21     21   
[features]
   22     22   
examples = ["dep:hyper-rustls", "aws-smithy-runtime/client", "aws-smithy-runtime/connector-hyper-0-14-x", "aws-smithy-runtime/tls-rustls"]
   23     23   
   24     24   
[dependencies]
   25     25   
tracing = "0.1"
   26         -
http = "0.2.6"
   27     26   
   28     27   
[dependencies.aws-credential-types]
   29     28   
path = "../aws-credential-types"
   30     29   
version = "1.2.0"
   31     30   
   32     31   
[dependencies.aws-smithy-async]
   33     32   
path = "../aws-smithy-async"
   34     33   
version = "1.2.1"
   35     34   
   36     35   
[dependencies.aws-smithy-types]
   37     36   
path = "../aws-smithy-types"
   38     37   
version = "1.2.0"
   39     38   
   40     39   
[dependencies.aws-smithy-runtime]
   41     40   
path = "../aws-smithy-runtime"
   42     41   
optional = true
   43     42   
version = "1.6.0"
   44     43   
   45     44   
[dependencies.aws-smithy-runtime-api]
   46     45   
path = "../aws-smithy-runtime-api"
   47     46   
features = ["client"]
   48     47   
version = "1.7.0"
   49     48   
   50     49   
[dependencies.hyper-rustls]
   51     50   
version = "0.24"
   52     51   
optional = true
   53     52   
features = ["rustls-native-certs", "http2", "webpki-roots"]
   54     53   
   55     54   
[dev-dependencies]
   56     55   
http = "0.2.4"
   57     56   
tempfile = "3"
   58     57   
tracing-test = "=0.2.5"
   59     58   
   60     59   
[dev-dependencies.tokio]
   61     60   
version = "1"
   62     61   
features = ["rt", "macros"]
   63     62   
          63  +
[dev-dependencies.aws-smithy-runtime-api]
          64  +
path = "../aws-smithy-runtime-api"
          65  +
features = ["http-02x"]
          66  +
version = "1.7.0"
          67  +
   64     68   
[build-dependencies]
   65     69   
rustc_version = "0.4.0"

tmp-codegen-diff/aws-sdk/sdk/aws-types/src/request_id.rs

@@ -45,45 +107,110 @@
   65     65   
pub fn apply_request_id(builder: ErrorMetadataBuilder, headers: &Headers) -> ErrorMetadataBuilder {
   66     66   
    if let Some(request_id) = headers.request_id() {
   67     67   
        builder.custom(AWS_REQUEST_ID, request_id)
   68     68   
    } else {
   69     69   
        builder
   70     70   
    }
   71     71   
}
   72     72   
   73     73   
#[cfg(test)]
   74     74   
mod tests {
   75         -
    use super::*;
          75  +
    use crate::request_id::{apply_request_id, RequestId, AWS_REQUEST_ID};
   76     76   
    use aws_smithy_runtime_api::client::orchestrator::HttpResponse;
          77  +
    use aws_smithy_runtime_api::client::result::SdkError;
          78  +
    use aws_smithy_runtime_api::http::Headers;
   77     79   
    use aws_smithy_types::body::SdkBody;
          80  +
    use aws_smithy_types::error::ErrorMetadata;
   78     81   
    use http::{HeaderValue, Response};
   79     82   
   80     83   
    #[test]
   81     84   
    fn test_request_id_sdk_error() {
   82     85   
        let without_request_id =
   83     86   
            || HttpResponse::try_from(Response::builder().body(SdkBody::empty()).unwrap()).unwrap();
   84     87   
        let with_request_id = || {
   85     88   
            HttpResponse::try_from(
   86     89   
                Response::builder()
   87     90   
                    .header(

tmp-codegen-diff/aws-sdk/sdk/bedrockruntime/Cargo.toml

@@ -28,28 +88,88 @@
   48     48   
path = "../aws-smithy-runtime-api"
   49     49   
features = ["client", "http-02x"]
   50     50   
version = "1.7.0"
   51     51   
   52     52   
[dependencies.aws-smithy-types]
   53     53   
path = "../aws-smithy-types"
   54     54   
version = "1.2.0"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58         -
version = "1.3.1"
          58  +
version = "1.3.2"
   59     59   
   60     60   
[dependencies.bytes]
   61     61   
version = "1.4.0"
   62     62   
   63     63   
[dependencies.http]
   64     64   
version = "0.2.9"
   65     65   
   66     66   
[dependencies.once_cell]
   67     67   
version = "1.16"
   68     68   

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/Cargo.toml

@@ -23,23 +83,83 @@
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x", "http-auth"]
   45     45   
version = "1.7.0"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49     49   
version = "1.2.0"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53         -
version = "1.3.1"
          53  +
version = "1.3.2"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.fastrand]
   59     59   
version = "2.0.0"
   60     60   
   61     61   
[dependencies.http]
   62     62   
version = "0.2.9"
   63     63   

tmp-codegen-diff/aws-sdk/sdk/config/Cargo.toml

@@ -23,23 +83,83 @@
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x"]
   45     45   
version = "1.7.0"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49     49   
version = "1.2.0"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53         -
version = "1.3.1"
          53  +
version = "1.3.2"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.http]
   59     59   
version = "0.2.9"
   60     60   
   61     61   
[dependencies.once_cell]
   62     62   
version = "1.16"
   63     63   

tmp-codegen-diff/aws-sdk/sdk/dynamodb/Cargo.toml

@@ -23,23 +83,83 @@
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x"]
   45     45   
version = "1.7.0"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49     49   
version = "1.2.0"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53         -
version = "1.3.1"
          53  +
version = "1.3.2"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.fastrand]
   59     59   
version = "2.0.0"
   60     60   
   61     61   
[dependencies.http]
   62     62   
version = "0.2.9"
   63     63   

tmp-codegen-diff/aws-sdk/sdk/ec2/Cargo.toml

@@ -31,31 +91,91 @@
   51     51   
[dependencies.aws-smithy-types]
   52     52   
path = "../aws-smithy-types"
   53     53   
version = "1.2.0"
   54     54   
   55     55   
[dependencies.aws-smithy-xml]
   56     56   
path = "../aws-smithy-xml"
   57     57   
version = "0.60.8"
   58     58   
   59     59   
[dependencies.aws-types]
   60     60   
path = "../aws-types"
   61         -
version = "1.3.1"
          61  +
version = "1.3.2"
   62     62   
   63     63   
[dependencies.fastrand]
   64     64   
version = "2.0.0"
   65     65   
   66     66   
[dependencies.http]
   67     67   
version = "0.2.9"
   68     68   
   69     69   
[dependencies.once_cell]
   70     70   
version = "1.16"
   71     71   

tmp-codegen-diff/aws-sdk/sdk/ecs/Cargo.toml

@@ -23,23 +83,83 @@
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x"]
   45     45   
version = "1.7.0"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49     49   
version = "1.2.0"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53         -
version = "1.3.1"
          53  +
version = "1.3.2"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.fastrand]
   59     59   
version = "2.0.0"
   60     60   
   61     61   
[dependencies.http]
   62     62   
version = "0.2.9"
   63     63   

tmp-codegen-diff/aws-sdk/sdk/glacier/Cargo.toml

@@ -27,27 +87,87 @@
   47     47   
path = "../aws-smithy-runtime-api"
   48     48   
features = ["client", "http-02x"]
   49     49   
version = "1.7.0"
   50     50   
   51     51   
[dependencies.aws-smithy-types]
   52     52   
path = "../aws-smithy-types"
   53     53   
version = "1.2.0"
   54     54   
   55     55   
[dependencies.aws-types]
   56     56   
path = "../aws-types"
   57         -
version = "1.3.1"
          57  +
version = "1.3.2"
   58     58   
   59     59   
[dependencies.bytes]
   60     60   
version = "1.4.0"
   61     61   
   62     62   
[dependencies.hex]
   63     63   
version = "0.4.3"
   64     64   
   65     65   
[dependencies.http]
   66     66   
version = "0.2.9"
   67     67   

tmp-codegen-diff/aws-sdk/sdk/iam/Cargo.toml

@@ -31,31 +91,91 @@
   51     51   
[dependencies.aws-smithy-types]
   52     52   
path = "../aws-smithy-types"
   53     53   
version = "1.2.0"
   54     54   
   55     55   
[dependencies.aws-smithy-xml]
   56     56   
path = "../aws-smithy-xml"
   57     57   
version = "0.60.8"
   58     58   
   59     59   
[dependencies.aws-types]
   60     60   
path = "../aws-types"
   61         -
version = "1.3.1"
          61  +
version = "1.3.2"
   62     62   
   63     63   
[dependencies.http]
   64     64   
version = "0.2.9"
   65     65   
   66     66   
[dependencies.once_cell]
   67     67   
version = "1.16"
   68     68   
   69     69   
[dependencies.regex-lite]
   70     70   
version = "0.1.5"
   71     71   

tmp-codegen-diff/aws-sdk/sdk/kms/Cargo.toml

@@ -23,23 +83,83 @@
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x"]
   45     45   
version = "1.7.0"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49     49   
version = "1.2.0"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53         -
version = "1.3.1"
          53  +
version = "1.3.2"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.http]
   59     59   
version = "0.2.9"
   60     60   
   61     61   
[dependencies.once_cell]
   62     62   
version = "1.16"
   63     63   

tmp-codegen-diff/aws-sdk/sdk/lambda/Cargo.toml

@@ -29,29 +89,89 @@
   49     49   
path = "../aws-smithy-runtime-api"
   50     50   
features = ["client", "http-02x"]
   51     51   
version = "1.7.0"
   52     52   
   53     53   
[dependencies.aws-smithy-types]
   54     54   
path = "../aws-smithy-types"
   55     55   
version = "1.2.0"
   56     56   
   57     57   
[dependencies.aws-types]
   58     58   
path = "../aws-types"
   59         -
version = "1.3.1"
          59  +
version = "1.3.2"
   60     60   
   61     61   
[dependencies.bytes]
   62     62   
version = "1.4.0"
   63     63   
   64     64   
[dependencies.http]
   65     65   
version = "0.2.9"
   66     66   
   67     67   
[dependencies.once_cell]
   68     68   
version = "1.16"
   69     69