Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
LustreRootSquashConfiguration
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
Synopsis
- data UpdateFileSystem = UpdateFileSystem' {
- clientRequestToken :: Maybe Text
- lustreConfiguration :: Maybe UpdateFileSystemLustreConfiguration
- ontapConfiguration :: Maybe UpdateFileSystemOntapConfiguration
- openZFSConfiguration :: Maybe UpdateFileSystemOpenZFSConfiguration
- storageCapacity :: Maybe Natural
- windowsConfiguration :: Maybe UpdateFileSystemWindowsConfiguration
- fileSystemId :: Text
- newUpdateFileSystem :: Text -> UpdateFileSystem
- updateFileSystem_clientRequestToken :: Lens' UpdateFileSystem (Maybe Text)
- updateFileSystem_lustreConfiguration :: Lens' UpdateFileSystem (Maybe UpdateFileSystemLustreConfiguration)
- updateFileSystem_ontapConfiguration :: Lens' UpdateFileSystem (Maybe UpdateFileSystemOntapConfiguration)
- updateFileSystem_openZFSConfiguration :: Lens' UpdateFileSystem (Maybe UpdateFileSystemOpenZFSConfiguration)
- updateFileSystem_storageCapacity :: Lens' UpdateFileSystem (Maybe Natural)
- updateFileSystem_windowsConfiguration :: Lens' UpdateFileSystem (Maybe UpdateFileSystemWindowsConfiguration)
- updateFileSystem_fileSystemId :: Lens' UpdateFileSystem Text
- data UpdateFileSystemResponse = UpdateFileSystemResponse' {}
- newUpdateFileSystemResponse :: Int -> UpdateFileSystemResponse
- updateFileSystemResponse_fileSystem :: Lens' UpdateFileSystemResponse (Maybe FileSystem)
- updateFileSystemResponse_httpStatus :: Lens' UpdateFileSystemResponse Int
Creating a Request
data UpdateFileSystem Source #
The request object for the UpdateFileSystem
operation.
See: newUpdateFileSystem
smart constructor.
UpdateFileSystem' | |
|
Instances
Create a value of UpdateFileSystem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientRequestToken:UpdateFileSystem'
, updateFileSystem_clientRequestToken
- 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.
UpdateFileSystem
, updateFileSystem_lustreConfiguration
- Undocumented member.
UpdateFileSystem
, updateFileSystem_ontapConfiguration
- Undocumented member.
UpdateFileSystem
, updateFileSystem_openZFSConfiguration
- The configuration updates for an Amazon FSx for OpenZFS file system.
UpdateFileSystem
, updateFileSystem_storageCapacity
- 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.
UpdateFileSystem
, updateFileSystem_windowsConfiguration
- The configuration updates for an Amazon FSx for Windows File Server file
system.
UpdateFileSystem
, updateFileSystem_fileSystemId
- The ID of the file system that you are updating.
Request Lenses
updateFileSystem_clientRequestToken :: Lens' UpdateFileSystem (Maybe Text) Source #
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.
updateFileSystem_lustreConfiguration :: Lens' UpdateFileSystem (Maybe UpdateFileSystemLustreConfiguration) Source #
Undocumented member.
updateFileSystem_ontapConfiguration :: Lens' UpdateFileSystem (Maybe UpdateFileSystemOntapConfiguration) Source #
Undocumented member.
updateFileSystem_openZFSConfiguration :: Lens' UpdateFileSystem (Maybe UpdateFileSystemOpenZFSConfiguration) Source #
The configuration updates for an Amazon FSx for OpenZFS file system.
updateFileSystem_storageCapacity :: Lens' UpdateFileSystem (Maybe Natural) Source #
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.
updateFileSystem_windowsConfiguration :: Lens' UpdateFileSystem (Maybe UpdateFileSystemWindowsConfiguration) Source #
The configuration updates for an Amazon FSx for Windows File Server file system.
updateFileSystem_fileSystemId :: Lens' UpdateFileSystem Text Source #
The ID of the file system that you are updating.
Destructuring the Response
data UpdateFileSystemResponse Source #
The response object for the UpdateFileSystem
operation.
See: newUpdateFileSystemResponse
smart constructor.
UpdateFileSystemResponse' | |
|
Instances
newUpdateFileSystemResponse Source #
Create a value of UpdateFileSystemResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateFileSystemResponse
, updateFileSystemResponse_fileSystem
- A description of the file system that was updated.
$sel:httpStatus:UpdateFileSystemResponse'
, updateFileSystemResponse_httpStatus
- The response's http status code.
Response Lenses
updateFileSystemResponse_fileSystem :: Lens' UpdateFileSystemResponse (Maybe FileSystem) Source #
A description of the file system that was updated.
updateFileSystemResponse_httpStatus :: Lens' UpdateFileSystemResponse Int Source #
The response's http status code.