AWS SDK

AWS SDK

rev. e96d5c6b680352523680952a00db27b5103ca7d9 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/iam/src/operation/update_server_certificate/builders.rs

@@ -45,45 +105,106 @@
   65     65   
    pub fn as_input(&self) -> &crate::operation::update_server_certificate::builders::UpdateServerCertificateInputBuilder {
   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::update_server_certificate::UpdateServerCertificateOutput,
   80     81   
        ::aws_smithy_runtime_api::client::result::SdkError<
   81     82   
            crate::operation::update_server_certificate::UpdateServerCertificateError,
   82     83   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   83     84   
        >,
   84     85   
    > {
   85     86   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/iam/src/operation/update_service_specific_credential/builders.rs

@@ -40,40 +100,101 @@
   60     60   
    pub fn as_input(&self) -> &crate::operation::update_service_specific_credential::builders::UpdateServiceSpecificCredentialInputBuilder {
   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::update_service_specific_credential::UpdateServiceSpecificCredentialOutput,
   75     76   
        ::aws_smithy_runtime_api::client::result::SdkError<
   76     77   
            crate::operation::update_service_specific_credential::UpdateServiceSpecificCredentialError,
   77     78   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   78     79   
        >,
   79     80   
    > {
   80     81   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/iam/src/operation/update_signing_certificate/builders.rs

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::update_signing_certificate::builders::UpdateSigningCertificateInputBuilder {
   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::update_signing_certificate::UpdateSigningCertificateOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::update_signing_certificate::UpdateSigningCertificateError,
   78     79   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   79     80   
        >,
   80     81   
    > {
   81     82   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/iam/src/operation/update_ssh_public_key/builders.rs

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::update_ssh_public_key::builders::UpdateSshPublicKeyInputBuilder {
   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::update_ssh_public_key::UpdateSshPublicKeyOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::update_ssh_public_key::UpdateSSHPublicKeyError,
   78     79   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   79     80   
        >,
   80     81   
    > {
   81     82   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/iam/src/operation/update_user/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/iam/src/operation/upload_server_certificate/builders.rs

@@ -45,45 +105,106 @@
   65     65   
    pub fn as_input(&self) -> &crate::operation::upload_server_certificate::builders::UploadServerCertificateInputBuilder {
   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::upload_server_certificate::UploadServerCertificateOutput,
   80     81   
        ::aws_smithy_runtime_api::client::result::SdkError<
   81     82   
            crate::operation::upload_server_certificate::UploadServerCertificateError,
   82     83   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   83     84   
        >,
   84     85   
    > {
   85     86   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/iam/src/operation/upload_signing_certificate/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/iam/src/operation/upload_ssh_public_key/builders.rs

@@ -41,41 +101,102 @@
   61     61   
    pub fn as_input(&self) -> &crate::operation::upload_ssh_public_key::builders::UploadSshPublicKeyInputBuilder {
   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::upload_ssh_public_key::UploadSshPublicKeyOutput,
   76     77   
        ::aws_smithy_runtime_api::client::result::SdkError<
   77     78   
            crate::operation::upload_ssh_public_key::UploadSSHPublicKeyError,
   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/src/config.rs

@@ -1447,1447 +1506,1507 @@
 1467   1467   
    };
 1468   1468   
 1469   1469   
    let scope = "aws-sdk-kms";
 1470   1470   
 1471   1471   
    let mut plugins = ::aws_smithy_runtime_api::client::runtime_plugin::RuntimePlugins::new()
 1472   1472   
                        // defaults
 1473   1473   
                        .with_client_plugins(::aws_smithy_runtime::client::defaults::default_plugins(
 1474   1474   
                            ::aws_smithy_runtime::client::defaults::DefaultPluginParams::new()
 1475   1475   
                                .with_retry_partition_name(default_retry_partition)
 1476   1476   
                                .with_behavior_version(config.behavior_version.expect("Invalid client configuration: A behavior major version must be set when sending a request or constructing a client. You must set it during client construction or by enabling the `behavior-version-latest` cargo feature."))
        1477  +
                                .with_is_aws_sdk(true)
 1477   1478   
                        ))
 1478   1479   
                        // user config
 1479   1480   
                        .with_client_plugin(
 1480   1481   
                            ::aws_smithy_runtime_api::client::runtime_plugin::StaticRuntimePlugin::new()
 1481   1482   
                                .with_config(config.config.clone())
 1482   1483   
                                .with_runtime_components(config.runtime_components.clone())
 1483   1484   
                        )
 1484   1485   
                        // codegen config
 1485   1486   
                        .with_client_plugin(crate::config::ServiceRuntimePlugin::new(config.clone()))
 1486   1487   
                        .with_client_plugin(::aws_smithy_runtime::client::auth::no_auth::NoAuthRuntimePlugin::new())

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

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

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

@@ -70,70 +130,131 @@
   90     90   
    pub fn as_input(&self) -> &crate::operation::connect_custom_key_store::builders::ConnectCustomKeyStoreInputBuilder {
   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::connect_custom_key_store::ConnectCustomKeyStoreOutput,
  105    106   
        ::aws_smithy_runtime_api::client::result::SdkError<
  106    107   
            crate::operation::connect_custom_key_store::ConnectCustomKeyStoreError,
  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/create_alias/builders.rs

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

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

@@ -70,70 +130,131 @@
   90     90   
    pub fn as_input(&self) -> &crate::operation::create_custom_key_store::builders::CreateCustomKeyStoreInputBuilder {
   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::create_custom_key_store::CreateCustomKeyStoreOutput,
  105    106   
        ::aws_smithy_runtime_api::client::result::SdkError<
  106    107   
            crate::operation::create_custom_key_store::CreateCustomKeyStoreError,
  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/create_grant/builders.rs

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

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

@@ -111,111 +171,172 @@
  131    131   
    pub fn as_input(&self) -> &crate::operation::create_key::builders::CreateKeyInputBuilder {
  132    132   
        &self.inner
  133    133   
    }
  134    134   
    /// Sends the request and returns the response.
  135    135   
    ///
  136    136   
    /// If an error occurs, an `SdkError` will be returned with additional details that
  137    137   
    /// can be matched against.
  138    138   
    ///
  139    139   
    /// By default, any retryable failures will be retried twice. Retry behavior
  140    140   
    /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
  141         -
    /// set when configuring the client.
         141  +
    /// set when configuring the client. Note: retries are enabled by default when using
         142  +
    /// `aws_config::load_from_env()` or when using `BehaviorVersion::v2025_01_17()` or later.
  142    143   
    pub async fn send(
  143    144   
        self,
  144    145   
    ) -> ::std::result::Result<
  145    146   
        crate::operation::create_key::CreateKeyOutput,
  146    147   
        ::aws_smithy_runtime_api::client::result::SdkError<
  147    148   
            crate::operation::create_key::CreateKeyError,
  148    149   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
  149    150   
        >,
  150    151   
    > {
  151    152   
        let input = self

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

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