AWS SDK

AWS SDK

rev. 1e7018fc9a25dd7caff799b2ab60fd2409b368a5 (ignoring whitespace)

Files changed:

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"
   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-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() {