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 DeleteSnapshot operation returns instantly. The snapshot appears with
the lifecycle status of DELETING until the deletion is complete.
Example
Use a bare-bones client and the command you need to make an API call.
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
DeleteSnapshot
operation returns instantly. The snapshot appears with the lifecycle status ofDELETING
until the deletion is complete.Example
Use a bare-bones client and the command you need to make an API call.
Param
DeleteSnapshotCommandInput
Returns
DeleteSnapshotCommandOutput
See
input
shape.response
shape.config
shape.Throws
BadRequest (client fault)
A generic error indicating a failure with a client request.
Throws
InternalServerError (server fault)
A generic error indicating a server-side failure.
Throws
SnapshotNotFound (client fault)
No Amazon FSx snapshots were found based on the supplied parameters.
Throws
FSxServiceException
Base exception class for all service exceptions from FSx service.