CodeStar.Client.
update_user_profile
(**kwargs)¶Updates a user's profile in AWS CodeStar. The user profile is not project-specific. Information in the user profile is displayed wherever the user's information appears to other users in AWS CodeStar.
See also: AWS API Documentation
Request Syntax
response = client.update_user_profile(
userArn='string',
displayName='string',
emailAddress='string',
sshPublicKey='string'
)
[REQUIRED]
The name that will be displayed as the friendly name for the user in AWS CodeStar.
dict
Response Syntax
{
'userArn': 'string',
'displayName': 'string',
'emailAddress': 'string',
'sshPublicKey': 'string',
'createdTimestamp': datetime(2015, 1, 1),
'lastModifiedTimestamp': datetime(2015, 1, 1)
}
Response Structure
(dict) --
userArn (string) --
The Amazon Resource Name (ARN) of the user in IAM.
displayName (string) --
The name that is displayed as the friendly name for the user in AWS CodeStar.
emailAddress (string) --
The email address that is displayed as part of the user's profile in AWS CodeStar.
sshPublicKey (string) --
The SSH public key associated with the user in AWS CodeStar. This is the public portion of the public/private keypair the user can use to access project resources if a project owner allows the user remote access to those resources.
createdTimestamp (datetime) --
The date the user profile was created, in timestamp format.
lastModifiedTimestamp (datetime) --
The date the user profile was last modified, in timestamp format.
Exceptions
CodeStar.Client.exceptions.UserProfileNotFoundException
CodeStar.Client.exceptions.ValidationException