Struct aws_sdk_fsx::client::fluent_builders::UpdateFileSystem
source · [−]pub struct UpdateFileSystem { /* private fields */ }
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
-
DiskIopsConfiguration
-
FsxAdminPassword
-
StorageCapacity
-
ThroughputCapacity
-
WeeklyMaintenanceStartTime
For the Amazon FSx for OpenZFS file systems, you can update the following properties:
-
AutomaticBackupRetentionDays
-
CopyTagsToBackups
-
CopyTagsToVolumes
-
DailyAutomaticBackupStartTime
-
ThroughputCapacity
-
WeeklyMaintenanceStartTime
Implementations
sourceimpl UpdateFileSystem
impl UpdateFileSystem
sourcepub async fn send(
self
) -> Result<UpdateFileSystemOutput, SdkError<UpdateFileSystemError>>
pub async fn send(
self
) -> Result<UpdateFileSystemOutput, SdkError<UpdateFileSystemError>>
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.
sourcepub fn file_system_id(self, input: impl Into<String>) -> Self
pub fn file_system_id(self, input: impl Into<String>) -> Self
The ID of the file system that you are updating.
sourcepub fn set_file_system_id(self, input: Option<String>) -> Self
pub fn set_file_system_id(self, input: Option<String>) -> Self
The ID of the file system that you are updating.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
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.
sourcepub fn storage_capacity(self, input: i32) -> Self
pub fn storage_capacity(self, input: i32) -> Self
Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server, Amazon FSx for Lustre, or Amazon FSx for NetApp ONTAP file system. Specifies the storage capacity target value, in GiB, to increase the storage capacity for the file system that you're updating.
You can't 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. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2
,PERSISTENT_1
, andPERSISTENT_2 SSD
deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDD
file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1
file systems, you can't increase the storage capacity.
For more information, see Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide.
For ONTAP file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide.
sourcepub fn set_storage_capacity(self, input: Option<i32>) -> Self
pub fn set_storage_capacity(self, input: Option<i32>) -> Self
Use this parameter to increase the storage capacity of an Amazon FSx for Windows File Server, Amazon FSx for Lustre, or Amazon FSx for NetApp ONTAP file system. Specifies the storage capacity target value, in GiB, to increase the storage capacity for the file system that you're updating.
You can't 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. To increase storage capacity, the file system must have at least 16 MBps of throughput capacity. For more information, see Managing storage capacity in the Amazon FSx for Windows File Server User Guide.
For Lustre file systems, the storage capacity target value can be the following:
-
For
SCRATCH_2
,PERSISTENT_1
, andPERSISTENT_2 SSD
deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity. -
For
PERSISTENT HDD
file systems, valid values are multiples of 6000 GiB for 12-MBps throughput per TiB file systems and multiples of 1800 GiB for 40-MBps throughput per TiB file systems. The values must be greater than the current storage capacity. -
For
SCRATCH_1
file systems, you can't increase the storage capacity.
For more information, see Managing storage and throughput capacity in the Amazon FSx for Lustre User Guide.
For ONTAP file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see Managing storage capacity and provisioned IOPS in the Amazon FSx for NetApp ONTAP User Guide.
sourcepub fn windows_configuration(
self,
input: UpdateFileSystemWindowsConfiguration
) -> Self
pub fn windows_configuration(
self,
input: UpdateFileSystemWindowsConfiguration
) -> Self
The configuration updates for an Amazon FSx for Windows File Server file system.
sourcepub 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.
sourcepub fn lustre_configuration(
self,
input: UpdateFileSystemLustreConfiguration
) -> Self
pub fn lustre_configuration(
self,
input: UpdateFileSystemLustreConfiguration
) -> Self
The configuration object for Amazon FSx for Lustre file systems used in the UpdateFileSystem
operation.
sourcepub 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.
sourcepub fn ontap_configuration(
self,
input: UpdateFileSystemOntapConfiguration
) -> Self
pub fn ontap_configuration(
self,
input: UpdateFileSystemOntapConfiguration
) -> Self
The configuration updates for an Amazon FSx for NetApp ONTAP file system.
sourcepub 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.
sourcepub fn open_zfs_configuration(
self,
input: UpdateFileSystemOpenZfsConfiguration
) -> Self
pub fn open_zfs_configuration(
self,
input: UpdateFileSystemOpenZfsConfiguration
) -> Self
The configuration updates for an Amazon FSx for OpenZFS file system.
sourcepub fn set_open_zfs_configuration(
self,
input: Option<UpdateFileSystemOpenZfsConfiguration>
) -> Self
pub fn set_open_zfs_configuration(
self,
input: Option<UpdateFileSystemOpenZfsConfiguration>
) -> Self
The configuration updates for an Amazon FSx for OpenZFS file system.
Trait Implementations
sourceimpl Clone for UpdateFileSystem
impl Clone for UpdateFileSystem
sourcefn clone(&self) -> UpdateFileSystem
fn clone(&self) -> UpdateFileSystem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UpdateFileSystem
impl Send for UpdateFileSystem
impl Sync for UpdateFileSystem
impl Unpin for UpdateFileSystem
impl !UnwindSafe for UpdateFileSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more