CodeStar.Client.
update_team_member
(**kwargs)¶Updates a team member's attributes in an AWS CodeStar project. For example, you can change a team member's role in the project, or change whether they have remote access to project resources.
See also: AWS API Documentation
Request Syntax
response = client.update_team_member(
projectId='string',
userArn='string',
projectRole='string',
remoteAccessAllowed=True|False
)
[REQUIRED]
The ID of the project.
[REQUIRED]
The Amazon Resource Name (ARN) of the user for whom you want to change team membership attributes.
dict
Response Syntax
{
'userArn': 'string',
'projectRole': 'string',
'remoteAccessAllowed': True|False
}
Response Structure
(dict) --
userArn (string) --
The Amazon Resource Name (ARN) of the user whose team membership attributes were updated.
projectRole (string) --
The project role granted to the user.
remoteAccessAllowed (boolean) --
Whether a team member is allowed to remotely access project resources using the SSH public key associated with the user's profile.
Exceptions
CodeStar.Client.exceptions.LimitExceededException
CodeStar.Client.exceptions.ProjectNotFoundException
CodeStar.Client.exceptions.ValidationException
CodeStar.Client.exceptions.InvalidServiceRoleException
CodeStar.Client.exceptions.ProjectConfigurationException
CodeStar.Client.exceptions.ConcurrentModificationException
CodeStar.Client.exceptions.TeamMemberNotFoundException