AWS SDK

AWS SDK

rev. 70cd16feb2a80dd4eea28441a663e2af6c7561c0 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/aws-smithy-query/Cargo.toml

@@ -1,1 +0,22 @@
   12     12   
all-features = true
   13     13   
targets = ["x86_64-unknown-linux-gnu"]
   14     14   
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
   15     15   
rustdoc-args = ["--cfg", "docsrs"]
   16     16   
   17     17   
[dependencies]
   18     18   
urlencoding = "2.1"
   19     19   
   20     20   
[dependencies.aws-smithy-types]
   21     21   
path = "../aws-smithy-types"
   22         -
version = "1.3.5"
          22  +
version = "1.3.6"

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

@@ -9,9 +62,62 @@
   29     29   
bytes = "1.10.0"
   30     30   
pin-project-lite = "0.2.14"
   31     31   
tracing = "0.1.40"
   32     32   
   33     33   
[dependencies.aws-smithy-async]
   34     34   
path = "../aws-smithy-async"
   35     35   
version = "1.2.7"
   36     36   
   37     37   
[dependencies.aws-smithy-types]
   38     38   
path = "../aws-smithy-types"
   39         -
version = "1.3.5"
          39  +
version = "1.3.6"
   40     40   
   41     41   
[dependencies.http-02x]
   42     42   
package = "http"
   43     43   
version = "0.2.9"
   44     44   
   45     45   
[dependencies.http-1x]
   46     46   
package = "http"
   47     47   
version = "1"
   48     48   
   49     49   
[dependencies.tokio]

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

@@ -29,29 +124,124 @@
   49     49   
path = "../aws-smithy-observability"
   50     50   
version = "0.1.5"
   51     51   
   52     52   
[dependencies.aws-smithy-runtime-api]
   53     53   
path = "../aws-smithy-runtime-api"
   54     54   
version = "1.9.3"
   55     55   
   56     56   
[dependencies.aws-smithy-types]
   57     57   
path = "../aws-smithy-types"
   58     58   
features = ["http-body-0-4-x"]
   59         -
version = "1.3.5"
          59  +
version = "1.3.6"
   60     60   
   61     61   
[dependencies.aws-smithy-http-client]
   62     62   
path = "../aws-smithy-http-client"
   63     63   
optional = true
   64     64   
version = "1.1.5"
   65     65   
   66     66   
[dependencies.http-02x]
   67     67   
package = "http"
   68     68   
version = "0.2.9"
   69     69   
   70     70   
[dependencies.http-1x]
   71     71   
package = "http"
   72     72   
version = "1"
   73     73   
   74     74   
[dependencies.http-body-04x]
   75     75   
package = "http-body"
   76     76   
version = "0.4.5"
   77     77   
   78     78   
[dependencies.http-body-1x]
   79     79   
package = "http-body"
   80     80   
version = "1"
   81     81   
   82     82   
[dependencies.tokio]
   83     83   
version = "1.40.0"
   84     84   
features = []
   85     85   
   86     86   
[dependencies.tracing-subscriber]
   87     87   
version = "0.3.16"
   88     88   
optional = true
   89     89   
features = ["env-filter", "fmt", "json"]
   90     90   
   91     91   
[dev-dependencies]
   92     92   
approx = "0.5.1"
   93     93   
fastrand = "2.3.0"
   94     94   
futures-util = "0.3.29"
   95     95   
pretty_assertions = "1.4.0"
   96     96   
tracing-test = "0.2.1"
   97     97   
   98     98   
[dev-dependencies.aws-smithy-async]
   99     99   
path = "../aws-smithy-async"
  100    100   
features = ["rt-tokio", "test-util"]
  101    101   
version = "1.2.7"
  102    102   
  103    103   
[dev-dependencies.aws-smithy-runtime-api]
  104    104   
path = "../aws-smithy-runtime-api"
  105    105   
features = ["test-util"]
  106    106   
version = "1.9.3"
  107    107   
  108    108   
[dev-dependencies.aws-smithy-types]
  109    109   
path = "../aws-smithy-types"
  110    110   
features = ["test-util"]
  111         -
version = "1.3.5"
         111  +
version = "1.3.6"
  112    112   
  113    113   
[dev-dependencies.tokio]
  114    114   
version = "1.25"
  115    115   
features = ["macros", "rt", "rt-multi-thread", "test-util", "full"]
  116    116   
  117    117   
[dev-dependencies.tracing-subscriber]
  118    118   
version = "0.3.16"
  119    119   
features = ["env-filter"]
  120    120   
  121    121   
[dev-dependencies.hyper_0_14]

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

@@ -1,1 +43,43 @@
   14     14   
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
   15     15   
rustdoc-args = ["--cfg", "docsrs"]
   16     16   
   17     17   
[features]
   18     18   
convert-chrono = ["aws-smithy-types", "chrono"]
   19     19   
convert-time = ["aws-smithy-types", "time"]
   20     20   
convert-streams = ["aws-smithy-async", "futures-core"]
   21     21   
[dependencies.aws-smithy-types]
   22     22   
path = "../aws-smithy-types"
   23     23   
optional = true
   24         -
version = "1.3.5"
          24  +
version = "1.3.6"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28     28   
optional = true
   29     29   
version = "1.2.7"
   30     30   
   31     31   
[dependencies.chrono]
   32     32   
version = "0.4.35"
   33     33   
optional = true
   34     34   
default-features = false

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

@@ -1,1 +33,33 @@
    1      1   
[package]
    2      2   
name = "aws-smithy-types"
    3         -
version = "1.3.5"
           3  +
version = "1.3.6"
    4      4   
authors = [
    5      5   
    "AWS Rust SDK Team <aws-sdk-rust@amazon.com>",
    6      6   
    "Russell Cohen <rcoh@amazon.com>",
    7      7   
]
    8      8   
description = "Types for smithy-rs codegen."
    9      9   
edition = "2021"
   10     10   
license = "Apache-2.0"
   11     11   
repository = "https://github.com/smithy-lang/smithy-rs"
   12     12   
rust-version = "1.88"
   13     13   

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

@@ -17,17 +50,50 @@
   37     37   
edition = "2021"
   38     38   
   39     39   
[package.metadata]
   40     40   
cargo-fuzz = true
   41     41   
   42     42   
[dependencies]
   43     43   
libfuzzer-sys = "=0.4.7"
   44     44   
   45     45   
[dependencies.aws-smithy-types]
   46     46   
path = ".."
   47         -
version = "1.3.5"
          47  +
version = "1.3.6"
   48     48   
   49     49   
[workspace]
   50     50   
members = ["."]

tmp-codegen-diff/aws-sdk/sdk/aws-smithy-types/src/document.rs

@@ -202,202 +261,273 @@
  222    222   
        Document::Number(Number::Float(value))
  223    223   
    }
  224    224   
}
  225    225   
  226    226   
impl From<Number> for Document {
  227    227   
    fn from(value: Number) -> Self {
  228    228   
        Document::Number(value)
  229    229   
    }
  230    230   
}
  231    231   
         232  +
impl<T> From<Option<T>> for Document
         233  +
where
         234  +
    Document: From<T>,
         235  +
{
         236  +
    fn from(value: Option<T>) -> Self {
         237  +
        match value {
         238  +
            Some(inner) => inner.into(),
         239  +
            None => Document::Null,
         240  +
        }
         241  +
    }
         242  +
}
         243  +
  232    244   
/* ANCHOR END: document */
  233    245   
  234    246   
#[cfg(test)]
  235    247   
mod test {
  236    248   
    /// checks if a) serialization of json suceeds and b) it is compatible with serde_json
  237    249   
    #[test]
  238    250   
    #[cfg(all(
  239    251   
        aws_sdk_unstable,
  240    252   
        feature = "serde-serialize",
  241    253   
        feature = "serde-deserialize"

tmp-codegen-diff/aws-sdk/sdk/aws-smithy-wasm/Cargo.toml

@@ -4,4 +0,34 @@
   24     24   
path = "../aws-smithy-runtime-api"
   25     25   
features = ["http-1x"]
   26     26   
version = "1.9.3"
   27     27   
   28     28   
[dependencies.aws-smithy-http]
   29     29   
path = "../aws-smithy-http"
   30     30   
version = "0.62.6"
   31     31   
   32     32   
[dependencies.aws-smithy-types]
   33     33   
path = "../aws-smithy-types"
   34         -
version = "1.3.5"
          34  +
version = "1.3.6"

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

@@ -8,8 +68,68 @@
   28     28   
[dependencies.aws-credential-types]
   29     29   
path = "../aws-credential-types"
   30     30   
version = "1.2.11"
   31     31   
   32     32   
[dependencies.aws-smithy-async]
   33     33   
path = "../aws-smithy-async"
   34     34   
version = "1.2.7"
   35     35   
   36     36   
[dependencies.aws-smithy-types]
   37     37   
path = "../aws-smithy-types"
   38         -
version = "1.3.5"
          38  +
version = "1.3.6"
   39     39   
   40     40   
[dependencies.aws-smithy-runtime]
   41     41   
path = "../aws-smithy-runtime"
   42     42   
optional = true
   43     43   
version = "1.9.5"
   44     44   
   45     45   
[dependencies.aws-smithy-runtime-api]
   46     46   
path = "../aws-smithy-runtime-api"
   47     47   
features = ["client"]
   48     48   
version = "1.9.3"

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

@@ -31,31 +91,91 @@
   51     51   
version = "1.9.5"
   52     52   
   53     53   
[dependencies.aws-smithy-runtime-api]
   54     54   
path = "../aws-smithy-runtime-api"
   55     55   
features = ["client", "http-02x", "http-auth"]
   56     56   
version = "1.9.3"
   57     57   
   58     58   
[dependencies.aws-smithy-types]
   59     59   
path = "../aws-smithy-types"
   60     60   
features = ["http-body-0-4-x"]
   61         -
version = "1.3.5"
          61  +
version = "1.3.6"
   62     62   
   63     63   
[dependencies.aws-types]
   64     64   
path = "../aws-types"
   65     65   
version = "1.3.11"
   66     66   
   67     67   
[dependencies.bytes]
   68     68   
version = "1.4.0"
   69     69   
   70     70   
[dependencies.fastrand]
   71     71   
version = "2.0.0"
@@ -101,101 +161,161 @@
  121    121   
version = "1.9.5"
  122    122   
  123    123   
[dev-dependencies.aws-smithy-runtime-api]
  124    124   
path = "../aws-smithy-runtime-api"
  125    125   
features = ["test-util"]
  126    126   
version = "1.9.3"
  127    127   
  128    128   
[dev-dependencies.aws-smithy-types]
  129    129   
path = "../aws-smithy-types"
  130    130   
features = ["test-util"]
  131         -
version = "1.3.5"
         131  +
version = "1.3.6"
  132    132   
  133    133   
[dev-dependencies.futures-util]
  134    134   
version = "0.3.25"
  135    135   
features = ["alloc"]
  136    136   
default-features = false
  137    137   
  138    138   
[dev-dependencies.http-1x]
  139    139   
version = "1"
  140    140   
package = "http"
  141    141   

tmp-codegen-diff/aws-sdk/sdk/bedrockruntime/src/endpoint_lib/diagnostic.rs

@@ -7,7 +45,46 @@
   27     27   
    pub(crate) fn capture<T, E: Into<Box<dyn Error + Send + Sync>>>(&mut self, err: Result<T, E>) -> Option<T> {
   28     28   
        match err {
   29     29   
            Ok(res) => Some(res),
   30     30   
            Err(e) => {
   31     31   
                self.report_error(e);
   32     32   
                None
   33     33   
            }
   34     34   
        }
   35     35   
    }
   36     36   
          37  +
    #[allow(dead_code)]
   37     38   
    pub(crate) fn take_last_error(&mut self) -> Option<Box<dyn Error + Send + Sync>> {
   38     39   
        self.last_error.take()
   39     40   
    }
   40     41   
   41     42   
    /// Create a new diagnostic collector
   42     43   
    pub(crate) fn new() -> Self {
   43     44   
        Self { last_error: None }
   44     45   
    }
   45     46   
}

tmp-codegen-diff/aws-sdk/sdk/bedrockruntime/src/endpoint_lib/partition.rs

@@ -3,3 +62,63 @@
   23     23   
    partitions: Vec<PartitionMetadata>,
   24     24   
}
   25     25   
   26     26   
impl PartitionResolver {
   27     27   
    pub(crate) fn from_partitions(partitions: Vec<PartitionMetadata>) -> Self {
   28     28   
        Self { partitions }
   29     29   
    }
   30     30   
}
   31     31   
   32     32   
/// Partition result returned from partition resolver
          33  +
#[derive(Debug, Default, Clone)]
   33     34   
pub(crate) struct Partition<'a> {
   34     35   
    name: &'a str,
   35     36   
    dns_suffix: &'a str,
   36     37   
    dual_stack_dns_suffix: &'a str,
   37     38   
    supports_fips: bool,
   38     39   
    supports_dual_stack: bool,
   39     40   
    implicit_global_region: &'a str,
   40     41   
}
   41     42   
   42     43   
#[allow(unused)]

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

@@ -26,26 +86,86 @@
   46     46   
features = ["client"]
   47     47   
version = "1.9.5"
   48     48   
   49     49   
[dependencies.aws-smithy-runtime-api]
   50     50   
path = "../aws-smithy-runtime-api"
   51     51   
features = ["client", "http-02x"]
   52     52   
version = "1.9.3"
   53     53   
   54     54   
[dependencies.aws-smithy-types]
   55     55   
path = "../aws-smithy-types"
   56         -
version = "1.3.5"
          56  +
version = "1.3.6"
   57     57   
   58     58   
[dependencies.aws-types]
   59     59   
path = "../aws-types"
   60     60   
version = "1.3.11"
   61     61   
   62     62   
[dependencies.bytes]
   63     63   
version = "1.4.0"
   64     64   
   65     65   
[dependencies.fastrand]
   66     66   
version = "2.0.0"
@@ -92,92 +152,152 @@
  112    112   
version = "1.9.5"
  113    113   
  114    114   
[dev-dependencies.aws-smithy-runtime-api]
  115    115   
path = "../aws-smithy-runtime-api"
  116    116   
features = ["test-util"]
  117    117   
version = "1.9.3"
  118    118   
  119    119   
[dev-dependencies.aws-smithy-types]
  120    120   
path = "../aws-smithy-types"
  121    121   
features = ["test-util"]
  122         -
version = "1.3.5"
         122  +
version = "1.3.6"
  123    123   
  124    124   
[dev-dependencies.futures-util]
  125    125   
version = "0.3.25"
  126    126   
features = ["alloc"]
  127    127   
default-features = false
  128    128   
  129    129   
[dev-dependencies.http-1x]
  130    130   
version = "1"
  131    131   
package = "http"
  132    132   

tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/src/endpoint_lib/diagnostic.rs

@@ -7,7 +45,46 @@
   27     27   
    pub(crate) fn capture<T, E: Into<Box<dyn Error + Send + Sync>>>(&mut self, err: Result<T, E>) -> Option<T> {
   28     28   
        match err {
   29     29   
            Ok(res) => Some(res),
   30     30   
            Err(e) => {
   31     31   
                self.report_error(e);
   32     32   
                None
   33     33   
            }
   34     34   
        }
   35     35   
    }
   36     36   
          37  +
    #[allow(dead_code)]
   37     38   
    pub(crate) fn take_last_error(&mut self) -> Option<Box<dyn Error + Send + Sync>> {
   38     39   
        self.last_error.take()
   39     40   
    }
   40     41   
   41     42   
    /// Create a new diagnostic collector
   42     43   
    pub(crate) fn new() -> Self {
   43     44   
        Self { last_error: None }
   44     45   
    }
   45     46   
}

tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/src/endpoint_lib/partition.rs

@@ -3,3 +62,63 @@
   23     23   
    partitions: Vec<PartitionMetadata>,
   24     24   
}
   25     25   
   26     26   
impl PartitionResolver {
   27     27   
    pub(crate) fn from_partitions(partitions: Vec<PartitionMetadata>) -> Self {
   28     28   
        Self { partitions }
   29     29   
    }
   30     30   
}
   31     31   
   32     32   
/// Partition result returned from partition resolver
          33  +
#[derive(Debug, Default, Clone)]
   33     34   
pub(crate) struct Partition<'a> {
   34     35   
    name: &'a str,
   35     36   
    dns_suffix: &'a str,
   36     37   
    dual_stack_dns_suffix: &'a str,
   37     38   
    supports_fips: bool,
   38     39   
    supports_dual_stack: bool,
   39     40   
    implicit_global_region: &'a str,
   40     41   
}
   41     42   
   42     43   
#[allow(unused)]

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

@@ -20,20 +141,141 @@
   40     40   
features = ["client", "http-auth"]
   41     41   
version = "1.9.5"
   42     42   
   43     43   
[dependencies.aws-smithy-runtime-api]
   44     44   
path = "../aws-smithy-runtime-api"
   45     45   
features = ["client", "http-02x", "http-auth"]
   46     46   
version = "1.9.3"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50         -
version = "1.3.5"
          50  +
version = "1.3.6"
   51     51   
   52     52   
[dependencies.aws-types]
   53     53   
path = "../aws-types"
   54     54   
version = "1.3.11"
   55     55   
   56     56   
[dependencies.bytes]
   57     57   
version = "1.4.0"
   58     58   
   59     59   
[dependencies.fastrand]
   60     60   
version = "2.0.0"
   61     61   
   62     62   
[dependencies.http]
   63     63   
version = "0.2.9"
   64     64   
   65     65   
[dependencies.regex-lite]
   66     66   
version = "0.1.5"
   67     67   
   68     68   
[dependencies.tracing]
   69     69   
version = "0.1"
   70     70   
[dev-dependencies.aws-config]
   71     71   
path = "../aws-config"
   72     72   
version = "1.8.12"
   73     73   
   74     74   
[dev-dependencies.aws-credential-types]
   75     75   
path = "../aws-credential-types"
   76     76   
features = ["test-util"]
   77     77   
version = "1.2.11"
   78     78   
   79     79   
[dev-dependencies.aws-runtime]
   80     80   
path = "../aws-runtime"
   81     81   
features = ["test-util"]
   82     82   
version = "1.5.17"
   83     83   
   84     84   
[dev-dependencies.aws-smithy-async]
   85     85   
path = "../aws-smithy-async"
   86     86   
features = ["test-util"]
   87     87   
version = "1.2.7"
   88     88   
   89     89   
[dev-dependencies.aws-smithy-http-client]
   90     90   
path = "../aws-smithy-http-client"
   91     91   
features = ["test-util", "wire-mock"]
   92     92   
version = "1.1.5"
   93     93   
   94     94   
[dev-dependencies.aws-smithy-protocol-test]
   95     95   
path = "../aws-smithy-protocol-test"
   96     96   
version = "0.63.7"
   97     97   
   98     98   
[dev-dependencies.aws-smithy-runtime]
   99     99   
path = "../aws-smithy-runtime"
  100    100   
features = ["test-util"]
  101    101   
version = "1.9.5"
  102    102   
  103    103   
[dev-dependencies.aws-smithy-runtime-api]
  104    104   
path = "../aws-smithy-runtime-api"
  105    105   
features = ["test-util"]
  106    106   
version = "1.9.3"
  107    107   
  108    108   
[dev-dependencies.aws-smithy-types]
  109    109   
path = "../aws-smithy-types"
  110    110   
features = ["test-util"]
  111         -
version = "1.3.5"
         111  +
version = "1.3.6"
  112    112   
  113    113   
[dev-dependencies.futures-util]
  114    114   
version = "0.3.25"
  115    115   
features = ["alloc"]
  116    116   
default-features = false
  117    117   
  118    118   
[dev-dependencies.http-1x]
  119    119   
version = "1"
  120    120   
package = "http"
  121    121