AWS SDK

AWS SDK

rev. b089fac03cba5061dd86d9628e74511b55f01c68

Files changed:

tmp-codegen-diff/aws-sdk/sdk/polly/src/config.rs

@@ -403,403 +462,480 @@
  423    423   
  424    424   
    /// Set the auth scheme resolver for the builder
  425    425   
    ///
  426    426   
    /// # Examples
  427    427   
    /// See an example for [`Self::auth_scheme_resolver`].
  428    428   
    pub fn set_auth_scheme_resolver(&mut self, auth_scheme_resolver: impl crate::config::auth::ResolveAuthScheme + 'static) -> &mut Self {
  429    429   
        self.runtime_components
  430    430   
            .set_auth_scheme_option_resolver(::std::option::Option::Some(auth_scheme_resolver.into_shared_resolver()));
  431    431   
        self
  432    432   
    }
         433  +
         434  +
    /// Enable no authentication regardless of what authentication mechanisms operations support
         435  +
    ///
         436  +
    /// This adds [NoAuthScheme](aws_smithy_runtime::client::auth::no_auth::NoAuthScheme) as a fallback
         437  +
    /// and the auth scheme resolver will use it when no other auth schemes are applicable.
         438  +
    pub fn allow_no_auth(mut self) -> Self {
         439  +
        self.set_allow_no_auth();
         440  +
        self
         441  +
    }
         442  +
         443  +
    /// Enable no authentication regardless of what authentication mechanisms operations support
         444  +
    ///
         445  +
    /// This adds [NoAuthScheme](aws_smithy_runtime::client::auth::no_auth::NoAuthScheme) as a fallback
         446  +
    /// and the auth scheme resolver will use it when no other auth schemes are applicable.
         447  +
    pub fn set_allow_no_auth(&mut self) -> &mut Self {
         448  +
        self.push_runtime_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePluginV2::new().into_shared());
         449  +
        self
         450  +
    }
  433    451   
    /// Set the auth scheme preference for an auth scheme resolver
  434    452   
    /// (typically the default auth scheme resolver).
  435    453   
    ///
  436    454   
    /// Each operation has a predefined order of auth schemes, as determined by the service,
  437    455   
    /// for auth scheme resolution. By using the auth scheme preference, customers
  438    456   
    /// can reorder the schemes resolved by the auth scheme resolver.
  439    457   
    ///
  440    458   
    /// The preference list is intended as a hint rather than a strict override.
  441    459   
    /// Any schemes not present in the originally resolved auth schemes will be ignored.
  442    460   
    ///
@@ -1439,1457 +1499,1518 @@
 1459   1477   
    }
 1460   1478   
 1461   1479   
    let default_retry_partition = "polly";
 1462   1480   
    let default_retry_partition = match config.region() {
 1463   1481   
        Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{region}")),
 1464   1482   
        None => ::std::borrow::Cow::from(default_retry_partition),
 1465   1483   
    };
 1466   1484   
 1467   1485   
    let scope = "aws-sdk-polly";
 1468   1486   
 1469         -
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
        1487  +
    #[allow(deprecated)]
        1488  +
                    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1470   1489   
                        // defaults
 1471   1490   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1472   1491   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1473   1492   
                                .with_retry_partition_name(default_retry_partition)
 1474   1493   
                                .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature."))
 1475   1494   
                        ))
 1476   1495   
                        // user config
 1477   1496   
                        .with_client_plugin(
 1478   1497   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1479   1498   
                                .with_config(config.config.clone())

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

@@ -1,1 +106,106 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
protocol = "aws.protocols#restXml"
   15     15   
[package.metadata.docs.rs]
   16     16   
all-features = true
   17     17   
targets = ["x86_64-unknown-linux-gnu"]
   18     18   
[dependencies.aws-credential-types]
   19     19   
path = "../aws-credential-types"
   20         -
version = "1.2.11"
          20  +
version = "1.2.10"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24         -
version = "1.5.17"
          24  +
version = "1.5.16"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28         -
version = "1.2.7"
          28  +
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32         -
version = "0.62.6"
          32  +
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36         -
version = "0.61.8"
          36  +
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-runtime]
   39     39   
path = "../aws-smithy-runtime"
   40     40   
features = ["client"]
   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"]
   46         -
version = "1.9.3"
          46  +
version = "1.9.2"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50         -
version = "1.3.5"
          50  +
version = "1.3.4"
   51     51   
   52     52   
[dependencies.aws-smithy-xml]
   53     53   
path = "../aws-smithy-xml"
   54         -
version = "0.60.13"
          54  +
version = "0.60.12"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58         -
version = "1.3.11"
          58  +
version = "1.3.10"
   59     59   
   60     60   
[dependencies.fastrand]
   61     61   
version = "2.0.0"
   62     62   
   63     63   
[dependencies.http]
   64     64   
version = "0.2.9"
   65     65   
   66     66   
[dependencies.regex-lite]
   67     67   
version = "0.1.5"
   68     68   
   69     69   
[dependencies.tracing]
   70     70   
version = "0.1"
   71     71   
[dev-dependencies.aws-config]
   72     72   
path = "../aws-config"
   73         -
version = "1.8.12"
          73  +
version = "1.8.11"
   74     74   
   75     75   
[dev-dependencies.aws-credential-types]
   76     76   
path = "../aws-credential-types"
   77     77   
features = ["test-util"]
   78         -
version = "1.2.11"
          78  +
version = "1.2.10"
   79     79   
   80     80   
[dev-dependencies.aws-smithy-http-client]
   81     81   
path = "../aws-smithy-http-client"
   82     82   
features = ["test-util"]
   83         -
version = "1.1.5"
          83  +
version = "1.1.4"
   84     84   
   85     85   
[dev-dependencies.pretty_assertions]
   86     86   
version = "1.3.0"
   87     87   
   88     88   
[dev-dependencies.proptest]
   89     89   
version = "1"
   90     90   
   91     91   
[dev-dependencies.tokio]
   92     92   
version = "1.23.1"
   93     93   
features = ["macros", "test-util", "rt-multi-thread"]

tmp-codegen-diff/aws-sdk/sdk/route53/src/config.rs

@@ -403,403 +462,480 @@
  423    423   
  424    424   
    /// Set the auth scheme resolver for the builder
  425    425   
    ///
  426    426   
    /// # Examples
  427    427   
    /// See an example for [`Self::auth_scheme_resolver`].
  428    428   
    pub fn set_auth_scheme_resolver(&mut self, auth_scheme_resolver: impl crate::config::auth::ResolveAuthScheme + 'static) -> &mut Self {
  429    429   
        self.runtime_components
  430    430   
            .set_auth_scheme_option_resolver(::std::option::Option::Some(auth_scheme_resolver.into_shared_resolver()));
  431    431   
        self
  432    432   
    }
         433  +
         434  +
    /// Enable no authentication regardless of what authentication mechanisms operations support
         435  +
    ///
         436  +
    /// This adds [NoAuthScheme](aws_smithy_runtime::client::auth::no_auth::NoAuthScheme) as a fallback
         437  +
    /// and the auth scheme resolver will use it when no other auth schemes are applicable.
         438  +
    pub fn allow_no_auth(mut self) -> Self {
         439  +
        self.set_allow_no_auth();
         440  +
        self
         441  +
    }
         442  +
         443  +
    /// Enable no authentication regardless of what authentication mechanisms operations support
         444  +
    ///
         445  +
    /// This adds [NoAuthScheme](aws_smithy_runtime::client::auth::no_auth::NoAuthScheme) as a fallback
         446  +
    /// and the auth scheme resolver will use it when no other auth schemes are applicable.
         447  +
    pub fn set_allow_no_auth(&mut self) -> &mut Self {
         448  +
        self.push_runtime_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePluginV2::new().into_shared());
         449  +
        self
         450  +
    }
  433    451   
    /// Set the auth scheme preference for an auth scheme resolver
  434    452   
    /// (typically the default auth scheme resolver).
  435    453   
    ///
  436    454   
    /// Each operation has a predefined order of auth schemes, as determined by the service,
  437    455   
    /// for auth scheme resolution. By using the auth scheme preference, customers
  438    456   
    /// can reorder the schemes resolved by the auth scheme resolver.
  439    457   
    ///
  440    458   
    /// The preference list is intended as a hint rather than a strict override.
  441    459   
    /// Any schemes not present in the originally resolved auth schemes will be ignored.
  442    460   
    ///
@@ -1439,1457 +1499,1518 @@
 1459   1477   
    }
 1460   1478   
 1461   1479   
    let default_retry_partition = "route53";
 1462   1480   
    let default_retry_partition = match config.region() {
 1463   1481   
        Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{region}")),
 1464   1482   
        None => ::std::borrow::Cow::from(default_retry_partition),
 1465   1483   
    };
 1466   1484   
 1467   1485   
    let scope = "aws-sdk-route53";
 1468   1486   
 1469         -
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
        1487  +
    #[allow(deprecated)]
        1488  +
                    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1470   1489   
                        // defaults
 1471   1490   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1472   1491   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1473   1492   
                                .with_retry_partition_name(default_retry_partition)
 1474   1493   
                                .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature."))
 1475   1494   
                        ))
 1476   1495   
                        // user config
 1477   1496   
                        .with_client_plugin(
 1478   1497   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1479   1498   
                                .with_config(config.config.clone())

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_change.rs

@@ -239,239 +299,304 @@
  259    259   
#[allow(unreachable_code, unused_variables)]
  260    260   
#[cfg(test)]
  261    261   
mod get_change_test {
  262    262   
  263    263   
    /// This test validates that change id is correctly trimmed
  264    264   
    /// Test ID: GetChangeTrimChangeId
  265    265   
    #[::tokio::test]
  266    266   
    #[::tracing_test::traced_test]
  267    267   
    async fn get_change_trim_change_id_request() {
  268    268   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  269         -
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
         269  +
        let config_builder = crate::config::Config::builder()
         270  +
            .with_test_defaults()
         271  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         272  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         273  +
            .allow_no_auth()
         274  +
            .endpoint_url("https://example.com");
  270    275   
        let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
  271    276   
        let mut config_builder = config_builder;
  272    277   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  273    278   
  274    279   
        let config = config_builder.http_client(http_client).build();
  275    280   
        let client = crate::Client::from_conf(config);
  276    281   
        let result = client
  277    282   
            .get_change()
  278    283   
            .set_id(::std::option::Option::Some("/change/SOMECHANGEID".to_owned()))
  279    284   
            .send()

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/get_reusable_delegation_set.rs

@@ -244,244 +304,309 @@
  264    264   
#[allow(unreachable_code, unused_variables)]
  265    265   
#[cfg(test)]
  266    266   
mod get_reusable_delegation_set_test {
  267    267   
  268    268   
    /// This test validates that delegation set id is correctly trimmed
  269    269   
    /// Test ID: GetReusableDelegationSetTrimDelegationSetId
  270    270   
    #[::tokio::test]
  271    271   
    #[::tracing_test::traced_test]
  272    272   
    async fn get_reusable_delegation_set_trim_delegation_set_id_request() {
  273    273   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  274         -
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
         274  +
        let config_builder = crate::config::Config::builder()
         275  +
            .with_test_defaults()
         276  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         277  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         278  +
            .allow_no_auth()
         279  +
            .endpoint_url("https://example.com");
  275    280   
        let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
  276    281   
        let mut config_builder = config_builder;
  277    282   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  278    283   
  279    284   
        let config = config_builder.http_client(http_client).build();
  280    285   
        let client = crate::Client::from_conf(config);
  281    286   
        let result = client
  282    287   
            .get_reusable_delegation_set()
  283    288   
            .set_id(::std::option::Option::Some("/delegationset/DELEGATIONSETID".to_owned()))
  284    289   
            .send()

tmp-codegen-diff/aws-sdk/sdk/route53/src/operation/list_resource_record_sets.rs

@@ -273,273 +333,338 @@
  293    293   
#[allow(unreachable_code, unused_variables)]
  294    294   
#[cfg(test)]
  295    295   
mod list_resource_record_sets_test {
  296    296   
  297    297   
    /// This test validates that hosted zone is correctly trimmed
  298    298   
    /// Test ID: ListResourceRecordSetsTrimHostedZone
  299    299   
    #[::tokio::test]
  300    300   
    #[::tracing_test::traced_test]
  301    301   
    async fn list_resource_record_sets_trim_hosted_zone_request() {
  302    302   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  303         -
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
         303  +
        let config_builder = crate::config::Config::builder()
         304  +
            .with_test_defaults()
         305  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         306  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         307  +
            .allow_no_auth()
         308  +
            .endpoint_url("https://example.com");
  304    309   
        let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
  305    310   
        let mut config_builder = config_builder;
  306    311   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  307    312   
  308    313   
        let config = config_builder.http_client(http_client).build();
  309    314   
        let client = crate::Client::from_conf(config);
  310    315   
        let result = client
  311    316   
            .list_resource_record_sets()
  312    317   
            .set_hosted_zone_id(::std::option::Option::Some("/hostedzone/IDOFMYHOSTEDZONE".to_owned()))
  313    318   
            .send()

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

@@ -1,1 +202,202 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
protocol = "aws.protocols#restXml"
   15     15   
[package.metadata.docs.rs]
   16     16   
all-features = true
   17     17   
targets = ["x86_64-unknown-linux-gnu"]
   18     18   
[dependencies.aws-credential-types]
   19     19   
path = "../aws-credential-types"
   20         -
version = "1.2.11"
          20  +
version = "1.2.10"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24     24   
features = ["event-stream", "http-02x"]
   25         -
version = "1.5.17"
          25  +
version = "1.5.16"
   26     26   
   27     27   
[dependencies.aws-sigv4]
   28     28   
path = "../aws-sigv4"
   29         -
version = "1.3.7"
          29  +
version = "1.3.6"
   30     30   
   31     31   
[dependencies.aws-smithy-async]
   32     32   
path = "../aws-smithy-async"
   33         -
version = "1.2.7"
          33  +
version = "1.2.6"
   34     34   
   35     35   
[dependencies.aws-smithy-checksums]
   36     36   
path = "../aws-smithy-checksums"
   37         -
version = "0.63.12"
          37  +
version = "0.63.11"
   38     38   
   39     39   
[dependencies.aws-smithy-eventstream]
   40     40   
path = "../aws-smithy-eventstream"
   41         -
version = "0.60.14"
          41  +
version = "0.60.13"
   42     42   
   43     43   
[dependencies.aws-smithy-http]
   44     44   
path = "../aws-smithy-http"
   45     45   
features = ["event-stream"]
   46         -
version = "0.62.6"
          46  +
version = "0.62.5"
   47     47   
   48     48   
[dependencies.aws-smithy-json]
   49     49   
path = "../aws-smithy-json"
   50         -
version = "0.61.8"
          50  +
version = "0.61.7"
   51     51   
   52     52   
[dependencies.aws-smithy-runtime]
   53     53   
path = "../aws-smithy-runtime"
   54     54   
features = ["client"]
   55     55   
version = "1.9.5"
   56     56   
   57     57   
[dependencies.aws-smithy-runtime-api]
   58     58   
path = "../aws-smithy-runtime-api"
   59     59   
features = ["client", "http-02x"]
   60         -
version = "1.9.3"
          60  +
version = "1.9.2"
   61     61   
   62     62   
[dependencies.aws-smithy-types]
   63     63   
path = "../aws-smithy-types"
   64         -
version = "1.3.5"
          64  +
version = "1.3.4"
   65     65   
   66     66   
[dependencies.aws-smithy-xml]
   67     67   
path = "../aws-smithy-xml"
   68         -
version = "0.60.13"
          68  +
version = "0.60.12"
   69     69   
   70     70   
[dependencies.aws-types]
   71     71   
path = "../aws-types"
   72         -
version = "1.3.11"
          72  +
version = "1.3.10"
   73     73   
   74     74   
[dependencies.bytes]
   75     75   
version = "1.4.0"
   76     76   
   77     77   
[dependencies.fastrand]
   78     78   
version = "2.0.0"
   79     79   
   80     80   
[dependencies.hex]
   81     81   
version = "0.4.3"
   82     82   
   83     83   
[dependencies.hmac]
   84     84   
version = "0.12"
   85     85   
   86     86   
[dependencies.http]
   87     87   
version = "0.2.9"
   88     88   
   89     89   
[dependencies.http-1x]
   90     90   
version = "1"
   91     91   
package = "http"
   92     92   
   93     93   
[dependencies.http-body]
   94     94   
version = "0.4.4"
   95     95   
   96     96   
[dependencies.http-body-1x]
   97     97   
version = "1"
   98     98   
optional = true
   99     99   
package = "http-body"
  100    100   
  101    101   
[dependencies.lru]
  102    102   
version = "0.12.2"
  103    103   
  104    104   
[dependencies.percent-encoding]
  105    105   
version = "2.0.0"
  106    106   
  107    107   
[dependencies.regex-lite]
  108    108   
version = "0.1.5"
  109    109   
  110    110   
[dependencies.sha2]
  111    111   
version = "0.10"
  112    112   
  113    113   
[dependencies.tracing]
  114    114   
version = "0.1"
  115    115   
  116    116   
[dependencies.url]
  117    117   
version = "2.3.1"
  118    118   
[dev-dependencies.async-std]
  119    119   
version = "1.12.0"
  120    120   
  121    121   
[dev-dependencies.aws-config]
  122    122   
path = "../aws-config"
  123    123   
features = ["behavior-version-latest"]
  124         -
version = "1.8.12"
         124  +
version = "1.8.11"
  125    125   
  126    126   
[dev-dependencies.aws-credential-types]
  127    127   
path = "../aws-credential-types"
  128    128   
features = ["test-util"]
  129         -
version = "1.2.11"
         129  +
version = "1.2.10"
  130    130   
  131    131   
[dev-dependencies.aws-runtime]
  132    132   
path = "../aws-runtime"
  133    133   
features = ["test-util"]
  134         -
version = "1.5.17"
         134  +
version = "1.5.16"
  135    135   
  136    136   
[dev-dependencies.aws-smithy-async]
  137    137   
path = "../aws-smithy-async"
  138    138   
features = ["test-util"]
  139         -
version = "1.2.7"
         139  +
version = "1.2.6"
  140    140   
  141    141   
[dev-dependencies.aws-smithy-eventstream]
  142    142   
path = "../aws-smithy-eventstream"
  143    143   
features = ["test-util"]
  144         -
version = "0.60.14"
         144  +
version = "0.60.13"
  145    145   
  146    146   
[dev-dependencies.aws-smithy-http-client]
  147    147   
path = "../aws-smithy-http-client"
  148    148   
features = ["test-util", "wire-mock", "rustls-ring"]
  149         -
version = "1.1.5"
         149  +
version = "1.1.4"
  150    150   
  151    151   
[dev-dependencies.aws-smithy-mocks]
  152    152   
path = "../aws-smithy-mocks"
  153         -
version = "0.2.2"
         153  +
version = "0.2.1"
  154    154   
  155    155   
[dev-dependencies.aws-smithy-protocol-test]
  156    156   
path = "../aws-smithy-protocol-test"
  157         -
version = "0.63.7"
         157  +
version = "0.63.6"
  158    158   
  159    159   
[dev-dependencies.aws-smithy-runtime]
  160    160   
path = "../aws-smithy-runtime"
  161    161   
features = ["test-util"]
  162    162   
version = "1.9.5"
  163    163   
  164    164   
[dev-dependencies.aws-smithy-runtime-api]
  165    165   
path = "../aws-smithy-runtime-api"
  166    166   
features = ["test-util", "client", "http-02x"]
  167         -
version = "1.9.3"
         167  +
version = "1.9.2"
  168    168   
  169    169   
[dev-dependencies.aws-smithy-types]
  170    170   
path = "../aws-smithy-types"
  171    171   
features = ["test-util"]
  172         -
version = "1.3.5"
         172  +
version = "1.3.4"
  173    173   
  174    174   
[dev-dependencies.bytes-utils]
  175    175   
version = "0.1.0"
  176    176   
  177    177   
[dev-dependencies.futures-util]
  178    178   
version = "0.3.25"
  179    179   
features = ["alloc"]
  180    180   
default-features = false
  181    181   
  182    182   
[dev-dependencies.hdrhistogram]

tmp-codegen-diff/aws-sdk/sdk/s3/src/config.rs

@@ -440,440 +499,517 @@
  460    460   
  461    461   
    /// Set the auth scheme resolver for the builder
  462    462   
    ///
  463    463   
    /// # Examples
  464    464   
    /// See an example for [`Self::auth_scheme_resolver`].
  465    465   
    pub fn set_auth_scheme_resolver(&mut self, auth_scheme_resolver: impl crate::config::auth::ResolveAuthScheme + 'static) -> &mut Self {
  466    466   
        self.runtime_components
  467    467   
            .set_auth_scheme_option_resolver(::std::option::Option::Some(auth_scheme_resolver.into_shared_resolver()));
  468    468   
        self
  469    469   
    }
         470  +
         471  +
    /// Enable no authentication regardless of what authentication mechanisms operations support
         472  +
    ///
         473  +
    /// This adds [NoAuthScheme](aws_smithy_runtime::client::auth::no_auth::NoAuthScheme) as a fallback
         474  +
    /// and the auth scheme resolver will use it when no other auth schemes are applicable.
         475  +
    pub fn allow_no_auth(mut self) -> Self {
         476  +
        self.set_allow_no_auth();
         477  +
        self
         478  +
    }
         479  +
         480  +
    /// Enable no authentication regardless of what authentication mechanisms operations support
         481  +
    ///
         482  +
    /// This adds [NoAuthScheme](aws_smithy_runtime::client::auth::no_auth::NoAuthScheme) as a fallback
         483  +
    /// and the auth scheme resolver will use it when no other auth schemes are applicable.
         484  +
    pub fn set_allow_no_auth(&mut self) -> &mut Self {
         485  +
        self.push_runtime_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePluginV2::new().into_shared());
         486  +
        self
         487  +
    }
  470    488   
    /// Set the auth scheme preference for an auth scheme resolver
  471    489   
    /// (typically the default auth scheme resolver).
  472    490   
    ///
  473    491   
    /// Each operation has a predefined order of auth schemes, as determined by the service,
  474    492   
    /// for auth scheme resolution. By using the auth scheme preference, customers
  475    493   
    /// can reorder the schemes resolved by the auth scheme resolver.
  476    494   
    ///
  477    495   
    /// The preference list is intended as a hint rather than a strict override.
  478    496   
    /// Any schemes not present in the originally resolved auth schemes will be ignored.
  479    497   
    ///
@@ -1607,1625 +1667,1686 @@
 1627   1645   
    }
 1628   1646   
 1629   1647   
    let default_retry_partition = "s3";
 1630   1648   
    let default_retry_partition = match config.region() {
 1631   1649   
        Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{region}")),
 1632   1650   
        None => ::std::borrow::Cow::from(default_retry_partition),
 1633   1651   
    };
 1634   1652   
 1635   1653   
    let scope = "aws-sdk-s3";
 1636   1654   
 1637         -
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
        1655  +
    #[allow(deprecated)]
        1656  +
                    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1638   1657   
                        // defaults
 1639   1658   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1640   1659   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1641   1660   
                                .with_retry_partition_name(default_retry_partition)
 1642   1661   
                                .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature."))
 1643   1662   
                        ))
 1644   1663   
                        // user config
 1645   1664   
                        .with_client_plugin(
 1646   1665   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1647   1666   
                                .with_config(config.config.clone())

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/create_multipart_upload.rs

@@ -284,284 +344,349 @@
  304    304   
#[allow(unreachable_code, unused_variables)]
  305    305   
#[cfg(test)]
  306    306   
mod create_multipart_upload_test {
  307    307   
  308    308   
    /// This test validates that the URI for CreateMultipartUpload is created correctly
  309    309   
    /// Test ID: CreateMultipartUploadUriConstruction
  310    310   
    #[::tokio::test]
  311    311   
    #[::tracing_test::traced_test]
  312    312   
    async fn create_multipart_upload_uri_construction_request() {
  313    313   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  314         -
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
         314  +
        let config_builder = crate::config::Config::builder()
         315  +
            .with_test_defaults()
         316  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         317  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         318  +
            .allow_no_auth()
         319  +
            .endpoint_url("https://example.com");
  315    320   
        let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
  316    321   
        let mut config_builder = config_builder;
  317    322   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  318    323   
  319    324   
        let config = config_builder.http_client(http_client).build();
  320    325   
        let client = crate::Client::from_conf(config);
  321    326   
        let result = client
  322    327   
            .create_multipart_upload()
  323    328   
            .set_bucket(::std::option::Option::Some("test-bucket".to_owned()))
  324    329   
            .set_key(::std::option::Option::Some("object.txt".to_owned()))

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/delete_object_tagging.rs

@@ -271,271 +367,373 @@
  291    291   
    /// S3 clients should escape special characters in Object Keys
  292    292   
    /// when the Object Key is used as a URI label binding.
  293    293   
    ///
  294    294   
    /// Test ID: S3EscapeObjectKeyInUriLabel
  295    295   
    #[::tokio::test]
  296    296   
    #[::tracing_test::traced_test]
  297    297   
    async fn s3_escape_object_key_in_uri_label_request() {
  298    298   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  299    299   
        let config_builder = crate::config::Config::builder()
  300    300   
            .with_test_defaults()
         301  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         302  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         303  +
            .allow_no_auth()
  301    304   
            .endpoint_url("https://s3.us-west-2.amazonaws.com");
  302    305   
  303    306   
        let mut config_builder = config_builder;
  304    307   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  305    308   
  306    309   
        let config = config_builder.http_client(http_client).build();
  307    310   
        let client = crate::Client::from_conf(config);
  308    311   
        let result = client
  309    312   
            .delete_object_tagging()
  310    313   
            .set_bucket(::std::option::Option::Some("mybucket".to_owned()))
  311    314   
            .set_key(::std::option::Option::Some("my key.txt".to_owned()))
  312    315   
            .send()
  313    316   
            .await;
  314    317   
        let _ = dbg!(result);
  315    318   
        let http_request = request_receiver.expect_request();
  316    319   
        let expected_query_params = &["tagging"];
  317    320   
        ::aws_smithy_protocol_test::assert_ok(::aws_smithy_protocol_test::validate_query_string(&http_request, expected_query_params));
  318    321   
        let body = http_request.body().bytes().expect("body should be strict");
  319    322   
        // No body.
  320    323   
        ::pretty_assertions::assert_eq!(&body, &::bytes::Bytes::new());
  321    324   
        let uri: ::http::Uri = http_request.uri().parse().expect("invalid URI sent");
  322    325   
        ::pretty_assertions::assert_eq!(http_request.method(), "DELETE", "method was incorrect");
  323    326   
        ::pretty_assertions::assert_eq!(uri.path(), "/my%20key.txt", "path was incorrect");
  324    327   
        ::pretty_assertions::assert_eq!(uri.host().expect("host should be set"), "mybucket.s3.us-west-2.amazonaws.com");
  325    328   
    }
  326    329   
  327    330   
    /// S3 clients should preserve an Object Key representing a path
  328    331   
    /// when the Object Key is used as a URI label binding, but still
  329    332   
    /// escape special characters.
  330    333   
    ///
  331    334   
    /// Test ID: S3EscapePathObjectKeyInUriLabel
  332    335   
    #[::tokio::test]
  333    336   
    #[::tracing_test::traced_test]
  334    337   
    async fn s3_escape_path_object_key_in_uri_label_request() {
  335    338   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  336    339   
        let config_builder = crate::config::Config::builder()
  337    340   
            .with_test_defaults()
         341  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         342  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         343  +
            .allow_no_auth()
  338    344   
            .endpoint_url("https://s3.us-west-2.amazonaws.com");
  339    345   
  340    346   
        let mut config_builder = config_builder;
  341    347   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  342    348   
  343    349   
        let config = config_builder.http_client(http_client).build();
  344    350   
        let client = crate::Client::from_conf(config);
  345    351   
        let result = client
  346    352   
            .delete_object_tagging()
  347    353   
            .set_bucket(::std::option::Option::Some("mybucket".to_owned()))

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/get_object.rs

@@ -370,370 +496,507 @@
  390    390   
#[allow(unreachable_code, unused_variables)]
  391    391   
#[cfg(test)]
  392    392   
mod get_object_test {
  393    393   
  394    394   
    /// https://github.com/awslabs/aws-sdk-rust/issues/818
  395    395   
    /// Test ID: GetObjectIfModifiedSince
  396    396   
    #[::tokio::test]
  397    397   
    #[::tracing_test::traced_test]
  398    398   
    async fn get_object_if_modified_since_request() {
  399    399   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  400         -
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
         400  +
        let config_builder = crate::config::Config::builder()
         401  +
            .with_test_defaults()
         402  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         403  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         404  +
            .allow_no_auth()
         405  +
            .endpoint_url("https://example.com");
  401    406   
        let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
  402    407   
        let mut config_builder = config_builder;
  403    408   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  404    409   
  405    410   
        let config = config_builder.http_client(http_client).build();
  406    411   
        let client = crate::Client::from_conf(config);
  407    412   
        let result = client
  408    413   
            .get_object()
  409    414   
            .set_bucket(::std::option::Option::Some("test-bucket".to_owned()))
  410    415   
            .set_key(::std::option::Option::Some("object.txt".to_owned()))
  411    416   
            .set_if_modified_since(::std::option::Option::Some(::aws_smithy_types::DateTime::from_fractional_secs(
  412    417   
                1626452453, 0.123_f64,
  413    418   
            )))
  414    419   
            .send()
  415    420   
            .await;
  416    421   
        let _ = dbg!(result);
  417    422   
        let http_request = request_receiver.expect_request();
  418    423   
        let expected_headers = [("if-modified-since", "Fri, 16 Jul 2021 16:20:53 GMT")];
  419    424   
        ::aws_smithy_protocol_test::assert_ok(::aws_smithy_protocol_test::validate_headers(http_request.headers(), expected_headers));
  420    425   
        let uri: ::http::Uri = http_request.uri().parse().expect("invalid URI sent");
  421    426   
        ::pretty_assertions::assert_eq!(http_request.method(), "GET", "method was incorrect");
  422    427   
        ::pretty_assertions::assert_eq!(uri.path(), "/object.txt", "path was incorrect");
  423    428   
    }
  424    429   
  425    430   
    /// S3 clients should not remove dot segments from request paths.
  426    431   
    ///
  427    432   
    /// Test ID: S3PreservesLeadingDotSegmentInUriLabel
  428    433   
    #[::tokio::test]
  429    434   
    #[::tracing_test::traced_test]
  430    435   
    async fn s3_preserves_leading_dot_segment_in_uri_label_request() {
  431    436   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  432    437   
        let config_builder = crate::config::Config::builder()
  433    438   
            .with_test_defaults()
         439  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         440  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         441  +
            .allow_no_auth()
  434    442   
            .endpoint_url("https://s3.us-west-2.amazonaws.com");
  435    443   
  436    444   
        let mut config_builder = config_builder;
  437    445   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  438    446   
  439    447   
        let config = config_builder.http_client(http_client).build();
  440    448   
        let client = crate::Client::from_conf(config);
  441    449   
        let result = client
  442    450   
            .get_object()
  443    451   
            .set_bucket(::std::option::Option::Some("mybucket".to_owned()))
  444    452   
            .set_key(::std::option::Option::Some("../key.txt".to_owned()))
  445    453   
            .send()
  446    454   
            .await;
  447    455   
        let _ = dbg!(result);
  448    456   
        let http_request = request_receiver.expect_request();
  449    457   
        let body = http_request.body().bytes().expect("body should be strict");
  450    458   
        // No body.
  451    459   
        ::pretty_assertions::assert_eq!(&body, &::bytes::Bytes::new());
  452    460   
        let uri: ::http::Uri = http_request.uri().parse().expect("invalid URI sent");
  453    461   
        ::pretty_assertions::assert_eq!(http_request.method(), "GET", "method was incorrect");
  454    462   
        ::pretty_assertions::assert_eq!(uri.path(), "/../key.txt", "path was incorrect");
  455    463   
        ::pretty_assertions::assert_eq!(uri.host().expect("host should be set"), "mybucket.s3.us-west-2.amazonaws.com");
  456    464   
    }
  457    465   
  458    466   
    /// S3 clients should not remove dot segments from request paths.
  459    467   
    ///
  460    468   
    /// Test ID: S3PreservesEmbeddedDotSegmentInUriLabel
  461    469   
    #[::tokio::test]
  462    470   
    #[::tracing_test::traced_test]
  463    471   
    async fn s3_preserves_embedded_dot_segment_in_uri_label_request() {
  464    472   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  465    473   
        let config_builder = crate::config::Config::builder()
  466    474   
            .with_test_defaults()
         475  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         476  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         477  +
            .allow_no_auth()
  467    478   
            .endpoint_url("https://s3.us-west-2.amazonaws.com");
  468    479   
  469    480   
        let mut config_builder = config_builder;
  470    481   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  471    482   
  472    483   
        let config = config_builder.http_client(http_client).build();
  473    484   
        let client = crate::Client::from_conf(config);
  474    485   
        let result = client
  475    486   
            .get_object()
  476    487   
            .set_bucket(::std::option::Option::Some("mybucket".to_owned()))

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/head_object.rs

@@ -319,319 +379,384 @@
  339    339   
#[allow(unreachable_code, unused_variables)]
  340    340   
#[cfg(test)]
  341    341   
mod head_object_test {
  342    342   
  343    343   
    /// https://github.com/awslabs/aws-sdk-rust/issues/331
  344    344   
    /// Test ID: HeadObjectUriEncoding
  345    345   
    #[::tokio::test]
  346    346   
    #[::tracing_test::traced_test]
  347    347   
    async fn head_object_uri_encoding_request() {
  348    348   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  349         -
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
         349  +
        let config_builder = crate::config::Config::builder()
         350  +
            .with_test_defaults()
         351  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         352  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         353  +
            .allow_no_auth()
         354  +
            .endpoint_url("https://example.com");
  350    355   
        let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
  351    356   
        let mut config_builder = config_builder;
  352    357   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  353    358   
  354    359   
        let config = config_builder.http_client(http_client).build();
  355    360   
        let client = crate::Client::from_conf(config);
  356    361   
        let result = client
  357    362   
            .head_object()
  358    363   
            .set_bucket(::std::option::Option::Some("test-bucket".to_owned()))
  359    364   
            .set_key(::std::option::Option::Some("<> `?🐱".to_owned()))

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_bucket_lifecycle_configuration.rs

@@ -342,342 +402,407 @@
  362    362   
#[allow(unreachable_code, unused_variables)]
  363    363   
#[cfg(test)]
  364    364   
mod put_bucket_lifecycle_configuration_test {
  365    365   
  366    366   
    /// This test validates that the content md5 header is set correctly
  367    367   
    /// Test ID: PutBucketLifecycleConfiguration
  368    368   
    #[::tokio::test]
  369    369   
    #[::tracing_test::traced_test]
  370    370   
    async fn put_bucket_lifecycle_configuration_request() {
  371    371   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  372         -
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
         372  +
        let config_builder = crate::config::Config::builder()
         373  +
            .with_test_defaults()
         374  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         375  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         376  +
            .allow_no_auth()
         377  +
            .endpoint_url("https://example.com");
  373    378   
        let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
  374    379   
        let mut config_builder = config_builder;
  375    380   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  376    381   
  377    382   
        let config = config_builder.http_client(http_client).build();
  378    383   
        let client = crate::Client::from_conf(config);
  379    384   
        let result = client
  380    385   
            .put_bucket_lifecycle_configuration()
  381    386   
            .set_bucket(::std::option::Option::Some("test-bucket".to_owned()))
  382    387   
            .set_lifecycle_configuration(::std::option::Option::Some(

tmp-codegen-diff/aws-sdk/sdk/s3/src/operation/put_object.rs

@@ -339,339 +428,438 @@
  359    359   
#[allow(unreachable_code, unused_variables)]
  360    360   
#[cfg(test)]
  361    361   
mod put_object_test {
  362    362   
  363    363   
    /// This test validates that if a content-type is specified, that only one content-type header is sent
  364    364   
    /// Test ID: DontSendDuplicateContentType
  365    365   
    #[::tokio::test]
  366    366   
    #[::tracing_test::traced_test]
  367    367   
    async fn dont_send_duplicate_content_type_request() {
  368    368   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  369         -
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
         369  +
        let config_builder = crate::config::Config::builder()
         370  +
            .with_test_defaults()
         371  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         372  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         373  +
            .allow_no_auth()
         374  +
            .endpoint_url("https://example.com");
  370    375   
        let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
  371    376   
        let mut config_builder = config_builder;
  372    377   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  373    378   
  374    379   
        let config = config_builder.http_client(http_client).build();
  375    380   
        let client = crate::Client::from_conf(config);
  376    381   
        let result = client
  377    382   
            .put_object()
  378    383   
            .set_bucket(::std::option::Option::Some("test-bucket".to_owned()))
  379    384   
            .set_key(::std::option::Option::Some("test-key".to_owned()))
  380    385   
            .set_content_type(::std::option::Option::Some("text/html".to_owned()))
  381    386   
            .send()
  382    387   
            .await;
  383    388   
        let _ = dbg!(result);
  384    389   
        let http_request = request_receiver.expect_request();
  385    390   
        let expected_headers = [("content-type", "text/html")];
  386    391   
        ::aws_smithy_protocol_test::assert_ok(::aws_smithy_protocol_test::validate_headers(http_request.headers(), expected_headers));
  387    392   
        let uri: ::http::Uri = http_request.uri().parse().expect("invalid URI sent");
  388    393   
        ::pretty_assertions::assert_eq!(http_request.method(), "PUT", "method was incorrect");
  389    394   
        ::pretty_assertions::assert_eq!(uri.path(), "/test-key", "path was incorrect");
  390    395   
    }
  391    396   
  392    397   
    /// This test validates that if a content-length is specified, that only one content-length header is sent
  393    398   
    /// Test ID: DontSendDuplicateContentLength
  394    399   
    #[::tokio::test]
  395    400   
    #[::tracing_test::traced_test]
  396    401   
    async fn dont_send_duplicate_content_length_request() {
  397    402   
        let (http_client, request_receiver) = ::aws_smithy_http_client::test_util::capture_request(None);
  398         -
        let config_builder = crate::config::Config::builder().with_test_defaults().endpoint_url("https://example.com");
         403  +
        let config_builder = crate::config::Config::builder()
         404  +
            .with_test_defaults()
         405  +
            // TODO(https://github.com/smithy-lang/smithy-rs/issues/4177):
         406  +
            //  Until the incorrect separation is addressed, we need to rely on this workaround.
         407  +
            .allow_no_auth()
         408  +
            .endpoint_url("https://example.com");
  399    409   
        let config_builder = config_builder.region(::aws_types::region::Region::new("us-east-1"));
  400    410   
        let mut config_builder = config_builder;
  401    411   
        config_builder.set_region(Some(crate::config::Region::new("us-east-1")));
  402    412   
  403    413   
        let config = config_builder.http_client(http_client).build();
  404    414   
        let client = crate::Client::from_conf(config);
  405    415   
        let result = client
  406    416   
            .put_object()
  407    417   
            .set_bucket(::std::option::Option::Some("test-bucket".to_owned()))
  408    418   
            .set_key(::std::option::Option::Some("test-key".to_owned()))

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

@@ -1,1 +148,148 @@
   10     10   
rust-version = "1.88.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
protocol = "aws.protocols#restXml"
   15     15   
[package.metadata.docs.rs]
   16     16   
all-features = true
   17     17   
targets = ["x86_64-unknown-linux-gnu"]
   18     18   
[dependencies.aws-credential-types]
   19     19   
path = "../aws-credential-types"
   20         -
version = "1.2.11"
          20  +
version = "1.2.10"
   21     21   
   22     22   
[dependencies.aws-runtime]
   23     23   
path = "../aws-runtime"
   24         -
version = "1.5.17"
          24  +
version = "1.5.16"
   25     25   
   26     26   
[dependencies.aws-smithy-async]
   27     27   
path = "../aws-smithy-async"
   28         -
version = "1.2.7"
          28  +
version = "1.2.6"
   29     29   
   30     30   
[dependencies.aws-smithy-http]
   31     31   
path = "../aws-smithy-http"
   32         -
version = "0.62.6"
          32  +
version = "0.62.5"
   33     33   
   34     34   
[dependencies.aws-smithy-json]
   35     35   
path = "../aws-smithy-json"
   36         -
version = "0.61.8"
          36  +
version = "0.61.7"
   37     37   
   38     38   
[dependencies.aws-smithy-runtime]
   39     39   
path = "../aws-smithy-runtime"
   40     40   
features = ["client"]
   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"]
   46         -
version = "1.9.3"
          46  +
version = "1.9.2"
   47     47   
   48     48   
[dependencies.aws-smithy-types]
   49     49   
path = "../aws-smithy-types"
   50         -
version = "1.3.5"
          50  +
version = "1.3.4"
   51     51   
   52     52   
[dependencies.aws-smithy-xml]
   53     53   
path = "../aws-smithy-xml"
   54         -
version = "0.60.13"
          54  +
version = "0.60.12"
   55     55   
   56     56   
[dependencies.aws-types]
   57     57   
path = "../aws-types"
   58         -
version = "1.3.11"
          58  +
version = "1.3.10"
   59     59   
   60     60   
[dependencies.fastrand]
   61     61   
version = "2.0.0"
   62     62   
   63     63   
[dependencies.http]
   64     64   
version = "0.2.9"
   65     65   
   66     66   
[dependencies.md-5]
   67     67   
version = "0.10.0"
   68     68   
   69     69   
[dependencies.regex-lite]
   70     70   
version = "0.1.5"
   71     71   
   72     72   
[dependencies.tracing]
   73     73   
version = "0.1"
   74     74   
   75     75   
[dependencies.url]
   76     76   
version = "2.3.1"
   77     77   
[dev-dependencies.aws-config]
   78     78   
path = "../aws-config"
   79         -
version = "1.8.12"
          79  +
version = "1.8.11"
   80     80   
   81     81   
[dev-dependencies.aws-credential-types]
   82     82   
path = "../aws-credential-types"
   83     83   
features = ["test-util"]
   84         -
version = "1.2.11"
          84  +
version = "1.2.10"
   85     85   
   86     86   
[dev-dependencies.aws-runtime]
   87     87   
path = "../aws-runtime"
   88     88   
features = ["test-util"]
   89         -
version = "1.5.17"
          89  +
version = "1.5.16"
   90     90   
   91     91   
[dev-dependencies.aws-smithy-async]
   92     92   
path = "../aws-smithy-async"
   93     93   
features = ["test-util"]
   94         -
version = "1.2.7"
          94  +
version = "1.2.6"
   95     95   
   96     96   
[dev-dependencies.aws-smithy-http-client]
   97     97   
path = "../aws-smithy-http-client"
   98     98   
features = ["test-util", "wire-mock"]
   99         -
version = "1.1.5"
          99  +
version = "1.1.4"
  100    100   
  101    101   
[dev-dependencies.aws-smithy-protocol-test]
  102    102   
path = "../aws-smithy-protocol-test"
  103         -
version = "0.63.7"
         103  +
version = "0.63.6"
  104    104   
  105    105   
[dev-dependencies.aws-smithy-runtime]
  106    106   
path = "../aws-smithy-runtime"
  107    107   
features = ["test-util"]
  108    108   
version = "1.9.5"
  109    109   
  110    110   
[dev-dependencies.aws-smithy-runtime-api]
  111    111   
path = "../aws-smithy-runtime-api"
  112    112   
features = ["test-util"]
  113         -
version = "1.9.3"
         113  +
version = "1.9.2"
  114    114   
  115    115   
[dev-dependencies.aws-smithy-types]
  116    116   
path = "../aws-smithy-types"
  117    117   
features = ["test-util"]
  118         -
version = "1.3.5"
         118  +
version = "1.3.4"
  119    119   
  120    120   
[dev-dependencies.futures-util]
  121    121   
version = "0.3.25"
  122    122   
features = ["alloc"]
  123    123   
default-features = false
  124    124   
  125    125   
[dev-dependencies.http-1x]
  126    126   
version = "1"
  127    127   
package = "http"
  128    128   

tmp-codegen-diff/aws-sdk/sdk/s3control/src/config.rs

@@ -420,420 +479,497 @@
  440    440   
  441    441   
    /// Set the auth scheme resolver for the builder
  442    442   
    ///
  443    443   
    /// # Examples
  444    444   
    /// See an example for [`Self::auth_scheme_resolver`].
  445    445   
    pub fn set_auth_scheme_resolver(&mut self, auth_scheme_resolver: impl crate::config::auth::ResolveAuthScheme + 'static) -> &mut Self {
  446    446   
        self.runtime_components
  447    447   
            .set_auth_scheme_option_resolver(::std::option::Option::Some(auth_scheme_resolver.into_shared_resolver()));
  448    448   
        self
  449    449   
    }
         450  +
         451  +
    /// Enable no authentication regardless of what authentication mechanisms operations support
         452  +
    ///
         453  +
    /// This adds [NoAuthScheme](aws_smithy_runtime::client::auth::no_auth::NoAuthScheme) as a fallback
         454  +
    /// and the auth scheme resolver will use it when no other auth schemes are applicable.
         455  +
    pub fn allow_no_auth(mut self) -> Self {
         456  +
        self.set_allow_no_auth();
         457  +
        self
         458  +
    }
         459  +
         460  +
    /// Enable no authentication regardless of what authentication mechanisms operations support
         461  +
    ///
         462  +
    /// This adds [NoAuthScheme](aws_smithy_runtime::client::auth::no_auth::NoAuthScheme) as a fallback
         463  +
    /// and the auth scheme resolver will use it when no other auth schemes are applicable.
         464  +
    pub fn set_allow_no_auth(&mut self) -> &mut Self {
         465  +
        self.push_runtime_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePluginV2::new().into_shared());
         466  +
        self
         467  +
    }
  450    468   
    /// Set the auth scheme preference for an auth scheme resolver
  451    469   
    /// (typically the default auth scheme resolver).
  452    470   
    ///
  453    471   
    /// Each operation has a predefined order of auth schemes, as determined by the service,
  454    472   
    /// for auth scheme resolution. By using the auth scheme preference, customers
  455    473   
    /// can reorder the schemes resolved by the auth scheme resolver.
  456    474   
    ///
  457    475   
    /// The preference list is intended as a hint rather than a strict override.
  458    476   
    /// Any schemes not present in the originally resolved auth schemes will be ignored.
  459    477   
    ///
@@ -1468,1486 +1528,1547 @@
 1488   1506   
    }
 1489   1507   
 1490   1508   
    let default_retry_partition = "s3control";
 1491   1509   
    let default_retry_partition = match config.region() {
 1492   1510   
        Some(region) => ::std::borrow::Cow::from(format!("{default_retry_partition}-{region}")),
 1493   1511   
        None => ::std::borrow::Cow::from(default_retry_partition),
 1494   1512   
    };
 1495   1513   
 1496   1514   
    let scope = "aws-sdk-s3control";
 1497   1515   
 1498         -
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
        1516  +
    #[allow(deprecated)]
        1517  +
                    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1499   1518   
                        // defaults
 1500   1519   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1501   1520   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1502   1521   
                                .with_retry_partition_name(default_retry_partition)
 1503   1522   
                                .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature."))
 1504   1523   
                        ))
 1505   1524   
                        // user config
 1506   1525   
                        .with_client_plugin(
 1507   1526   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1508   1527   
                                .with_config(config.config.clone())