Skip to content

Commit 726f85a

Browse files
author
awstools
committed
feat(client-fsx): Support for in-place Lustre version upgrades
1 parent c4598a2 commit 726f85a

File tree

6 files changed

+40
-20
lines changed

6 files changed

+40
-20
lines changed

clients/client-fsx/src/commands/CancelDataRepositoryTaskCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface CancelDataRepositoryTaskCommandOutput extends CancelDataReposit
2929

3030
/**
3131
* <p>Cancels an existing Amazon FSx for Lustre data repository task if that task is in either the
32-
* <code>PENDING</code> or <code>EXECUTING</code> state. When you cancel am export task, Amazon FSx
32+
* <code>PENDING</code> or <code>EXECUTING</code> state. When you cancel an export task, Amazon FSx
3333
* does the following.</p>
3434
* <ul>
3535
* <li>

clients/client-fsx/src/commands/CreateFileCacheCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface CreateFileCacheCommandOutput extends CreateFileCacheResponse, _
3939
* <code>CreateFileCache</code> does the following: </p>
4040
* <ul>
4141
* <li>
42-
* <p>Creates a new, empty Amazon File Cache resourcewith an assigned ID, and
42+
* <p>Creates a new, empty Amazon File Cache resource with an assigned ID, and
4343
* an initial lifecycle state of <code>CREATING</code>.</p>
4444
* </li>
4545
* <li>

clients/client-fsx/src/commands/UpdateFileSystemCommand.ts

+6
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,11 @@ export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse,
109109
* </li>
110110
* <li>
111111
* <p>
112+
* <code>FileSystemTypeVersion</code>
113+
* </p>
114+
* </li>
115+
* <li>
116+
* <p>
112117
* <code>LogConfiguration</code>
113118
* </p>
114119
* </li>
@@ -355,6 +360,7 @@ export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse,
355360
* },
356361
* },
357362
* StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
363+
* FileSystemTypeVersion: "STRING_VALUE",
358364
* };
359365
* const command = new UpdateFileSystemCommand(input);
360366
* const response = await client.send(command);

clients/client-fsx/src/models/models_0.ts

+16-9
Original file line numberDiff line numberDiff line change
@@ -2469,7 +2469,7 @@ export interface OpenZFSVolumeConfiguration {
24692469
StorageCapacityReservationGiB?: number | undefined;
24702470

24712471
/**
2472-
* <p>The maximum amount of storage in gibibtyes (GiB) that the volume can use from its
2472+
* <p>The maximum amount of storage in gibibytes (GiB) that the volume can use from its
24732473
* parent. You can specify a quota larger than the storage on the parent volume.</p>
24742474
* @public
24752475
*/
@@ -6819,10 +6819,9 @@ export interface CreateFileSystemFromBackupRequest {
68196819
* <p>Sets the version for the Amazon FSx for Lustre file system that you're
68206820
* creating from a backup. Valid values are <code>2.10</code>, <code>2.12</code>,
68216821
* and <code>2.15</code>.</p>
6822-
* <p>You don't need to specify <code>FileSystemTypeVersion</code> because it will
6823-
* be applied using the backup's <code>FileSystemTypeVersion</code> setting.
6824-
* If you choose to specify <code>FileSystemTypeVersion</code> when creating from backup, the
6825-
* value must match the backup's <code>FileSystemTypeVersion</code> setting.</p>
6822+
* <p>You can enter a Lustre version that is newer than the backup's
6823+
* <code>FileSystemTypeVersion</code> setting. If you don't enter a newer Lustre version,
6824+
* it defaults to the backup's setting.</p>
68266825
* @public
68276826
*/
68286827
FileSystemTypeVersion?: string | undefined;
@@ -6841,7 +6840,7 @@ export interface CreateFileSystemFromBackupRequest {
68416840
* parameter, the default is the backup's <code>StorageCapacity</code> value.</p>
68426841
* <p>If used to create a file system other than OpenZFS, you must provide a value
68436842
* that matches the backup's <code>StorageCapacity</code> value. If you provide any
6844-
* other value, Amazon FSx responds with with an HTTP status code 400 Bad Request. </p>
6843+
* other value, Amazon FSx responds with an HTTP status code 400 Bad Request. </p>
68456844
* @public
68466845
*/
68476846
StorageCapacity?: number | undefined;
@@ -7601,7 +7600,7 @@ export interface CreateOpenZFSVolumeConfiguration {
76017600

76027601
/**
76037602
* <p>Specifies the suggested block size for a volume in a ZFS dataset, in kibibytes (KiB).
7604-
* For file systems using the Intelligent-Tiering storage class, valid values are 128, 256, 512, 1024, 2048, or 4096 KiB, with a default of 2048 KiB.
7603+
* For file systems using the Intelligent-Tiering storage class, valid values are 128, 256, 512, 1024, 2048, or 4096 KiB, with a default of 1024 KiB.
76057604
* For all other file systems, valid values are 4, 8, 16, 32, 64, 128, 256, 512, or 1024 KiB, with a default of 128 KiB.
76067605
* We recommend using the default setting for the majority of use cases. Generally, workloads that write in fixed small or large record sizes may benefit from setting a custom record size, like database workloads (small record size) or media streaming workloads (large record size).
76077606
* For additional guidance on when to set a custom record size, see
@@ -8696,7 +8695,7 @@ export type DataRepositoryTaskFilterName =
86968695
(typeof DataRepositoryTaskFilterName)[keyof typeof DataRepositoryTaskFilterName];
86978696

86988697
/**
8699-
* <p>(Optional) An array of filter objects you can use to filter the response of data repository tasks you will see in the the response.
8698+
* <p>(Optional) An array of filter objects you can use to filter the response of data repository tasks you will see in the response.
87008699
* You can filter the tasks returned in the response by one or more file system IDs, task lifecycles, and by task type.
87018700
* A filter object consists of a filter <code>Name</code>, and one or more <code>Values</code> for the filter.</p>
87028701
* @public
@@ -9950,7 +9949,7 @@ export interface UpdateFileSystemOntapConfiguration {
99509949
* <p>Update the password for the <code>fsxadmin</code> user by entering a new password.
99519950
* You use the <code>fsxadmin</code> user to access the NetApp ONTAP CLI and REST API to manage your file system resources.
99529951
* For more information, see
9953-
* <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-resources-ontap-apps.html">Managing resources using NetApp Applicaton</a>.</p>
9952+
* <a href="https://docs.aws.amazon.com/fsx/latest/ONTAPGuide/managing-resources-ontap-apps.html">Managing resources using NetApp Application</a>.</p>
99549953
* @public
99559954
*/
99569955
FsxAdminPassword?: string | undefined;
@@ -10364,6 +10363,14 @@ export interface UpdateFileSystemRequest {
1036410363
* @public
1036510364
*/
1036610365
StorageType?: StorageType | undefined;
10366+
10367+
/**
10368+
* <p>The Lustre version you are updating an FSx for Lustre file system to.
10369+
* Valid values are <code>2.12</code> and <code>2.15</code>. The value you choose must be
10370+
* newer than the file system's current Lustre version.</p>
10371+
* @public
10372+
*/
10373+
FileSystemTypeVersion?: string | undefined;
1036710374
}
1036810375

1036910376
/**

clients/client-fsx/src/protocols/Aws_json1_1.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3039,6 +3039,7 @@ const se_UpdateFileSystemRequest = (input: UpdateFileSystemRequest, context: __S
30393039
return take(input, {
30403040
ClientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
30413041
FileSystemId: [],
3042+
FileSystemTypeVersion: [],
30423043
LustreConfiguration: _json,
30433044
OntapConfiguration: _json,
30443045
OpenZFSConfiguration: _json,

0 commit comments

Comments
 (0)