Struct aws_sdk_fsx::operation::delete_volume::DeleteVolumeInput
source · #[non_exhaustive]pub struct DeleteVolumeInput {
pub client_request_token: Option<String>,
pub volume_id: Option<String>,
pub ontap_configuration: Option<DeleteVolumeOntapConfiguration>,
pub open_zfs_configuration: Option<DeleteVolumeOpenZfsConfiguration>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_request_token: Option<String>
(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.
volume_id: Option<String>
The ID of the volume that you are deleting.
ontap_configuration: Option<DeleteVolumeOntapConfiguration>
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.
open_zfs_configuration: Option<DeleteVolumeOpenZfsConfiguration>
For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
Implementations§
source§impl DeleteVolumeInput
impl DeleteVolumeInput
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
(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.
sourcepub fn ontap_configuration(&self) -> Option<&DeleteVolumeOntapConfiguration>
pub fn ontap_configuration(&self) -> Option<&DeleteVolumeOntapConfiguration>
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.
sourcepub fn open_zfs_configuration(
&self
) -> Option<&DeleteVolumeOpenZfsConfiguration>
pub fn open_zfs_configuration( &self ) -> Option<&DeleteVolumeOpenZfsConfiguration>
For Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
source§impl DeleteVolumeInput
impl DeleteVolumeInput
sourcepub fn builder() -> DeleteVolumeInputBuilder
pub fn builder() -> DeleteVolumeInputBuilder
Creates a new builder-style object to manufacture DeleteVolumeInput
.
Trait Implementations§
source§impl Clone for DeleteVolumeInput
impl Clone for DeleteVolumeInput
source§fn clone(&self) -> DeleteVolumeInput
fn clone(&self) -> DeleteVolumeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteVolumeInput
impl Debug for DeleteVolumeInput
source§impl PartialEq for DeleteVolumeInput
impl PartialEq for DeleteVolumeInput
source§fn eq(&self, other: &DeleteVolumeInput) -> bool
fn eq(&self, other: &DeleteVolumeInput) -> bool
self
and other
values to be equal, and is used
by ==
.