Struct aws_sdk_fsx::client::fluent_builders::UpdateFileSystem [−][src]
pub struct UpdateFileSystem<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to UpdateFileSystem.
Use this operation to update the configuration of an existing Amazon FSx file system. You can update multiple properties in a single request.
For Amazon FSx for Windows File Server file systems, you can update the following properties:
-
AuditLogConfiguration
-
AutomaticBackupRetentionDays
-
DailyAutomaticBackupStartTime
-
SelfManagedActiveDirectoryConfiguration
-
StorageCapacity
-
ThroughputCapacity
-
WeeklyMaintenanceStartTime
For Amazon FSx for Lustre file systems, you can update the following properties:
-
AutoImportPolicy
-
AutomaticBackupRetentionDays
-
DailyAutomaticBackupStartTime
-
DataCompressionType
-
StorageCapacity
-
WeeklyMaintenanceStartTime
For Amazon FSx for NetApp ONTAP file systems, you can update the following properties:
-
AutomaticBackupRetentionDays
-
DailyAutomaticBackupStartTime
-
FsxAdminPassword
-
WeeklyMaintenanceStartTime
Implementations
impl<C, M, R> UpdateFileSystem<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateFileSystem<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateFileSystemOutput, SdkError<UpdateFileSystemError>> where
R::Policy: SmithyRetryPolicy<UpdateFileSystemInputOperationOutputAlias, UpdateFileSystemOutput, UpdateFileSystemError, UpdateFileSystemInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateFileSystemOutput, SdkError<UpdateFileSystemError>> where
R::Policy: SmithyRetryPolicy<UpdateFileSystemInputOperationOutputAlias, UpdateFileSystemOutput, UpdateFileSystemError, UpdateFileSystemInputOperationRetryAlias>,
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.
Identifies the file system that you are updating.
Identifies the file system that you are updating.
A string of up to 64 ASCII characters that Amazon FSx uses to ensure idempotent updates. This string is automatically filled on your behalf when you use 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 updates. This string is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server or Amazon FSx for Lustre file system. Specifies the storage capacity target value, GiB, to increase the storage capacity for the file system that you're updating. You cannot make a storage capacity increase request if there is an existing storage capacity increase request in progress.
For Windows file systems, the storage capacity target value must be at least 10 percent (%) greater than the current storage capacity value. In order to increase storage capacity, the file system must have at least 16 MB/s of throughput capacity.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2andPERSISTENT_1 SSDdeployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDDfile systems, valid values are multiples of 6000 GiB for 12 MB/s/TiB file systems and multiples of 1800 GiB for 40 MB/s/TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1file systems, you cannot increase the storage capacity.
For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide and Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide.
Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server or Amazon FSx for Lustre file system. Specifies the storage capacity target value, GiB, to increase the storage capacity for the file system that you're updating. You cannot make a storage capacity increase request if there is an existing storage capacity increase request in progress.
For Windows file systems, the storage capacity target value must be at least 10 percent (%) greater than the current storage capacity value. In order to increase storage capacity, the file system must have at least 16 MB/s of throughput capacity.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2andPERSISTENT_1 SSDdeployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDDfile systems, valid values are multiples of 6000 GiB for 12 MB/s/TiB file systems and multiples of 1800 GiB for 40 MB/s/TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1file systems, you cannot increase the storage capacity.
For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide and Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide.
The configuration updates for an Amazon FSx for Windows File Server file system.
pub fn set_windows_configuration(
self,
input: Option<UpdateFileSystemWindowsConfiguration>
) -> Self
pub fn set_windows_configuration(
self,
input: Option<UpdateFileSystemWindowsConfiguration>
) -> Self
The configuration updates for an Amazon FSx for Windows File Server file system.
The configuration object for Amazon FSx for Lustre file systems used in the
UpdateFileSystem operation.
pub fn set_lustre_configuration(
self,
input: Option<UpdateFileSystemLustreConfiguration>
) -> Self
pub fn set_lustre_configuration(
self,
input: Option<UpdateFileSystemLustreConfiguration>
) -> Self
The configuration object for Amazon FSx for Lustre file systems used in the
UpdateFileSystem operation.
The configuration updates for an Amazon FSx for NetApp ONTAP file system.
pub fn set_ontap_configuration(
self,
input: Option<UpdateFileSystemOntapConfiguration>
) -> Self
pub fn set_ontap_configuration(
self,
input: Option<UpdateFileSystemOntapConfiguration>
) -> Self
The configuration updates for an Amazon FSx for NetApp ONTAP file system.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateFileSystem<C, M, R>
impl<C, M, R> Send for UpdateFileSystem<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateFileSystem<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateFileSystem<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateFileSystem<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