Backup / Paginator / ListRestoreTestingPlans

ListRestoreTestingPlans#

class Backup.Paginator.ListRestoreTestingPlans#
paginator = client.get_paginator('list_restore_testing_plans')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from Backup.Client.list_restore_testing_plans().

See also: AWS API Documentation

Request Syntax

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

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

{
    'RestoreTestingPlans': [
        {
            'CreationTime': datetime(2015, 1, 1),
            'LastExecutionTime': datetime(2015, 1, 1),
            'LastUpdateTime': datetime(2015, 1, 1),
            'RestoreTestingPlanArn': 'string',
            'RestoreTestingPlanName': 'string',
            'ScheduleExpression': 'string',
            'ScheduleExpressionTimezone': 'string',
            'StartWindowHours': 123
        },
    ]
}

Response Structure

  • (dict) –

    • RestoreTestingPlans (list) –

      This is a returned list of restore testing plans.

      • (dict) –

        This contains metadata about a restore testing plan.

        • CreationTime (datetime) –

          The date and time that a restore testing plan was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        • LastExecutionTime (datetime) –

          The last time a restore test was run with the specified restore testing plan. A date and time, in Unix format and Coordinated Universal Time (UTC). The value of LastExecutionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        • LastUpdateTime (datetime) –

          The date and time that the restore testing plan was updated. This update is in Unix format and Coordinated Universal Time (UTC). The value of LastUpdateTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        • RestoreTestingPlanArn (string) –

          An Amazon Resource Name (ARN) that uniquely identifiesa restore testing plan.

        • RestoreTestingPlanName (string) –

          This is the restore testing plan name.

        • ScheduleExpression (string) –

          A CRON expression in specified timezone when a restore testing plan is executed.

        • ScheduleExpressionTimezone (string) –

          Optional. This is the timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.

        • StartWindowHours (integer) –

          Defaults to 24 hours.

          A value in hours after a restore test is scheduled before a job will be canceled if it doesn’t start successfully. This value is optional. If this value is included, this parameter has a maximum value of 168 hours (one week).