1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTeamMember`](crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`project_id(impl ::std::convert::Into<String>)`](crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder::project_id) / [`set_project_id(Option<String>)`](crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder::set_project_id): <p>The ID of the project.</p>
    ///   - [`user_arn(impl ::std::convert::Into<String>)`](crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder::user_arn) / [`set_user_arn(Option<String>)`](crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder::set_user_arn): <p>The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.</p>
    ///   - [`project_role(impl ::std::convert::Into<String>)`](crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder::project_role) / [`set_project_role(Option<String>)`](crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder::set_project_role): <p>The role assigned to the user in the project. Project roles have different levels of access. For more information, see <a href="http://docs.aws.amazon.com/codestar/latest/userguide/working-with-teams.html">Working with Teams</a> in the <i>AWS CodeStar User Guide</i>.</p>
    ///   - [`remote_access_allowed(bool)`](crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder::remote_access_allowed) / [`set_remote_access_allowed(Option<bool>)`](crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder::set_remote_access_allowed): <p>Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile. Even if this is set to True, the user must associate a public key with their profile before the user can access resources.</p>
    /// - On success, responds with [`UpdateTeamMemberOutput`](crate::operation::update_team_member::UpdateTeamMemberOutput) with field(s):
    ///   - [`user_arn(Option<String>)`](crate::operation::update_team_member::UpdateTeamMemberOutput::user_arn): <p>The Amazon Resource Name (ARN) of the user whose team membership attributes were updated.</p>
    ///   - [`project_role(Option<String>)`](crate::operation::update_team_member::UpdateTeamMemberOutput::project_role): <p>The project role granted to the user.</p>
    ///   - [`remote_access_allowed(Option<bool>)`](crate::operation::update_team_member::UpdateTeamMemberOutput::remote_access_allowed): <p>Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile.</p>
    /// - On failure, responds with [`SdkError<UpdateTeamMemberError>`](crate::operation::update_team_member::UpdateTeamMemberError)
    pub fn update_team_member(
        &self,
    ) -> crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder {
        crate::operation::update_team_member::builders::UpdateTeamMemberFluentBuilder::new(
            self.handle.clone(),
        )
    }
}