pub struct UpdateEnvironmentAccountConnection { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateEnvironmentAccountConnection
.
In an environment account, update an environment account connection to use a new IAM role.
For more information, see Environment account connections in the Proton User guide.
Implementations§
source§impl UpdateEnvironmentAccountConnection
impl UpdateEnvironmentAccountConnection
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateEnvironmentAccountConnection, AwsResponseRetryClassifier>, SdkError<UpdateEnvironmentAccountConnectionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateEnvironmentAccountConnection, AwsResponseRetryClassifier>, SdkError<UpdateEnvironmentAccountConnectionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateEnvironmentAccountConnectionOutput, SdkError<UpdateEnvironmentAccountConnectionError>>
pub async fn send(
self
) -> Result<UpdateEnvironmentAccountConnectionOutput, SdkError<UpdateEnvironmentAccountConnectionError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the environment account connection to update.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the environment account connection to update.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.
sourcepub fn component_role_arn(self, input: impl Into<String>) -> Self
pub fn component_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
sourcepub fn set_component_role_arn(self, input: Option<String>) -> Self
pub fn set_component_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn
to allow directly defined components to be associated with any environments running in the account.
For more information about components, see Proton components in the Proton User Guide.
sourcepub fn codebuild_role_arn(self, input: impl Into<String>) -> Self
pub fn codebuild_role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
sourcepub fn set_codebuild_role_arn(self, input: Option<String>) -> Self
pub fn set_codebuild_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
Trait Implementations§
source§impl Clone for UpdateEnvironmentAccountConnection
impl Clone for UpdateEnvironmentAccountConnection
source§fn clone(&self) -> UpdateEnvironmentAccountConnection
fn clone(&self) -> UpdateEnvironmentAccountConnection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more