Backup / Client / delete_backup_plan



Deletes a backup plan. A backup plan can only be deleted after all associated selections of resources have been deleted. Deleting a backup plan deletes the current version of a backup plan. Previous versions, if any, will still exist.

See also: AWS API Documentation

Request Syntax

response = client.delete_backup_plan(

BackupPlanId (string) –


Uniquely identifies a backup plan.

Return type:



Response Syntax

    'BackupPlanId': 'string',
    'BackupPlanArn': 'string',
    'DeletionDate': datetime(2015, 1, 1),
    'VersionId': 'string'

Response Structure

  • (dict) –

    • BackupPlanId (string) –

      Uniquely identifies a backup plan.

    • BackupPlanArn (string) –

      An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.

    • DeletionDate (datetime) –

      The date and time a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value of DeletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    • VersionId (string) –

      Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.


  • Backup.Client.exceptions.ResourceNotFoundException

  • Backup.Client.exceptions.InvalidParameterValueException

  • Backup.Client.exceptions.MissingParameterValueException

  • Backup.Client.exceptions.ServiceUnavailableException

  • Backup.Client.exceptions.InvalidRequestException