VPCLattice / Paginator / ListAccessLogSubscriptions

ListAccessLogSubscriptions#

class VPCLattice.Paginator.ListAccessLogSubscriptions#
paginator = client.get_paginator('list_access_log_subscriptions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from VPCLattice.Client.list_access_log_subscriptions().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ID or Amazon Resource Name (ARN) of the service network or service.

  • 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': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'destinationArn': 'string',
            'id': 'string',
            'lastUpdatedAt': datetime(2015, 1, 1),
            'resourceArn': 'string',
            'resourceId': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      The access log subscriptions.

      • (dict) –

        Summary information about an access log subscription.

        • arn (string) –

          The Amazon Resource Name (ARN) of the access log subscription

        • createdAt (datetime) –

          The date and time that the access log subscription was created, specified in ISO-8601 format.

        • destinationArn (string) –

          The Amazon Resource Name (ARN) of the destination.

        • id (string) –

          The ID of the access log subscription.

        • lastUpdatedAt (datetime) –

          The date and time that the access log subscription was last updated, specified in ISO-8601 format.

        • resourceArn (string) –

          The Amazon Resource Name (ARN) of the service or service network.

        • resourceId (string) –

          The ID of the service or service network.

    • NextToken (string) –

      A token to resume pagination.