:doc:`RedshiftServerless <../../redshift-serverless>` / Paginator / ListRecoveryPoints

******************
ListRecoveryPoints
******************



.. py:class:: RedshiftServerless.Paginator.ListRecoveryPoints

  ::

    
    paginator = client.get_paginator('list_recovery_points')

  
  

  .. py:method:: paginate(**kwargs)

    Creates an iterator that will paginate through responses from :py:meth:`RedshiftServerless.Client.list_recovery_points`.

    See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListRecoveryPoints>`_    


    **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'
          }
      )
      
    :type endTime: datetime
    :param endTime: 

      The time when creation of the recovery point finished.

      

    
    :type namespaceArn: string
    :param namespaceArn: 

      The Amazon Resource Name (ARN) of the namespace from which to list recovery points.

      

    
    :type namespaceName: string
    :param namespaceName: 

      The name of the namespace to list recovery points for.

      

    
    :type startTime: datetime
    :param startTime: 

      The time when the recovery point's creation was initiated.

      

    
    :type PaginationConfig: dict
    :param PaginationConfig: 

      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.

        

      
    
    
    :rtype: 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.

          
    