VPCLattice / Paginator / ListServiceNetworks

ListServiceNetworks#

class VPCLattice.Paginator.ListServiceNetworks#
paginator = client.get_paginator('list_service_networks')
paginate(**kwargs)#

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

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

{
    'items': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'id': 'string',
            'lastUpdatedAt': datetime(2015, 1, 1),
            'name': 'string',
            'numberOfAssociatedServices': 123,
            'numberOfAssociatedVPCs': 123
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      Information about the service networks.

      • (dict) –

        Summary information about a service network.

        • arn (string) –

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

        • createdAt (datetime) –

          The date and time that the service network was created, specified in ISO-8601 format.

        • id (string) –

          The ID of the service network.

        • lastUpdatedAt (datetime) –

          The date and time that the service network was last updated, specified in ISO-8601 format.

        • name (string) –

          The name of the service network.

        • numberOfAssociatedServices (integer) –

          The number of services associated with the service network.

        • numberOfAssociatedVPCs (integer) –

          The number of VPCs associated with the service network.

    • NextToken (string) –

      A token to resume pagination.