VPCLattice / Paginator / ListResourceGateways

ListResourceGateways#

class VPCLattice.Paginator.ListResourceGateways#
paginator = client.get_paginator('list_resource_gateways')
paginate(**kwargs)#

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

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',
            'ipAddressType': 'IPV4'|'IPV6'|'DUALSTACK',
            'lastUpdatedAt': datetime(2015, 1, 1),
            'name': 'string',
            'securityGroupIds': [
                'string',
            ],
            'status': 'ACTIVE'|'CREATE_IN_PROGRESS'|'UPDATE_IN_PROGRESS'|'DELETE_IN_PROGRESS'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETE_FAILED',
            'subnetIds': [
                'string',
            ],
            'vpcIdentifier': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      Information about the resource gateways.

      • (dict) –

        Summary information about a resource gateway.

        • arn (string) –

          The Amazon Resource Name (ARN) of the resource gateway.

        • createdAt (datetime) –

          The date and time that the VPC endpoint association was created, in ISO-8601 format.

        • id (string) –

          The ID of the resource gateway.

        • ipAddressType (string) –

          The type of IP address used by the resource gateway.

        • lastUpdatedAt (datetime) –

          The most recent date and time that the resource gateway was updated, in ISO-8601 format.

        • name (string) –

          The name of the resource gateway.

        • securityGroupIds (list) –

          The IDs of the security groups applied to the resource gateway.

          • (string) –

        • status (string) –

          The name of the resource gateway.

        • subnetIds (list) –

          The IDs of the VPC subnets for the resource gateway.

          • (string) –

        • vpcIdentifier (string) –

          The ID of the VPC for the resource gateway.

    • NextToken (string) –

      A token to resume pagination.