RedshiftServerless / Client / list_recovery_points

list_recovery_points#

RedshiftServerless.Client.list_recovery_points(**kwargs)#

Returns an array of recovery points.

See also: AWS API Documentation

Request Syntax

response = client.list_recovery_points(
    endTime=datetime(2015, 1, 1),
    maxResults=123,
    namespaceArn='string',
    namespaceName='string',
    nextToken='string',
    startTime=datetime(2015, 1, 1)
)
Parameters:
  • endTime (datetime) – The time when creation of the recovery point finished.

  • maxResults (integer) – An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results.

  • 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.

  • nextToken (string) – If your initial ListRecoveryPoints operation returns a nextToken, you can include the returned nextToken in following ListRecoveryPoints operations, which returns results in the next page.

  • startTime (datetime) – The time when the recovery point’s creation was initiated.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • nextToken (string) –

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.

    • 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.

Exceptions