DataZone / Paginator / ListProjectProfiles

ListProjectProfiles#

class DataZone.Paginator.ListProjectProfiles#
paginator = client.get_paginator('list_project_profiles')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from DataZone.Client.list_project_profiles().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    domainIdentifier='string',
    name='string',
    sortBy='NAME',
    sortOrder='ASCENDING'|'DESCENDING',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • domainIdentifier (string) –

    [REQUIRED]

    The ID of the domain where you want to list project profiles.

  • name (string) – The name of a project profile.

  • sortBy (string) – Specifies by what to sort project profiles.

  • sortOrder (string) – Specifies the sort order of the project profiles.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'createdAt': datetime(2015, 1, 1),
            'createdBy': 'string',
            'description': 'string',
            'domainId': 'string',
            'domainUnitId': 'string',
            'id': 'string',
            'lastUpdatedAt': datetime(2015, 1, 1),
            'name': 'string',
            'status': 'ENABLED'|'DISABLED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      The results of the ListProjectProfiles action.

      • (dict) –

        The summary of a project profile.

        • createdAt (datetime) –

          The timestamp of when the project profile was created.

        • createdBy (string) –

          The user who created the project profile.

        • description (string) –

          The description of the project profile.

        • domainId (string) –

          The domain ID of the project profile.

        • domainUnitId (string) –

          The domain unit ID of the project profile.

        • id (string) –

          The ID of the project profile.

        • lastUpdatedAt (datetime) –

          The timestamp at which a project profile was last updated.

        • name (string) –

          The name of a project profile.

        • status (string) –

          The status of a project profile.

    • NextToken (string) –

      A token to resume pagination.