Skip to content

Commit 4619832

Browse files
author
awstools
committed
feat(client-fsx): This release adds support for modifying throughput capacity for FSx for ONTAP file systems.
1 parent bb70247 commit 4619832

File tree

6 files changed

+8678
-8592
lines changed

6 files changed

+8678
-8592
lines changed

clients/client-fsx/src/FSx.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ export class FSx extends FSxClient {
523523
* an initial lifecycle state of <code>CREATING</code>.</p>
524524
* </li>
525525
* <li>
526-
* <p>Returns the description of the file system.</p>
526+
* <p>Returns the description of the file system in JSON format.</p>
527527
* </li>
528528
* </ul>
529529
*
@@ -1760,6 +1760,11 @@ export class FSx extends FSxClient {
17601760
* </li>
17611761
* <li>
17621762
* <p>
1763+
* <code>ThroughputCapacity</code>
1764+
* </p>
1765+
* </li>
1766+
* <li>
1767+
* <p>
17631768
* <code>WeeklyMaintenanceStartTime</code>
17641769
* </p>
17651770
* </li>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
5959
* an initial lifecycle state of <code>CREATING</code>.</p>
6060
* </li>
6161
* <li>
62-
* <p>Returns the description of the file system.</p>
62+
* <p>Returns the description of the file system in JSON format.</p>
6363
* </li>
6464
* </ul>
6565
*

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse,
127127
* </li>
128128
* <li>
129129
* <p>
130+
* <code>ThroughputCapacity</code>
131+
* </p>
132+
* </li>
133+
* <li>
134+
* <p>
130135
* <code>WeeklyMaintenanceStartTime</code>
131136
* </p>
132137
* </li>

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

Lines changed: 102 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ export interface OntapFileSystemConfiguration {
679679
RouteTableIds?: string[];
680680

681681
/**
682-
* <p>The sustained throughput of an Amazon FSx file system in MBps.</p>
682+
* <p>The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps).</p>
683683
*/
684684
ThroughputCapacity?: number;
685685

@@ -1435,7 +1435,7 @@ export enum OpenZFSDataCompressionType {
14351435
}
14361436

14371437
/**
1438-
* <p>Specifies who can mount the file system and the options that can be used while
1438+
* <p>Specifies who can mount an OpenZFS file system and the options available while
14391439
* mounting the file system.</p>
14401440
*/
14411441
export interface OpenZFSClientConfiguration {
@@ -2124,13 +2124,29 @@ export interface CopyBackupRequest {
21242124
SourceRegion?: string;
21252125

21262126
/**
2127-
* <p>The ID of the Key Management Service (KMS) key used to encrypt the file
2128-
* system's data for Amazon FSx for Windows File Server file systems, Amazon FSx for NetApp ONTAP file systems, and Amazon FSx for Lustre
2129-
* <code>PERSISTENT_1</code> and <code>PERSISTENT_2</code> file systems at rest. If this ID
2130-
* isn't specified, the key managed by Amazon FSx is used. The Amazon FSx for Lustre
2131-
* <code>SCRATCH_1</code> and <code>SCRATCH_2</code> file systems are always encrypted at
2132-
* rest using Amazon FSx-managed keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a>
2133-
* in the <i>Key Management Service API Reference</i>.</p>
2127+
* <p>Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on
2128+
* Amazon FSx file systems, as follows:</p>
2129+
* <ul>
2130+
* <li>
2131+
* <p>Amazon FSx for Lustre <code>PERSISTENT_1</code>
2132+
* and <code>PERSISTENT_2</code> deployment types only.</p>
2133+
* <p>
2134+
* <code>SCRATCH_1</code> and <code>SCRATCH_2</code> types are encrypted using
2135+
* the Amazon FSx service KMS key for your account.</p>
2136+
* </li>
2137+
* <li>
2138+
* <p>Amazon FSx for NetApp ONTAP</p>
2139+
* </li>
2140+
* <li>
2141+
* <p>Amazon FSx for OpenZFS</p>
2142+
* </li>
2143+
* <li>
2144+
* <p>Amazon FSx for Windows File Server</p>
2145+
* </li>
2146+
* </ul>
2147+
* <p>If a <code>KmsKeyId</code> isn't specified, the Amazon FSx-managed KMS key for your account is used.
2148+
* For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a> in the
2149+
* <i>Key Management Service API Reference</i>.</p>
21342150
*/
21352151
KmsKeyId?: string;
21362152

@@ -4171,13 +4187,29 @@ export interface CreateFileSystemRequest {
41714187
Tags?: Tag[];
41724188

41734189
/**
4174-
* <p>The ID of the Key Management Service (KMS) key used to encrypt the file
4175-
* system's data for Amazon FSx for Windows File Server file systems, Amazon FSx for NetApp ONTAP file systems, and Amazon FSx for Lustre
4176-
* <code>PERSISTENT_1</code> and <code>PERSISTENT_2</code> file systems at rest. If this ID
4177-
* isn't specified, the key managed by Amazon FSx is used. The Amazon FSx for Lustre
4178-
* <code>SCRATCH_1</code> and <code>SCRATCH_2</code> file systems are always encrypted at
4179-
* rest using Amazon FSx-managed keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a>
4180-
* in the <i>Key Management Service API Reference</i>.</p>
4190+
* <p>Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on
4191+
* Amazon FSx file systems, as follows:</p>
4192+
* <ul>
4193+
* <li>
4194+
* <p>Amazon FSx for Lustre <code>PERSISTENT_1</code>
4195+
* and <code>PERSISTENT_2</code> deployment types only.</p>
4196+
* <p>
4197+
* <code>SCRATCH_1</code> and <code>SCRATCH_2</code> types are encrypted using
4198+
* the Amazon FSx service KMS key for your account.</p>
4199+
* </li>
4200+
* <li>
4201+
* <p>Amazon FSx for NetApp ONTAP</p>
4202+
* </li>
4203+
* <li>
4204+
* <p>Amazon FSx for OpenZFS</p>
4205+
* </li>
4206+
* <li>
4207+
* <p>Amazon FSx for Windows File Server</p>
4208+
* </li>
4209+
* </ul>
4210+
* <p>If a <code>KmsKeyId</code> isn't specified, the Amazon FSx-managed KMS key for your account is used.
4211+
* For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a> in the
4212+
* <i>Key Management Service API Reference</i>.</p>
41814213
*/
41824214
KmsKeyId?: string;
41834215

@@ -4510,13 +4542,29 @@ export interface CreateFileSystemFromBackupRequest {
45104542
StorageType?: StorageType | string;
45114543

45124544
/**
4513-
* <p>The ID of the Key Management Service (KMS) key used to encrypt the file
4514-
* system's data for Amazon FSx for Windows File Server file systems, Amazon FSx for NetApp ONTAP file systems, and Amazon FSx for Lustre
4515-
* <code>PERSISTENT_1</code> and <code>PERSISTENT_2</code> file systems at rest. If this ID
4516-
* isn't specified, the key managed by Amazon FSx is used. The Amazon FSx for Lustre
4517-
* <code>SCRATCH_1</code> and <code>SCRATCH_2</code> file systems are always encrypted at
4518-
* rest using Amazon FSx-managed keys. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a>
4519-
* in the <i>Key Management Service API Reference</i>.</p>
4545+
* <p>Specifies the ID of the Key Management Service (KMS) key to use for encrypting data on
4546+
* Amazon FSx file systems, as follows:</p>
4547+
* <ul>
4548+
* <li>
4549+
* <p>Amazon FSx for Lustre <code>PERSISTENT_1</code>
4550+
* and <code>PERSISTENT_2</code> deployment types only.</p>
4551+
* <p>
4552+
* <code>SCRATCH_1</code> and <code>SCRATCH_2</code> types are encrypted using
4553+
* the Amazon FSx service KMS key for your account.</p>
4554+
* </li>
4555+
* <li>
4556+
* <p>Amazon FSx for NetApp ONTAP</p>
4557+
* </li>
4558+
* <li>
4559+
* <p>Amazon FSx for OpenZFS</p>
4560+
* </li>
4561+
* <li>
4562+
* <p>Amazon FSx for Windows File Server</p>
4563+
* </li>
4564+
* </ul>
4565+
* <p>If a <code>KmsKeyId</code> isn't specified, the Amazon FSx-managed KMS key for your account is used.
4566+
* For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a> in the
4567+
* <i>Key Management Service API Reference</i>.</p>
45204568
*/
45214569
KmsKeyId?: string;
45224570

@@ -4808,7 +4856,7 @@ export enum StorageVirtualMachineSubtype {
48084856
}
48094857

48104858
/**
4811-
* <p>Describes the Amazon FSx for NetApp ONTAP storage virtual machine (SVM) configuraton.</p>
4859+
* <p>Describes the Amazon FSx for NetApp ONTAP storage virtual machine (SVM) configuration.</p>
48124860
*/
48134861
export interface StorageVirtualMachine {
48144862
/**
@@ -7189,6 +7237,12 @@ export interface UpdateFileSystemOntapConfiguration {
71897237
* the case of <code>USER_PROVISIONED</code> IOPS, the total number of SSD IOPS provisioned.</p>
71907238
*/
71917239
DiskIopsConfiguration?: DiskIopsConfiguration;
7240+
7241+
/**
7242+
* <p>Specifies the throughput of an FSx for NetApp ONTAP file system, measured in megabytes per second
7243+
* (MBps). Valid values are 64, 128, 256, 512, 1024, 2048, 3072, or 4096 MB/s.</p>
7244+
*/
7245+
ThroughputCapacity?: number;
71927246
}
71937247

71947248
export namespace UpdateFileSystemOntapConfiguration {
@@ -7560,7 +7614,7 @@ export namespace UpdateStorageVirtualMachineRequest {
75607614

75617615
export interface UpdateStorageVirtualMachineResponse {
75627616
/**
7563-
* <p>Describes the Amazon FSx for NetApp ONTAP storage virtual machine (SVM) configuraton.</p>
7617+
* <p>Describes the Amazon FSx for NetApp ONTAP storage virtual machine (SVM) configuration.</p>
75647618
*/
75657619
StorageVirtualMachine?: StorageVirtualMachine;
75667620
}
@@ -8005,17 +8059,31 @@ export interface FileSystem {
80058059
DNSName?: string;
80068060

80078061
/**
8008-
* <p>The ID of the Key Management Service (KMS) key used to encrypt the file
8009-
* system's data for Amazon FSx for Windows File Server file systems, Amazon FSx for NetApp ONTAP file systems, and <code>PERSISTENT</code>
8010-
* Amazon FSx for Lustre file systems at rest. If this ID isn't specified, the
8011-
* Amazon FSx-managed key for your account is used. The scratch Amazon FSx for Lustre file systems are always encrypted at rest using the Amazon
8012-
* FSx-managed key for your account. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html">Encrypt</a> in the
8013-
* <i>Key Management Service API Reference</i>.</p>
8062+
* <p>The ID of the Key Management Service (KMS) key used to encrypt Amazon FSx file
8063+
* system data. Used as follows with Amazon FSx file system types:</p>
8064+
* <ul>
8065+
* <li>
8066+
* <p>Amazon FSx for Lustre <code>PERSISTENT_1</code>
8067+
* and <code>PERSISTENT_2</code> deployment types only.</p>
8068+
* <p>
8069+
* <code>SCRATCH_1</code> and <code>SCRATCH_2</code> types are encrypted using
8070+
* the Amazon FSx service KMS key for your account.</p>
8071+
* </li>
8072+
* <li>
8073+
* <p>Amazon FSx for NetApp ONTAP</p>
8074+
* </li>
8075+
* <li>
8076+
* <p>Amazon FSx for OpenZFS</p>
8077+
* </li>
8078+
* <li>
8079+
* <p>Amazon FSx for Windows File Server</p>
8080+
* </li>
8081+
* </ul>
80148082
*/
80158083
KmsKeyId?: string;
80168084

80178085
/**
8018-
* <p>The Amazon Resource Name (ARN) for the file system resource.</p>
8086+
* <p>The Amazon Resource Name (ARN) of the file system resource.</p>
80198087
*/
80208088
ResourceARN?: string;
80218089

@@ -8027,7 +8095,7 @@ export interface FileSystem {
80278095
Tags?: Tag[];
80288096

80298097
/**
8030-
* <p>The configuration for this FSx for Windows File Server file system.</p>
8098+
* <p>The configuration for this Amazon FSx for Windows File Server file system.</p>
80318099
*/
80328100
WindowsConfiguration?: WindowsFileSystemConfiguration;
80338101

@@ -8044,7 +8112,7 @@ export interface FileSystem {
80448112
AdministrativeActions?: AdministrativeAction[];
80458113

80468114
/**
8047-
* <p>The configuration for this FSx for ONTAP file system.</p>
8115+
* <p>The configuration for this Amazon FSx for NetApp ONTAP file system.</p>
80488116
*/
80498117
OntapConfiguration?: OntapFileSystemConfiguration;
80508118

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4657,6 +4657,8 @@ const serializeAws_json1_1UpdateFileSystemOntapConfiguration = (
46574657
}),
46584658
...(input.FsxAdminPassword !== undefined &&
46594659
input.FsxAdminPassword !== null && { FsxAdminPassword: input.FsxAdminPassword }),
4660+
...(input.ThroughputCapacity !== undefined &&
4661+
input.ThroughputCapacity !== null && { ThroughputCapacity: input.ThroughputCapacity }),
46604662
...(input.WeeklyMaintenanceStartTime !== undefined &&
46614663
input.WeeklyMaintenanceStartTime !== null && { WeeklyMaintenanceStartTime: input.WeeklyMaintenanceStartTime }),
46624664
};

0 commit comments

Comments
 (0)