Backup / Client / describe_protected_resource



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

Request Syntax

response = client.describe_protected_resource(

ResourceArn (string) –


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

Return type:



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) –

      This is the non-unique name of the resource that belongs to the specified backup.

    • LastBackupVaultArn (string) –

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

    • LastRecoveryPointArn (string) –

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

    • LatestRestoreExecutionTimeMinutes (integer) –

      This is the time in minutes the most recent restore job took to complete.

    • LatestRestoreJobCreationDate (datetime) –

      This is the creation date of the most recent restore job.

    • LatestRestoreRecoveryPointCreationDate (datetime) –

      This is the date the most recent recovery point was created.


  • Backup.Client.exceptions.MissingParameterValueException

  • Backup.Client.exceptions.InvalidParameterValueException

  • Backup.Client.exceptions.ServiceUnavailableException

  • Backup.Client.exceptions.ResourceNotFoundException