Smaws_Client_FSx.DeleteSnapshotDeletes 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `InternalServerError of Types.internal_server_error
| `SnapshotNotFound of Types.snapshot_not_found ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_snapshot_request ->
(Types.delete_snapshot_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `InternalServerError of Types.internal_server_error
| `SnapshotNotFound of Types.snapshot_not_found ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_snapshot_request ->
(Types.delete_snapshot_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `BadRequest of Types.bad_request
| `InternalServerError of Types.internal_server_error
| `SnapshotNotFound of Types.snapshot_not_found ]
* Smaws_Lib.Response.metadata)
Stdlib.result