Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_user_profile

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'
)
Parameters
  • userArn (string) --

    [REQUIRED]

    The name that will be displayed as the friendly name for the user in AWS CodeStar.

  • 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. If a project owner allows the user remote access to project resources, this public key will be used along with the user's private key for SSH access.
Return type

dict

Returns

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