AWS SDK

AWS SDK

rev. a8f1d7a10bc731866a2d27fbe4eea606bbad4894

Files changed:

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

@@ -54,54 +114,114 @@
   74     74   
path = "../aws-smithy-runtime-api"
   75     75   
features = ["client"]
   76     76   
version = "1.9.3"
   77     77   
   78     78   
[dependencies.aws-smithy-types]
   79     79   
path = "../aws-smithy-types"
   80     80   
version = "1.3.6"
   81     81   
   82     82   
[dependencies.aws-types]
   83     83   
path = "../aws-types"
   84         -
version = "1.3.11"
          84  +
version = "1.3.12"
   85     85   
   86     86   
[dependencies.time]
   87     87   
version = "0.3.4"
   88     88   
features = ["parsing"]
   89     89   
   90     90   
[dependencies.tokio]
   91     91   
version = "1.13.1"
   92     92   
features = ["sync"]
   93     93   
   94     94   
[dependencies.tracing]

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.7"
   20     20   
   21     21   
[dependencies.aws-config]
   22     22   
path = ".."
   23     23   
version = "1.8.12"
   24     24   
   25     25   
[dependencies.aws-types]
   26     26   
path = "../../../sdk/build/aws-sdk/sdk/aws-types"
   27         -
version = "1.3.11"
          27  +
version = "1.3.12"
   28     28   
   29     29   
[workspace]
   30     30   
members = ["."]

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

@@ -42,42 +102,102 @@
   62     62   
path = "../aws-smithy-runtime-api"
   63     63   
features = ["client"]
   64     64   
version = "1.9.3"
   65     65   
   66     66   
[dependencies.aws-smithy-types]
   67     67   
path = "../aws-smithy-types"
   68     68   
version = "1.3.6"
   69     69   
   70     70   
[dependencies.aws-types]
   71     71   
path = "../aws-types"
   72         -
version = "1.3.11"
          72  +
version = "1.3.12"
   73     73   
   74     74   
[dependencies.http-02x]
   75     75   
package = "http"
   76     76   
version = "0.2.9"
   77     77   
   78     78   
[dependencies.http-body-04x]
   79     79   
package = "http-body"
   80     80   
version = "0.4.5"
   81     81   
   82     82   
[dependencies.http-1x]

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

@@ -1,1 +44,44 @@
    9      9   
repository = "https://github.com/smithy-lang/smithy-rs"
   10     10   
rust-version = "1.88"
   11     11   
[package.metadata.docs.rs]
   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   
bytes = "1.10.0"
   19         -
crc-fast = "~1.6.0"
          19  +
crc-fast = "=1.4.0"
   20     20   
hex = "0.4.3"
   21     21   
http = "0.2.9"
   22     22   
http-body = "0.4.5"
   23     23   
md-5 = "0.10"
   24     24   
pin-project-lite = "0.2.14"
   25     25   
sha1 = "0.10"
   26     26   
sha2 = "0.10"
   27     27   
tracing = "0.1.40"
   28     28   
   29     29   
[dependencies.aws-smithy-http]

tmp-codegen-diff/aws-sdk/sdk/aws-smithy-checksums/tests/crc_integration.rs

@@ -0,1 +0,65 @@
           1  +
/*
           2  +
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
           3  +
 * SPDX-License-Identifier: Apache-2.0
           4  +
 */
           5  +
           6  +
//! Integration test to verify CRC checksums work correctly across architectures.
           7  +
//! This test specifically exercises crc-fast to catch issues like the 1.4 SIGILL bug.
           8  +
           9  +
use aws_smithy_checksums::ChecksumAlgorithm;
          10  +
use bytes::Bytes;
          11  +
          12  +
#[test]
          13  +
fn test_crc32_checksum() {
          14  +
    let data = Bytes::from_static(b"hello world");
          15  +
    let mut hasher = ChecksumAlgorithm::Crc32.into_impl();
          16  +
    hasher.update(&data);
          17  +
    let checksum = hasher.finalize();
          18  +
          19  +
    // Verify we get a valid checksum (not testing exact value, just that it doesn't crash)
          20  +
    assert!(!checksum.is_empty());
          21  +
}
          22  +
          23  +
#[test]
          24  +
fn test_crc32c_checksum() {
          25  +
    let data = Bytes::from_static(b"hello world");
          26  +
    let mut hasher = ChecksumAlgorithm::Crc32c.into_impl();
          27  +
    hasher.update(&data);
          28  +
    let checksum = hasher.finalize();
          29  +
          30  +
    assert!(!checksum.is_empty());
          31  +
}
          32  +
          33  +
#[test]
          34  +
fn test_crc64_checksum() {
          35  +
    let data = Bytes::from_static(b"hello world");
          36  +
    let mut hasher = ChecksumAlgorithm::Crc64Nvme.into_impl();
          37  +
    hasher.update(&data);
          38  +
    let checksum = hasher.finalize();
          39  +
          40  +
    assert!(!checksum.is_empty());
          41  +
}
          42  +
          43  +
#[test]
          44  +
fn test_large_data_crc32() {
          45  +
    // Test with larger data to ensure AVX-512 code paths are exercised
          46  +
    let data = vec![0u8; 1024 * 1024]; // 1MB
          47  +
    let data = Bytes::from(data);
          48  +
    let mut hasher = ChecksumAlgorithm::Crc32.into_impl();
          49  +
    hasher.update(&data);
          50  +
    let checksum = hasher.finalize();
          51  +
          52  +
    assert!(!checksum.is_empty());
          53  +
}
          54  +
          55  +
#[test]
          56  +
fn test_large_data_crc64() {
          57  +
    // Test with larger data to ensure AVX-512 code paths are exercised
          58  +
    let data = vec![0u8; 1024 * 1024]; // 1MB
          59  +
    let data = Bytes::from(data);
          60  +
    let mut hasher = ChecksumAlgorithm::Crc64Nvme.into_impl();
          61  +
    hasher.update(&data);
          62  +
    let checksum = hasher.finalize();
          63  +
          64  +
    assert!(!checksum.is_empty());
          65  +
}

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

@@ -1,1 +34,34 @@
    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.11"
           4  +
version = "1.3.12"
    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   
rust-version = "1.88"
   11     11   
[package.metadata.docs.rs]
   12     12   
all-features = true
   13     13   
targets = ["x86_64-unknown-linux-gnu"]
   14     14   
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]

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

@@ -415,415 +508,508 @@
  435    435   
    }
  436    436   
  437    437   
    /// Set the identity cache for caching credentials and SSO tokens.
  438    438   
    ///
  439    439   
    /// The default identity cache will wait until the first request that requires authentication
  440    440   
    /// to load an identity. Once the identity is loaded, it is cached until shortly before it
  441    441   
    /// expires.
  442    442   
    ///
  443    443   
    /// # Examples
  444    444   
    /// Disabling identity caching:
  445         -
    /// ```rust
         445  +
    /// ```ignore
  446    446   
    /// # use aws_types::SdkConfig;
  447    447   
    /// use aws_smithy_runtime::client::identity::IdentityCache;
  448    448   
    /// let config = SdkConfig::builder()
  449    449   
    ///     .identity_cache(IdentityCache::no_cache())
  450    450   
    ///     .build();
  451    451   
    /// ```
  452    452   
    /// Changing settings on the default cache implementation:
  453         -
    /// ```rust
         453  +
    /// ```ignore
  454    454   
    /// # use aws_types::SdkConfig;
  455    455   
    /// use aws_smithy_runtime::client::identity::IdentityCache;
  456    456   
    /// use std::time::Duration;
  457    457   
    ///
  458    458   
    /// let config = SdkConfig::builder()
  459    459   
    ///     .identity_cache(
  460    460   
    ///         IdentityCache::lazy()
  461    461   
    ///             .load_timeout(Duration::from_secs(10))
  462    462   
    ///             .build()
  463    463   
    ///     )
  464    464   
    ///     .build();
  465    465   
    /// ```
  466    466   
    pub fn identity_cache(mut self, cache: impl ResolveCachedIdentity + 'static) -> Self {
  467    467   
        self.set_identity_cache(Some(cache.into_shared()));
  468    468   
        self
  469    469   
    }
  470    470   
  471    471   
    /// Set the identity cache for caching credentials and SSO tokens.
  472    472   
    ///
  473    473   
    /// The default identity cache will wait until the first request that requires authentication
  474    474   
    /// to load an identity. Once the identity is loaded, it is cached until shortly before it
  475    475   
    /// expires.
  476    476   
    ///
  477    477   
    /// # Examples
  478         -
    /// ```rust
         478  +
    /// ```ignore
  479    479   
    /// # use aws_types::SdkConfig;
  480    480   
    /// use aws_smithy_runtime::client::identity::IdentityCache;
  481    481   
    ///
  482    482   
    /// fn override_identity_cache() -> bool {
  483    483   
    ///   // ...
  484    484   
    ///   # true
  485    485   
    /// }
  486    486   
    ///
  487    487   
    /// let mut builder = SdkConfig::builder();
  488    488   
    /// if override_identity_cache() {

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

@@ -39,39 +99,99 @@
   59     59   
features = ["client", "http-02x", "http-auth"]
   60     60   
version = "1.9.3"
   61     61   
   62     62   
[dependencies.aws-smithy-types]
   63     63   
path = "../aws-smithy-types"
   64     64   
features = ["http-body-0-4-x"]
   65     65   
version = "1.3.6"
   66     66   
   67     67   
[dependencies.aws-types]
   68     68   
path = "../aws-types"
   69         -
version = "1.3.11"
          69  +
version = "1.3.12"
   70     70   
   71     71   
[dependencies.bytes]
   72     72   
version = "1.4.0"
   73     73   
   74     74   
[dependencies.fastrand]
   75     75   
version = "2.0.0"
   76     76   
   77     77   
[dependencies.http]
   78     78   
version = "0.2.9"
   79     79   

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

@@ -34,34 +94,94 @@
   54     54   
path = "../aws-smithy-runtime-api"
   55     55   
features = ["client", "http-02x"]
   56     56   
version = "1.9.3"
   57     57   
   58     58   
[dependencies.aws-smithy-types]
   59     59   
path = "../aws-smithy-types"
   60     60   
version = "1.3.6"
   61     61   
   62     62   
[dependencies.aws-types]
   63     63   
path = "../aws-types"
   64         -
version = "1.3.11"
          64  +
version = "1.3.12"
   65     65   
   66     66   
[dependencies.bytes]
   67     67   
version = "1.4.0"
   68     68   
   69     69   
[dependencies.fastrand]
   70     70   
version = "2.0.0"
   71     71   
   72     72   
[dependencies.http]
   73     73   
version = "0.2.9"
   74     74   

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

@@ -28,28 +88,88 @@
   48     48   
path = "../aws-smithy-runtime-api"
   49     49   
features = ["client", "http-02x", "http-auth"]
   50     50   
version = "1.9.3"
   51     51   
   52     52   
[dependencies.aws-smithy-types]
   53     53   
path = "../aws-smithy-types"
   54     54   
version = "1.3.6"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58         -
version = "1.3.11"
          58  +
version = "1.3.12"
   59     59   
   60     60   
[dependencies.bytes]
   61     61   
version = "1.4.0"
   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   

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

@@ -28,28 +88,88 @@
   48     48   
path = "../aws-smithy-runtime-api"
   49     49   
features = ["client", "http-02x"]
   50     50   
version = "1.9.3"
   51     51   
   52     52   
[dependencies.aws-smithy-types]
   53     53   
path = "../aws-smithy-types"
   54     54   
version = "1.3.6"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58         -
version = "1.3.11"
          58  +
version = "1.3.12"
   59     59   
   60     60   
[dependencies.bytes]
   61     61   
version = "1.4.0"
   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   

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

@@ -28,28 +88,88 @@
   48     48   
path = "../aws-smithy-runtime-api"
   49     49   
features = ["client", "http-02x"]
   50     50   
version = "1.9.3"
   51     51   
   52     52   
[dependencies.aws-smithy-types]
   53     53   
path = "../aws-smithy-types"
   54     54   
version = "1.3.6"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58         -
version = "1.3.11"
          58  +
version = "1.3.12"
   59     59   
   60     60   
[dependencies.bytes]
   61     61   
version = "1.4.0"
   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   

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

@@ -36,36 +96,96 @@
   56     56   
[dependencies.aws-smithy-types]
   57     57   
path = "../aws-smithy-types"
   58     58   
version = "1.3.6"
   59     59   
   60     60   
[dependencies.aws-smithy-xml]
   61     61   
path = "../aws-smithy-xml"
   62     62   
version = "0.60.13"
   63     63   
   64     64   
[dependencies.aws-types]
   65     65   
path = "../aws-types"
   66         -
version = "1.3.11"
          66  +
version = "1.3.12"
   67     67   
   68     68   
[dependencies.fastrand]
   69     69   
version = "2.0.0"
   70     70   
   71     71   
[dependencies.http]
   72     72   
version = "0.2.9"
   73     73   
   74     74   
[dependencies.regex-lite]
   75     75   
version = "0.1.5"
   76     76   

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

@@ -28,28 +88,88 @@
   48     48   
path = "../aws-smithy-runtime-api"
   49     49   
features = ["client", "http-02x"]
   50     50   
version = "1.9.3"
   51     51   
   52     52   
[dependencies.aws-smithy-types]
   53     53   
path = "../aws-smithy-types"
   54     54   
version = "1.3.6"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58         -
version = "1.3.11"
          58  +
version = "1.3.12"
   59     59   
   60     60   
[dependencies.bytes]
   61     61   
version = "1.4.0"
   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   

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

@@ -32,32 +92,92 @@
   52     52   
path = "../aws-smithy-runtime-api"
   53     53   
features = ["client", "http-02x"]
   54     54   
version = "1.9.3"
   55     55   
   56     56   
[dependencies.aws-smithy-types]
   57     57   
path = "../aws-smithy-types"
   58     58   
version = "1.3.6"
   59     59   
   60     60   
[dependencies.aws-types]
   61     61   
path = "../aws-types"
   62         -
version = "1.3.11"
          62  +
version = "1.3.12"
   63     63   
   64     64   
[dependencies.bytes]
   65     65   
version = "1.4.0"
   66     66   
   67     67   
[dependencies.fastrand]
   68     68   
version = "2.0.0"
   69     69   
   70     70   
[dependencies.hex]
   71     71   
version = "0.4.3"
   72     72