Struct aws_sdk_fsx::client::fluent_builders::DeleteFileSystem [−][src]
pub struct DeleteFileSystem<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to DeleteFileSystem.
Deletes a file system, deleting its contents. After deletion, the file system no longer exists, and its data is gone. Any existing automatic backups will also be deleted.
To delete an Amazon FSx for NetApp ONTAP file system, first delete all the volumes
and SVMs on the file system. Then provide a FileSystemId value to the
DeleFileSystem operation.
By default, when you delete an Amazon FSx for Windows File Server file system, a final backup is created upon deletion. This final backup is not subject to the file system's retention policy, and must be manually deleted.
The DeleteFileSystem action returns while the file system has the
DELETING status. You can check the file system deletion status by
calling the DescribeFileSystems action, which returns a list of file
systems in your account. If you pass the file system ID for a deleted file system, the
DescribeFileSystems returns a FileSystemNotFound
error.
Deleting an Amazon FSx for Lustre file system will fail with a 400 BadRequest if
a data repository task is in a PENDING or EXECUTING
state.
The data in a deleted file system is also deleted and can't be recovered by any means.
Implementations
impl<C, M, R> DeleteFileSystem<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteFileSystem<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteFileSystemOutput, SdkError<DeleteFileSystemError>> where
R::Policy: SmithyRetryPolicy<DeleteFileSystemInputOperationOutputAlias, DeleteFileSystemOutput, DeleteFileSystemError, DeleteFileSystemInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteFileSystemOutput, SdkError<DeleteFileSystemError>> where
R::Policy: SmithyRetryPolicy<DeleteFileSystemInputOperationOutputAlias, DeleteFileSystemOutput, DeleteFileSystemError, DeleteFileSystemInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ID of the file system you want to delete.
The ID of the file system you want to delete.
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent deletion. This is automatically filled on your behalf when using the Command Line Interface (CLI) or an Amazon Web Services SDK.
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent deletion. This is automatically filled on your behalf when using the Command Line Interface (CLI) or an Amazon Web Services SDK.
The configuration object for the Microsoft Windows file system used in the
DeleteFileSystem operation.
pub fn set_windows_configuration(
self,
input: Option<DeleteFileSystemWindowsConfiguration>
) -> Self
pub fn set_windows_configuration(
self,
input: Option<DeleteFileSystemWindowsConfiguration>
) -> Self
The configuration object for the Microsoft Windows file system used in the
DeleteFileSystem operation.
The configuration object for the Amazon FSx for Lustre file system being deleted in the
DeleteFileSystem operation.
pub fn set_lustre_configuration(
self,
input: Option<DeleteFileSystemLustreConfiguration>
) -> Self
pub fn set_lustre_configuration(
self,
input: Option<DeleteFileSystemLustreConfiguration>
) -> Self
The configuration object for the Amazon FSx for Lustre file system being deleted in the
DeleteFileSystem operation.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeleteFileSystem<C, M, R>
impl<C, M, R> Send for DeleteFileSystem<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteFileSystem<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteFileSystem<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeleteFileSystem<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more