Glue / Paginator / ListUsageProfiles

ListUsageProfiles#

class Glue.Paginator.ListUsageProfiles#
paginator = client.get_paginator('list_usage_profiles')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Glue.Client.list_usage_profiles().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:

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

{
    'Profiles': [
        {
            'Name': 'string',
            'Description': 'string',
            'CreatedOn': datetime(2015, 1, 1),
            'LastModifiedOn': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • Profiles (list) –

      A list of usage profile ( UsageProfileDefinition) objects.

      • (dict) –

        Describes an Glue usage profile.

        • Name (string) –

          The name of the usage profile.

        • Description (string) –

          A description of the usage profile.

        • CreatedOn (datetime) –

          The date and time when the usage profile was created.

        • LastModifiedOn (datetime) –

          The date and time when the usage profile was last modified.