CustomerProfiles / Client / list_profile_attribute_values

list_profile_attribute_values#

CustomerProfiles.Client.list_profile_attribute_values(**kwargs)#

Fetch the possible attribute values given the attribute name.

See also: AWS API Documentation

Request Syntax

response = client.list_profile_attribute_values(
    DomainName='string',
    AttributeName='string'
)
Parameters:
  • DomainName (string) –

    [REQUIRED]

    The unique identifier of the domain.

  • AttributeName (string) –

    [REQUIRED]

    The attribute name.

Return type:

dict

Returns:

Response Syntax

{
    'DomainName': 'string',
    'AttributeName': 'string',
    'Items': [
        {
            'Value': 'string'
        },
    ],
    'StatusCode': 123
}

Response Structure

  • (dict) –

    • DomainName (string) –

      The name of the domain.

    • AttributeName (string) –

      The attribute name.

    • Items (list) –

      The items returned as part of the response.

      • (dict) –

        List containing the values for the given attribute.

        • Value (string) –

          An individual value belonging to the given attribute.

    • StatusCode (integer) –

      The status code for the response.

Exceptions

  • CustomerProfiles.Client.exceptions.BadRequestException

  • CustomerProfiles.Client.exceptions.AccessDeniedException

  • CustomerProfiles.Client.exceptions.ResourceNotFoundException

  • CustomerProfiles.Client.exceptions.ThrottlingException

  • CustomerProfiles.Client.exceptions.InternalServerException