Backup / Paginator / ListRestoreTestingSelections


class Backup.Paginator.ListRestoreTestingSelections#
paginator = client.get_paginator('list_restore_testing_selections')

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

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
  • RestoreTestingPlanName (string) –


    Returns restore testing selections by the specified restore testing plan name.

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



Response Syntax

    'RestoreTestingSelections': [
            'CreationTime': datetime(2015, 1, 1),
            'IamRoleArn': 'string',
            'ProtectedResourceType': 'string',
            'RestoreTestingPlanName': 'string',
            'RestoreTestingSelectionName': 'string',
            'ValidationWindowHours': 123

Response Structure

  • (dict) –

    • RestoreTestingSelections (list) –

      The returned restore testing selections associated with the restore testing plan.

      • (dict) –

        This contains metadata about a restore testing selection.

        • CreationTime (datetime) –

          This is the date and time that a restore testing selection 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.

        • IamRoleArn (string) –

          The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example: arn:aws:iam::123456789012:role/S3Access.

        • ProtectedResourceType (string) –

          The type of Amazon Web Services resource included in a restore testing selection; for example, an Amazon EBS volume or an Amazon RDS database.

        • RestoreTestingPlanName (string) –

          Unique string that is the name of the restore testing plan.

          The name cannot be changed after creation. The name must consist of only alphanumeric characters and underscores. Maximum length is 50.

        • RestoreTestingSelectionName (string) –

          Unique name of a restore testing selection.

        • ValidationWindowHours (integer) –

          This value represents the time, in hours, data is retained after a restore test so that optional validation can be completed.

          Accepted value is an integer between 0 and 168 (the hourly equivalent of seven days).