Skip to content

Delete Backup

cloudhsmv2_delete_backup R Documentation

Deletes a specified CloudHSM backup

Description

Deletes a specified CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see restore_backup.

Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.

Usage

cloudhsmv2_delete_backup(BackupId)

Arguments

BackupId

[required] The ID of the backup to be deleted. To find the ID of a backup, use the describe_backups operation.

Value

A list with the following syntax:

list(
  Backup = list(
    BackupId = "string",
    BackupArn = "string",
    BackupState = "CREATE_IN_PROGRESS"|"READY"|"DELETED"|"PENDING_DELETION",
    ClusterId = "string",
    CreateTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    CopyTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    NeverExpires = TRUE|FALSE,
    SourceRegion = "string",
    SourceBackup = "string",
    SourceCluster = "string",
    DeleteTimestamp = as.POSIXct(
      "2015-01-01"
    ),
    TagList = list(
      list(
        Key = "string",
        Value = "string"
      )
    ),
    HsmType = "string",
    Mode = "FIPS"|"NON_FIPS"
  )
)

Request syntax

svc$delete_backup(
  BackupId = "string"
)