LambdaCore / Paginator / ListNetworkConnectorVersions

ListNetworkConnectorVersions

class LambdaCore.Paginator.ListNetworkConnectorVersions
paginator = client.get_paginator('list_network_connector_versions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from LambdaCore.Client.list_network_connector_versions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    Identifier='string',
    State='PENDING'|'ACTIVE'|'INACTIVE'|'FAILED'|'DELETING'|'DELETE_FAILED',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • Identifier (string) –

    [REQUIRED]

    The identifier of the network connector whose versions you want to list. You can specify the connector ID, name, or full ARN. Specify an unqualified identifier — this operation lists all versions of the connector, not a specific version.

  • State (string) – Optional filter to return only versions in the specified state (for example, ACTIVE or FAILED).

  • 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

{
    'NetworkConnectorVersions': [
        {
            'Arn': 'string',
            'VersionArn': 'string',
            'Name': 'string',
            'Id': 'string',
            'Version': 123,
            'State': 'PENDING'|'ACTIVE'|'INACTIVE'|'FAILED'|'DELETING'|'DELETE_FAILED',
            'StateReason': 'string',
            'StateReasonCode': 'DisallowedByVpcEncryptionControl'|'Ec2RequestLimitExceeded'|'InsufficientRolePermissions'|'InternalError'|'InvalidSecurityGroup'|'InvalidSubnet'|'SecurityGroupsPerInterfaceLimitExceeded'|'SubnetOutOfIPAddresses',
            'LastModified': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • NetworkConnectorVersions (list) –

      A list of connector version summaries for the current page of results.

      • (dict) –

        Summary information about a single version of a network connector returned by ListNetworkConnectorVersions. Each configuration update creates a new immutable version; this shape describes one such version. To retrieve the full configuration of a version, call GetNetworkConnector with a version-qualified identifier.

        • Arn (string) –

          The unqualified ARN of the network connector that this version belongs to.

        • VersionArn (string) –

          The qualified ARN of this connector version, including the immutable version suffix.

        • Name (string) –

          The name of the network connector.

        • Id (string) –

          The unique identifier of the network connector.

        • Version (integer) –

          The version number of this connector version.

        • State (string) –

          The current state of this connector version.

        • StateReason (string) –

          A human-readable explanation of the current state, populated when the state is FAILED.

        • StateReasonCode (string) –

          A machine-readable code indicating the reason for the current state. Use this for programmatic error handling.

        • LastModified (datetime) –

          The date and time when this connector version was last modified.

    • NextToken (string) –

      A token to resume pagination.