AWS SDK

AWS SDK

rev. 1661690c47759989ca94986fb8d3e5132fc72dc5

Files changed:

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

@@ -251,251 +345,346 @@
  271    271   
    /// let config = builder.build();
  272    272   
    /// # }
  273    273   
    /// # }
  274    274   
    /// ```
  275    275   
    pub fn set_http_client(&mut self, http_client: Option<crate::config::SharedHttpClient>) -> &mut Self {
  276    276   
        self.runtime_components.set_http_client(http_client);
  277    277   
        self
  278    278   
    }
  279    279   
    /// Sets the endpoint resolver to use when making requests.
  280    280   
    ///
  281         -
         281  +
    ///
  282    282   
    /// When unset, the client will used a generated endpoint resolver based on the endpoint resolution
  283    283   
    /// rules for `aws_sdk_cloudwatchlogs`.
  284         -
         284  +
    ///
  285    285   
    ///
  286    286   
    /// Note: setting an endpoint resolver will replace any endpoint URL that has been set.
  287    287   
    /// This method accepts an endpoint resolver [specific to this service](crate::config::endpoint::ResolveEndpoint). If you want to
  288    288   
    /// provide a shared endpoint resolver, use [`Self::set_endpoint_resolver`].
  289    289   
    ///
  290    290   
    /// # Examples
  291    291   
    /// Create a custom endpoint resolver that resolves a different endpoing per-stage, e.g. staging vs. production.
  292    292   
    /// ```no_run
  293    293   
    /// use aws_sdk_cloudwatchlogs::config::endpoint::{ResolveEndpoint, EndpointFuture, Params, Endpoint};
  294    294   
    /// #[derive(Debug)]
  295    295   
    /// struct StageResolver { stage: String }
  296    296   
    /// impl ResolveEndpoint for StageResolver {
  297    297   
    ///     fn resolve_endpoint(&self, params: &Params) -> EndpointFuture<'_> {
  298    298   
    ///         let stage = &self.stage;
  299    299   
    ///         EndpointFuture::ready(Ok(Endpoint::builder().url(format!("{stage}.myservice.com")).build()))
  300    300   
    ///     }
  301    301   
    /// }
  302    302   
    /// let resolver = StageResolver { stage: std::env::var("STAGE").unwrap() };
  303    303   
    /// let config = aws_sdk_cloudwatchlogs::Config::builder().endpoint_resolver(resolver).build();
  304    304   
    /// let client = aws_sdk_cloudwatchlogs::Client::from_conf(config);
  305    305   
    /// ```
  306    306   
    pub fn endpoint_resolver(mut self, endpoint_resolver: impl crate::config::endpoint::ResolveEndpoint + 'static) -> Self {
  307    307   
        self.set_endpoint_resolver(::std::option::Option::Some(endpoint_resolver.into_shared_resolver()));
  308    308   
        self
  309    309   
    }
  310    310   
  311    311   
    /// Sets the endpoint resolver to use when making requests.
  312    312   
    ///
  313         -
         313  +
    ///
  314    314   
    /// When unset, the client will used a generated endpoint resolver based on the endpoint resolution
  315    315   
    /// rules for `aws_sdk_cloudwatchlogs`.
         316  +
    ///
  316    317   
    pub fn set_endpoint_resolver(
  317    318   
        &mut self,
  318    319   
        endpoint_resolver: ::std::option::Option<::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver>,
  319    320   
    ) -> &mut Self {
  320    321   
        self.runtime_components.set_endpoint_resolver(endpoint_resolver);
  321    322   
        self
  322    323   
    }
  323    324   
    /// Set the retry_config for the builder
  324    325   
    ///
  325    326   
    /// # Examples
@@ -491,492 +597,598 @@
  511    512   
    ///     .identity_cache(
  512    513   
    ///         IdentityCache::lazy()
  513    514   
    ///             // change the load timeout to 10 seconds
  514    515   
    ///             .load_timeout(Duration::from_secs(10))
  515    516   
    ///             .build()
  516    517   
    ///     )
  517    518   
    ///     // ...
  518    519   
    ///     .build();
  519    520   
    /// let client = aws_sdk_cloudwatchlogs::Client::from_conf(config);
  520    521   
    /// ```
  521         -
         522  +
    ///
  522    523   
    pub fn identity_cache(mut self, identity_cache: impl crate::config::ResolveCachedIdentity + 'static) -> Self {
  523    524   
        self.set_identity_cache(identity_cache);
  524    525   
        self
  525    526   
    }
  526    527   
  527    528   
    /// Set the identity cache for auth.
  528    529   
    ///
  529    530   
    /// The identity cache defaults to a lazy caching implementation that will resolve
  530    531   
    /// an identity when it is requested, and place it in the cache thereafter. Subsequent
  531    532   
    /// requests will take the value from the cache while it is still valid. Once it expires,
  532    533   
    /// the next request will result in refreshing the identity.
  533    534   
    ///
  534    535   
    /// This configuration allows you to disable or change the default caching mechanism.
  535    536   
    /// To use a custom caching mechanism, implement the [`ResolveCachedIdentity`](crate::config::ResolveCachedIdentity)
  536    537   
    /// trait and pass that implementation into this function.
  537    538   
    ///
  538    539   
    /// # Examples
  539    540   
    ///
  540    541   
    /// Disabling identity caching:
  541    542   
    /// ```no_run
  542    543   
    /// use aws_sdk_cloudwatchlogs::config::IdentityCache;
  543    544   
    ///
  544    545   
    /// let config = aws_sdk_cloudwatchlogs::Config::builder()
  545    546   
    ///     .identity_cache(IdentityCache::no_cache())
  546    547   
    ///     // ...
  547    548   
    ///     .build();
  548    549   
    /// let client = aws_sdk_cloudwatchlogs::Client::from_conf(config);
  549    550   
    /// ```
  550    551   
    ///
  551    552   
    /// Customizing lazy caching:
  552    553   
    /// ```no_run
  553    554   
    /// use aws_sdk_cloudwatchlogs::config::IdentityCache;
  554    555   
    /// use std::time::Duration;
  555    556   
    ///
  556    557   
    /// let config = aws_sdk_cloudwatchlogs::Config::builder()
  557    558   
    ///     .identity_cache(
  558    559   
    ///         IdentityCache::lazy()
  559    560   
    ///             // change the load timeout to 10 seconds
  560    561   
    ///             .load_timeout(Duration::from_secs(10))
  561    562   
    ///             .build()
  562    563   
    ///     )
  563    564   
    ///     // ...
  564    565   
    ///     .build();
  565    566   
    /// let client = aws_sdk_cloudwatchlogs::Client::from_conf(config);
  566    567   
    /// ```
  567         -
         568  +
    ///
  568    569   
    pub fn set_identity_cache(&mut self, identity_cache: impl crate::config::ResolveCachedIdentity + 'static) -> &mut Self {
  569    570   
        self.runtime_components.set_identity_cache(::std::option::Option::Some(identity_cache));
  570    571   
        self
  571    572   
    }
  572    573   
    /// Add an [interceptor](crate::config::Intercept) that runs at specific stages of the request execution pipeline.
  573    574   
    ///
  574    575   
    /// Interceptors targeted at a certain stage are executed according to the pre-defined priority.
  575    576   
    /// The SDK provides a default set of interceptors. An interceptor configured by this method
  576    577   
    /// will run after those default interceptors.
  577    578   
    ///
@@ -889,890 +959,960 @@
  909    910   
    /// Overrides the default invocation ID generator.
  910    911   
    ///
  911    912   
    /// The invocation ID generator generates ID values for the `amz-sdk-invocation-id` header. By default, this will be a random UUID. Overriding it may be useful in tests that examine the HTTP request and need to be deterministic.
  912    913   
    pub fn set_invocation_id_generator(
  913    914   
        &mut self,
  914    915   
        gen: ::std::option::Option<::aws_runtime::invocation_id::SharedInvocationIdGenerator>,
  915    916   
    ) -> &mut Self {
  916    917   
        self.config.store_or_unset(gen);
  917    918   
        self
  918    919   
    }
  919         -
    /// Sets the endpoint URL used to communicate with this service
  920         -
         920  +
    /// Sets the endpoint URL used to communicate with this service.
         921  +
    ///
  921    922   
    /// Note: this is used in combination with other endpoint rules, e.g. an API that applies a host-label prefix
  922    923   
    /// will be prefixed onto this URL. To fully override the endpoint resolver, use
  923    924   
    /// [`Builder::endpoint_resolver`].
  924    925   
    pub fn endpoint_url(mut self, endpoint_url: impl Into<::std::string::String>) -> Self {
  925    926   
        self.set_endpoint_url(Some(endpoint_url.into()));
  926    927   
        self
  927    928   
    }
  928         -
    /// Sets the endpoint URL used to communicate with this service
  929         -
         929  +
    /// Sets the endpoint URL used to communicate with this service.
         930  +
    ///
  930    931   
    /// Note: this is used in combination with other endpoint rules, e.g. an API that applies a host-label prefix
  931    932   
    /// will be prefixed onto this URL. To fully override the endpoint resolver, use
  932    933   
    /// [`Builder::endpoint_resolver`].
  933    934   
    pub fn set_endpoint_url(&mut self, endpoint_url: Option<::std::string::String>) -> &mut Self {
  934    935   
        self.config.store_or_unset(endpoint_url.map(::aws_types::endpoint_config::EndpointUrl));
  935    936   
        self
  936    937   
    }
  937    938   
    /// When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
  938    939   
    pub fn use_dual_stack(mut self, use_dual_stack: impl Into<bool>) -> Self {
  939    940   
        self.set_use_dual_stack(Some(use_dual_stack.into()));
@@ -991,992 +1086,1087 @@
 1011   1012   
    /// Customizing behavior major version:
 1012   1013   
    /// ```no_run
 1013   1014   
    /// use aws_sdk_cloudwatchlogs::config::BehaviorVersion;
 1014   1015   
    ///
 1015   1016   
    /// let config = aws_sdk_cloudwatchlogs::Config::builder()
 1016   1017   
    ///     .behavior_version(BehaviorVersion::v2023_11_09())
 1017   1018   
    ///     // ...
 1018   1019   
    ///     .build();
 1019   1020   
    /// let client = aws_sdk_cloudwatchlogs::Client::from_conf(config);
 1020   1021   
    /// ```
 1021         -
        1022  +
    ///
 1022   1023   
    pub fn behavior_version(mut self, behavior_version: crate::config::BehaviorVersion) -> Self {
 1023   1024   
        self.set_behavior_version(Some(behavior_version));
 1024   1025   
        self
 1025   1026   
    }
 1026   1027   
 1027   1028   
    /// Sets the [`behavior major version`](crate::config::BehaviorVersion).
 1028   1029   
    ///
 1029   1030   
    /// Over time, new best-practice behaviors are introduced. However, these behaviors might not be backwards
 1030   1031   
    /// compatible. For example, a change which introduces new default timeouts or a new retry-mode for
 1031   1032   
    /// all operations might be the ideal behavior but could break existing applications.
 1032   1033   
    ///
 1033   1034   
    /// # Examples
 1034   1035   
    ///
 1035   1036   
    /// Set the behavior major version to `latest`. This is equivalent to enabling the `behavior-version-latest` cargo feature.
 1036   1037   
    /// ```no_run
 1037   1038   
    /// use aws_sdk_cloudwatchlogs::config::BehaviorVersion;
 1038   1039   
    ///
 1039   1040   
    /// let config = aws_sdk_cloudwatchlogs::Config::builder()
 1040   1041   
    ///     .behavior_version(BehaviorVersion::latest())
 1041   1042   
    ///     // ...
 1042   1043   
    ///     .build();
 1043   1044   
    /// let client = aws_sdk_cloudwatchlogs::Client::from_conf(config);
 1044   1045   
    /// ```
 1045   1046   
    ///
 1046   1047   
    /// Customizing behavior major version:
 1047   1048   
    /// ```no_run
 1048   1049   
    /// use aws_sdk_cloudwatchlogs::config::BehaviorVersion;
 1049   1050   
    ///
 1050   1051   
    /// let config = aws_sdk_cloudwatchlogs::Config::builder()
 1051   1052   
    ///     .behavior_version(BehaviorVersion::v2023_11_09())
 1052   1053   
    ///     // ...
 1053   1054   
    ///     .build();
 1054   1055   
    /// let client = aws_sdk_cloudwatchlogs::Client::from_conf(config);
 1055   1056   
    /// ```
 1056         -
        1057  +
    ///
 1057   1058   
    pub fn set_behavior_version(&mut self, behavior_version: Option<crate::config::BehaviorVersion>) -> &mut Self {
 1058   1059   
        self.behavior_version = behavior_version;
 1059   1060   
        self
 1060   1061   
    }
 1061   1062   
 1062   1063   
    /// Convenience method to set the latest behavior major version
 1063   1064   
    ///
 1064   1065   
    /// This is equivalent to enabling the `behavior-version-latest` Cargo feature
 1065   1066   
    pub fn behavior_version_latest(mut self) -> Self {
 1066   1067   
        self.set_behavior_version(Some(crate::config::BehaviorVersion::latest()));
@@ -1149,1150 +1209,1210 @@
 1169   1170   
    }
 1170   1171   
 1171   1172   
    fn runtime_components(
 1172   1173   
        &self,
 1173   1174   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
 1174   1175   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
 1175   1176   
        ::std::borrow::Cow::Borrowed(&self.runtime_components)
 1176   1177   
    }
 1177   1178   
}
 1178   1179   
 1179         -
/// Cross-operation shared-state singletons
        1180  +
// Cross-operation shared-state singletons
 1180   1181   
 1181   1182   
/// A plugin that enables configuration for a single operation invocation
 1182   1183   
///
 1183   1184   
/// The `config` method will return a `FrozenLayer` by storing values from `config_override`.
 1184   1185   
/// In the case of default values requested, they will be obtained from `client_config`.
 1185   1186   
#[derive(Debug)]
 1186   1187   
pub(crate) struct ConfigOverrideRuntimePlugin {
 1187   1188   
    pub(crate) config: ::aws_smithy_types::config_bag::FrozenLayer,
 1188   1189   
    pub(crate) components: ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
 1189   1190   
}

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

@@ -13,13 +73,73 @@
   33     33   
pub(crate) struct Partition<'a> {
   34     34   
    name: &'a str,
   35     35   
    dns_suffix: &'a str,
   36     36   
    dual_stack_dns_suffix: &'a str,
   37     37   
    supports_fips: bool,
   38     38   
    supports_dual_stack: bool,
   39     39   
    implicit_global_region: &'a str,
   40     40   
}
   41     41   
   42     42   
#[allow(unused)]
   43         -
impl<'a> Partition<'a> {
          43  +
impl Partition<'_> {
   44     44   
    pub(crate) fn name(&self) -> &str {
   45     45   
        self.name
   46     46   
    }
   47     47   
   48     48   
    pub(crate) fn dns_suffix(&self) -> &str {
   49     49   
        self.dns_suffix
   50     50   
    }
   51     51   
   52     52   
    pub(crate) fn supports_fips(&self) -> bool {
   53     53   
        self.supports_fips

tmp-codegen-diff/aws-sdk/sdk/cloudwatchlogs/src/lens.rs

@@ -115,115 +270,231 @@
  135    135   
    let input = match &input.next_token {
  136    136   
        ::std::option::Option::None => return ::std::option::Option::None,
  137    137   
        ::std::option::Option::Some(t) => t,
  138    138   
    };
  139    139   
    ::std::option::Option::Some(input)
  140    140   
}
  141    141   
  142    142   
pub(crate) fn lens_describe_configuration_templates_output_output_configuration_templates(
  143    143   
    input: crate::operation::describe_configuration_templates::DescribeConfigurationTemplatesOutput,
  144    144   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ConfigurationTemplate>> {
  145         -
    let input = match input.configuration_templates {
  146         -
        ::std::option::Option::None => return ::std::option::Option::None,
  147         -
        ::std::option::Option::Some(t) => t,
  148         -
    };
         145  +
    let input = input.configuration_templates?;
  149    146   
    ::std::option::Option::Some(input)
  150    147   
}
  151    148   
  152    149   
pub(crate) fn lens_describe_deliveries_output_output_deliveries(
  153    150   
    input: crate::operation::describe_deliveries::DescribeDeliveriesOutput,
  154    151   
) -> ::std::option::Option<::std::vec::Vec<crate::types::Delivery>> {
  155         -
    let input = match input.deliveries {
  156         -
        ::std::option::Option::None => return ::std::option::Option::None,
  157         -
        ::std::option::Option::Some(t) => t,
  158         -
    };
         152  +
    let input = input.deliveries?;
  159    153   
    ::std::option::Option::Some(input)
  160    154   
}
  161    155   
  162    156   
pub(crate) fn lens_describe_delivery_destinations_output_output_delivery_destinations(
  163    157   
    input: crate::operation::describe_delivery_destinations::DescribeDeliveryDestinationsOutput,
  164    158   
) -> ::std::option::Option<::std::vec::Vec<crate::types::DeliveryDestination>> {
  165         -
    let input = match input.delivery_destinations {
  166         -
        ::std::option::Option::None => return ::std::option::Option::None,
  167         -
        ::std::option::Option::Some(t) => t,
  168         -
    };
         159  +
    let input = input.delivery_destinations?;
  169    160   
    ::std::option::Option::Some(input)
  170    161   
}
  171    162   
  172    163   
pub(crate) fn lens_describe_delivery_sources_output_output_delivery_sources(
  173    164   
    input: crate::operation::describe_delivery_sources::DescribeDeliverySourcesOutput,
  174    165   
) -> ::std::option::Option<::std::vec::Vec<crate::types::DeliverySource>> {
  175         -
    let input = match input.delivery_sources {
  176         -
        ::std::option::Option::None => return ::std::option::Option::None,
  177         -
        ::std::option::Option::Some(t) => t,
  178         -
    };
         166  +
    let input = input.delivery_sources?;
  179    167   
    ::std::option::Option::Some(input)
  180    168   
}
  181    169   
  182    170   
pub(crate) fn lens_describe_destinations_output_output_destinations(
  183    171   
    input: crate::operation::describe_destinations::DescribeDestinationsOutput,
  184    172   
) -> ::std::option::Option<::std::vec::Vec<crate::types::Destination>> {
  185         -
    let input = match input.destinations {
  186         -
        ::std::option::Option::None => return ::std::option::Option::None,
  187         -
        ::std::option::Option::Some(t) => t,
  188         -
    };
         173  +
    let input = input.destinations?;
  189    174   
    ::std::option::Option::Some(input)
  190    175   
}
  191    176   
  192    177   
pub(crate) fn lens_describe_log_groups_output_output_log_groups(
  193    178   
    input: crate::operation::describe_log_groups::DescribeLogGroupsOutput,
  194    179   
) -> ::std::option::Option<::std::vec::Vec<crate::types::LogGroup>> {
  195         -
    let input = match input.log_groups {
  196         -
        ::std::option::Option::None => return ::std::option::Option::None,
  197         -
        ::std::option::Option::Some(t) => t,
  198         -
    };
         180  +
    let input = input.log_groups?;
  199    181   
    ::std::option::Option::Some(input)
  200    182   
}
  201    183   
  202    184   
pub(crate) fn lens_describe_log_streams_output_output_log_streams(
  203    185   
    input: crate::operation::describe_log_streams::DescribeLogStreamsOutput,
  204    186   
) -> ::std::option::Option<::std::vec::Vec<crate::types::LogStream>> {
  205         -
    let input = match input.log_streams {
  206         -
        ::std::option::Option::None => return ::std::option::Option::None,
  207         -
        ::std::option::Option::Some(t) => t,
  208         -
    };
         187  +
    let input = input.log_streams?;
  209    188   
    ::std::option::Option::Some(input)
  210    189   
}
  211    190   
  212    191   
pub(crate) fn lens_describe_metric_filters_output_output_metric_filters(
  213    192   
    input: crate::operation::describe_metric_filters::DescribeMetricFiltersOutput,
  214    193   
) -> ::std::option::Option<::std::vec::Vec<crate::types::MetricFilter>> {
  215         -
    let input = match input.metric_filters {
  216         -
        ::std::option::Option::None => return ::std::option::Option::None,
  217         -
        ::std::option::Option::Some(t) => t,
  218         -
    };
         194  +
    let input = input.metric_filters?;
  219    195   
    ::std::option::Option::Some(input)
  220    196   
}
  221    197   
  222    198   
pub(crate) fn lens_describe_subscription_filters_output_output_subscription_filters(
  223    199   
    input: crate::operation::describe_subscription_filters::DescribeSubscriptionFiltersOutput,
  224    200   
) -> ::std::option::Option<::std::vec::Vec<crate::types::SubscriptionFilter>> {
  225         -
    let input = match input.subscription_filters {
  226         -
        ::std::option::Option::None => return ::std::option::Option::None,
  227         -
        ::std::option::Option::Some(t) => t,
  228         -
    };
         201  +
    let input = input.subscription_filters?;
  229    202   
    ::std::option::Option::Some(input)
  230    203   
}
  231    204   
  232    205   
pub(crate) fn lens_get_log_events_output_output_events(
  233    206   
    input: crate::operation::get_log_events::GetLogEventsOutput,
  234    207   
) -> ::std::option::Option<::std::vec::Vec<crate::types::OutputLogEvent>> {
  235         -
    let input = match input.events {
  236         -
        ::std::option::Option::None => return ::std::option::Option::None,
  237         -
        ::std::option::Option::Some(t) => t,
  238         -
    };
         208  +
    let input = input.events?;
  239    209   
    ::std::option::Option::Some(input)
  240    210   
}
  241    211   
  242    212   
pub(crate) fn lens_list_anomalies_output_output_anomalies(
  243    213   
    input: crate::operation::list_anomalies::ListAnomaliesOutput,
  244    214   
) -> ::std::option::Option<::std::vec::Vec<crate::types::Anomaly>> {
  245         -
    let input = match input.anomalies {
  246         -
        ::std::option::Option::None => return ::std::option::Option::None,
  247         -
        ::std::option::Option::Some(t) => t,
  248         -
    };
         215  +
    let input = input.anomalies?;
  249    216   
    ::std::option::Option::Some(input)
  250    217   
}
  251    218   
  252    219   
pub(crate) fn lens_list_log_anomaly_detectors_output_output_anomaly_detectors(
  253    220   
    input: crate::operation::list_log_anomaly_detectors::ListLogAnomalyDetectorsOutput,
  254    221   
) -> ::std::option::Option<::std::vec::Vec<crate::types::AnomalyDetector>> {
  255         -
    let input = match input.anomaly_detectors {
  256         -
        ::std::option::Option::None => return ::std::option::Option::None,
  257         -
        ::std::option::Option::Some(t) => t,
  258         -
    };
         222  +
    let input = input.anomaly_detectors?;
  259    223   
    ::std::option::Option::Some(input)
  260    224   
}
  261    225   
  262    226   
pub(crate) fn lens_list_log_groups_for_query_output_output_log_group_identifiers(
  263    227   
    input: crate::operation::list_log_groups_for_query::ListLogGroupsForQueryOutput,
  264    228   
) -> ::std::option::Option<::std::vec::Vec<::std::string::String>> {
  265         -
    let input = match input.log_group_identifiers {
  266         -
        ::std::option::Option::None => return ::std::option::Option::None,
  267         -
        ::std::option::Option::Some(t) => t,
  268         -
    };
         229  +
    let input = input.log_group_identifiers?;
  269    230   
    ::std::option::Option::Some(input)
  270    231   
}

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

@@ -1,1 +139,139 @@
    1      1   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
[package]
    3      3   
name = "aws-sdk-codecatalyst"
    4      4   
version = "0.0.0-local"
    5      5   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
    6      6   
description = "AWS SDK for Amazon CodeCatalyst"
    7      7   
edition = "2021"
    8      8   
license = "Apache-2.0"
    9      9   
repository = "https://github.com/awslabs/aws-sdk-rust"
   10         -
rust-version = "1.82.0"
          10  +
rust-version = "1.85.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
[package.metadata.docs.rs]
   15     15   
all-features = true
   16     16   
targets = ["x86_64-unknown-linux-gnu"]
   17     17   
[dependencies.aws-credential-types]
   18     18   
path = "../aws-credential-types"
   19     19   
version = "1.2.3"
   20     20   
   21     21   
[dependencies.aws-runtime]
   22     22   
path = "../aws-runtime"
   23         -
version = "1.5.7"
          23  +
version = "1.5.8"
   24     24   
   25     25   
[dependencies.aws-smithy-async]
   26     26   
path = "../aws-smithy-async"
   27     27   
version = "1.2.5"
   28     28   
   29     29   
[dependencies.aws-smithy-http]
   30     30   
path = "../aws-smithy-http"
   31     31   
version = "0.62.1"
   32     32   
   33     33   
[dependencies.aws-smithy-json]
   34     34   
path = "../aws-smithy-json"
   35         -
version = "0.61.3"
          35  +
version = "0.61.4"
   36     36   
   37     37   
[dependencies.aws-smithy-runtime]
   38     38   
path = "../aws-smithy-runtime"
   39     39   
features = ["client", "http-auth"]
   40     40   
version = "1.8.3"
   41     41   
   42     42   
[dependencies.aws-smithy-runtime-api]
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x", "http-auth"]
   45         -
version = "1.8.0"
          45  +
version = "1.8.1"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49         -
version = "1.3.1"
          49  +
version = "1.3.2"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53     53   
version = "1.3.7"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.fastrand]
   59     59   
version = "2.0.0"
   60     60   
   61     61   
[dependencies.http]
   62     62   
version = "0.2.9"
   63     63   
   64     64   
[dependencies.regex-lite]
   65     65   
version = "0.1.5"
   66     66   
   67     67   
[dependencies.tracing]
   68     68   
version = "0.1"
   69     69   
[dev-dependencies.aws-config]
   70     70   
path = "../aws-config"
   71         -
version = "1.6.3"
          71  +
version = "1.6.4"
   72     72   
   73     73   
[dev-dependencies.aws-credential-types]
   74     74   
path = "../aws-credential-types"
   75     75   
features = ["test-util"]
   76     76   
version = "1.2.3"
   77     77   
   78     78   
[dev-dependencies.aws-runtime]
   79     79   
path = "../aws-runtime"
   80     80   
features = ["test-util"]
   81         -
version = "1.5.7"
          81  +
version = "1.5.8"
   82     82   
   83     83   
[dev-dependencies.aws-smithy-async]
   84     84   
path = "../aws-smithy-async"
   85     85   
features = ["test-util"]
   86     86   
version = "1.2.5"
   87     87   
   88     88   
[dev-dependencies.aws-smithy-http-client]
   89     89   
path = "../aws-smithy-http-client"
   90     90   
features = ["test-util", "wire-mock"]
   91         -
version = "1.0.3"
          91  +
version = "1.0.5"
   92     92   
   93     93   
[dev-dependencies.aws-smithy-protocol-test]
   94     94   
path = "../aws-smithy-protocol-test"
   95         -
version = "0.63.2"
          95  +
version = "0.63.4"
   96     96   
   97     97   
[dev-dependencies.aws-smithy-runtime]
   98     98   
path = "../aws-smithy-runtime"
   99     99   
features = ["test-util"]
  100    100   
version = "1.8.3"
  101    101   
  102    102   
[dev-dependencies.aws-smithy-runtime-api]
  103    103   
path = "../aws-smithy-runtime-api"
  104    104   
features = ["test-util"]
  105         -
version = "1.8.0"
         105  +
version = "1.8.1"
  106    106   
  107    107   
[dev-dependencies.aws-smithy-types]
  108    108   
path = "../aws-smithy-types"
  109    109   
features = ["test-util"]
  110         -
version = "1.3.1"
         110  +
version = "1.3.2"
  111    111   
  112    112   
[dev-dependencies.futures-util]
  113    113   
version = "0.3.25"
  114    114   
features = ["alloc"]
  115    115   
default-features = false
  116    116   
  117    117   
[dev-dependencies.http-1x]
  118    118   
version = "1"
  119    119   
package = "http"
  120    120   

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

@@ -251,251 +345,346 @@
  271    271   
        self.runtime_components.set_identity_resolver(
  272    272   
            ::aws_smithy_runtime_api::client::auth::http::HTTP_BEARER_AUTH_SCHEME_ID,
  273    273   
            ::aws_smithy_runtime_api::shared::IntoShared::<::aws_smithy_runtime_api::client::identity::SharedIdentityResolver>::into_shared(
  274    274   
                bearer_token_resolver,
  275    275   
            ),
  276    276   
        );
  277    277   
        self
  278    278   
    }
  279    279   
    /// Sets the endpoint resolver to use when making requests.
  280    280   
    ///
  281         -
         281  +
    ///
  282    282   
    /// When unset, the client will used a generated endpoint resolver based on the endpoint resolution
  283    283   
    /// rules for `aws_sdk_codecatalyst`.
  284         -
         284  +
    ///
  285    285   
    ///
  286    286   
    /// Note: setting an endpoint resolver will replace any endpoint URL that has been set.
  287    287   
    /// This method accepts an endpoint resolver [specific to this service](crate::config::endpoint::ResolveEndpoint). If you want to
  288    288   
    /// provide a shared endpoint resolver, use [`Self::set_endpoint_resolver`].
  289    289   
    ///
  290    290   
    /// # Examples
  291    291   
    /// Create a custom endpoint resolver that resolves a different endpoing per-stage, e.g. staging vs. production.
  292    292   
    /// ```no_run
  293    293   
    /// use aws_sdk_codecatalyst::config::endpoint::{ResolveEndpoint, EndpointFuture, Params, Endpoint};
  294    294   
    /// #[derive(Debug)]
  295    295   
    /// struct StageResolver { stage: String }
  296    296   
    /// impl ResolveEndpoint for StageResolver {
  297    297   
    ///     fn resolve_endpoint(&self, params: &Params) -> EndpointFuture<'_> {
  298    298   
    ///         let stage = &self.stage;
  299    299   
    ///         EndpointFuture::ready(Ok(Endpoint::builder().url(format!("{stage}.myservice.com")).build()))
  300    300   
    ///     }
  301    301   
    /// }
  302    302   
    /// let resolver = StageResolver { stage: std::env::var("STAGE").unwrap() };
  303    303   
    /// let config = aws_sdk_codecatalyst::Config::builder().endpoint_resolver(resolver).build();
  304    304   
    /// let client = aws_sdk_codecatalyst::Client::from_conf(config);
  305    305   
    /// ```
  306    306   
    pub fn endpoint_resolver(mut self, endpoint_resolver: impl crate::config::endpoint::ResolveEndpoint + 'static) -> Self {
  307    307   
        self.set_endpoint_resolver(::std::option::Option::Some(endpoint_resolver.into_shared_resolver()));
  308    308   
        self
  309    309   
    }
  310    310   
  311    311   
    /// Sets the endpoint resolver to use when making requests.
  312    312   
    ///
  313         -
         313  +
    ///
  314    314   
    /// When unset, the client will used a generated endpoint resolver based on the endpoint resolution
  315    315   
    /// rules for `aws_sdk_codecatalyst`.
         316  +
    ///
  316    317   
    pub fn set_endpoint_resolver(
  317    318   
        &mut self,
  318    319   
        endpoint_resolver: ::std::option::Option<::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver>,
  319    320   
    ) -> &mut Self {
  320    321   
        self.runtime_components.set_endpoint_resolver(endpoint_resolver);
  321    322   
        self
  322    323   
    }
  323    324   
    /// Set the retry_config for the builder
  324    325   
    ///
  325    326   
    /// # Examples
@@ -491,492 +597,598 @@
  511    512   
    ///     .identity_cache(
  512    513   
    ///         IdentityCache::lazy()
  513    514   
    ///             // change the load timeout to 10 seconds
  514    515   
    ///             .load_timeout(Duration::from_secs(10))
  515    516   
    ///             .build()
  516    517   
    ///     )
  517    518   
    ///     // ...
  518    519   
    ///     .build();
  519    520   
    /// let client = aws_sdk_codecatalyst::Client::from_conf(config);
  520    521   
    /// ```
  521         -
         522  +
    ///
  522    523   
    pub fn identity_cache(mut self, identity_cache: impl crate::config::ResolveCachedIdentity + 'static) -> Self {
  523    524   
        self.set_identity_cache(identity_cache);
  524    525   
        self
  525    526   
    }
  526    527   
  527    528   
    /// Set the identity cache for auth.
  528    529   
    ///
  529    530   
    /// The identity cache defaults to a lazy caching implementation that will resolve
  530    531   
    /// an identity when it is requested, and place it in the cache thereafter. Subsequent
  531    532   
    /// requests will take the value from the cache while it is still valid. Once it expires,
  532    533   
    /// the next request will result in refreshing the identity.
  533    534   
    ///
  534    535   
    /// This configuration allows you to disable or change the default caching mechanism.
  535    536   
    /// To use a custom caching mechanism, implement the [`ResolveCachedIdentity`](crate::config::ResolveCachedIdentity)
  536    537   
    /// trait and pass that implementation into this function.
  537    538   
    ///
  538    539   
    /// # Examples
  539    540   
    ///
  540    541   
    /// Disabling identity caching:
  541    542   
    /// ```no_run
  542    543   
    /// use aws_sdk_codecatalyst::config::IdentityCache;
  543    544   
    ///
  544    545   
    /// let config = aws_sdk_codecatalyst::Config::builder()
  545    546   
    ///     .identity_cache(IdentityCache::no_cache())
  546    547   
    ///     // ...
  547    548   
    ///     .build();
  548    549   
    /// let client = aws_sdk_codecatalyst::Client::from_conf(config);
  549    550   
    /// ```
  550    551   
    ///
  551    552   
    /// Customizing lazy caching:
  552    553   
    /// ```no_run
  553    554   
    /// use aws_sdk_codecatalyst::config::IdentityCache;
  554    555   
    /// use std::time::Duration;
  555    556   
    ///
  556    557   
    /// let config = aws_sdk_codecatalyst::Config::builder()
  557    558   
    ///     .identity_cache(
  558    559   
    ///         IdentityCache::lazy()
  559    560   
    ///             // change the load timeout to 10 seconds
  560    561   
    ///             .load_timeout(Duration::from_secs(10))
  561    562   
    ///             .build()
  562    563   
    ///     )
  563    564   
    ///     // ...
  564    565   
    ///     .build();
  565    566   
    /// let client = aws_sdk_codecatalyst::Client::from_conf(config);
  566    567   
    /// ```
  567         -
         568  +
    ///
  568    569   
    pub fn set_identity_cache(&mut self, identity_cache: impl crate::config::ResolveCachedIdentity + 'static) -> &mut Self {
  569    570   
        self.runtime_components.set_identity_cache(::std::option::Option::Some(identity_cache));
  570    571   
        self
  571    572   
    }
  572    573   
    /// Add an [interceptor](crate::config::Intercept) that runs at specific stages of the request execution pipeline.
  573    574   
    ///
  574    575   
    /// Interceptors targeted at a certain stage are executed according to the pre-defined priority.
  575    576   
    /// The SDK provides a default set of interceptors. An interceptor configured by this method
  576    577   
    /// will run after those default interceptors.
  577    578   
    ///
@@ -919,920 +989,990 @@
  939    940   
    /// Overrides the default invocation ID generator.
  940    941   
    ///
  941    942   
    /// The invocation ID generator generates ID values for the `amz-sdk-invocation-id` header. By default, this will be a random UUID. Overriding it may be useful in tests that examine the HTTP request and need to be deterministic.
  942    943   
    pub fn set_invocation_id_generator(
  943    944   
        &mut self,
  944    945   
        gen: ::std::option::Option<::aws_runtime::invocation_id::SharedInvocationIdGenerator>,
  945    946   
    ) -> &mut Self {
  946    947   
        self.config.store_or_unset(gen);
  947    948   
        self
  948    949   
    }
  949         -
    /// Sets the endpoint URL used to communicate with this service
  950         -
         950  +
    /// Sets the endpoint URL used to communicate with this service.
         951  +
    ///
  951    952   
    /// Note: this is used in combination with other endpoint rules, e.g. an API that applies a host-label prefix
  952    953   
    /// will be prefixed onto this URL. To fully override the endpoint resolver, use
  953    954   
    /// [`Builder::endpoint_resolver`].
  954    955   
    pub fn endpoint_url(mut self, endpoint_url: impl Into<::std::string::String>) -> Self {
  955    956   
        self.set_endpoint_url(Some(endpoint_url.into()));
  956    957   
        self
  957    958   
    }
  958         -
    /// Sets the endpoint URL used to communicate with this service
  959         -
         959  +
    /// Sets the endpoint URL used to communicate with this service.
         960  +
    ///
  960    961   
    /// Note: this is used in combination with other endpoint rules, e.g. an API that applies a host-label prefix
  961    962   
    /// will be prefixed onto this URL. To fully override the endpoint resolver, use
  962    963   
    /// [`Builder::endpoint_resolver`].
  963    964   
    pub fn set_endpoint_url(&mut self, endpoint_url: Option<::std::string::String>) -> &mut Self {
  964    965   
        self.config.store_or_unset(endpoint_url.map(::aws_types::endpoint_config::EndpointUrl));
  965    966   
        self
  966    967   
    }
  967    968   
    /// When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
  968    969   
    pub fn use_fips(mut self, use_fips: impl Into<bool>) -> Self {
  969    970   
        self.set_use_fips(Some(use_fips.into()));
@@ -996,997 +1091,1092 @@
 1016   1017   
    /// Customizing behavior major version:
 1017   1018   
    /// ```no_run
 1018   1019   
    /// use aws_sdk_codecatalyst::config::BehaviorVersion;
 1019   1020   
    ///
 1020   1021   
    /// let config = aws_sdk_codecatalyst::Config::builder()
 1021   1022   
    ///     .behavior_version(BehaviorVersion::v2023_11_09())
 1022   1023   
    ///     // ...
 1023   1024   
    ///     .build();
 1024   1025   
    /// let client = aws_sdk_codecatalyst::Client::from_conf(config);
 1025   1026   
    /// ```
 1026         -
        1027  +
    ///
 1027   1028   
    pub fn behavior_version(mut self, behavior_version: crate::config::BehaviorVersion) -> Self {
 1028   1029   
        self.set_behavior_version(Some(behavior_version));
 1029   1030   
        self
 1030   1031   
    }
 1031   1032   
 1032   1033   
    /// Sets the [`behavior major version`](crate::config::BehaviorVersion).
 1033   1034   
    ///
 1034   1035   
    /// Over time, new best-practice behaviors are introduced. However, these behaviors might not be backwards
 1035   1036   
    /// compatible. For example, a change which introduces new default timeouts or a new retry-mode for
 1036   1037   
    /// all operations might be the ideal behavior but could break existing applications.
 1037   1038   
    ///
 1038   1039   
    /// # Examples
 1039   1040   
    ///
 1040   1041   
    /// Set the behavior major version to `latest`. This is equivalent to enabling the `behavior-version-latest` cargo feature.
 1041   1042   
    /// ```no_run
 1042   1043   
    /// use aws_sdk_codecatalyst::config::BehaviorVersion;
 1043   1044   
    ///
 1044   1045   
    /// let config = aws_sdk_codecatalyst::Config::builder()
 1045   1046   
    ///     .behavior_version(BehaviorVersion::latest())
 1046   1047   
    ///     // ...
 1047   1048   
    ///     .build();
 1048   1049   
    /// let client = aws_sdk_codecatalyst::Client::from_conf(config);
 1049   1050   
    /// ```
 1050   1051   
    ///
 1051   1052   
    /// Customizing behavior major version:
 1052   1053   
    /// ```no_run
 1053   1054   
    /// use aws_sdk_codecatalyst::config::BehaviorVersion;
 1054   1055   
    ///
 1055   1056   
    /// let config = aws_sdk_codecatalyst::Config::builder()
 1056   1057   
    ///     .behavior_version(BehaviorVersion::v2023_11_09())
 1057   1058   
    ///     // ...
 1058   1059   
    ///     .build();
 1059   1060   
    /// let client = aws_sdk_codecatalyst::Client::from_conf(config);
 1060   1061   
    /// ```
 1061         -
        1062  +
    ///
 1062   1063   
    pub fn set_behavior_version(&mut self, behavior_version: Option<crate::config::BehaviorVersion>) -> &mut Self {
 1063   1064   
        self.behavior_version = behavior_version;
 1064   1065   
        self
 1065   1066   
    }
 1066   1067   
 1067   1068   
    /// Convenience method to set the latest behavior major version
 1068   1069   
    ///
 1069   1070   
    /// This is equivalent to enabling the `behavior-version-latest` Cargo feature
 1070   1071   
    pub fn behavior_version_latest(mut self) -> Self {
 1071   1072   
        self.set_behavior_version(Some(crate::config::BehaviorVersion::latest()));
@@ -1147,1148 +1207,1208 @@
 1167   1168   
    }
 1168   1169   
 1169   1170   
    fn runtime_components(
 1170   1171   
        &self,
 1171   1172   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
 1172   1173   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
 1173   1174   
        ::std::borrow::Cow::Borrowed(&self.runtime_components)
 1174   1175   
    }
 1175   1176   
}
 1176   1177   
 1177         -
/// Cross-operation shared-state singletons
        1178  +
// Cross-operation shared-state singletons
 1178   1179   
 1179   1180   
/// A plugin that enables configuration for a single operation invocation
 1180   1181   
///
 1181   1182   
/// The `config` method will return a `FrozenLayer` by storing values from `config_override`.
 1182   1183   
/// In the case of default values requested, they will be obtained from `client_config`.
 1183   1184   
#[derive(Debug)]
 1184   1185   
pub(crate) struct ConfigOverrideRuntimePlugin {
 1185   1186   
    pub(crate) config: ::aws_smithy_types::config_bag::FrozenLayer,
 1186   1187   
    pub(crate) components: ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
 1187   1188   
}

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

@@ -13,13 +73,73 @@
   33     33   
pub(crate) struct Partition<'a> {
   34     34   
    name: &'a str,
   35     35   
    dns_suffix: &'a str,
   36     36   
    dual_stack_dns_suffix: &'a str,
   37     37   
    supports_fips: bool,
   38     38   
    supports_dual_stack: bool,
   39     39   
    implicit_global_region: &'a str,
   40     40   
}
   41     41   
   42     42   
#[allow(unused)]
   43         -
impl<'a> Partition<'a> {
          43  +
impl Partition<'_> {
   44     44   
    pub(crate) fn name(&self) -> &str {
   45     45   
        self.name
   46     46   
    }
   47     47   
   48     48   
    pub(crate) fn dns_suffix(&self) -> &str {
   49     49   
        self.dns_suffix
   50     50   
    }
   51     51   
   52     52   
    pub(crate) fn supports_fips(&self) -> bool {
   53     53   
        self.supports_fips

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/lens.rs

@@ -103,103 +185,170 @@
  123    123   
pub(crate) fn lens_list_event_logs_output_output_items(
  124    124   
    input: crate::operation::list_event_logs::ListEventLogsOutput,
  125    125   
) -> ::std::option::Option<::std::vec::Vec<crate::types::EventLogEntry>> {
  126    126   
    let input = input.items;
  127    127   
    ::std::option::Option::Some(input)
  128    128   
}
  129    129   
  130    130   
pub(crate) fn lens_list_projects_output_output_items(
  131    131   
    input: crate::operation::list_projects::ListProjectsOutput,
  132    132   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ProjectSummary>> {
  133         -
    let input = match input.items {
  134         -
        ::std::option::Option::None => return ::std::option::Option::None,
  135         -
        ::std::option::Option::Some(t) => t,
  136         -
    };
         133  +
    let input = input.items?;
  137    134   
    ::std::option::Option::Some(input)
  138    135   
}
  139    136   
  140    137   
pub(crate) fn lens_list_source_repositories_output_output_items(
  141    138   
    input: crate::operation::list_source_repositories::ListSourceRepositoriesOutput,
  142    139   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ListSourceRepositoriesItem>> {
  143         -
    let input = match input.items {
  144         -
        ::std::option::Option::None => return ::std::option::Option::None,
  145         -
        ::std::option::Option::Some(t) => t,
  146         -
    };
         140  +
    let input = input.items?;
  147    141   
    ::std::option::Option::Some(input)
  148    142   
}
  149    143   
  150    144   
pub(crate) fn lens_list_source_repository_branches_output_output_items(
  151    145   
    input: crate::operation::list_source_repository_branches::ListSourceRepositoryBranchesOutput,
  152    146   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ListSourceRepositoryBranchesItem>> {
  153    147   
    let input = input.items;
  154    148   
    ::std::option::Option::Some(input)
  155    149   
}
  156    150   
  157    151   
pub(crate) fn lens_list_spaces_output_output_items(
  158    152   
    input: crate::operation::list_spaces::ListSpacesOutput,
  159    153   
) -> ::std::option::Option<::std::vec::Vec<crate::types::SpaceSummary>> {
  160         -
    let input = match input.items {
  161         -
        ::std::option::Option::None => return ::std::option::Option::None,
  162         -
        ::std::option::Option::Some(t) => t,
  163         -
    };
         154  +
    let input = input.items?;
  164    155   
    ::std::option::Option::Some(input)
  165    156   
}
  166    157   
  167    158   
pub(crate) fn lens_list_workflow_runs_output_output_items(
  168    159   
    input: crate::operation::list_workflow_runs::ListWorkflowRunsOutput,
  169    160   
) -> ::std::option::Option<::std::vec::Vec<crate::types::WorkflowRunSummary>> {
  170         -
    let input = match input.items {
  171         -
        ::std::option::Option::None => return ::std::option::Option::None,
  172         -
        ::std::option::Option::Some(t) => t,
  173         -
    };
         161  +
    let input = input.items?;
  174    162   
    ::std::option::Option::Some(input)
  175    163   
}
  176    164   
  177    165   
pub(crate) fn lens_list_workflows_output_output_items(
  178    166   
    input: crate::operation::list_workflows::ListWorkflowsOutput,
  179    167   
) -> ::std::option::Option<::std::vec::Vec<crate::types::WorkflowSummary>> {
  180         -
    let input = match input.items {
  181         -
        ::std::option::Option::None => return ::std::option::Option::None,
  182         -
        ::std::option::Option::Some(t) => t,
  183         -
    };
         168  +
    let input = input.items?;
  184    169   
    ::std::option::Option::Some(input)
  185    170   
}

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

@@ -1,1 +89,89 @@
    1      1   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
[package]
    3      3   
name = "aws-sdk-config"
    4      4   
version = "0.0.0-local"
    5      5   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
    6      6   
description = "AWS SDK for AWS Config"
    7      7   
edition = "2021"
    8      8   
license = "Apache-2.0"
    9      9   
repository = "https://github.com/awslabs/aws-sdk-rust"
   10         -
rust-version = "1.82.0"
          10  +
rust-version = "1.85.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
[package.metadata.docs.rs]
   15     15   
all-features = true
   16     16   
targets = ["x86_64-unknown-linux-gnu"]
   17     17   
[dependencies.aws-credential-types]
   18     18   
path = "../aws-credential-types"
   19     19   
version = "1.2.3"
   20     20   
   21     21   
[dependencies.aws-runtime]
   22     22   
path = "../aws-runtime"
   23         -
version = "1.5.7"
          23  +
version = "1.5.8"
   24     24   
   25     25   
[dependencies.aws-smithy-async]
   26     26   
path = "../aws-smithy-async"
   27     27   
version = "1.2.5"
   28     28   
   29     29   
[dependencies.aws-smithy-http]
   30     30   
path = "../aws-smithy-http"
   31     31   
version = "0.62.1"
   32     32   
   33     33   
[dependencies.aws-smithy-json]
   34     34   
path = "../aws-smithy-json"
   35         -
version = "0.61.3"
          35  +
version = "0.61.4"
   36     36   
   37     37   
[dependencies.aws-smithy-runtime]
   38     38   
path = "../aws-smithy-runtime"
   39     39   
features = ["client"]
   40     40   
version = "1.8.3"
   41     41   
   42     42   
[dependencies.aws-smithy-runtime-api]
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x"]
   45         -
version = "1.8.0"
          45  +
version = "1.8.1"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49         -
version = "1.3.1"
          49  +
version = "1.3.2"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53     53   
version = "1.3.7"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.fastrand]
   59     59   
version = "2.0.0"
   60     60   
   61     61   
[dependencies.http]
   62     62   
version = "0.2.9"
   63     63   
   64     64   
[dependencies.regex-lite]
   65     65   
version = "0.1.5"
   66     66   
   67     67   
[dependencies.tracing]
   68     68   
version = "0.1"
   69     69   
[dev-dependencies.aws-config]
   70     70   
path = "../aws-config"
   71         -
version = "1.6.3"
          71  +
version = "1.6.4"
   72     72   
   73     73   
[dev-dependencies.aws-credential-types]
   74     74   
path = "../aws-credential-types"
   75     75   
features = ["test-util"]
   76     76   
version = "1.2.3"
   77     77   
   78     78   
[dev-dependencies.tokio]
   79     79   
version = "1.23.1"
   80     80   
features = ["macros", "test-util", "rt-multi-thread"]
   81     81   

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

@@ -235,235 +329,330 @@
  255    255   
    /// let config = builder.build();
  256    256   
    /// # }
  257    257   
    /// # }
  258    258   
    /// ```
  259    259   
    pub fn set_http_client(&mut self, http_client: Option<crate::config::SharedHttpClient>) -> &mut Self {
  260    260   
        self.runtime_components.set_http_client(http_client);
  261    261   
        self
  262    262   
    }
  263    263   
    /// Sets the endpoint resolver to use when making requests.
  264    264   
    ///
  265         -
         265  +
    ///
  266    266   
    /// When unset, the client will used a generated endpoint resolver based on the endpoint resolution
  267    267   
    /// rules for `aws_sdk_config`.
  268         -
         268  +
    ///
  269    269   
    ///
  270    270   
    /// Note: setting an endpoint resolver will replace any endpoint URL that has been set.
  271    271   
    /// This method accepts an endpoint resolver [specific to this service](crate::config::endpoint::ResolveEndpoint). If you want to
  272    272   
    /// provide a shared endpoint resolver, use [`Self::set_endpoint_resolver`].
  273    273   
    ///
  274    274   
    /// # Examples
  275    275   
    /// Create a custom endpoint resolver that resolves a different endpoing per-stage, e.g. staging vs. production.
  276    276   
    /// ```no_run
  277    277   
    /// use aws_sdk_config::config::endpoint::{ResolveEndpoint, EndpointFuture, Params, Endpoint};
  278    278   
    /// #[derive(Debug)]
  279    279   
    /// struct StageResolver { stage: String }
  280    280   
    /// impl ResolveEndpoint for StageResolver {
  281    281   
    ///     fn resolve_endpoint(&self, params: &Params) -> EndpointFuture<'_> {
  282    282   
    ///         let stage = &self.stage;
  283    283   
    ///         EndpointFuture::ready(Ok(Endpoint::builder().url(format!("{stage}.myservice.com")).build()))
  284    284   
    ///     }
  285    285   
    /// }
  286    286   
    /// let resolver = StageResolver { stage: std::env::var("STAGE").unwrap() };
  287    287   
    /// let config = aws_sdk_config::Config::builder().endpoint_resolver(resolver).build();
  288    288   
    /// let client = aws_sdk_config::Client::from_conf(config);
  289    289   
    /// ```
  290    290   
    pub fn endpoint_resolver(mut self, endpoint_resolver: impl crate::config::endpoint::ResolveEndpoint + 'static) -> Self {
  291    291   
        self.set_endpoint_resolver(::std::option::Option::Some(endpoint_resolver.into_shared_resolver()));
  292    292   
        self
  293    293   
    }
  294    294   
  295    295   
    /// Sets the endpoint resolver to use when making requests.
  296    296   
    ///
  297         -
         297  +
    ///
  298    298   
    /// When unset, the client will used a generated endpoint resolver based on the endpoint resolution
  299    299   
    /// rules for `aws_sdk_config`.
         300  +
    ///
  300    301   
    pub fn set_endpoint_resolver(
  301    302   
        &mut self,
  302    303   
        endpoint_resolver: ::std::option::Option<::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver>,
  303    304   
    ) -> &mut Self {
  304    305   
        self.runtime_components.set_endpoint_resolver(endpoint_resolver);
  305    306   
        self
  306    307   
    }
  307    308   
    /// Set the retry_config for the builder
  308    309   
    ///
  309    310   
    /// # Examples
@@ -475,476 +581,582 @@
  495    496   
    ///     .identity_cache(
  496    497   
    ///         IdentityCache::lazy()
  497    498   
    ///             // change the load timeout to 10 seconds
  498    499   
    ///             .load_timeout(Duration::from_secs(10))
  499    500   
    ///             .build()
  500    501   
    ///     )
  501    502   
    ///     // ...
  502    503   
    ///     .build();
  503    504   
    /// let client = aws_sdk_config::Client::from_conf(config);
  504    505   
    /// ```
  505         -
         506  +
    ///
  506    507   
    pub fn identity_cache(mut self, identity_cache: impl crate::config::ResolveCachedIdentity + 'static) -> Self {
  507    508   
        self.set_identity_cache(identity_cache);
  508    509   
        self
  509    510   
    }
  510    511   
  511    512   
    /// Set the identity cache for auth.
  512    513   
    ///
  513    514   
    /// The identity cache defaults to a lazy caching implementation that will resolve
  514    515   
    /// an identity when it is requested, and place it in the cache thereafter. Subsequent
  515    516   
    /// requests will take the value from the cache while it is still valid. Once it expires,
  516    517   
    /// the next request will result in refreshing the identity.
  517    518   
    ///
  518    519   
    /// This configuration allows you to disable or change the default caching mechanism.
  519    520   
    /// To use a custom caching mechanism, implement the [`ResolveCachedIdentity`](crate::config::ResolveCachedIdentity)
  520    521   
    /// trait and pass that implementation into this function.
  521    522   
    ///
  522    523   
    /// # Examples
  523    524   
    ///
  524    525   
    /// Disabling identity caching:
  525    526   
    /// ```no_run
  526    527   
    /// use aws_sdk_config::config::IdentityCache;
  527    528   
    ///
  528    529   
    /// let config = aws_sdk_config::Config::builder()
  529    530   
    ///     .identity_cache(IdentityCache::no_cache())
  530    531   
    ///     // ...
  531    532   
    ///     .build();
  532    533   
    /// let client = aws_sdk_config::Client::from_conf(config);
  533    534   
    /// ```
  534    535   
    ///
  535    536   
    /// Customizing lazy caching:
  536    537   
    /// ```no_run
  537    538   
    /// use aws_sdk_config::config::IdentityCache;
  538    539   
    /// use std::time::Duration;
  539    540   
    ///
  540    541   
    /// let config = aws_sdk_config::Config::builder()
  541    542   
    ///     .identity_cache(
  542    543   
    ///         IdentityCache::lazy()
  543    544   
    ///             // change the load timeout to 10 seconds
  544    545   
    ///             .load_timeout(Duration::from_secs(10))
  545    546   
    ///             .build()
  546    547   
    ///     )
  547    548   
    ///     // ...
  548    549   
    ///     .build();
  549    550   
    /// let client = aws_sdk_config::Client::from_conf(config);
  550    551   
    /// ```
  551         -
         552  +
    ///
  552    553   
    pub fn set_identity_cache(&mut self, identity_cache: impl crate::config::ResolveCachedIdentity + 'static) -> &mut Self {
  553    554   
        self.runtime_components.set_identity_cache(::std::option::Option::Some(identity_cache));
  554    555   
        self
  555    556   
    }
  556    557   
    /// Add an [interceptor](crate::config::Intercept) that runs at specific stages of the request execution pipeline.
  557    558   
    ///
  558    559   
    /// Interceptors targeted at a certain stage are executed according to the pre-defined priority.
  559    560   
    /// The SDK provides a default set of interceptors. An interceptor configured by this method
  560    561   
    /// will run after those default interceptors.
  561    562   
    ///
@@ -873,874 +943,944 @@
  893    894   
    /// Overrides the default invocation ID generator.
  894    895   
    ///
  895    896   
    /// The invocation ID generator generates ID values for the `amz-sdk-invocation-id` header. By default, this will be a random UUID. Overriding it may be useful in tests that examine the HTTP request and need to be deterministic.
  896    897   
    pub fn set_invocation_id_generator(
  897    898   
        &mut self,
  898    899   
        gen: ::std::option::Option<::aws_runtime::invocation_id::SharedInvocationIdGenerator>,
  899    900   
    ) -> &mut Self {
  900    901   
        self.config.store_or_unset(gen);
  901    902   
        self
  902    903   
    }
  903         -
    /// Sets the endpoint URL used to communicate with this service
  904         -
         904  +
    /// Sets the endpoint URL used to communicate with this service.
         905  +
    ///
  905    906   
    /// Note: this is used in combination with other endpoint rules, e.g. an API that applies a host-label prefix
  906    907   
    /// will be prefixed onto this URL. To fully override the endpoint resolver, use
  907    908   
    /// [`Builder::endpoint_resolver`].
  908    909   
    pub fn endpoint_url(mut self, endpoint_url: impl Into<::std::string::String>) -> Self {
  909    910   
        self.set_endpoint_url(Some(endpoint_url.into()));
  910    911   
        self
  911    912   
    }
  912         -
    /// Sets the endpoint URL used to communicate with this service
  913         -
         913  +
    /// Sets the endpoint URL used to communicate with this service.
         914  +
    ///
  914    915   
    /// Note: this is used in combination with other endpoint rules, e.g. an API that applies a host-label prefix
  915    916   
    /// will be prefixed onto this URL. To fully override the endpoint resolver, use
  916    917   
    /// [`Builder::endpoint_resolver`].
  917    918   
    pub fn set_endpoint_url(&mut self, endpoint_url: Option<::std::string::String>) -> &mut Self {
  918    919   
        self.config.store_or_unset(endpoint_url.map(::aws_types::endpoint_config::EndpointUrl));
  919    920   
        self
  920    921   
    }
  921    922   
    /// When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
  922    923   
    pub fn use_dual_stack(mut self, use_dual_stack: impl Into<bool>) -> Self {
  923    924   
        self.set_use_dual_stack(Some(use_dual_stack.into()));
@@ -975,976 +1070,1071 @@
  995    996   
    /// Customizing behavior major version:
  996    997   
    /// ```no_run
  997    998   
    /// use aws_sdk_config::config::BehaviorVersion;
  998    999   
    ///
  999   1000   
    /// let config = aws_sdk_config::Config::builder()
 1000   1001   
    ///     .behavior_version(BehaviorVersion::v2023_11_09())
 1001   1002   
    ///     // ...
 1002   1003   
    ///     .build();
 1003   1004   
    /// let client = aws_sdk_config::Client::from_conf(config);
 1004   1005   
    /// ```
 1005         -
        1006  +
    ///
 1006   1007   
    pub fn behavior_version(mut self, behavior_version: crate::config::BehaviorVersion) -> Self {
 1007   1008   
        self.set_behavior_version(Some(behavior_version));
 1008   1009   
        self
 1009   1010   
    }
 1010   1011   
 1011   1012   
    /// Sets the [`behavior major version`](crate::config::BehaviorVersion).
 1012   1013   
    ///
 1013   1014   
    /// Over time, new best-practice behaviors are introduced. However, these behaviors might not be backwards
 1014   1015   
    /// compatible. For example, a change which introduces new default timeouts or a new retry-mode for
 1015   1016   
    /// all operations might be the ideal behavior but could break existing applications.
 1016   1017   
    ///
 1017   1018   
    /// # Examples
 1018   1019   
    ///
 1019   1020   
    /// Set the behavior major version to `latest`. This is equivalent to enabling the `behavior-version-latest` cargo feature.
 1020   1021   
    /// ```no_run
 1021   1022   
    /// use aws_sdk_config::config::BehaviorVersion;
 1022   1023   
    ///
 1023   1024   
    /// let config = aws_sdk_config::Config::builder()
 1024   1025   
    ///     .behavior_version(BehaviorVersion::latest())
 1025   1026   
    ///     // ...
 1026   1027   
    ///     .build();
 1027   1028   
    /// let client = aws_sdk_config::Client::from_conf(config);
 1028   1029   
    /// ```
 1029   1030   
    ///
 1030   1031   
    /// Customizing behavior major version:
 1031   1032   
    /// ```no_run
 1032   1033   
    /// use aws_sdk_config::config::BehaviorVersion;
 1033   1034   
    ///
 1034   1035   
    /// let config = aws_sdk_config::Config::builder()
 1035   1036   
    ///     .behavior_version(BehaviorVersion::v2023_11_09())
 1036   1037   
    ///     // ...
 1037   1038   
    ///     .build();
 1038   1039   
    /// let client = aws_sdk_config::Client::from_conf(config);
 1039   1040   
    /// ```
 1040         -
        1041  +
    ///
 1041   1042   
    pub fn set_behavior_version(&mut self, behavior_version: Option<crate::config::BehaviorVersion>) -> &mut Self {
 1042   1043   
        self.behavior_version = behavior_version;
 1043   1044   
        self
 1044   1045   
    }
 1045   1046   
 1046   1047   
    /// Convenience method to set the latest behavior major version
 1047   1048   
    ///
 1048   1049   
    /// This is equivalent to enabling the `behavior-version-latest` Cargo feature
 1049   1050   
    pub fn behavior_version_latest(mut self) -> Self {
 1050   1051   
        self.set_behavior_version(Some(crate::config::BehaviorVersion::latest()));
@@ -1131,1132 +1191,1192 @@
 1151   1152   
    }
 1152   1153   
 1153   1154   
    fn runtime_components(
 1154   1155   
        &self,
 1155   1156   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
 1156   1157   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
 1157   1158   
        ::std::borrow::Cow::Borrowed(&self.runtime_components)
 1158   1159   
    }
 1159   1160   
}
 1160   1161   
 1161         -
/// Cross-operation shared-state singletons
        1162  +
// Cross-operation shared-state singletons
 1162   1163   
 1163   1164   
/// A plugin that enables configuration for a single operation invocation
 1164   1165   
///
 1165   1166   
/// The `config` method will return a `FrozenLayer` by storing values from `config_override`.
 1166   1167   
/// In the case of default values requested, they will be obtained from `client_config`.
 1167   1168   
#[derive(Debug)]
 1168   1169   
pub(crate) struct ConfigOverrideRuntimePlugin {
 1169   1170   
    pub(crate) config: ::aws_smithy_types::config_bag::FrozenLayer,
 1170   1171   
    pub(crate) components: ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
 1171   1172   
}

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

@@ -13,13 +73,73 @@
   33     33   
pub(crate) struct Partition<'a> {
   34     34   
    name: &'a str,
   35     35   
    dns_suffix: &'a str,
   36     36   
    dual_stack_dns_suffix: &'a str,
   37     37   
    supports_fips: bool,
   38     38   
    supports_dual_stack: bool,
   39     39   
    implicit_global_region: &'a str,
   40     40   
}
   41     41   
   42     42   
#[allow(unused)]
   43         -
impl<'a> Partition<'a> {
          43  +
impl Partition<'_> {
   44     44   
    pub(crate) fn name(&self) -> &str {
   45     45   
        self.name
   46     46   
    }
   47     47   
   48     48   
    pub(crate) fn dns_suffix(&self) -> &str {
   49     49   
        self.dns_suffix
   50     50   
    }
   51     51   
   52     52   
    pub(crate) fn supports_fips(&self) -> bool {
   53     53   
        self.supports_fips

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

@@ -375,375 +700,610 @@
  395    395   
    let input = match &input.next_token {
  396    396   
        ::std::option::Option::None => return ::std::option::Option::None,
  397    397   
        ::std::option::Option::Some(t) => t,
  398    398   
    };
  399    399   
    ::std::option::Option::Some(input)
  400    400   
}
  401    401   
  402    402   
pub(crate) fn lens_describe_aggregate_compliance_by_conformance_packs_output_output_aggregate_compliance_by_conformance_packs(
  403    403   
    input: crate::operation::describe_aggregate_compliance_by_conformance_packs::DescribeAggregateComplianceByConformancePacksOutput,
  404    404   
) -> ::std::option::Option<::std::vec::Vec<crate::types::AggregateComplianceByConformancePack>> {
  405         -
    let input = match input.aggregate_compliance_by_conformance_packs {
  406         -
        ::std::option::Option::None => return ::std::option::Option::None,
  407         -
        ::std::option::Option::Some(t) => t,
  408         -
    };
         405  +
    let input = input.aggregate_compliance_by_conformance_packs?;
  409    406   
    ::std::option::Option::Some(input)
  410    407   
}
  411    408   
  412    409   
pub(crate) fn lens_describe_aggregation_authorizations_output_output_aggregation_authorizations(
  413    410   
    input: crate::operation::describe_aggregation_authorizations::DescribeAggregationAuthorizationsOutput,
  414    411   
) -> ::std::option::Option<::std::vec::Vec<crate::types::AggregationAuthorization>> {
  415         -
    let input = match input.aggregation_authorizations {
  416         -
        ::std::option::Option::None => return ::std::option::Option::None,
  417         -
        ::std::option::Option::Some(t) => t,
  418         -
    };
         412  +
    let input = input.aggregation_authorizations?;
  419    413   
    ::std::option::Option::Some(input)
  420    414   
}
  421    415   
  422    416   
pub(crate) fn lens_describe_compliance_by_config_rule_output_output_compliance_by_config_rules(
  423    417   
    input: crate::operation::describe_compliance_by_config_rule::DescribeComplianceByConfigRuleOutput,
  424    418   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ComplianceByConfigRule>> {
  425         -
    let input = match input.compliance_by_config_rules {
  426         -
        ::std::option::Option::None => return ::std::option::Option::None,
  427         -
        ::std::option::Option::Some(t) => t,
  428         -
    };
         419  +
    let input = input.compliance_by_config_rules?;
  429    420   
    ::std::option::Option::Some(input)
  430    421   
}
  431    422   
  432    423   
pub(crate) fn lens_describe_compliance_by_resource_output_output_compliance_by_resources(
  433    424   
    input: crate::operation::describe_compliance_by_resource::DescribeComplianceByResourceOutput,
  434    425   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ComplianceByResource>> {
  435         -
    let input = match input.compliance_by_resources {
  436         -
        ::std::option::Option::None => return ::std::option::Option::None,
  437         -
        ::std::option::Option::Some(t) => t,
  438         -
    };
         426  +
    let input = input.compliance_by_resources?;
  439    427   
    ::std::option::Option::Some(input)
  440    428   
}
  441    429   
  442    430   
pub(crate) fn lens_describe_config_rule_evaluation_status_output_output_config_rules_evaluation_status(
  443    431   
    input: crate::operation::describe_config_rule_evaluation_status::DescribeConfigRuleEvaluationStatusOutput,
  444    432   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ConfigRuleEvaluationStatus>> {
  445         -
    let input = match input.config_rules_evaluation_status {
  446         -
        ::std::option::Option::None => return ::std::option::Option::None,
  447         -
        ::std::option::Option::Some(t) => t,
  448         -
    };
         433  +
    let input = input.config_rules_evaluation_status?;
  449    434   
    ::std::option::Option::Some(input)
  450    435   
}
  451    436   
  452    437   
pub(crate) fn lens_describe_config_rules_output_output_config_rules(
  453    438   
    input: crate::operation::describe_config_rules::DescribeConfigRulesOutput,
  454    439   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ConfigRule>> {
  455         -
    let input = match input.config_rules {
  456         -
        ::std::option::Option::None => return ::std::option::Option::None,
  457         -
        ::std::option::Option::Some(t) => t,
  458         -
    };
         440  +
    let input = input.config_rules?;
  459    441   
    ::std::option::Option::Some(input)
  460    442   
}
  461    443   
  462    444   
pub(crate) fn lens_describe_configuration_aggregator_sources_status_output_output_aggregated_source_status_list(
  463    445   
    input: crate::operation::describe_configuration_aggregator_sources_status::DescribeConfigurationAggregatorSourcesStatusOutput,
  464    446   
) -> ::std::option::Option<::std::vec::Vec<crate::types::AggregatedSourceStatus>> {
  465         -
    let input = match input.aggregated_source_status_list {
  466         -
        ::std::option::Option::None => return ::std::option::Option::None,
  467         -
        ::std::option::Option::Some(t) => t,
  468         -
    };
         447  +
    let input = input.aggregated_source_status_list?;
  469    448   
    ::std::option::Option::Some(input)
  470    449   
}
  471    450   
  472    451   
pub(crate) fn lens_describe_configuration_aggregators_output_output_configuration_aggregators(
  473    452   
    input: crate::operation::describe_configuration_aggregators::DescribeConfigurationAggregatorsOutput,
  474    453   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ConfigurationAggregator>> {
  475         -
    let input = match input.configuration_aggregators {
  476         -
        ::std::option::Option::None => return ::std::option::Option::None,
  477         -
        ::std::option::Option::Some(t) => t,
  478         -
    };
         454  +
    let input = input.configuration_aggregators?;
  479    455   
    ::std::option::Option::Some(input)
  480    456   
}
  481    457   
  482    458   
pub(crate) fn lens_describe_conformance_pack_status_output_output_conformance_pack_status_details(
  483    459   
    input: crate::operation::describe_conformance_pack_status::DescribeConformancePackStatusOutput,
  484    460   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ConformancePackStatusDetail>> {
  485         -
    let input = match input.conformance_pack_status_details {
  486         -
        ::std::option::Option::None => return ::std::option::Option::None,
  487         -
        ::std::option::Option::Some(t) => t,
  488         -
    };
         461  +
    let input = input.conformance_pack_status_details?;
  489    462   
    ::std::option::Option::Some(input)
  490    463   
}
  491    464   
  492    465   
pub(crate) fn lens_describe_conformance_packs_output_output_conformance_pack_details(
  493    466   
    input: crate::operation::describe_conformance_packs::DescribeConformancePacksOutput,
  494    467   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ConformancePackDetail>> {
  495         -
    let input = match input.conformance_pack_details {
  496         -
        ::std::option::Option::None => return ::std::option::Option::None,
  497         -
        ::std::option::Option::Some(t) => t,
  498         -
    };
         468  +
    let input = input.conformance_pack_details?;
  499    469   
    ::std::option::Option::Some(input)
  500    470   
}
  501    471   
  502    472   
pub(crate) fn lens_describe_organization_config_rule_statuses_output_output_organization_config_rule_statuses(
  503    473   
    input: crate::operation::describe_organization_config_rule_statuses::DescribeOrganizationConfigRuleStatusesOutput,
  504    474   
) -> ::std::option::Option<::std::vec::Vec<crate::types::OrganizationConfigRuleStatus>> {
  505         -
    let input = match input.organization_config_rule_statuses {
  506         -
        ::std::option::Option::None => return ::std::option::Option::None,
  507         -
        ::std::option::Option::Some(t) => t,
  508         -
    };
         475  +
    let input = input.organization_config_rule_statuses?;
  509    476   
    ::std::option::Option::Some(input)
  510    477   
}
  511    478   
  512    479   
pub(crate) fn lens_describe_organization_config_rules_output_output_organization_config_rules(
  513    480   
    input: crate::operation::describe_organization_config_rules::DescribeOrganizationConfigRulesOutput,
  514    481   
) -> ::std::option::Option<::std::vec::Vec<crate::types::OrganizationConfigRule>> {
  515         -
    let input = match input.organization_config_rules {
  516         -
        ::std::option::Option::None => return ::std::option::Option::None,
  517         -
        ::std::option::Option::Some(t) => t,
  518         -
    };
         482  +
    let input = input.organization_config_rules?;
  519    483   
    ::std::option::Option::Some(input)
  520    484   
}
  521    485   
  522    486   
pub(crate) fn lens_describe_organization_conformance_pack_statuses_output_output_organization_conformance_pack_statuses(
  523    487   
    input: crate::operation::describe_organization_conformance_pack_statuses::DescribeOrganizationConformancePackStatusesOutput,
  524    488   
) -> ::std::option::Option<::std::vec::Vec<crate::types::OrganizationConformancePackStatus>> {
  525         -
    let input = match input.organization_conformance_pack_statuses {
  526         -
        ::std::option::Option::None => return ::std::option::Option::None,
  527         -
        ::std::option::Option::Some(t) => t,
  528         -
    };
         489  +
    let input = input.organization_conformance_pack_statuses?;
  529    490   
    ::std::option::Option::Some(input)
  530    491   
}
  531    492   
  532    493   
pub(crate) fn lens_describe_organization_conformance_packs_output_output_organization_conformance_packs(
  533    494   
    input: crate::operation::describe_organization_conformance_packs::DescribeOrganizationConformancePacksOutput,
  534    495   
) -> ::std::option::Option<::std::vec::Vec<crate::types::OrganizationConformancePack>> {
  535         -
    let input = match input.organization_conformance_packs {
  536         -
        ::std::option::Option::None => return ::std::option::Option::None,
  537         -
        ::std::option::Option::Some(t) => t,
  538         -
    };
         496  +
    let input = input.organization_conformance_packs?;
  539    497   
    ::std::option::Option::Some(input)
  540    498   
}
  541    499   
  542    500   
pub(crate) fn lens_describe_pending_aggregation_requests_output_output_pending_aggregation_requests(
  543    501   
    input: crate::operation::describe_pending_aggregation_requests::DescribePendingAggregationRequestsOutput,
  544    502   
) -> ::std::option::Option<::std::vec::Vec<crate::types::PendingAggregationRequest>> {
  545         -
    let input = match input.pending_aggregation_requests {
  546         -
        ::std::option::Option::None => return ::std::option::Option::None,
  547         -
        ::std::option::Option::Some(t) => t,
  548         -
    };
         503  +
    let input = input.pending_aggregation_requests?;
  549    504   
    ::std::option::Option::Some(input)
  550    505   
}
  551    506   
  552    507   
pub(crate) fn lens_describe_remediation_execution_status_output_output_remediation_execution_statuses(
  553    508   
    input: crate::operation::describe_remediation_execution_status::DescribeRemediationExecutionStatusOutput,
  554    509   
) -> ::std::option::Option<::std::vec::Vec<crate::types::RemediationExecutionStatus>> {
  555         -
    let input = match input.remediation_execution_statuses {
  556         -
        ::std::option::Option::None => return ::std::option::Option::None,
  557         -
        ::std::option::Option::Some(t) => t,
  558         -
    };
         510  +
    let input = input.remediation_execution_statuses?;
  559    511   
    ::std::option::Option::Some(input)
  560    512   
}
  561    513   
  562    514   
pub(crate) fn lens_describe_retention_configurations_output_output_retention_configurations(
  563    515   
    input: crate::operation::describe_retention_configurations::DescribeRetentionConfigurationsOutput,
  564    516   
) -> ::std::option::Option<::std::vec::Vec<crate::types::RetentionConfiguration>> {
  565         -
    let input = match input.retention_configurations {
  566         -
        ::std::option::Option::None => return ::std::option::Option::None,
  567         -
        ::std::option::Option::Some(t) => t,
  568         -
    };
         517  +
    let input = input.retention_configurations?;
  569    518   
    ::std::option::Option::Some(input)
  570    519   
}
  571    520   
  572    521   
pub(crate) fn lens_get_aggregate_compliance_details_by_config_rule_output_output_aggregate_evaluation_results(
  573    522   
    input: crate::operation::get_aggregate_compliance_details_by_config_rule::GetAggregateComplianceDetailsByConfigRuleOutput,
  574    523   
) -> ::std::option::Option<::std::vec::Vec<crate::types::AggregateEvaluationResult>> {
  575         -
    let input = match input.aggregate_evaluation_results {
  576         -
        ::std::option::Option::None => return ::std::option::Option::None,
  577         -
        ::std::option::Option::Some(t) => t,
  578         -
    };
         524  +
    let input = input.aggregate_evaluation_results?;
  579    525   
    ::std::option::Option::Some(input)
  580    526   
}
  581    527   
  582    528   
pub(crate) fn lens_get_compliance_details_by_config_rule_output_output_evaluation_results(
  583    529   
    input: crate::operation::get_compliance_details_by_config_rule::GetComplianceDetailsByConfigRuleOutput,
  584    530   
) -> ::std::option::Option<::std::vec::Vec<crate::types::EvaluationResult>> {
  585         -
    let input = match input.evaluation_results {
  586         -
        ::std::option::Option::None => return ::std::option::Option::None,
  587         -
        ::std::option::Option::Some(t) => t,
  588         -
    };
         531  +
    let input = input.evaluation_results?;
  589    532   
    ::std::option::Option::Some(input)
  590    533   
}
  591    534   
  592    535   
pub(crate) fn lens_get_compliance_details_by_resource_output_output_evaluation_results(
  593    536   
    input: crate::operation::get_compliance_details_by_resource::GetComplianceDetailsByResourceOutput,
  594    537   
) -> ::std::option::Option<::std::vec::Vec<crate::types::EvaluationResult>> {
  595         -
    let input = match input.evaluation_results {
  596         -
        ::std::option::Option::None => return ::std::option::Option::None,
  597         -
        ::std::option::Option::Some(t) => t,
  598         -
    };
         538  +
    let input = input.evaluation_results?;
  599    539   
    ::std::option::Option::Some(input)
  600    540   
}
  601    541   
  602    542   
pub(crate) fn lens_get_conformance_pack_compliance_summary_output_output_conformance_pack_compliance_summary_list(
  603    543   
    input: crate::operation::get_conformance_pack_compliance_summary::GetConformancePackComplianceSummaryOutput,
  604    544   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ConformancePackComplianceSummary>> {
  605         -
    let input = match input.conformance_pack_compliance_summary_list {
  606         -
        ::std::option::Option::None => return ::std::option::Option::None,
  607         -
        ::std::option::Option::Some(t) => t,
  608         -
    };
         545  +
    let input = input.conformance_pack_compliance_summary_list?;
  609    546   
    ::std::option::Option::Some(input)
  610    547   
}
  611    548   
  612    549   
pub(crate) fn lens_get_organization_config_rule_detailed_status_output_output_organization_config_rule_detailed_status(
  613    550   
    input: crate::operation::get_organization_config_rule_detailed_status::GetOrganizationConfigRuleDetailedStatusOutput,
  614    551   
) -> ::std::option::Option<::std::vec::Vec<crate::types::MemberAccountStatus>> {
  615         -
    let input = match input.organization_config_rule_detailed_status {
  616         -
        ::std::option::Option::None => return ::std::option::Option::None,
  617         -
        ::std::option::Option::Some(t) => t,
  618         -
    };
         552  +
    let input = input.organization_config_rule_detailed_status?;
  619    553   
    ::std::option::Option::Some(input)
  620    554   
}
  621    555   
  622    556   
pub(crate) fn lens_get_organization_conformance_pack_detailed_status_output_output_organization_conformance_pack_detailed_statuses(
  623    557   
    input: crate::operation::get_organization_conformance_pack_detailed_status::GetOrganizationConformancePackDetailedStatusOutput,
  624    558   
) -> ::std::option::Option<::std::vec::Vec<crate::types::OrganizationConformancePackDetailedStatus>> {
  625         -
    let input = match input.organization_conformance_pack_detailed_statuses {
  626         -
        ::std::option::Option::None => return ::std::option::Option::None,
  627         -
        ::std::option::Option::Some(t) => t,
  628         -
    };
         559  +
    let input = input.organization_conformance_pack_detailed_statuses?;
  629    560   
    ::std::option::Option::Some(input)
  630    561   
}
  631    562   
  632    563   
pub(crate) fn lens_get_resource_config_history_output_output_configuration_items(
  633    564   
    input: crate::operation::get_resource_config_history::GetResourceConfigHistoryOutput,
  634    565   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ConfigurationItem>> {
  635         -
    let input = match input.configuration_items {
  636         -
        ::std::option::Option::None => return ::std::option::Option::None,
  637         -
        ::std::option::Option::Some(t) => t,
  638         -
    };
         566  +
    let input = input.configuration_items?;
  639    567   
    ::std::option::Option::Some(input)
  640    568   
}
  641    569   
  642    570   
pub(crate) fn lens_list_aggregate_discovered_resources_output_output_resource_identifiers(
  643    571   
    input: crate::operation::list_aggregate_discovered_resources::ListAggregateDiscoveredResourcesOutput,
  644    572   
) -> ::std::option::Option<::std::vec::Vec<crate::types::AggregateResourceIdentifier>> {
  645         -
    let input = match input.resource_identifiers {
  646         -
        ::std::option::Option::None => return ::std::option::Option::None,
  647         -
        ::std::option::Option::Some(t) => t,
  648         -
    };
         573  +
    let input = input.resource_identifiers?;
  649    574   
    ::std::option::Option::Some(input)
  650    575   
}
  651    576   
  652    577   
pub(crate) fn lens_list_discovered_resources_output_output_resource_identifiers(
  653    578   
    input: crate::operation::list_discovered_resources::ListDiscoveredResourcesOutput,
  654    579   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ResourceIdentifier>> {
  655         -
    let input = match input.resource_identifiers {
  656         -
        ::std::option::Option::None => return ::std::option::Option::None,
  657         -
        ::std::option::Option::Some(t) => t,
  658         -
    };
         580  +
    let input = input.resource_identifiers?;
  659    581   
    ::std::option::Option::Some(input)
  660    582   
}
  661    583   
  662    584   
pub(crate) fn lens_list_resource_evaluations_output_output_resource_evaluations(
  663    585   
    input: crate::operation::list_resource_evaluations::ListResourceEvaluationsOutput,
  664    586   
) -> ::std::option::Option<::std::vec::Vec<crate::types::ResourceEvaluation>> {
  665         -
    let input = match input.resource_evaluations {
  666         -
        ::std::option::Option::None => return ::std::option::Option::None,
  667         -
        ::std::option::Option::Some(t) => t,
  668         -
    };
         587  +
    let input = input.resource_evaluations?;
  669    588   
    ::std::option::Option::Some(input)
  670    589   
}
  671    590   
  672    591   
pub(crate) fn lens_list_tags_for_resource_output_output_tags(
  673    592   
    input: crate::operation::list_tags_for_resource::ListTagsForResourceOutput,
  674    593   
) -> ::std::option::Option<::std::vec::Vec<crate::types::Tag>> {
  675         -
    let input = match input.tags {
  676         -
        ::std::option::Option::None => return ::std::option::Option::None,
  677         -
        ::std::option::Option::Some(t) => t,
  678         -
    };
         594  +
    let input = input.tags?;
  679    595   
    ::std::option::Option::Some(input)
  680    596   
}
  681    597   
  682    598   
pub(crate) fn lens_select_aggregate_resource_config_output_output_results(
  683    599   
    input: crate::operation::select_aggregate_resource_config::SelectAggregateResourceConfigOutput,
  684    600   
) -> ::std::option::Option<::std::vec::Vec<::std::string::String>> {
  685         -
    let input = match input.results {
  686         -
        ::std::option::Option::None => return ::std::option::Option::None,
  687         -
        ::std::option::Option::Some(t) => t,
  688         -
    };
         601  +
    let input = input.results?;
  689    602   
    ::std::option::Option::Some(input)
  690    603   
}
  691    604   
  692    605   
pub(crate) fn lens_select_resource_config_output_output_results(
  693    606   
    input: crate::operation::select_resource_config::SelectResourceConfigOutput,
  694    607   
) -> ::std::option::Option<::std::vec::Vec<::std::string::String>> {
  695         -
    let input = match input.results {
  696         -
        ::std::option::Option::None => return ::std::option::Option::None,
  697         -
        ::std::option::Option::Some(t) => t,
  698         -
    };
         608  +
    let input = input.results?;
  699    609   
    ::std::option::Option::Some(input)
  700    610   
}

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

@@ -1,1 +143,143 @@
    1      1   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
[package]
    3      3   
name = "aws-sdk-dynamodb"
    4      4   
version = "0.0.0-local"
    5      5   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
    6      6   
description = "AWS SDK for Amazon DynamoDB"
    7      7   
edition = "2021"
    8      8   
license = "Apache-2.0"
    9      9   
repository = "https://github.com/awslabs/aws-sdk-rust"
   10         -
rust-version = "1.82.0"
          10  +
rust-version = "1.85.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
[package.metadata.docs.rs]
   15     15   
all-features = true
   16     16   
targets = ["x86_64-unknown-linux-gnu"]
   17     17   
[dependencies.aws-credential-types]
   18     18   
path = "../aws-credential-types"
   19     19   
version = "1.2.3"
   20     20   
   21     21   
[dependencies.aws-runtime]
   22     22   
path = "../aws-runtime"
   23         -
version = "1.5.7"
          23  +
version = "1.5.8"
   24     24   
   25     25   
[dependencies.aws-smithy-async]
   26     26   
path = "../aws-smithy-async"
   27     27   
version = "1.2.5"
   28     28   
   29     29   
[dependencies.aws-smithy-http]
   30     30   
path = "../aws-smithy-http"
   31     31   
version = "0.62.1"
   32     32   
   33     33   
[dependencies.aws-smithy-json]
   34     34   
path = "../aws-smithy-json"
   35         -
version = "0.61.3"
          35  +
version = "0.61.4"
   36     36   
   37     37   
[dependencies.aws-smithy-runtime]
   38     38   
path = "../aws-smithy-runtime"
   39     39   
features = ["client"]
   40     40   
version = "1.8.3"
   41     41   
   42     42   
[dependencies.aws-smithy-runtime-api]
   43     43   
path = "../aws-smithy-runtime-api"
   44     44   
features = ["client", "http-02x"]
   45         -
version = "1.8.0"
          45  +
version = "1.8.1"
   46     46   
   47     47   
[dependencies.aws-smithy-types]
   48     48   
path = "../aws-smithy-types"
   49         -
version = "1.3.1"
          49  +
version = "1.3.2"
   50     50   
   51     51   
[dependencies.aws-types]
   52     52   
path = "../aws-types"
   53     53   
version = "1.3.7"
   54     54   
   55     55   
[dependencies.bytes]
   56     56   
version = "1.4.0"
   57     57   
   58     58   
[dependencies.fastrand]
   59     59   
version = "2.0.0"
   60     60   
   61     61   
[dependencies.http]
   62     62   
version = "0.2.9"
   63     63   
   64     64   
[dependencies.regex-lite]
   65     65   
version = "0.1.5"
   66     66   
   67     67   
[dependencies.tracing]
   68     68   
version = "0.1"
   69     69   
[dev-dependencies.approx]
   70     70   
version = "0.5.1"
   71     71   
   72     72   
[dev-dependencies.aws-config]
   73     73   
path = "../aws-config"
   74         -
version = "1.6.3"
          74  +
version = "1.6.4"
   75     75   
   76     76   
[dev-dependencies.aws-credential-types]
   77     77   
path = "../aws-credential-types"
   78     78   
features = ["test-util"]
   79     79   
version = "1.2.3"
   80     80   
   81     81   
[dev-dependencies.aws-runtime]
   82     82   
path = "../aws-runtime"
   83     83   
features = ["test-util"]
   84         -
version = "1.5.7"
          84  +
version = "1.5.8"
   85     85   
   86     86   
[dev-dependencies.aws-smithy-async]
   87     87   
path = "../aws-smithy-async"
   88     88   
features = ["test-util"]
   89     89   
version = "1.2.5"
   90     90   
   91     91   
[dev-dependencies.aws-smithy-http-client]
   92     92   
path = "../aws-smithy-http-client"
   93     93   
features = ["test-util", "wire-mock"]
   94         -
version = "1.0.3"
          94  +
version = "1.0.5"
   95     95   
   96     96   
[dev-dependencies.aws-smithy-protocol-test]
   97     97   
path = "../aws-smithy-protocol-test"
   98         -
version = "0.63.2"
          98  +
version = "0.63.4"
   99     99   
  100    100   
[dev-dependencies.aws-smithy-runtime]
  101    101   
path = "../aws-smithy-runtime"
  102    102   
features = ["test-util"]
  103    103   
version = "1.8.3"
  104    104   
  105    105   
[dev-dependencies.aws-smithy-runtime-api]
  106    106   
path = "../aws-smithy-runtime-api"
  107    107   
features = ["test-util"]
  108         -
version = "1.8.0"
         108  +
version = "1.8.1"
  109    109   
  110    110   
[dev-dependencies.aws-smithy-types]
  111    111   
path = "../aws-smithy-types"
  112    112   
features = ["test-util"]
  113         -
version = "1.3.1"
         113  +
version = "1.3.2"
  114    114   
  115    115   
[dev-dependencies.criterion]
  116    116   
version = "0.5.0"
  117    117   
  118    118   
[dev-dependencies.futures-util]
  119    119   
version = "0.3.25"
  120    120   
features = ["alloc"]
  121    121   
default-features = false
  122    122   
  123    123   
[dev-dependencies.http-1x]

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

@@ -252,252 +346,347 @@
  272    272   
    /// let config = builder.build();
  273    273   
    /// # }
  274    274   
    /// # }
  275    275   
    /// ```
  276    276   
    pub fn set_http_client(&mut self, http_client: Option<crate::config::SharedHttpClient>) -> &mut Self {
  277    277   
        self.runtime_components.set_http_client(http_client);
  278    278   
        self
  279    279   
    }
  280    280   
    /// Sets the endpoint resolver to use when making requests.
  281    281   
    ///
  282         -
         282  +
    ///
  283    283   
    /// When unset, the client will used a generated endpoint resolver based on the endpoint resolution
  284    284   
    /// rules for `aws_sdk_dynamodb`.
  285         -
         285  +
    ///
  286    286   
    ///
  287    287   
    /// Note: setting an endpoint resolver will replace any endpoint URL that has been set.
  288    288   
    /// This method accepts an endpoint resolver [specific to this service](crate::config::endpoint::ResolveEndpoint). If you want to
  289    289   
    /// provide a shared endpoint resolver, use [`Self::set_endpoint_resolver`].
  290    290   
    ///
  291    291   
    /// # Examples
  292    292   
    /// Create a custom endpoint resolver that resolves a different endpoing per-stage, e.g. staging vs. production.
  293    293   
    /// ```no_run
  294    294   
    /// use aws_sdk_dynamodb::config::endpoint::{ResolveEndpoint, EndpointFuture, Params, Endpoint};
  295    295   
    /// #[derive(Debug)]
  296    296   
    /// struct StageResolver { stage: String }
  297    297   
    /// impl ResolveEndpoint for StageResolver {
  298    298   
    ///     fn resolve_endpoint(&self, params: &Params) -> EndpointFuture<'_> {
  299    299   
    ///         let stage = &self.stage;
  300    300   
    ///         EndpointFuture::ready(Ok(Endpoint::builder().url(format!("{stage}.myservice.com")).build()))
  301    301   
    ///     }
  302    302   
    /// }
  303    303   
    /// let resolver = StageResolver { stage: std::env::var("STAGE").unwrap() };
  304    304   
    /// let config = aws_sdk_dynamodb::Config::builder().endpoint_resolver(resolver).build();
  305    305   
    /// let client = aws_sdk_dynamodb::Client::from_conf(config);
  306    306   
    /// ```
  307    307   
    pub fn endpoint_resolver(mut self, endpoint_resolver: impl crate::config::endpoint::ResolveEndpoint + 'static) -> Self {
  308    308   
        self.set_endpoint_resolver(::std::option::Option::Some(endpoint_resolver.into_shared_resolver()));
  309    309   
        self
  310    310   
    }
  311    311   
  312    312   
    /// Sets the endpoint resolver to use when making requests.
  313    313   
    ///
  314         -
         314  +
    ///
  315    315   
    /// When unset, the client will used a generated endpoint resolver based on the endpoint resolution
  316    316   
    /// rules for `aws_sdk_dynamodb`.
         317  +
    ///
  317    318   
    pub fn set_endpoint_resolver(
  318    319   
        &mut self,
  319    320   
        endpoint_resolver: ::std::option::Option<::aws_smithy_runtime_api::client::endpoint::SharedEndpointResolver>,
  320    321   
    ) -> &mut Self {
  321    322   
        self.runtime_components.set_endpoint_resolver(endpoint_resolver);
  322    323   
        self
  323    324   
    }
  324    325   
    /// Set the retry_config for the builder
  325    326   
    ///
  326    327   
    /// # Examples
@@ -492,493 +598,599 @@
  512    513   
    ///     .identity_cache(
  513    514   
    ///         IdentityCache::lazy()
  514    515   
    ///             // change the load timeout to 10 seconds
  515    516   
    ///             .load_timeout(Duration::from_secs(10))
  516    517   
    ///             .build()
  517    518   
    ///     )
  518    519   
    ///     // ...
  519    520   
    ///     .build();
  520    521   
    /// let client = aws_sdk_dynamodb::Client::from_conf(config);
  521    522   
    /// ```
  522         -
         523  +
    ///
  523    524   
    pub fn identity_cache(mut self, identity_cache: impl crate::config::ResolveCachedIdentity + 'static) -> Self {
  524    525   
        self.set_identity_cache(identity_cache);
  525    526   
        self
  526    527   
    }
  527    528   
  528    529   
    /// Set the identity cache for auth.
  529    530   
    ///
  530    531   
    /// The identity cache defaults to a lazy caching implementation that will resolve
  531    532   
    /// an identity when it is requested, and place it in the cache thereafter. Subsequent
  532    533   
    /// requests will take the value from the cache while it is still valid. Once it expires,
  533    534   
    /// the next request will result in refreshing the identity.
  534    535   
    ///
  535    536   
    /// This configuration allows you to disable or change the default caching mechanism.
  536    537   
    /// To use a custom caching mechanism, implement the [`ResolveCachedIdentity`](crate::config::ResolveCachedIdentity)
  537    538   
    /// trait and pass that implementation into this function.
  538    539   
    ///
  539    540   
    /// # Examples
  540    541   
    ///
  541    542   
    /// Disabling identity caching:
  542    543   
    /// ```no_run
  543    544   
    /// use aws_sdk_dynamodb::config::IdentityCache;
  544    545   
    ///
  545    546   
    /// let config = aws_sdk_dynamodb::Config::builder()
  546    547   
    ///     .identity_cache(IdentityCache::no_cache())
  547    548   
    ///     // ...
  548    549   
    ///     .build();
  549    550   
    /// let client = aws_sdk_dynamodb::Client::from_conf(config);
  550    551   
    /// ```
  551    552   
    ///
  552    553   
    /// Customizing lazy caching:
  553    554   
    /// ```no_run
  554    555   
    /// use aws_sdk_dynamodb::config::IdentityCache;
  555    556   
    /// use std::time::Duration;
  556    557   
    ///
  557    558   
    /// let config = aws_sdk_dynamodb::Config::builder()
  558    559   
    ///     .identity_cache(
  559    560   
    ///         IdentityCache::lazy()
  560    561   
    ///             // change the load timeout to 10 seconds
  561    562   
    ///             .load_timeout(Duration::from_secs(10))
  562    563   
    ///             .build()
  563    564   
    ///     )
  564    565   
    ///     // ...
  565    566   
    ///     .build();
  566    567   
    /// let client = aws_sdk_dynamodb::Client::from_conf(config);
  567    568   
    /// ```
  568         -
         569  +
    ///
  569    570   
    pub fn set_identity_cache(&mut self, identity_cache: impl crate::config::ResolveCachedIdentity + 'static) -> &mut Self {
  570    571   
        self.runtime_components.set_identity_cache(::std::option::Option::Some(identity_cache));
  571    572   
        self
  572    573   
    }
  573    574   
    /// Add an [interceptor](crate::config::Intercept) that runs at specific stages of the request execution pipeline.
  574    575   
    ///
  575    576   
    /// Interceptors targeted at a certain stage are executed according to the pre-defined priority.
  576    577   
    /// The SDK provides a default set of interceptors. An interceptor configured by this method
  577    578   
    /// will run after those default interceptors.
  578    579   
    ///
@@ -903,904 +973,974 @@
  923    924   
        self
  924    925   
    }
  925    926   
    /// The AccountId Endpoint Mode.
  926    927   
    pub fn set_account_id_endpoint_mode(
  927    928   
        &mut self,
  928    929   
        account_id_endpoint_mode: ::std::option::Option<::aws_types::endpoint_config::AccountIdEndpointMode>,
  929    930   
    ) -> &mut Self {
  930    931   
        self.config.store_or_unset(account_id_endpoint_mode);
  931    932   
        self
  932    933   
    }
  933         -
    /// Sets the endpoint URL used to communicate with this service
  934         -
         934  +
    /// Sets the endpoint URL used to communicate with this service.
         935  +
    ///
  935    936   
    /// Note: this is used in combination with other endpoint rules, e.g. an API that applies a host-label prefix
  936    937   
    /// will be prefixed onto this URL. To fully override the endpoint resolver, use
  937    938   
    /// [`Builder::endpoint_resolver`].
  938    939   
    pub fn endpoint_url(mut self, endpoint_url: impl Into<::std::string::String>) -> Self {
  939    940   
        self.set_endpoint_url(Some(endpoint_url.into()));
  940    941   
        self
  941    942   
    }
  942         -
    /// Sets the endpoint URL used to communicate with this service
  943         -
         943  +
    /// Sets the endpoint URL used to communicate with this service.
         944  +
    ///
  944    945   
    /// Note: this is used in combination with other endpoint rules, e.g. an API that applies a host-label prefix
  945    946   
    /// will be prefixed onto this URL. To fully override the endpoint resolver, use
  946    947   
    /// [`Builder::endpoint_resolver`].
  947    948   
    pub fn set_endpoint_url(&mut self, endpoint_url: Option<::std::string::String>) -> &mut Self {
  948    949   
        self.config.store_or_unset(endpoint_url.map(::aws_types::endpoint_config::EndpointUrl));
  949    950   
        self
  950    951   
    }
  951    952   
    /// When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
  952    953   
    pub fn use_dual_stack(mut self, use_dual_stack: impl Into<bool>) -> Self {
  953    954   
        self.set_use_dual_stack(Some(use_dual_stack.into()));
@@ -1005,1006 +1100,1101 @@
 1025   1026   
    /// Customizing behavior major version:
 1026   1027   
    /// ```no_run
 1027   1028   
    /// use aws_sdk_dynamodb::config::BehaviorVersion;
 1028   1029   
    ///
 1029   1030   
    /// let config = aws_sdk_dynamodb::Config::builder()
 1030   1031   
    ///     .behavior_version(BehaviorVersion::v2023_11_09())
 1031   1032   
    ///     // ...
 1032   1033   
    ///     .build();
 1033   1034   
    /// let client = aws_sdk_dynamodb::Client::from_conf(config);
 1034   1035   
    /// ```
 1035         -
        1036  +
    ///
 1036   1037   
    pub fn behavior_version(mut self, behavior_version: crate::config::BehaviorVersion) -> Self {
 1037   1038   
        self.set_behavior_version(Some(behavior_version));
 1038   1039   
        self
 1039   1040   
    }
 1040   1041   
 1041   1042   
    /// Sets the [`behavior major version`](crate::config::BehaviorVersion).
 1042   1043   
    ///
 1043   1044   
    /// Over time, new best-practice behaviors are introduced. However, these behaviors might not be backwards
 1044   1045   
    /// compatible. For example, a change which introduces new default timeouts or a new retry-mode for
 1045   1046   
    /// all operations might be the ideal behavior but could break existing applications.
 1046   1047   
    ///
 1047   1048   
    /// # Examples
 1048   1049   
    ///
 1049   1050   
    /// Set the behavior major version to `latest`. This is equivalent to enabling the `behavior-version-latest` cargo feature.
 1050   1051   
    /// ```no_run
 1051   1052   
    /// use aws_sdk_dynamodb::config::BehaviorVersion;
 1052   1053   
    ///
 1053   1054   
    /// let config = aws_sdk_dynamodb::Config::builder()
 1054   1055   
    ///     .behavior_version(BehaviorVersion::latest())
 1055   1056   
    ///     // ...
 1056   1057   
    ///     .build();
 1057   1058   
    /// let client = aws_sdk_dynamodb::Client::from_conf(config);
 1058   1059   
    /// ```
 1059   1060   
    ///
 1060   1061   
    /// Customizing behavior major version:
 1061   1062   
    /// ```no_run
 1062   1063   
    /// use aws_sdk_dynamodb::config::BehaviorVersion;
 1063   1064   
    ///
 1064   1065   
    /// let config = aws_sdk_dynamodb::Config::builder()
 1065   1066   
    ///     .behavior_version(BehaviorVersion::v2023_11_09())
 1066   1067   
    ///     // ...
 1067   1068   
    ///     .build();
 1068   1069   
    /// let client = aws_sdk_dynamodb::Client::from_conf(config);
 1069   1070   
    /// ```
 1070         -
        1071  +
    ///
 1071   1072   
    pub fn set_behavior_version(&mut self, behavior_version: Option<crate::config::BehaviorVersion>) -> &mut Self {
 1072   1073   
        self.behavior_version = behavior_version;
 1073   1074   
        self
 1074   1075   
    }
 1075   1076   
 1076   1077   
    /// Convenience method to set the latest behavior major version
 1077   1078   
    ///
 1078   1079   
    /// This is equivalent to enabling the `behavior-version-latest` Cargo feature
 1079   1080   
    pub fn behavior_version_latest(mut self) -> Self {
 1080   1081   
        self.set_behavior_version(Some(crate::config::BehaviorVersion::latest()));
@@ -1163,1164 +1223,1224 @@
 1183   1184   
    }
 1184   1185   
 1185   1186   
    fn runtime_components(
 1186   1187   
        &self,
 1187   1188   
        _: &::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
 1188   1189   
    ) -> ::std::borrow::Cow<'_, ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder> {
 1189   1190   
        ::std::borrow::Cow::Borrowed(&self.runtime_components)
 1190   1191   
    }
 1191   1192   
}
 1192   1193   
 1193         -
/// Cross-operation shared-state singletons
        1194  +
// Cross-operation shared-state singletons
 1194   1195   
 1195   1196   
/// A plugin that enables configuration for a single operation invocation
 1196   1197   
///
 1197   1198   
/// The `config` method will return a `FrozenLayer` by storing values from `config_override`.
 1198   1199   
/// In the case of default values requested, they will be obtained from `client_config`.
 1199   1200   
#[derive(Debug)]
 1200   1201   
pub(crate) struct ConfigOverrideRuntimePlugin {
 1201   1202   
    pub(crate) config: ::aws_smithy_types::config_bag::FrozenLayer,
 1202   1203   
    pub(crate) components: ::aws_smithy_runtime_api::client::runtime_components::RuntimeComponentsBuilder,
 1203   1204   
}

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

@@ -13,13 +73,73 @@
   33     33   
pub(crate) struct Partition<'a> {
   34     34   
    name: &'a str,
   35     35   
    dns_suffix: &'a str,
   36     36   
    dual_stack_dns_suffix: &'a str,
   37     37   
    supports_fips: bool,
   38     38   
    supports_dual_stack: bool,
   39     39   
    implicit_global_region: &'a str,
   40     40   
}
   41     41   
   42     42   
#[allow(unused)]
   43         -
impl<'a> Partition<'a> {
          43  +
impl Partition<'_> {
   44     44   
    pub(crate) fn name(&self) -> &str {
   45     45   
        self.name
   46     46   
    }
   47     47   
   48     48   
    pub(crate) fn dns_suffix(&self) -> &str {
   49     49   
        self.dns_suffix
   50     50   
    }
   51     51   
   52     52   
    pub(crate) fn supports_fips(&self) -> bool {
   53     53   
        self.supports_fips

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/lens.rs

@@ -35,35 +90,81 @@
   55     55   
    let input = match &input.last_evaluated_key {
   56     56   
        ::std::option::Option::None => return ::std::option::Option::None,
   57     57   
        ::std::option::Option::Some(t) => t,
   58     58   
    };
   59     59   
    ::std::option::Option::Some(input)
   60     60   
}
   61     61   
   62     62   
pub(crate) fn lens_list_tables_output_output_table_names(
   63     63   
    input: crate::operation::list_tables::ListTablesOutput,
   64     64   
) -> ::std::option::Option<::std::vec::Vec<::std::string::String>> {
   65         -
    let input = match input.table_names {
   66         -
        ::std::option::Option::None => return ::std::option::Option::None,
   67         -
        ::std::option::Option::Some(t) => t,
   68         -
    };
          65  +
    let input = input.table_names?;
   69     66   
    ::std::option::Option::Some(input)
   70     67   
}
   71     68   
   72     69   
pub(crate) fn lens_query_output_output_items(
   73     70   
    input: crate::operation::query::QueryOutput,
   74     71   
) -> ::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>> {
   75         -
    let input = match input.items {
   76         -
        ::std::option::Option::None => return ::std::option::Option::None,
   77         -
        ::std::option::Option::Some(t) => t,
   78         -
    };
          72  +
    let input = input.items?;
   79     73   
    ::std::option::Option::Some(input)
   80     74   
}
   81     75   
   82     76   
pub(crate) fn lens_scan_output_output_items(
   83     77   
    input: crate::operation::scan::ScanOutput,
   84     78   
) -> ::std::option::Option<::std::vec::Vec<::std::collections::HashMap<::std::string::String, crate::types::AttributeValue>>> {
   85         -
    let input = match input.items {
   86         -
        ::std::option::Option::None => return ::std::option::Option::None,
   87         -
        ::std::option::Option::Some(t) => t,
   88         -
    };
          79  +
    let input = input.items?;
   89     80   
    ::std::option::Option::Some(input)
   90     81   
}

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

@@ -1,1 +144,144 @@
    1      1   
# Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2      2   
[package]
    3      3   
name = "aws-sdk-ec2"
    4      4   
version = "0.0.0-local"
    5      5   
authors = ["AWS Rust SDK Team <aws-sdk-rust@amazon.com>", "Russell Cohen <rcoh@amazon.com>"]
    6      6   
description = "AWS SDK for Amazon Elastic Compute Cloud"
    7      7   
edition = "2021"
    8      8   
license = "Apache-2.0"
    9      9   
repository = "https://github.com/awslabs/aws-sdk-rust"
   10         -
rust-version = "1.82.0"
          10  +
rust-version = "1.85.0"
   11     11   
readme = "README.md"
   12     12   
[package.metadata.smithy]
   13     13   
codegen-version = "ci"
   14     14   
[package.metadata.docs.rs]
   15     15   
all-features = true
   16     16   
targets = ["x86_64-unknown-linux-gnu"]
   17     17   
[dependencies.aws-credential-types]
   18     18   
path = "../aws-credential-types"
   19     19   
version = "1.2.3"
   20     20   
   21     21   
[dependencies.aws-runtime]
   22     22   
path = "../aws-runtime"
   23         -
version = "1.5.7"
          23  +
version = "1.5.8"
   24     24   
   25     25   
[dependencies.aws-smithy-async]
   26     26   
path = "../aws-smithy-async"
   27     27   
version = "1.2.5"
   28     28   
   29     29   
[dependencies.aws-smithy-http]
   30     30   
path = "../aws-smithy-http"
   31     31   
version = "0.62.1"
   32     32   
   33     33   
[dependencies.aws-smithy-json]
   34     34   
path = "../aws-smithy-json"
   35         -
version = "0.61.3"
          35  +
version = "0.61.4"
   36     36   
   37     37   
[dependencies.aws-smithy-query]
   38     38   
path = "../aws-smithy-query"
   39     39   
version = "0.60.7"
   40     40   
   41     41   
[dependencies.aws-smithy-runtime]
   42     42   
path = "../aws-smithy-runtime"
   43     43   
features = ["client"]
   44     44   
version = "1.8.3"
   45     45   
   46     46   
[dependencies.aws-smithy-runtime-api]
   47     47   
path = "../aws-smithy-runtime-api"
   48     48   
features = ["client", "http-02x"]
   49         -
version = "1.8.0"
          49  +
version = "1.8.1"
   50     50   
   51     51   
[dependencies.aws-smithy-types]
   52     52   
path = "../aws-smithy-types"
   53         -
version = "1.3.1"
          53  +
version = "1.3.2"
   54     54   
   55     55   
[dependencies.aws-smithy-xml]
   56     56   
path = "../aws-smithy-xml"
   57         -
version = "0.60.9"
          57  +
version = "0.60.10"
   58     58   
   59     59   
[dependencies.aws-types]
   60     60   
path = "../aws-types"
   61     61   
version = "1.3.7"
   62     62   
   63     63   
[dependencies.fastrand]
   64     64   
version = "2.0.0"
   65     65   
   66     66   
[dependencies.http]
   67     67   
version = "0.2.9"
   68     68   
   69     69   
[dependencies.regex-lite]
   70     70   
version = "0.1.5"
   71     71   
   72     72   
[dependencies.tracing]
   73     73   
version = "0.1"
   74     74   
[dev-dependencies.aws-config]
   75     75   
path = "../aws-config"
   76         -
version = "1.6.3"
          76  +
version = "1.6.4"
   77     77   
   78     78   
[dev-dependencies.aws-credential-types]
   79     79   
path = "../aws-credential-types"
   80     80   
features = ["test-util"]
   81     81   
version = "1.2.3"
   82     82   
   83     83   
[dev-dependencies.aws-runtime]
   84     84   
path = "../aws-runtime"
   85     85   
features = ["test-util"]
   86         -
version = "1.5.7"
          86  +
version = "1.5.8"
   87     87   
   88     88   
[dev-dependencies.aws-smithy-async]
   89     89   
path = "../aws-smithy-async"
   90     90   
features = ["test-util"]
   91     91   
version = "1.2.5"
   92     92   
   93     93   
[dev-dependencies.aws-smithy-http-client]
   94     94   
path = "../aws-smithy-http-client"
   95     95   
features = ["test-util", "wire-mock"]
   96         -
version = "1.0.3"
          96  +
version = "1.0.5"
   97     97   
   98     98   
[dev-dependencies.aws-smithy-protocol-test]
   99     99   
path = "../aws-smithy-protocol-test"
  100         -
version = "0.63.2"
         100  +
version = "0.63.4"
  101    101   
  102    102   
[dev-dependencies.aws-smithy-runtime]
  103    103   
path = "../aws-smithy-runtime"
  104    104   
features = ["test-util"]
  105    105   
version = "1.8.3"
  106    106   
  107    107   
[dev-dependencies.aws-smithy-runtime-api]
  108    108   
path = "../aws-smithy-runtime-api"
  109    109   
features = ["test-util"]
  110         -
version = "1.8.0"
         110  +
version = "1.8.1"
  111    111   
  112    112   
[dev-dependencies.aws-smithy-types]
  113    113   
path = "../aws-smithy-types"
  114    114   
features = ["test-util"]
  115         -
version = "1.3.1"
         115  +
version = "1.3.2"
  116    116   
  117    117   
[dev-dependencies.futures-util]
  118    118   
version = "0.3.25"
  119    119   
features = ["alloc"]
  120    120   
default-features = false
  121    121   
  122    122   
[dev-dependencies.http-1x]
  123    123   
version = "1"
  124    124   
package = "http"
  125    125