Skip to content

Delete Snapshot

fsx_delete_snapshot R Documentation

Deletes an Amazon FSx for OpenZFS snapshot

Description

Deletes an Amazon FSx for OpenZFS snapshot. After deletion, the snapshot no longer exists, and its data is gone. Deleting a snapshot doesn't affect snapshots stored in a file system backup.

The delete_snapshot operation returns instantly. The snapshot appears with the lifecycle status of DELETING until the deletion is complete.

Usage

fsx_delete_snapshot(ClientRequestToken, SnapshotId)

Arguments

ClientRequestToken
SnapshotId

[required] The ID of the snapshot that you want to delete.

Value

A list with the following syntax:

list(
  SnapshotId = "string",
  Lifecycle = "PENDING"|"CREATING"|"DELETING"|"AVAILABLE"
)

Request syntax

svc$delete_snapshot(
  ClientRequestToken = "string",
  SnapshotId = "string"
)