ListRecoveryPoints

class RedshiftServerless.Paginator.ListRecoveryPoints
paginator = client.get_paginator('list_recovery_points')
paginate(**kwargs)

Creates an iterator that will paginate through responses from RedshiftServerless.Client.list_recovery_points().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    endTime=datetime(2015, 1, 1),
    namespaceArn='string',
    namespaceName='string',
    startTime=datetime(2015, 1, 1),
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • endTime (datetime) -- The time when creation of the recovery point finished.
  • namespaceArn (string) -- The Amazon Resource Name (ARN) of the namespace from which to list recovery points.
  • namespaceName (string) -- The name of the namespace to list recovery points for.
  • startTime (datetime) -- The time when the recovery point's creation was initiated.
  • 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

{
    'recoveryPoints': [
        {
            'namespaceArn': 'string',
            'namespaceName': 'string',
            'recoveryPointCreateTime': datetime(2015, 1, 1),
            'recoveryPointId': 'string',
            'totalSizeInMegaBytes': 123.0,
            'workgroupName': 'string'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • recoveryPoints (list) --

      The returned recovery point objects.

      • (dict) --

        The automatically created recovery point of a namespace. Recovery points are created every 30 minutes and kept for 24 hours.

        • namespaceArn (string) --

          The Amazon Resource Name (ARN) of the namespace the recovery point is associated with.

        • namespaceName (string) --

          The name of the namespace the recovery point is associated with.

        • recoveryPointCreateTime (datetime) --

          The time the recovery point is created.

        • recoveryPointId (string) --

          The unique identifier of the recovery point.

        • totalSizeInMegaBytes (float) --

          The total size of the data in the recovery point in megabytes.

        • workgroupName (string) --

          The name of the workgroup the recovery point is associated with.

    • NextToken (string) --

      A token to resume pagination.