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

***************************
describe_protected_resource
***************************



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

  

  Returns information about a saved resource, including the last time it was backed up, its Amazon Resource Name (ARN), and the Amazon Web Services service type of the saved resource.

  

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


  **Request Syntax**
  ::

    response = client.describe_protected_resource(
        ResourceArn='string'
    )
    
  :type ResourceArn: string
  :param ResourceArn: **[REQUIRED]** 

    An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

    

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

    
    ::

      {
          'ResourceArn': 'string',
          'ResourceType': 'string',
          'LastBackupTime': datetime(2015, 1, 1),
          'ResourceName': 'string',
          'LastBackupVaultArn': 'string',
          'LastRecoveryPointArn': 'string',
          'LatestRestoreExecutionTimeMinutes': 123,
          'LatestRestoreJobCreationDate': datetime(2015, 1, 1),
          'LatestRestoreRecoveryPointCreationDate': datetime(2015, 1, 1)
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

        
      

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

        The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.

        
      

      - **LastBackupTime** *(datetime) --* 

        The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of ``LastBackupTime`` is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

        
      

      - **ResourceName** *(string) --* 

        The name of the resource that belongs to the specified backup.

        
      

      - **LastBackupVaultArn** *(string) --* 

        The ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.

        
      

      - **LastRecoveryPointArn** *(string) --* 

        The ARN (Amazon Resource Name) of the most recent recovery point.

        
      

      - **LatestRestoreExecutionTimeMinutes** *(integer) --* 

        The time, in minutes, that the most recent restore job took to complete.

        
      

      - **LatestRestoreJobCreationDate** *(datetime) --* 

        The creation date of the most recent restore job.

        
      

      - **LatestRestoreRecoveryPointCreationDate** *(datetime) --* 

        The date the most recent recovery point was created.

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

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

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

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

  