Skip to contents

Deletes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.

See https://www.paws-r-sdk.com/docs/fsx_delete_volume/ for full documentation.

Usage

fsx_delete_volume(
  ClientRequestToken = NULL,
  VolumeId,
  OntapConfiguration = NULL,
  OpenZFSConfiguration = NULL
)

Arguments

ClientRequestToken

(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.

VolumeId

[required] The ID of the volume that you are deleting.

OntapConfiguration

For Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have the fsx:TagResource permission.

OpenZFSConfiguration

For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.