Skip to content

Commit

Permalink
feat(client-fsx): FSx API changes to support the public launch of the…
Browse files Browse the repository at this point in the history
… Amazon FSx Intelligent Tiering for OpenZFS storage class.
  • Loading branch information
awstools committed Dec 2, 2024
1 parent 478480a commit bed4377
Show file tree
Hide file tree
Showing 21 changed files with 391 additions and 60 deletions.
13 changes: 11 additions & 2 deletions clients/client-fsx/src/commands/CopyBackupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataB
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [ // SubnetIds
* // "STRING_VALUE",
Expand Down Expand Up @@ -206,7 +206,7 @@ export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataB
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -476,6 +476,10 @@ export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataB
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: {
Expand Down Expand Up @@ -648,6 +652,10 @@ export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataB
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: {
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // DirectoryInformation: { // ActiveDirectoryBackupAttributes
Expand All @@ -660,6 +668,7 @@ export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataB
* // SourceBackupRegion: "STRING_VALUE",
* // ResourceType: "FILE_SYSTEM" || "VOLUME",
* // Volume: "<Volume>",
* // SizeInBytes: Number("long"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export interface CopySnapshotAndUpdateVolumeCommandOutput
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [ // SubnetIds
* // "STRING_VALUE",
Expand Down Expand Up @@ -180,7 +180,7 @@ export interface CopySnapshotAndUpdateVolumeCommandOutput
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -326,6 +326,10 @@ export interface CopySnapshotAndUpdateVolumeCommandOutput
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: { // AdministrativeActionFailureDetails
Expand Down Expand Up @@ -511,6 +515,10 @@ export interface CopySnapshotAndUpdateVolumeCommandOutput
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: {
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: {
Expand Down
13 changes: 11 additions & 2 deletions clients/client-fsx/src/commands/CreateBackupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [ // SubnetIds
* // "STRING_VALUE",
Expand Down Expand Up @@ -239,7 +239,7 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -509,6 +509,10 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: {
Expand Down Expand Up @@ -681,6 +685,10 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: {
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // DirectoryInformation: { // ActiveDirectoryBackupAttributes
Expand All @@ -693,6 +701,7 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad
* // SourceBackupRegion: "STRING_VALUE",
* // ResourceType: "FILE_SYSTEM" || "VOLUME",
* // Volume: "<Volume>",
* // SizeInBytes: Number("long"),
* // },
* // };
*
Expand Down
20 changes: 16 additions & 4 deletions clients/client-fsx/src/commands/CreateFileSystemCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
* const input = { // CreateFileSystemRequest
* ClientRequestToken: "STRING_VALUE",
* FileSystemType: "WINDOWS" || "LUSTRE" || "ONTAP" || "OPENZFS", // required
* StorageCapacity: Number("int"), // required
* StorageType: "SSD" || "HDD",
* StorageCapacity: Number("int"),
* StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* SubnetIds: [ // SubnetIds // required
* "STRING_VALUE",
* ],
Expand Down Expand Up @@ -226,6 +226,10 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
* RouteTableIds: [
* "STRING_VALUE",
* ],
* ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* SizeGiB: Number("int"),
* },
* },
* };
* const command = new CreateFileSystemCommand(input);
Expand All @@ -241,7 +245,7 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [ // SubnetIds
* // "STRING_VALUE",
Expand Down Expand Up @@ -349,7 +353,7 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -624,6 +628,10 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: {
Expand Down Expand Up @@ -796,6 +804,10 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: {
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste
* Mode: "AUTOMATIC" || "USER_PROVISIONED", // required
* },
* },
* StorageType: "SSD" || "HDD",
* StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* KmsKeyId: "STRING_VALUE",
* FileSystemTypeVersion: "STRING_VALUE",
* OpenZFSConfiguration: { // CreateFileSystemOpenZFSConfiguration
Expand Down Expand Up @@ -193,6 +193,10 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste
* RouteTableIds: [ // RouteTableIds
* "STRING_VALUE",
* ],
* ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* SizeGiB: Number("int"),
* },
* },
* StorageCapacity: Number("int"),
* };
Expand All @@ -209,7 +213,7 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [ // SubnetIds
* // "STRING_VALUE",
Expand Down Expand Up @@ -317,7 +321,7 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -592,6 +596,10 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: {
Expand Down Expand Up @@ -764,6 +772,10 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: {
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // };
Expand Down
12 changes: 10 additions & 2 deletions clients/client-fsx/src/commands/CreateSnapshotCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [ // SubnetIds
* // "STRING_VALUE",
Expand Down Expand Up @@ -220,7 +220,7 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -361,6 +361,10 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: { // AdministrativeActionFailureDetails
Expand Down Expand Up @@ -536,6 +540,10 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: {
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: {
Expand Down
12 changes: 10 additions & 2 deletions clients/client-fsx/src/commands/CreateVolumeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __Metad
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [ // SubnetIds
* // "STRING_VALUE",
Expand Down Expand Up @@ -317,7 +317,7 @@ export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __Metad
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -458,6 +458,10 @@ export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __Metad
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: { // AdministrativeActionFailureDetails
Expand Down Expand Up @@ -630,6 +634,10 @@ export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __Metad
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: {
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: {
Expand Down
12 changes: 10 additions & 2 deletions clients/client-fsx/src/commands/CreateVolumeFromBackupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export interface CreateVolumeFromBackupCommandOutput extends CreateVolumeFromBac
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [ // SubnetIds
* // "STRING_VALUE",
Expand Down Expand Up @@ -290,7 +290,7 @@ export interface CreateVolumeFromBackupCommandOutput extends CreateVolumeFromBac
* // Message: "STRING_VALUE",
* // },
* // StorageCapacity: Number("int"),
* // StorageType: "SSD" || "HDD",
* // StorageType: "SSD" || "HDD" || "INTELLIGENT_TIERING",
* // VpcId: "STRING_VALUE",
* // SubnetIds: [
* // "STRING_VALUE",
Expand Down Expand Up @@ -431,6 +431,10 @@ export interface CreateVolumeFromBackupCommandOutput extends CreateVolumeFromBac
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: { // OpenZFSReadCacheConfiguration
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: { // AdministrativeActionFailureDetails
Expand Down Expand Up @@ -603,6 +607,10 @@ export interface CreateVolumeFromBackupCommandOutput extends CreateVolumeFromBac
* // "STRING_VALUE",
* // ],
* // EndpointIpAddress: "STRING_VALUE",
* // ReadCacheConfiguration: {
* // SizingMode: "NO_CACHE" || "USER_PROVISIONED" || "PROPORTIONAL_TO_THROUGHPUT_CAPACITY",
* // SizeGiB: Number("int"),
* // },
* // },
* // },
* // FailureDetails: {
Expand Down
Loading

0 comments on commit bed4377

Please sign in to comment.