GroundStation / Paginator / ListContactVersions

ListContactVersions

class GroundStation.Paginator.ListContactVersions
paginator = client.get_paginator('list_contact_versions')
paginate(**kwargs)

Creates an iterator that will paginate through responses from GroundStation.Client.list_contact_versions().

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    UUID of a contact.

  • 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

{
    'contactVersionsList': [
        {
            'versionId': 123,
            'created': datetime(2015, 1, 1),
            'activated': datetime(2015, 1, 1),
            'superseded': datetime(2015, 1, 1),
            'lastUpdated': datetime(2015, 1, 1),
            'status': 'UPDATING'|'ACTIVE'|'SUPERSEDED'|'FAILED_TO_UPDATE',
            'failureCodes': [
                'INTERNAL_ERROR'|'INVALID_SATELLITE_ARN'|'INVALID_UPDATE_CONTACT_REQUEST'|'EPHEMERIS_NOT_FOUND'|'EPHEMERIS_TIME_RANGE_INVALID'|'EPHEMERIS_NOT_ENABLED'|'SATELLITE_DOES_NOT_MATCH_EPHEMERIS'|'NOT_ONBOARDED_TO_AZEL_EPHEMERIS'|'AZEL_EPHEMERIS_NOT_FOUND'|'AZEL_EPHEMERIS_WRONG_GROUND_STATION'|'AZEL_EPHEMERIS_INVALID_STATUS'|'AZEL_EPHEMERIS_TIME_RANGE_INVALID',
            ],
            'failureMessage': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • contactVersionsList (list) –

      List of contact versions.

      • (dict) –

        Version information for a contact.

        • versionId (integer) –

          Version ID of a contact.

        • created (datetime) –

          Time the contact version was created in UTC.

        • activated (datetime) –

          Time the contact version was activated in UTC. A version is activated when it becomes the current active version of the contact.

        • superseded (datetime) –

          Time the contact version was superseded in UTC. A version is superseded when a newer version becomes active.

        • lastUpdated (datetime) –

          Time the contact version was last updated in UTC.

        • status (string) –

          Status of the contact version.

        • failureCodes (list) –

          List of failure codes for the contact version.

          • (string) –

        • failureMessage (string) –

          Failure message for the contact version.

    • NextToken (string) –

      A token to resume pagination.