GroundStation / Paginator / ListGroundStationReservations

ListGroundStationReservations

class GroundStation.Paginator.ListGroundStationReservations
paginator = client.get_paginator('list_ground_station_reservations')
paginate(**kwargs)

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    groundStationId='string',
    startTime=datetime(2015, 1, 1),
    endTime=datetime(2015, 1, 1),
    reservationTypes=[
        'MAINTENANCE'|'CONTACT',
    ],
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • groundStationId (string) –

    [REQUIRED]

    ID of a ground station.

  • startTime (datetime) –

    [REQUIRED]

    Start time of the reservation window in UTC.

  • endTime (datetime) –

    [REQUIRED]

    End time of the reservation window in UTC.

  • reservationTypes (list) –

    Types of reservations to filter by.

    • (string) –

  • 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

{
    'reservationList': [
        {
            'reservationType': 'MAINTENANCE'|'CONTACT',
            'groundStationId': 'string',
            'antennaName': 'string',
            'startTime': datetime(2015, 1, 1),
            'endTime': datetime(2015, 1, 1),
            'reservationDetails': {
                'maintenance': {
                    'maintenanceType': 'PLANNED'|'UNPLANNED'
                },
                'contact': {
                    'contactId': 'string'
                }
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • reservationList (list) –

      List of ground station reservations.

      • (dict) –

        Item in a list of ground station reservations.

        • reservationType (string) –

          Type of a ground station reservation.

        • groundStationId (string) –

          ID of a ground station.

        • antennaName (string) –

          Name of an antenna.

        • startTime (datetime) –

          Start time of a ground station reservation in UTC.

        • endTime (datetime) –

          End time of a ground station reservation in UTC.

        • reservationDetails (dict) –

          Details of a ground station reservation.

          Note

          This is a Tagged Union structure. Only one of the following top level keys will be set: maintenance, contact. If a client receives an unknown member it will set SDK_UNKNOWN_MEMBER as the top level key, which maps to the name or tag of the unknown member. The structure of SDK_UNKNOWN_MEMBER is as follows:

          'SDK_UNKNOWN_MEMBER': {'name': 'UnknownMemberName'}
          
          • maintenance (dict) –

            Details of a maintenance reservation.

            • maintenanceType (string) –

              Type of maintenance.

          • contact (dict) –

            Details of a contact reservation.

            • contactId (string) –

              UUID of a contact.

    • NextToken (string) –

      A token to resume pagination.