aws_sdk_proton/client/update_environment_account_connection.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateEnvironmentAccountConnection`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the environment account connection to update.</p><br>
7 /// - [`role_arn(impl Into<String>)`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::set_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.</p><br>
8 /// - [`component_role_arn(impl Into<String>)`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::component_role_arn) / [`set_component_role_arn(Option<String>)`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::set_component_role_arn):<br>required: **false**<br><p>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.</p> <p>The environment account connection must have a <code>componentRoleArn</code> to allow directly defined components to be associated with any environments running in the account.</p> <p>For more information about components, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-components.html">Proton components</a> in the <i>Proton User Guide</i>.</p><br>
9 /// - [`codebuild_role_arn(impl Into<String>)`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::codebuild_role_arn) / [`set_codebuild_role_arn(Option<String>)`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::set_codebuild_role_arn):<br>required: **false**<br><p>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.</p><br>
10 /// - On success, responds with [`UpdateEnvironmentAccountConnectionOutput`](crate::operation::update_environment_account_connection::UpdateEnvironmentAccountConnectionOutput) with field(s):
11 /// - [`environment_account_connection(Option<EnvironmentAccountConnection>)`](crate::operation::update_environment_account_connection::UpdateEnvironmentAccountConnectionOutput::environment_account_connection): <p>The environment account connection detail data that's returned by Proton.</p>
12 /// - On failure, responds with [`SdkError<UpdateEnvironmentAccountConnectionError>`](crate::operation::update_environment_account_connection::UpdateEnvironmentAccountConnectionError)
13 pub fn update_environment_account_connection(
14 &self,
15 ) -> crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder {
16 crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::new(self.handle.clone())
17 }
18}