Connect / Client / list_user_proficiencies

list_user_proficiencies#

Connect.Client.list_user_proficiencies(**kwargs)#

Lists proficiencies associated with a user.

See also: AWS API Documentation

Request Syntax

response = client.list_user_proficiencies(
    InstanceId='string',
    UserId='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • UserId (string) –

    [REQUIRED]

    The identifier of the user account.

  • NextToken (string) – The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • MaxResults (integer) – The maximum number of results to return per page.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'UserProficiencyList': [
        {
            'AttributeName': 'string',
            'AttributeValue': 'string',
            'Level': ...
        },
    ],
    'LastModifiedTime': datetime(2015, 1, 1),
    'LastModifiedRegion': 'string'
}

Response Structure

  • (dict) –

    • NextToken (string) –

      If there are additional results, this is the token for the next set of results.

    • UserProficiencyList (list) –

      Information about the user proficiencies.

      • (dict) –

        Information about proficiency of a user.

        • AttributeName (string) –

          The name of user’s proficiency. You must use name of predefined attribute present in the Amazon Connect instance.

        • AttributeValue (string) –

          The value of user’s proficiency. You must use value of predefined attribute present in the Amazon Connect instance.

        • Level (float) –

          The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.

    • LastModifiedTime (datetime) –

      The last time that the user’s proficiencies are were modified.

    • LastModifiedRegion (string) –

      The region in which a user’s proficiencies were last modified.

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException