AWS SDK

AWS SDK

rev. 2b2bcd45ade3893da431939e183674ee0387e298

Files changed:

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_source_repository_branches/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_spaces/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_workflow_runs/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/list_workflows/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/start_dev_environment/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/start_dev_environment_session/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/start_workflow_run/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/stop_dev_environment/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/stop_dev_environment_session/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/update_dev_environment/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/update_project/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/update_space/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/src/operation/verify_session/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/codecatalyst/tests/sso_bearer_auth.rs

@@ -1,1 +31,32 @@
    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         -
use aws_sdk_codecatalyst::config::Token;
           6  +
use aws_sdk_codecatalyst::config::{retry::RetryConfig, Token};
    7      7   
    8      8   
#[tokio::test]
    9      9   
async fn sso_bearer_auth() {
   10     10   
    let replay = aws_smithy_http_client::test_util::dvr::ReplayingClient::from_file(
   11     11   
        "tests/sso_bearer_auth.json",
   12     12   
    )
   13     13   
    .unwrap();
   14     14   
   15     15   
    let config = aws_sdk_codecatalyst::Config::builder()
   16     16   
        .with_test_defaults()
   17     17   
        .http_client(replay.clone())
   18     18   
        .token_provider(Token::new("sso_bearer_auth_test", None))
          19  +
        .retry_config(RetryConfig::disabled())
   19     20   
        .build();
   20     21   
    let client = aws_sdk_codecatalyst::Client::from_conf(config);
   21     22   
   22     23   
    let response = client
   23     24   
        .list_spaces()
   24     25   
        .send()
   25     26   
        .await
   26     27   
        .expect("successful response");
   27     28   
    let item = &response.items.unwrap()[0];
   28     29   
    assert_eq!("somespacename", item.name);

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/associate_resource_types/builders.rs

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

tmp-codegen-diff/aws-sdk/sdk/config/src/operation/batch_get_aggregate_resource_config/builders.rs

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