AWS SDK

AWS SDK

rev. d29c343cc7d4479a9e4fad7ae67899c7e23bd1f1

Files changed:

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/update_alias/builders.rs

@@ -67,67 +127,128 @@
   87     87   
    pub fn as_input(&self) -> &crate::operation::update_alias::builders::UpdateAliasInputBuilder {
   88     88   
        &self.inner
   89     89   
    }
   90     90   
    /// Sends the request and returns the response.
   91     91   
    ///
   92     92   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   93     93   
    /// can be matched against.
   94     94   
    ///
   95     95   
    /// By default, any retryable failures will be retried twice. Retry behavior
   96     96   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   97         -
    /// set when configuring the client.
          97  +
    /// set when configuring the client. Note: retries are enabled by default when using
          98  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   98     99   
    pub async fn send(
   99    100   
        self,
  100    101   
    ) -> ::std::result::Result<
  101    102   
        crate::operation::update_alias::UpdateAliasOutput,
  102    103   
        ::aws_smithy_runtime_api::client::result::SdkError<
  103    104   
            crate::operation::update_alias::UpdateAliasError,
  104    105   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  105    106   
        >,
  106    107   
    > {
  107    108   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/update_custom_key_store/builders.rs

@@ -70,70 +130,131 @@
   90     90   
    pub fn as_input(&self) -> &crate::operation::update_custom_key_store::builders::UpdateCustomKeyStoreInputBuilder {
   91     91   
        &self.inner
   92     92   
    }
   93     93   
    /// Sends the request and returns the response.
   94     94   
    ///
   95     95   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   96     96   
    /// can be matched against.
   97     97   
    ///
   98     98   
    /// By default, any retryable failures will be retried twice. Retry behavior
   99     99   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
  100         -
    /// set when configuring the client.
         100  +
    /// set when configuring the client. Note: retries are enabled by default when using
         101  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
  101    102   
    pub async fn send(
  102    103   
        self,
  103    104   
    ) -> ::std::result::Result<
  104    105   
        crate::operation::update_custom_key_store::UpdateCustomKeyStoreOutput,
  105    106   
        ::aws_smithy_runtime_api::client::result::SdkError<
  106    107   
            crate::operation::update_custom_key_store::UpdateCustomKeyStoreError,
  107    108   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  108    109   
        >,
  109    110   
    > {
  110    111   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/update_key_description/builders.rs

@@ -51,51 +111,112 @@
   71     71   
    pub fn as_input(&self) -> &crate::operation::update_key_description::builders::UpdateKeyDescriptionInputBuilder {
   72     72   
        &self.inner
   73     73   
    }
   74     74   
    /// Sends the request and returns the response.
   75     75   
    ///
   76     76   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   77     77   
    /// can be matched against.
   78     78   
    ///
   79     79   
    /// By default, any retryable failures will be retried twice. Retry behavior
   80     80   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   81         -
    /// set when configuring the client.
          81  +
    /// set when configuring the client. Note: retries are enabled by default when using
          82  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   82     83   
    pub async fn send(
   83     84   
        self,
   84     85   
    ) -> ::std::result::Result<
   85     86   
        crate::operation::update_key_description::UpdateKeyDescriptionOutput,
   86     87   
        ::aws_smithy_runtime_api::client::result::SdkError<
   87     88   
            crate::operation::update_key_description::UpdateKeyDescriptionError,
   88     89   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   89     90   
        >,
   90     91   
    > {
   91     92   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/update_primary_region/builders.rs

@@ -63,63 +123,124 @@
   83     83   
    pub fn as_input(&self) -> &crate::operation::update_primary_region::builders::UpdatePrimaryRegionInputBuilder {
   84     84   
        &self.inner
   85     85   
    }
   86     86   
    /// Sends the request and returns the response.
   87     87   
    ///
   88     88   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   89     89   
    /// can be matched against.
   90     90   
    ///
   91     91   
    /// By default, any retryable failures will be retried twice. Retry behavior
   92     92   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   93         -
    /// set when configuring the client.
          93  +
    /// set when configuring the client. Note: retries are enabled by default when using
          94  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   94     95   
    pub async fn send(
   95     96   
        self,
   96     97   
    ) -> ::std::result::Result<
   97     98   
        crate::operation::update_primary_region::UpdatePrimaryRegionOutput,
   98     99   
        ::aws_smithy_runtime_api::client::result::SdkError<
   99    100   
            crate::operation::update_primary_region::UpdatePrimaryRegionError,
  100    101   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  101    102   
        >,
  102    103   
    > {
  103    104   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/verify/builders.rs

@@ -45,45 +105,106 @@
   65     65   
    pub fn as_input(&self) -> &crate::operation::verify::builders::VerifyInputBuilder {
   66     66   
        &self.inner
   67     67   
    }
   68     68   
    /// Sends the request and returns the response.
   69     69   
    ///
   70     70   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   71     71   
    /// can be matched against.
   72     72   
    ///
   73     73   
    /// By default, any retryable failures will be retried twice. Retry behavior
   74     74   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   75         -
    /// set when configuring the client.
          75  +
    /// set when configuring the client. Note: retries are enabled by default when using
          76  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   76     77   
    pub async fn send(
   77     78   
        self,
   78     79   
    ) -> ::std::result::Result<
   79     80   
        crate::operation::verify::VerifyOutput,
   80     81   
        ::aws_smithy_runtime_api::client::result::SdkError<
   81     82   
            crate::operation::verify::VerifyError,
   82     83   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   83     84   
        >,
   84     85   
    > {
   85     86   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/kms/src/operation/verify_mac/builders.rs

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::verify_mac::builders::VerifyMacInputBuilder {
   62     62   
        &self.inner
   63     63   
    }
   64     64   
    /// Sends the request and returns the response.
   65     65   
    ///
   66     66   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   67     67   
    /// can be matched against.
   68     68   
    ///
   69     69   
    /// By default, any retryable failures will be retried twice. Retry behavior
   70     70   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   71         -
    /// set when configuring the client.
          71  +
    /// set when configuring the client. Note: retries are enabled by default when using
          72  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   72     73   
    pub async fn send(
   73     74   
        self,
   74     75   
    ) -> ::std::result::Result<
   75     76   
        crate::operation::verify_mac::VerifyMacOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::verify_mac::VerifyMacError,
   78     79   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   79     80   
        >,
   80     81   
    > {
   81     82   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/kms/tests/integration.rs

@@ -1,1 +98,100 @@
    1      1   
/*
    2      2   
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
    3      3   
 * SPDX-License-Identifier: Apache-2.0
    4      4   
 */
    5      5   
    6      6   
use aws_sdk_kms as kms;
    7      7   
use aws_sdk_kms::operation::RequestId;
    8      8   
use aws_smithy_http_client::test_util::{ReplayEvent, StaticReplayClient};
    9      9   
use aws_smithy_runtime_api::client::result::SdkError;
   10     10   
use aws_smithy_types::body::SdkBody;
          11  +
use aws_smithy_types::retry::RetryConfig;
   11     12   
use http_1x::Uri;
   12     13   
use kms::config::{Config, Credentials, Region};
   13     14   
   14     15   
// TODO(DVR): having the full HTTP requests right in the code is a bit gross, consider something
   15     16   
// like https://github.com/davidbarsky/sigv4/blob/master/aws-sigv4/src/lib.rs#L283-L315 to store
   16     17   
// the requests/responses externally
   17     18   
   18     19   
/// Validate that for CN regions we set the URI correctly
   19     20   
#[tokio::test]
   20     21   
async fn generate_random_cn() {
   21     22   
    let http_client= StaticReplayClient::new(vec![ReplayEvent::new(
   22     23   
        http_1x::Request::builder()
   23     24   
            .uri(Uri::from_static("https://kms.cn-north-1.amazonaws.com.cn/"))
   24     25   
            .body(SdkBody::from(r#"{"NumberOfBytes":64}"#)).unwrap(),
   25     26   
        http_1x::Response::builder()
   26     27   
            .status(http_1x::StatusCode::from_u16(200).unwrap())
   27     28   
            .body(SdkBody::from(r#"{"Plaintext":"6CG0fbzzhg5G2VcFCPmJMJ8Njv3voYCgrGlp3+BZe7eDweCXgiyDH9BnkKvLmS7gQhnYDUlyES3fZVGwv5+CxA=="}"#)).unwrap())
   28     29   
    ]);
   29     30   
    let conf = Config::builder()
   30     31   
        .http_client(http_client.clone())
   31     32   
        .region(Region::new("cn-north-1"))
   32     33   
        .credentials_provider(Credentials::for_tests())
   33     34   
        .build();
   34     35   
    let client = kms::Client::from_conf(conf);
   35     36   
    let _ = client
   36     37   
        .generate_random()
   37     38   
        .number_of_bytes(64)
   38     39   
        .send()
   39     40   
        .await
   40     41   
        .expect("success");
   41     42   
   42     43   
    assert_eq!(http_client.actual_requests().count(), 1);
   43     44   
    http_client.assert_requests_match(&[]);
   44     45   
}
   45     46   
   46     47   
#[cfg(feature = "test-util")]
   47     48   
#[tokio::test]
   48     49   
async fn generate_random() {
   49     50   
    let http_client = StaticReplayClient::new(vec![ReplayEvent::new(
   50     51   
        http_1x::Request::builder()
   51     52   
            .header("content-type", "application/x-amz-json-1.1")
   52     53   
            .header("x-amz-target", "TrentService.GenerateRandom")
   53     54   
            .header("content-length", "20")
   54     55   
            .header("authorization", "AWS4-HMAC-SHA256 Credential=ANOTREAL/20090213/us-east-1/kms/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-date;x-amz-target;x-amz-user-agent, Signature=53dcf70f6f852cb576185dcabef5aaa3d068704cf1b7ea7dc644efeaa46674d7")
   55     56   
            .header("x-amz-date", "20090213T233130Z")
   56     57   
            .header("user-agent", "aws-sdk-rust/0.123.test os/windows/XPSP3 lang/rust/1.50.0")
   57     58   
            .header("x-amz-user-agent", "aws-sdk-rust/0.123.test api/test-service/0.123 os/windows/XPSP3 lang/rust/1.50.0")
   58     59   
            .uri(Uri::from_static("https://kms.us-east-1.amazonaws.com/"))
   59     60   
            .body(SdkBody::from(r#"{"NumberOfBytes":64}"#)).unwrap(),
   60     61   
        http_1x::Response::builder()
   61     62   
            .status(http_1x::StatusCode::from_u16(200).unwrap())
   62     63   
            .body(SdkBody::from(r#"{"Plaintext":"6CG0fbzzhg5G2VcFCPmJMJ8Njv3voYCgrGlp3+BZe7eDweCXgiyDH9BnkKvLmS7gQhnYDUlyES3fZVGwv5+CxA=="}"#)).unwrap())
   63     64   
    ]);
   64     65   
    let conf = Config::builder()
   65     66   
        .http_client(http_client.clone())
   66     67   
        .region(Region::new("us-east-1"))
   67     68   
        .credentials_provider(Credentials::for_tests_with_session_token())
   68     69   
        .with_test_defaults()
          70  +
        .retry_config(RetryConfig::disabled())
   69     71   
        .build();
   70     72   
    let client = kms::Client::from_conf(conf);
   71     73   
    let resp = client
   72     74   
        .generate_random()
   73     75   
        .number_of_bytes(64)
   74     76   
        .customize()
   75     77   
        .mutate_request(|req| {
   76     78   
            // Remove the invocation ID since the signed request above doesn't have it
   77     79   
            req.headers_mut().remove("amz-sdk-invocation-id");
   78     80   
        })
@@ -118,120 +169,172 @@
  138    140   
            .header("date", "Fri, 05 Mar 2021 15:01:40 GMT")
  139    141   
            .header("content-type", "application/x-amz-json-1.1")
  140    142   
            .header("content-length", "44")
  141    143   
            .body(SdkBody::from(r#"{"__type":"CustomKeyStoreNotFoundException"}"#)).unwrap())
  142    144   
    ]);
  143    145   
    let conf = Config::builder()
  144    146   
        .http_client(http_client.clone())
  145    147   
        .region(Region::new("us-east-1"))
  146    148   
        .credentials_provider(Credentials::for_tests_with_session_token())
  147    149   
        .with_test_defaults()
         150  +
        .retry_config(RetryConfig::disabled())
  148    151   
        .build();
  149    152   
    let client = kms::Client::from_conf(conf);
  150    153   
  151    154   
    let err = client
  152    155   
        .generate_random()
  153    156   
        .number_of_bytes(64)
  154    157   
        .custom_key_store_id("does not exist")
  155    158   
        .send()
  156    159   
        .await
  157    160   
        .expect_err("key store doesn't exist");

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/add_layer_version_permission/builders.rs

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::add_layer_version_permission::builders::AddLayerVersionPermissionInputBuilder {
   62     62   
        &self.inner
   63     63   
    }
   64     64   
    /// Sends the request and returns the response.
   65     65   
    ///
   66     66   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   67     67   
    /// can be matched against.
   68     68   
    ///
   69     69   
    /// By default, any retryable failures will be retried twice. Retry behavior
   70     70   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   71         -
    /// set when configuring the client.
          71  +
    /// set when configuring the client. Note: retries are enabled by default when using
          72  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   72     73   
    pub async fn send(
   73     74   
        self,
   74     75   
    ) -> ::std::result::Result<
   75     76   
        crate::operation::add_layer_version_permission::AddLayerVersionPermissionOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::add_layer_version_permission::AddLayerVersionPermissionError,
   78     79   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   79     80   
        >,
   80     81   
    > {
   81     82   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/add_permission/builders.rs

@@ -42,42 +102,103 @@
   62     62   
    pub fn as_input(&self) -> &crate::operation::add_permission::builders::AddPermissionInputBuilder {
   63     63   
        &self.inner
   64     64   
    }
   65     65   
    /// Sends the request and returns the response.
   66     66   
    ///
   67     67   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   68     68   
    /// can be matched against.
   69     69   
    ///
   70     70   
    /// By default, any retryable failures will be retried twice. Retry behavior
   71     71   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   72         -
    /// set when configuring the client.
          72  +
    /// set when configuring the client. Note: retries are enabled by default when using
          73  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   73     74   
    pub async fn send(
   74     75   
        self,
   75     76   
    ) -> ::std::result::Result<
   76     77   
        crate::operation::add_permission::AddPermissionOutput,
   77     78   
        ::aws_smithy_runtime_api::client::result::SdkError<
   78     79   
            crate::operation::add_permission::AddPermissionError,
   79     80   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   80     81   
        >,
   81     82   
    > {
   82     83   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/create_alias/builders.rs

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::create_alias::builders::CreateAliasInputBuilder {
   62     62   
        &self.inner
   63     63   
    }
   64     64   
    /// Sends the request and returns the response.
   65     65   
    ///
   66     66   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   67     67   
    /// can be matched against.
   68     68   
    ///
   69     69   
    /// By default, any retryable failures will be retried twice. Retry behavior
   70     70   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   71         -
    /// set when configuring the client.
          71  +
    /// set when configuring the client. Note: retries are enabled by default when using
          72  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   72     73   
    pub async fn send(
   73     74   
        self,
   74     75   
    ) -> ::std::result::Result<
   75     76   
        crate::operation::create_alias::CreateAliasOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::create_alias::CreateAliasError,
   78     79   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   79     80   
        >,
   80     81   
    > {
   81     82   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/create_code_signing_config/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::create_code_signing_config::builders::CreateCodeSigningConfigInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::create_code_signing_config::CreateCodeSigningConfigOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::create_code_signing_config::CreateCodeSigningConfigError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/create_event_source_mapping/builders.rs

@@ -90,90 +150,151 @@
  110    110   
    pub fn as_input(&self) -> &crate::operation::create_event_source_mapping::builders::CreateEventSourceMappingInputBuilder {
  111    111   
        &self.inner
  112    112   
    }
  113    113   
    /// Sends the request and returns the response.
  114    114   
    ///
  115    115   
    /// If an error occurs, an `SdkError` will be returned with additional details that
  116    116   
    /// can be matched against.
  117    117   
    ///
  118    118   
    /// By default, any retryable failures will be retried twice. Retry behavior
  119    119   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
  120         -
    /// set when configuring the client.
         120  +
    /// set when configuring the client. Note: retries are enabled by default when using
         121  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
  121    122   
    pub async fn send(
  122    123   
        self,
  123    124   
    ) -> ::std::result::Result<
  124    125   
        crate::operation::create_event_source_mapping::CreateEventSourceMappingOutput,
  125    126   
        ::aws_smithy_runtime_api::client::result::SdkError<
  126    127   
            crate::operation::create_event_source_mapping::CreateEventSourceMappingError,
  127    128   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  128    129   
        >,
  129    130   
    > {
  130    131   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/create_function/builders.rs

@@ -48,48 +108,109 @@
   68     68   
    pub fn as_input(&self) -> &crate::operation::create_function::builders::CreateFunctionInputBuilder {
   69     69   
        &self.inner
   70     70   
    }
   71     71   
    /// Sends the request and returns the response.
   72     72   
    ///
   73     73   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   74     74   
    /// can be matched against.
   75     75   
    ///
   76     76   
    /// By default, any retryable failures will be retried twice. Retry behavior
   77     77   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   78         -
    /// set when configuring the client.
          78  +
    /// set when configuring the client. Note: retries are enabled by default when using
          79  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   79     80   
    pub async fn send(
   80     81   
        self,
   81     82   
    ) -> ::std::result::Result<
   82     83   
        crate::operation::create_function::CreateFunctionOutput,
   83     84   
        ::aws_smithy_runtime_api::client::result::SdkError<
   84     85   
            crate::operation::create_function::CreateFunctionError,
   85     86   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   86     87   
        >,
   87     88   
    > {
   88     89   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/create_function_url_config/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::create_function_url_config::builders::CreateFunctionUrlConfigInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::create_function_url_config::CreateFunctionUrlConfigOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::create_function_url_config::CreateFunctionUrlConfigError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/delete_alias/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::delete_alias::builders::DeleteAliasInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::delete_alias::DeleteAliasOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::delete_alias::DeleteAliasError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/lambda/src/operation/delete_code_signing_config/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::delete_code_signing_config::builders::DeleteCodeSigningConfigInputBuilder {
   61     61   
        &self.inner
   62     62   
    }
   63     63   
    /// Sends the request and returns the response.
   64     64   
    ///
   65     65   
    /// If an error occurs, an `SdkError` will be returned with additional details that
   66     66   
    /// can be matched against.
   67     67   
    ///
   68     68   
    /// By default, any retryable failures will be retried twice. Retry behavior
   69     69   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
   70         -
    /// set when configuring the client.
          70  +
    /// set when configuring the client. Note: retries are enabled by default when using
          71  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
   71     72   
    pub async fn send(
   72     73   
        self,
   73     74   
    ) -> ::std::result::Result<
   74     75   
        crate::operation::delete_code_signing_config::DeleteCodeSigningConfigOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::delete_code_signing_config::DeleteCodeSigningConfigError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self