:doc:`Backup <../../backup>` / Client / list_recovery_points_by_legal_hold

**********************************
list_recovery_points_by_legal_hold
**********************************



.. py:method:: Backup.Client.list_recovery_points_by_legal_hold(**kwargs)

  

  This action returns recovery point ARNs (Amazon Resource Names) of the specified legal hold.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByLegalHold>`_  


  **Request Syntax**
  ::

    response = client.list_recovery_points_by_legal_hold(
        LegalHoldId='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type LegalHoldId: string
  :param LegalHoldId: **[REQUIRED]** 

    The ID of the legal hold.

    

  
  :type NextToken: string
  :param NextToken: 

    The next item following a partial list of returned resources. For example, if a request is made to return ``MaxResults`` number of resources, ``NextToken`` allows you to return more items in your list starting at the location pointed to by the next token.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of resource list items to be returned.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'RecoveryPoints': [
              {
                  'RecoveryPointArn': 'string',
                  'ResourceArn': 'string',
                  'ResourceType': 'string',
                  'BackupVaultName': 'string'
              },
          ],
          'NextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **RecoveryPoints** *(list) --* 

        The recovery points.

        
        

        - *(dict) --* 

          This is a recovery point which is a child (nested) recovery point of a parent (composite) recovery point. These recovery points can be disassociated from their parent (composite) recovery point, in which case they will no longer be a member.

          
          

          - **RecoveryPointArn** *(string) --* 

            The Amazon Resource Name (ARN) of the parent (composite) recovery point.

            
          

          - **ResourceArn** *(string) --* 

            The Amazon Resource Name (ARN) that uniquely identifies a saved resource.

            
          

          - **ResourceType** *(string) --* 

            The Amazon Web Services resource type that is saved as a recovery point.

            
          

          - **BackupVaultName** *(string) --* 

            The name of the backup vault (the logical container in which backups are stored).

            
      
    
      

      - **NextToken** *(string) --* 

        The next item following a partial list of returned resources.

        
  
  **Exceptions**
  
  *   :py:class:`Backup.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`Backup.Client.exceptions.MissingParameterValueException`

  
  *   :py:class:`Backup.Client.exceptions.ServiceUnavailableException`

  