1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateFileSystem`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`file_system_id(impl Into<String>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::file_system_id) / [`set_file_system_id(Option<String>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::set_file_system_id):<br>required: **true**<br><p>The ID of the file system that you are updating.</p><br>
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::set_client_request_token):<br>required: **false**<br><p>A string of up to 63 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.</p><br>
    ///   - [`storage_capacity(i32)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::storage_capacity) / [`set_storage_capacity(Option<i32>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::set_storage_capacity):<br>required: **false**<br><p>Use this parameter to increase the storage capacity of an FSx for Windows File Server, FSx for Lustre, FSx for OpenZFS, or FSx for ONTAP file system. Specifies the storage capacity target value, in GiB, to increase the storage capacity for the file system that you're updating.</p><note>  <p>You can't make a storage capacity increase request if there is an existing storage capacity increase request in progress.</p> </note> <p>For Lustre file systems, the storage capacity target value can be the following:</p> <ul>  <li>   <p>For <code>SCRATCH_2</code>, <code>PERSISTENT_1</code>, and <code>PERSISTENT_2 SSD</code> deployment types, valid values are in multiples of 2400 GiB. The value must be greater than the current storage capacity.</p></li>  <li>   <p>For <code>PERSISTENT HDD</code> 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.</p></li>  <li>   <p>For <code>SCRATCH_1</code> file systems, you can't increase the storage capacity.</p></li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/LustreGuide/managing-storage-capacity.html">Managing storage and throughput capacity</a> in the <i>FSx for Lustre User Guide</i>.</p> <p>For FSx for OpenZFS file systems, the storage capacity target value must be at least 10 percent greater than the current storage capacity value. For more information, see <a href="https://docs.aws.amazon.com/fsx/latest/OpenZFSGuide/managing-storage-capacity.html">Managing storage capacity</a> in the <i>FSx for OpenZFS User Guide</i>.</p> <p>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 <a href="https://docs.aws.amazon.com/fsx/latest/WindowsGuide/managing-storage-capacity.html">Managing storage capacity</a> in the <i>Amazon FSxfor Windows File Server User Guide</i>.</p> <p>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 <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-storage-capacity.html">Managing storage capacity and provisioned IOPS</a> in the <i>Amazon FSx for NetApp ONTAP User Guide</i>.</p><br>
    ///   - [`windows_configuration(UpdateFileSystemWindowsConfiguration)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::windows_configuration) / [`set_windows_configuration(Option<UpdateFileSystemWindowsConfiguration>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::set_windows_configuration):<br>required: **false**<br><p>The configuration updates for an Amazon FSx for Windows File Server file system.</p><br>
    ///   - [`lustre_configuration(UpdateFileSystemLustreConfiguration)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::lustre_configuration) / [`set_lustre_configuration(Option<UpdateFileSystemLustreConfiguration>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::set_lustre_configuration):<br>required: **false**<br><p>The configuration object for Amazon FSx for Lustre file systems used in the <code>UpdateFileSystem</code> operation.</p><br>
    ///   - [`ontap_configuration(UpdateFileSystemOntapConfiguration)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::ontap_configuration) / [`set_ontap_configuration(Option<UpdateFileSystemOntapConfiguration>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::set_ontap_configuration):<br>required: **false**<br><p>The configuration updates for an Amazon FSx for NetApp ONTAP file system.</p><br>
    ///   - [`open_zfs_configuration(UpdateFileSystemOpenZfsConfiguration)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::open_zfs_configuration) / [`set_open_zfs_configuration(Option<UpdateFileSystemOpenZfsConfiguration>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::set_open_zfs_configuration):<br>required: **false**<br><p>The configuration updates for an FSx for OpenZFS file system.</p><br>
    ///   - [`storage_type(StorageType)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::storage_type) / [`set_storage_type(Option<StorageType>)`](crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::set_storage_type):<br>required: **false**<br><p>Specifies the file system's storage type.</p><br>
    /// - On success, responds with [`UpdateFileSystemOutput`](crate::operation::update_file_system::UpdateFileSystemOutput) with field(s):
    ///   - [`file_system(Option<FileSystem>)`](crate::operation::update_file_system::UpdateFileSystemOutput::file_system): <p>A description of the file system that was updated.</p>
    /// - On failure, responds with [`SdkError<UpdateFileSystemError>`](crate::operation::update_file_system::UpdateFileSystemError)
    pub fn update_file_system(&self) -> crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder {
        crate::operation::update_file_system::builders::UpdateFileSystemFluentBuilder::new(self.handle.clone())
    }
}