From 5fac884c9ad3dce73cf2b16d4d12973ff3c02d76 Mon Sep 17 00:00:00 2001 From: awstools Date: Mon, 12 Jun 2023 18:16:03 +0000 Subject: [PATCH] feat(client-fsx): Amazon FSx for NetApp ONTAP now supports joining a storage virtual machine (SVM) to Active Directory after the SVM has been created. --- .../src/commands/CopyBackupCommand.ts | 6 +- .../src/commands/CreateBackupCommand.ts | 6 +- .../CreateDataRepositoryAssociationCommand.ts | 3 +- .../src/commands/CreateFileSystemCommand.ts | 5 +- .../CreateFileSystemFromBackupCommand.ts | 5 +- .../src/commands/CreateSnapshotCommand.ts | 10 +- .../src/commands/CreateVolumeCommand.ts | 6 +- .../commands/CreateVolumeFromBackupCommand.ts | 10 +- .../DeleteDataRepositoryAssociationCommand.ts | 4 +- .../src/commands/DeleteVolumeCommand.ts | 4 + .../src/commands/DescribeBackupsCommand.ts | 10 +- ...scribeDataRepositoryAssociationsCommand.ts | 4 +- .../commands/DescribeFileSystemsCommand.ts | 10 +- .../src/commands/DescribeSnapshotsCommand.ts | 10 +- .../src/commands/DescribeVolumesCommand.ts | 10 +- .../ReleaseFileSystemNfsV3LocksCommand.ts | 10 +- .../RestoreVolumeFromSnapshotCommand.ts | 10 +- .../UpdateDataRepositoryAssociationCommand.ts | 4 +- .../src/commands/UpdateFileSystemCommand.ts | 8 +- .../src/commands/UpdateSnapshotCommand.ts | 10 +- .../UpdateStorageVirtualMachineCommand.ts | 6 +- .../src/commands/UpdateVolumeCommand.ts | 6 +- clients/client-fsx/src/models/models_0.ts | 336 +++++++++++++++--- .../client-fsx/src/protocols/Aws_json1_1.ts | 3 + codegen/sdk-codegen/aws-models/fsx.json | 191 ++++++---- 25 files changed, 512 insertions(+), 175 deletions(-) diff --git a/clients/client-fsx/src/commands/CopyBackupCommand.ts b/clients/client-fsx/src/commands/CopyBackupCommand.ts index 98e2e1c763c0..3e39980ca7ac 100644 --- a/clients/client-fsx/src/commands/CopyBackupCommand.ts +++ b/clients/client-fsx/src/commands/CopyBackupCommand.ts @@ -14,7 +14,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { CopyBackupRequest, CopyBackupResponse } from "../models/models_0"; +import { CopyBackupRequest, CopyBackupResponse, CopyBackupResponseFilterSensitiveLog } from "../models/models_0"; import { de_CopyBackupCommand, se_CopyBackupCommand } from "../protocols/Aws_json1_1"; /** @@ -404,6 +404,7 @@ export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataB * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -535,6 +536,7 @@ export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataB * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -709,7 +711,7 @@ export class CopyBackupCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: CopyBackupResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/CreateBackupCommand.ts b/clients/client-fsx/src/commands/CreateBackupCommand.ts index 99ecc7125601..a286b886d115 100644 --- a/clients/client-fsx/src/commands/CreateBackupCommand.ts +++ b/clients/client-fsx/src/commands/CreateBackupCommand.ts @@ -14,7 +14,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { CreateBackupRequest, CreateBackupResponse } from "../models/models_0"; +import { CreateBackupRequest, CreateBackupResponse, CreateBackupResponseFilterSensitiveLog } from "../models/models_0"; import { de_CreateBackupCommand, se_CreateBackupCommand } from "../protocols/Aws_json1_1"; /** @@ -437,6 +437,7 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -568,6 +569,7 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -731,7 +733,7 @@ export class CreateBackupCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: CreateBackupResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/CreateDataRepositoryAssociationCommand.ts b/clients/client-fsx/src/commands/CreateDataRepositoryAssociationCommand.ts index 3749aa73e856..be190c6d1bdf 100644 --- a/clients/client-fsx/src/commands/CreateDataRepositoryAssociationCommand.ts +++ b/clients/client-fsx/src/commands/CreateDataRepositoryAssociationCommand.ts @@ -45,7 +45,8 @@ export interface CreateDataRepositoryAssociationCommandOutput * repository association is a link between a directory on the file system and * an Amazon S3 bucket or prefix. You can have a maximum of 8 data repository * associations on a file system. Data repository associations are supported - * for all file systems except for Scratch_1 deployment type.

+ * on all FSx for Lustre 2.12 and newer file systems, excluding + * scratch_1 deployment type.

*

Each data repository association must have a unique Amazon FSx file * system directory and a unique S3 bucket or prefix associated with it. You * can configure a data repository association for automatic import only, diff --git a/clients/client-fsx/src/commands/CreateFileSystemCommand.ts b/clients/client-fsx/src/commands/CreateFileSystemCommand.ts index c892fd0ceb96..5e3d8a5246cd 100644 --- a/clients/client-fsx/src/commands/CreateFileSystemCommand.ts +++ b/clients/client-fsx/src/commands/CreateFileSystemCommand.ts @@ -18,6 +18,7 @@ import { CreateFileSystemRequest, CreateFileSystemRequestFilterSensitiveLog, CreateFileSystemResponse, + CreateFileSystemResponseFilterSensitiveLog, } from "../models/models_0"; import { de_CreateFileSystemCommand, se_CreateFileSystemCommand } from "../protocols/Aws_json1_1"; @@ -535,6 +536,7 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse, * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -666,6 +668,7 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse, * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -854,7 +857,7 @@ export class CreateFileSystemCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: CreateFileSystemRequestFilterSensitiveLog, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: CreateFileSystemResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/CreateFileSystemFromBackupCommand.ts b/clients/client-fsx/src/commands/CreateFileSystemFromBackupCommand.ts index 9ee562cd0610..2ed05120b7c3 100644 --- a/clients/client-fsx/src/commands/CreateFileSystemFromBackupCommand.ts +++ b/clients/client-fsx/src/commands/CreateFileSystemFromBackupCommand.ts @@ -18,6 +18,7 @@ import { CreateFileSystemFromBackupRequest, CreateFileSystemFromBackupRequestFilterSensitiveLog, CreateFileSystemFromBackupResponse, + CreateFileSystemFromBackupResponseFilterSensitiveLog, } from "../models/models_0"; import { de_CreateFileSystemFromBackupCommand, se_CreateFileSystemFromBackupCommand } from "../protocols/Aws_json1_1"; @@ -505,6 +506,7 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -636,6 +638,7 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -804,7 +807,7 @@ export class CreateFileSystemFromBackupCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: CreateFileSystemFromBackupRequestFilterSensitiveLog, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: CreateFileSystemFromBackupResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/CreateSnapshotCommand.ts b/clients/client-fsx/src/commands/CreateSnapshotCommand.ts index e9cc95d623b2..1206b31b54f8 100644 --- a/clients/client-fsx/src/commands/CreateSnapshotCommand.ts +++ b/clients/client-fsx/src/commands/CreateSnapshotCommand.ts @@ -14,7 +14,11 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { CreateSnapshotRequest, CreateSnapshotResponse } from "../models/models_0"; +import { + CreateSnapshotRequest, + CreateSnapshotResponse, + CreateSnapshotResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_CreateSnapshotCommand, se_CreateSnapshotCommand } from "../protocols/Aws_json1_1"; /** @@ -323,6 +327,7 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -454,6 +459,7 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -619,7 +625,7 @@ export class CreateSnapshotCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: CreateSnapshotResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/CreateVolumeCommand.ts b/clients/client-fsx/src/commands/CreateVolumeCommand.ts index c0ce2a58cb53..e0c3a4dbd098 100644 --- a/clients/client-fsx/src/commands/CreateVolumeCommand.ts +++ b/clients/client-fsx/src/commands/CreateVolumeCommand.ts @@ -14,7 +14,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { CreateVolumeRequest, CreateVolumeResponse } from "../models/models_0"; +import { CreateVolumeRequest, CreateVolumeResponse, CreateVolumeResponseFilterSensitiveLog } from "../models/models_0"; import { de_CreateVolumeCommand, se_CreateVolumeCommand } from "../protocols/Aws_json1_1"; /** @@ -360,6 +360,7 @@ export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __Metad * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -491,6 +492,7 @@ export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __Metad * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -650,7 +652,7 @@ export class CreateVolumeCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: CreateVolumeResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/CreateVolumeFromBackupCommand.ts b/clients/client-fsx/src/commands/CreateVolumeFromBackupCommand.ts index 0dbefc45395f..b63bacc1a30e 100644 --- a/clients/client-fsx/src/commands/CreateVolumeFromBackupCommand.ts +++ b/clients/client-fsx/src/commands/CreateVolumeFromBackupCommand.ts @@ -14,7 +14,11 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { CreateVolumeFromBackupRequest, CreateVolumeFromBackupResponse } from "../models/models_0"; +import { + CreateVolumeFromBackupRequest, + CreateVolumeFromBackupResponse, + CreateVolumeFromBackupResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_CreateVolumeFromBackupCommand, se_CreateVolumeFromBackupCommand } from "../protocols/Aws_json1_1"; /** @@ -329,6 +333,7 @@ export interface CreateVolumeFromBackupCommandOutput extends CreateVolumeFromBac * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -460,6 +465,7 @@ export interface CreateVolumeFromBackupCommandOutput extends CreateVolumeFromBac * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -621,7 +627,7 @@ export class CreateVolumeFromBackupCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: CreateVolumeFromBackupResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/DeleteDataRepositoryAssociationCommand.ts b/clients/client-fsx/src/commands/DeleteDataRepositoryAssociationCommand.ts index 61c48bec56f1..37e49c5bcbd7 100644 --- a/clients/client-fsx/src/commands/DeleteDataRepositoryAssociationCommand.ts +++ b/clients/client-fsx/src/commands/DeleteDataRepositoryAssociationCommand.ts @@ -46,8 +46,8 @@ export interface DeleteDataRepositoryAssociationCommandOutput * file system from the Amazon S3 bucket. When deleting a data repository * association, you have the option of deleting the data in the file system * that corresponds to the data repository association. Data repository - * associations are supported for all file systems except for Scratch_1 - * deployment type.

+ * associations are supported on all FSx for Lustre 2.12 and newer file + * systems, excluding scratch_1 deployment type.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-fsx/src/commands/DeleteVolumeCommand.ts b/clients/client-fsx/src/commands/DeleteVolumeCommand.ts index 19c52ab5e32c..15f044fc6365 100644 --- a/clients/client-fsx/src/commands/DeleteVolumeCommand.ts +++ b/clients/client-fsx/src/commands/DeleteVolumeCommand.ts @@ -97,6 +97,10 @@ export interface DeleteVolumeCommandOutput extends DeleteVolumeResponse, __Metad * @throws {@link InternalServerError} (server fault) *

A generic error indicating a server-side failure.

* + * @throws {@link ServiceLimitExceeded} (client fault) + *

An error indicating that a particular service limit was exceeded. You can increase + * some service limits by contacting Amazon Web Services Support.

+ * * @throws {@link VolumeNotFound} (client fault) *

No Amazon FSx volumes were found based upon the supplied parameters.

* diff --git a/clients/client-fsx/src/commands/DescribeBackupsCommand.ts b/clients/client-fsx/src/commands/DescribeBackupsCommand.ts index a81a39eaa028..46a12baa7c57 100644 --- a/clients/client-fsx/src/commands/DescribeBackupsCommand.ts +++ b/clients/client-fsx/src/commands/DescribeBackupsCommand.ts @@ -14,7 +14,11 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { DescribeBackupsRequest, DescribeBackupsResponse } from "../models/models_0"; +import { + DescribeBackupsRequest, + DescribeBackupsResponse, + DescribeBackupsResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_DescribeBackupsCommand, se_DescribeBackupsCommand } from "../protocols/Aws_json1_1"; /** @@ -412,6 +416,7 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _ * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -543,6 +548,7 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _ * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -690,7 +696,7 @@ export class DescribeBackupsCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: DescribeBackupsResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/DescribeDataRepositoryAssociationsCommand.ts b/clients/client-fsx/src/commands/DescribeDataRepositoryAssociationsCommand.ts index b459fe7ddb23..19c9411ca46a 100644 --- a/clients/client-fsx/src/commands/DescribeDataRepositoryAssociationsCommand.ts +++ b/clients/client-fsx/src/commands/DescribeDataRepositoryAssociationsCommand.ts @@ -47,8 +47,8 @@ export interface DescribeDataRepositoryAssociationsCommandOutput *

Returns the description of specific Amazon FSx for Lustre or Amazon File Cache * data repository associations, if one or more AssociationIds values * are provided in the request, or if filters are used in the request. Data repository - * associations are supported on Amazon File Cache resources and all Amazon FSx for - * Lustre file systems excluding Scratch_1 deployment types.

+ * associations are supported on Amazon File Cache resources and all FSx for Lustre + * 2.12 and newer file systems, excluding scratch_1 deployment type.

*

You can use filters to narrow the response to include just data repository * associations for specific file systems (use the file-system-id filter with * the ID of the file system) or caches (use the file-cache-id filter with diff --git a/clients/client-fsx/src/commands/DescribeFileSystemsCommand.ts b/clients/client-fsx/src/commands/DescribeFileSystemsCommand.ts index c2d6a10ecb5c..c6746b085fda 100644 --- a/clients/client-fsx/src/commands/DescribeFileSystemsCommand.ts +++ b/clients/client-fsx/src/commands/DescribeFileSystemsCommand.ts @@ -14,7 +14,11 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { DescribeFileSystemsRequest, DescribeFileSystemsResponse } from "../models/models_0"; +import { + DescribeFileSystemsRequest, + DescribeFileSystemsResponse, + DescribeFileSystemsResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_DescribeFileSystemsCommand, se_DescribeFileSystemsCommand } from "../protocols/Aws_json1_1"; /** @@ -394,6 +398,7 @@ export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsRes * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -525,6 +530,7 @@ export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsRes * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -661,7 +667,7 @@ export class DescribeFileSystemsCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: DescribeFileSystemsResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/DescribeSnapshotsCommand.ts b/clients/client-fsx/src/commands/DescribeSnapshotsCommand.ts index 5c4935880764..b9240a298ec2 100644 --- a/clients/client-fsx/src/commands/DescribeSnapshotsCommand.ts +++ b/clients/client-fsx/src/commands/DescribeSnapshotsCommand.ts @@ -14,7 +14,11 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { DescribeSnapshotsRequest, DescribeSnapshotsResponse } from "../models/models_0"; +import { + DescribeSnapshotsRequest, + DescribeSnapshotsResponse, + DescribeSnapshotsResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_DescribeSnapshotsCommand, se_DescribeSnapshotsCommand } from "../protocols/Aws_json1_1"; /** @@ -327,6 +331,7 @@ export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsRespons * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -458,6 +463,7 @@ export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsRespons * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -621,7 +627,7 @@ export class DescribeSnapshotsCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: DescribeSnapshotsResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/DescribeVolumesCommand.ts b/clients/client-fsx/src/commands/DescribeVolumesCommand.ts index ad51631b8595..72170db9627d 100644 --- a/clients/client-fsx/src/commands/DescribeVolumesCommand.ts +++ b/clients/client-fsx/src/commands/DescribeVolumesCommand.ts @@ -14,7 +14,11 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { DescribeVolumesRequest, DescribeVolumesResponse } from "../models/models_0"; +import { + DescribeVolumesRequest, + DescribeVolumesResponse, + DescribeVolumesResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_DescribeVolumesCommand, se_DescribeVolumesCommand } from "../protocols/Aws_json1_1"; /** @@ -320,6 +324,7 @@ export interface DescribeVolumesCommandOutput extends DescribeVolumesResponse, _ * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -451,6 +456,7 @@ export interface DescribeVolumesCommandOutput extends DescribeVolumesResponse, _ * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -596,7 +602,7 @@ export class DescribeVolumesCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: DescribeVolumesResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/ReleaseFileSystemNfsV3LocksCommand.ts b/clients/client-fsx/src/commands/ReleaseFileSystemNfsV3LocksCommand.ts index 2debf712a758..cc5e78f78509 100644 --- a/clients/client-fsx/src/commands/ReleaseFileSystemNfsV3LocksCommand.ts +++ b/clients/client-fsx/src/commands/ReleaseFileSystemNfsV3LocksCommand.ts @@ -14,7 +14,11 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { ReleaseFileSystemNfsV3LocksRequest, ReleaseFileSystemNfsV3LocksResponse } from "../models/models_0"; +import { + ReleaseFileSystemNfsV3LocksRequest, + ReleaseFileSystemNfsV3LocksResponse, + ReleaseFileSystemNfsV3LocksResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_ReleaseFileSystemNfsV3LocksCommand, se_ReleaseFileSystemNfsV3LocksCommand } from "../protocols/Aws_json1_1"; /** @@ -366,6 +370,7 @@ export interface ReleaseFileSystemNfsV3LocksCommandOutput * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -497,6 +502,7 @@ export interface ReleaseFileSystemNfsV3LocksCommandOutput * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -595,7 +601,7 @@ export class ReleaseFileSystemNfsV3LocksCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: ReleaseFileSystemNfsV3LocksResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/RestoreVolumeFromSnapshotCommand.ts b/clients/client-fsx/src/commands/RestoreVolumeFromSnapshotCommand.ts index 8dee23e365ef..e24c7fdb4837 100644 --- a/clients/client-fsx/src/commands/RestoreVolumeFromSnapshotCommand.ts +++ b/clients/client-fsx/src/commands/RestoreVolumeFromSnapshotCommand.ts @@ -14,7 +14,11 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { RestoreVolumeFromSnapshotRequest, RestoreVolumeFromSnapshotResponse } from "../models/models_0"; +import { + RestoreVolumeFromSnapshotRequest, + RestoreVolumeFromSnapshotResponse, + RestoreVolumeFromSnapshotResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_RestoreVolumeFromSnapshotCommand, se_RestoreVolumeFromSnapshotCommand } from "../protocols/Aws_json1_1"; /** @@ -285,6 +289,7 @@ export interface RestoreVolumeFromSnapshotCommandOutput extends RestoreVolumeFro * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -426,6 +431,7 @@ export interface RestoreVolumeFromSnapshotCommandOutput extends RestoreVolumeFro * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -605,7 +611,7 @@ export class RestoreVolumeFromSnapshotCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: RestoreVolumeFromSnapshotResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/UpdateDataRepositoryAssociationCommand.ts b/clients/client-fsx/src/commands/UpdateDataRepositoryAssociationCommand.ts index 0594276523f2..b5587fd7a933 100644 --- a/clients/client-fsx/src/commands/UpdateDataRepositoryAssociationCommand.ts +++ b/clients/client-fsx/src/commands/UpdateDataRepositoryAssociationCommand.ts @@ -43,8 +43,8 @@ export interface UpdateDataRepositoryAssociationCommandOutput * @public *

Updates the configuration of an existing data repository association * on an Amazon FSx for Lustre file system. Data repository associations - * are supported for all file systems except for Scratch_1 - * deployment type.

+ * are supported on all FSx for Lustre 2.12 and newer file systems, + * excluding scratch_1 deployment type.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-fsx/src/commands/UpdateFileSystemCommand.ts b/clients/client-fsx/src/commands/UpdateFileSystemCommand.ts index 71ad2b6658e9..1b88c6b5c05c 100644 --- a/clients/client-fsx/src/commands/UpdateFileSystemCommand.ts +++ b/clients/client-fsx/src/commands/UpdateFileSystemCommand.ts @@ -18,6 +18,7 @@ import { UpdateFileSystemRequest, UpdateFileSystemRequestFilterSensitiveLog, UpdateFileSystemResponse, + UpdateFileSystemResponseFilterSensitiveLog, } from "../models/models_0"; import { de_UpdateFileSystemCommand, se_UpdateFileSystemCommand } from "../protocols/Aws_json1_1"; @@ -234,6 +235,9 @@ export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse, * DnsIps: [ // DnsIps * "STRING_VALUE", * ], + * DomainName: "STRING_VALUE", + * OrganizationalUnitDistinguishedName: "STRING_VALUE", + * FileSystemAdministratorsGroup: "STRING_VALUE", * }, * AuditLogConfiguration: { // WindowsAuditLogCreateConfiguration * FileAccessAuditLogLevel: "DISABLED" || "SUCCESS_ONLY" || "FAILURE_ONLY" || "SUCCESS_AND_FAILURE", // required @@ -604,6 +608,7 @@ export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse, * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -735,6 +740,7 @@ export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse, * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -888,7 +894,7 @@ export class UpdateFileSystemCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: UpdateFileSystemRequestFilterSensitiveLog, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: UpdateFileSystemResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/UpdateSnapshotCommand.ts b/clients/client-fsx/src/commands/UpdateSnapshotCommand.ts index 23890fbae7a5..df6b46ef5fa6 100644 --- a/clients/client-fsx/src/commands/UpdateSnapshotCommand.ts +++ b/clients/client-fsx/src/commands/UpdateSnapshotCommand.ts @@ -14,7 +14,11 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { UpdateSnapshotRequest, UpdateSnapshotResponse } from "../models/models_0"; +import { + UpdateSnapshotRequest, + UpdateSnapshotResponse, + UpdateSnapshotResponseFilterSensitiveLog, +} from "../models/models_0"; import { de_UpdateSnapshotCommand, se_UpdateSnapshotCommand } from "../protocols/Aws_json1_1"; /** @@ -290,6 +294,7 @@ export interface UpdateSnapshotCommandOutput extends UpdateSnapshotResponse, __M * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -421,6 +426,7 @@ export interface UpdateSnapshotCommandOutput extends UpdateSnapshotResponse, __M * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -582,7 +588,7 @@ export class UpdateSnapshotCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: UpdateSnapshotResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/commands/UpdateStorageVirtualMachineCommand.ts b/clients/client-fsx/src/commands/UpdateStorageVirtualMachineCommand.ts index 56ca87f1605e..ecdb6d07554d 100644 --- a/clients/client-fsx/src/commands/UpdateStorageVirtualMachineCommand.ts +++ b/clients/client-fsx/src/commands/UpdateStorageVirtualMachineCommand.ts @@ -42,7 +42,7 @@ export interface UpdateStorageVirtualMachineCommandOutput /** * @public - *

Updates an Amazon FSx for ONTAP storage virtual machine (SVM).

+ *

Updates an FSx for ONTAP storage virtual machine (SVM).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -57,7 +57,11 @@ export interface UpdateStorageVirtualMachineCommandOutput * DnsIps: [ // DnsIps * "STRING_VALUE", * ], + * DomainName: "STRING_VALUE", + * OrganizationalUnitDistinguishedName: "STRING_VALUE", + * FileSystemAdministratorsGroup: "STRING_VALUE", * }, + * NetBiosName: "STRING_VALUE", * }, * ClientRequestToken: "STRING_VALUE", * StorageVirtualMachineId: "STRING_VALUE", // required diff --git a/clients/client-fsx/src/commands/UpdateVolumeCommand.ts b/clients/client-fsx/src/commands/UpdateVolumeCommand.ts index 539cae9d2981..30b58096c8d7 100644 --- a/clients/client-fsx/src/commands/UpdateVolumeCommand.ts +++ b/clients/client-fsx/src/commands/UpdateVolumeCommand.ts @@ -14,7 +14,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s import { SerdeContext as __SerdeContext } from "@smithy/types"; import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient"; -import { UpdateVolumeRequest, UpdateVolumeResponse } from "../models/models_0"; +import { UpdateVolumeRequest, UpdateVolumeResponse, UpdateVolumeResponseFilterSensitiveLog } from "../models/models_0"; import { de_UpdateVolumeCommand, se_UpdateVolumeCommand } from "../protocols/Aws_json1_1"; /** @@ -346,6 +346,7 @@ export interface UpdateVolumeCommandOutput extends UpdateVolumeResponse, __Metad * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration @@ -477,6 +478,7 @@ export interface UpdateVolumeCommandOutput extends UpdateVolumeResponse, __Metad * // ], * // ThroughputCapacity: Number("int"), * // WeeklyMaintenanceStartTime: "STRING_VALUE", + * // FsxAdminPassword: "STRING_VALUE", * // }, * // FileSystemTypeVersion: "STRING_VALUE", * // OpenZFSConfiguration: { @@ -626,7 +628,7 @@ export class UpdateVolumeCommand extends $Command< clientName, commandName, inputFilterSensitiveLog: (_: any) => _, - outputFilterSensitiveLog: (_: any) => _, + outputFilterSensitiveLog: UpdateVolumeResponseFilterSensitiveLog, }; const { requestHandler } = configuration; return stack.resolve( diff --git a/clients/client-fsx/src/models/models_0.ts b/clients/client-fsx/src/models/models_0.ts index 6b2cf02e90fb..0e496ca21123 100644 --- a/clients/client-fsx/src/models/models_0.ts +++ b/clients/client-fsx/src/models/models_0.ts @@ -654,16 +654,16 @@ export type DiskIopsConfigurationMode = (typeof DiskIopsConfigurationMode)[keyof /** * @public - *

The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS file system. The - * default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per + *

The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP or FSx for OpenZFS file system. By default, Amazon FSx + * automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per * GB of storage. The configuration consists of the total number of provisioned SSD IOPS - * and how the amount was provisioned (by the customer or by the system).

+ * and how it is was provisioned, or the mode (by the customer or by Amazon FSx).

*/ export interface DiskIopsConfiguration { /** - *

Specifies whether the number of IOPS for the file system is - * using the system default (AUTOMATIC) or was - * provisioned by the customer (USER_PROVISIONED).

+ *

Specifies whether the file system is + * using the AUTOMATIC setting of SSD IOPS of 3 IOPS per GB of storage capacity, , or + * if it using a USER_PROVISIONED value.

*/ Mode?: DiskIopsConfigurationMode | string; @@ -682,7 +682,7 @@ export interface DiskIopsConfiguration { */ export interface FileSystemEndpoint { /** - *

The Domain Name Service (DNS) name for the file system. You can mount your file + *

The file system's DNS name. You can mount your file * system using its DNS name.

*/ DNSName?: string; @@ -808,6 +808,12 @@ export interface OntapFileSystemConfiguration { *

For example, 1:05:00 specifies maintenance at 5 AM Monday.

*/ WeeklyMaintenanceStartTime?: string; + + /** + *

You can use the fsxadmin user account to access the NetApp ONTAP CLI and + * REST API. The password value is always redacted in the response.

+ */ + FsxAdminPassword?: string; } /** @@ -888,10 +894,10 @@ export interface OpenZFSFileSystemConfiguration { WeeklyMaintenanceStartTime?: string; /** - *

The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS file system. The - * default is 3 IOPS per GB of storage capacity, but you can provision additional IOPS per + *

The SSD IOPS (input/output operations per second) configuration for an Amazon FSx for NetApp ONTAP or FSx for OpenZFS file system. By default, Amazon FSx + * automatically provisions 3 IOPS per GB of storage capacity. You can provision additional IOPS per * GB of storage. The configuration consists of the total number of provisioned SSD IOPS - * and how the amount was provisioned (by the customer or by the system).

+ * and how it is was provisioned, or the mode (by the customer or by Amazon FSx).

*/ DiskIopsConfiguration?: DiskIopsConfiguration; @@ -2882,8 +2888,8 @@ export interface NFSDataRepositoryConfiguration { * * *

Data repository associations are supported on Amazon File Cache resources and - * all Amazon FSx for Lustre file systems excluding Scratch_1 deployment - * types.

+ * all FSx for Lustre 2.12 and newer file systems, excluding + * scratch_1 deployment type.

*/ export interface DataRepositoryAssociation { /** @@ -4595,13 +4601,13 @@ export interface CreateFileSystemOpenZFSConfiguration { *