CustomerProfiles / Client / list_object_type_attributes

list_object_type_attributes#

CustomerProfiles.Client.list_object_type_attributes(**kwargs)#

Fetch the possible attribute values given the attribute name.

See also: AWS API Documentation

Request Syntax

response = client.list_object_type_attributes(
    NextToken='string',
    MaxResults=123,
    DomainName='string',
    ObjectTypeName='string'
)
Parameters:
  • NextToken (string) – The pagination token from the previous call.

  • MaxResults (integer) – The maximum number of objects returned per page.

  • DomainName (string) –

    [REQUIRED]

    The unique identifier of the domain.

  • ObjectTypeName (string) –

    [REQUIRED]

    The name of the profile object type.

Return type:

dict

Returns:

Response Syntax

{
    'Items': [
        {
            'AttributeName': 'string',
            'LastUpdatedAt': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Items (list) –

      The items returned as part of the response.

      • (dict) –

        Item that contains the attribute and when it was last updated.

        • AttributeName (string) –

          Name of the attribute.

        • LastUpdatedAt (datetime) –

          When the attribute was last updated.

    • NextToken (string) –

      The pagination token from the previous call.

Exceptions

  • CustomerProfiles.Client.exceptions.BadRequestException

  • CustomerProfiles.Client.exceptions.ResourceNotFoundException

  • CustomerProfiles.Client.exceptions.AccessDeniedException

  • CustomerProfiles.Client.exceptions.ThrottlingException

  • CustomerProfiles.Client.exceptions.InternalServerException