Skip to content

Delete Backup

opsworkscm_delete_backup R Documentation

Deletes a backup

Description

Deletes a backup. You can delete both manual and automated backups. This operation is asynchronous.

An InvalidStateException is thrown when a backup deletion is already in progress. A ResourceNotFoundException is thrown when the backup does not exist. A ValidationException is thrown when parameters of the request are not valid.

Usage

opsworkscm_delete_backup(BackupId)

Arguments

BackupId

[required] The ID of the backup to delete. Run the DescribeBackups command to get a list of backup IDs. Backup IDs are in the format ServerName-yyyyMMddHHmmssSSS.

Value

An empty list.

Request syntax

svc$delete_backup(
  BackupId = "string"
)