CodeStar / Client / list_user_profiles
list_user_profiles#
- CodeStar.Client.list_user_profiles(**kwargs)#
Lists all the user profiles configured for your AWS account in AWS CodeStar.
See also: AWS API Documentation
Request Syntax
response = client.list_user_profiles( nextToken='string', maxResults=123 )
- Parameters:
nextToken (string) – The continuation token for the next set of results, if the results cannot be returned in one response.
maxResults (integer) – The maximum number of results to return in a response.
- Return type:
dict
- Returns:
Response Syntax
{ 'userProfiles': [ { 'userArn': 'string', 'displayName': 'string', 'emailAddress': 'string', 'sshPublicKey': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
userProfiles (list) –
All the user profiles configured in AWS CodeStar for an AWS account.
(dict) –
Information about a user’s profile in AWS CodeStar.
userArn (string) –
The Amazon Resource Name (ARN) of the user in IAM.
displayName (string) –
The display name of a user in AWS CodeStar. For example, this could be set to both first and last name (“Mary Major”) or a single name (“Mary”). The display name is also used to generate the initial icon associated with the user in AWS CodeStar projects. If spaces are included in the display name, the first character that appears after the space will be used as the second character in the user initial icon. The initial icon displays a maximum of two characters, so a display name with more than one space (for example “Mary Jane Major”) would generate an initial icon using the first character and the first character after the space (“MJ”, not “MM”).
emailAddress (string) –
The email address associated with the user.
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.
nextToken (string) –
The continuation token to use when requesting the next set of results, if there are more results to be returned.
Exceptions
CodeStar.Client.exceptions.InvalidNextTokenException
CodeStar.Client.exceptions.ValidationException