1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateEnvironmentAccountConnection`](crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateEnvironmentAccountConnectionOutput`](crate::operation::update_environment_account_connection::UpdateEnvironmentAccountConnectionOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<UpdateEnvironmentAccountConnectionError>`](crate::operation::update_environment_account_connection::UpdateEnvironmentAccountConnectionError)
    pub fn update_environment_account_connection(
        &self,
    ) -> crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder {
        crate::operation::update_environment_account_connection::builders::UpdateEnvironmentAccountConnectionFluentBuilder::new(self.handle.clone())
    }
}