AWS SDK

AWS SDK

rev. d29c343cc7d4479a9e4fad7ae67899c7e23bd1f1 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/start_instances/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/start_network_insights_access_scope_analysis/builders.rs

@@ -42,42 +102,103 @@
   62     62   
    ) -> &crate::operation::start_network_insights_access_scope_analysis::builders::StartNetworkInsightsAccessScopeAnalysisInputBuilder {
   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::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisOutput,
   77     78   
        ::aws_smithy_runtime_api::client::result::SdkError<
   78     79   
            crate::operation::start_network_insights_access_scope_analysis::StartNetworkInsightsAccessScopeAnalysisError,
   79     80   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   80     81   
        >,
   81     82   
    > {
   82     83   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/start_network_insights_analysis/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/start_vpc_endpoint_service_private_dns_verification/builders.rs

@@ -45,45 +105,106 @@
   65     65   
    {
   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::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationOutput,
   80     81   
        ::aws_smithy_runtime_api::client::result::SdkError<
   81     82   
            crate::operation::start_vpc_endpoint_service_private_dns_verification::StartVpcEndpointServicePrivateDnsVerificationError,
   82     83   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   83     84   
        >,
   84     85   
    > {
   85     86   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/stop_instances/builders.rs

@@ -46,46 +106,107 @@
   66     66   
    pub fn as_input(&self) -> &crate::operation::stop_instances::builders::StopInstancesInputBuilder {
   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::stop_instances::StopInstancesOutput,
   81     82   
        ::aws_smithy_runtime_api::client::result::SdkError<
   82     83   
            crate::operation::stop_instances::StopInstancesError,
   83     84   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   84     85   
        >,
   85     86   
    > {
   86     87   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/terminate_client_vpn_connections/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/terminate_instances/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/unassign_ipv6_addresses/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/unassign_private_ip_addresses/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/unassign_private_nat_gateway_address/builders.rs

@@ -44,44 +104,105 @@
   64     64   
    pub fn as_input(&self) -> &crate::operation::unassign_private_nat_gateway_address::builders::UnassignPrivateNatGatewayAddressInputBuilder {
   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::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressOutput,
   79     80   
        ::aws_smithy_runtime_api::client::result::SdkError<
   80     81   
            crate::operation::unassign_private_nat_gateway_address::UnassignPrivateNatGatewayAddressError,
   81     82   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   82     83   
        >,
   83     84   
    > {
   84     85   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/unlock_snapshot/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/unmonitor_instances/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/update_security_group_rule_descriptions_egress/builders.rs

@@ -42,42 +102,103 @@
   62     62   
    ) -> &crate::operation::update_security_group_rule_descriptions_egress::builders::UpdateSecurityGroupRuleDescriptionsEgressInputBuilder {
   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::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressOutput,
   77     78   
        ::aws_smithy_runtime_api::client::result::SdkError<
   78     79   
            crate::operation::update_security_group_rule_descriptions_egress::UpdateSecurityGroupRuleDescriptionsEgressError,
   79     80   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   80     81   
        >,
   81     82   
    > {
   82     83   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/update_security_group_rule_descriptions_ingress/builders.rs

@@ -42,42 +102,103 @@
   62     62   
    ) -> &crate::operation::update_security_group_rule_descriptions_ingress::builders::UpdateSecurityGroupRuleDescriptionsIngressInputBuilder {
   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::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressOutput,
   77     78   
        ::aws_smithy_runtime_api::client::result::SdkError<
   78     79   
            crate::operation::update_security_group_rule_descriptions_ingress::UpdateSecurityGroupRuleDescriptionsIngressError,
   79     80   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   80     81   
        >,
   81     82   
    > {
   82     83   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/ec2/src/operation/withdraw_byoip_cidr/builders.rs

@@ -42,42 +102,103 @@
   62     62   
    pub fn as_input(&self) -> &crate::operation::withdraw_byoip_cidr::builders::WithdrawByoipCidrInputBuilder {
   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::withdraw_byoip_cidr::WithdrawByoipCidrOutput,
   77     78   
        ::aws_smithy_runtime_api::client::result::SdkError<
   78     79   
            crate::operation::withdraw_byoip_cidr::WithdrawByoipCidrError,
   79     80   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,
   80     81   
        >,
   81     82   
    > {
   82     83   
        let input = self

tmp-codegen-diff/aws-sdk/sdk/ec2/tests/waiters.rs

@@ -1,1 +52,53 @@
   13     13   
use aws_smithy_runtime_api::client::waiters::error::WaiterError;
   14     14   
use aws_smithy_types::retry::RetryConfig;
   15     15   
use std::time::Duration;
   16     16   
   17     17   
async fn prerequisites() -> (Client, ReplayingClient, TickAdvanceTime) {
   18     18   
    let (time_source, sleep_impl) = tick_advance_time_and_sleep();
   19     19   
    let client =
   20     20   
        ReplayingClient::from_file("tests/instance-status-ok-waiter-success.json").unwrap();
   21     21   
    let config = aws_sdk_ec2::Config::builder()
   22     22   
        .with_test_defaults()
          23  +
        .retry_config(RetryConfig::disabled())
   23     24   
        .http_client(client.clone())
   24     25   
        .time_source(time_source.clone())
   25     26   
        .sleep_impl(sleep_impl)
   26     27   
        .region(Region::new("us-west-2"))
   27     28   
        .retry_config(RetryConfig::standard())
   28     29   
        .build();
   29     30   
    (aws_sdk_ec2::Client::from_conf(config), client, time_source)
   30     31   
}
   31     32   
   32     33   
#[tokio::test]