Skip to content

Commit

Permalink
feat(client-fsx): Amazon FSx for NetApp ONTAP now supports joining a …
Browse files Browse the repository at this point in the history
…storage virtual machine (SVM) to Active Directory after the SVM has been created.
  • Loading branch information
awstools committed Jun 12, 2023
1 parent 4479c1d commit 5fac884
Show file tree
Hide file tree
Showing 25 changed files with 512 additions and 175 deletions.
6 changes: 4 additions & 2 deletions clients/client-fsx/src/commands/CopyBackupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down Expand Up @@ -404,6 +404,7 @@ export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataB
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration
Expand Down Expand Up @@ -535,6 +536,7 @@ export interface CopyBackupCommandOutput extends CopyBackupResponse, __MetadataB
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: {
Expand Down Expand Up @@ -709,7 +711,7 @@ export class CopyBackupCommand extends $Command<
clientName,
commandName,
inputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: CopyBackupResponseFilterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
Expand Down
6 changes: 4 additions & 2 deletions clients/client-fsx/src/commands/CreateBackupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down Expand Up @@ -437,6 +437,7 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration
Expand Down Expand Up @@ -568,6 +569,7 @@ export interface CreateBackupCommandOutput extends CreateBackupResponse, __Metad
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: {
Expand Down Expand Up @@ -731,7 +733,7 @@ export class CreateBackupCommand extends $Command<
clientName,
commandName,
inputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: CreateBackupResponseFilterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>Scratch_1</code> deployment type.</p>
* on all FSx for Lustre 2.12 and newer file systems, excluding
* <code>scratch_1</code> deployment type.</p>
* <p>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,
Expand Down
5 changes: 4 additions & 1 deletion clients/client-fsx/src/commands/CreateFileSystemCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
CreateFileSystemRequest,
CreateFileSystemRequestFilterSensitiveLog,
CreateFileSystemResponse,
CreateFileSystemResponseFilterSensitiveLog,
} from "../models/models_0";
import { de_CreateFileSystemCommand, se_CreateFileSystemCommand } from "../protocols/Aws_json1_1";

Expand Down Expand Up @@ -535,6 +536,7 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration
Expand Down Expand Up @@ -666,6 +668,7 @@ export interface CreateFileSystemCommandOutput extends CreateFileSystemResponse,
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: {
Expand Down Expand Up @@ -854,7 +857,7 @@ export class CreateFileSystemCommand extends $Command<
clientName,
commandName,
inputFilterSensitiveLog: CreateFileSystemRequestFilterSensitiveLog,
outputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: CreateFileSystemResponseFilterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
CreateFileSystemFromBackupRequest,
CreateFileSystemFromBackupRequestFilterSensitiveLog,
CreateFileSystemFromBackupResponse,
CreateFileSystemFromBackupResponseFilterSensitiveLog,
} from "../models/models_0";
import { de_CreateFileSystemFromBackupCommand, se_CreateFileSystemFromBackupCommand } from "../protocols/Aws_json1_1";

Expand Down Expand Up @@ -505,6 +506,7 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration
Expand Down Expand Up @@ -636,6 +638,7 @@ export interface CreateFileSystemFromBackupCommandOutput extends CreateFileSyste
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: {
Expand Down Expand Up @@ -804,7 +807,7 @@ export class CreateFileSystemFromBackupCommand extends $Command<
clientName,
commandName,
inputFilterSensitiveLog: CreateFileSystemFromBackupRequestFilterSensitiveLog,
outputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: CreateFileSystemFromBackupResponseFilterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
Expand Down
10 changes: 8 additions & 2 deletions clients/client-fsx/src/commands/CreateSnapshotCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down Expand Up @@ -323,6 +327,7 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration
Expand Down Expand Up @@ -454,6 +459,7 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotResponse, __M
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: {
Expand Down Expand Up @@ -619,7 +625,7 @@ export class CreateSnapshotCommand extends $Command<
clientName,
commandName,
inputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: CreateSnapshotResponseFilterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
Expand Down
6 changes: 4 additions & 2 deletions clients/client-fsx/src/commands/CreateVolumeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down Expand Up @@ -360,6 +360,7 @@ export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __Metad
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration
Expand Down Expand Up @@ -491,6 +492,7 @@ export interface CreateVolumeCommandOutput extends CreateVolumeResponse, __Metad
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: {
Expand Down Expand Up @@ -650,7 +652,7 @@ export class CreateVolumeCommand extends $Command<
clientName,
commandName,
inputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: CreateVolumeResponseFilterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
Expand Down
10 changes: 8 additions & 2 deletions clients/client-fsx/src/commands/CreateVolumeFromBackupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down Expand Up @@ -329,6 +333,7 @@ export interface CreateVolumeFromBackupCommandOutput extends CreateVolumeFromBac
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration
Expand Down Expand Up @@ -460,6 +465,7 @@ export interface CreateVolumeFromBackupCommandOutput extends CreateVolumeFromBac
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: {
Expand Down Expand Up @@ -621,7 +627,7 @@ export class CreateVolumeFromBackupCommand extends $Command<
clientName,
commandName,
inputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: CreateVolumeFromBackupResponseFilterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>Scratch_1</code>
* deployment type.</p>
* associations are supported on all FSx for Lustre 2.12 and newer file
* systems, excluding <code>scratch_1</code> deployment type.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
4 changes: 4 additions & 0 deletions clients/client-fsx/src/commands/DeleteVolumeCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ export interface DeleteVolumeCommandOutput extends DeleteVolumeResponse, __Metad
* @throws {@link InternalServerError} (server fault)
* <p>A generic error indicating a server-side failure.</p>
*
* @throws {@link ServiceLimitExceeded} (client fault)
* <p>An error indicating that a particular service limit was exceeded. You can increase
* some service limits by contacting Amazon Web Services Support.</p>
*
* @throws {@link VolumeNotFound} (client fault)
* <p>No Amazon FSx volumes were found based upon the supplied parameters.</p>
*
Expand Down
10 changes: 8 additions & 2 deletions clients/client-fsx/src/commands/DescribeBackupsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down Expand Up @@ -412,6 +416,7 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration
Expand Down Expand Up @@ -543,6 +548,7 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: {
Expand Down Expand Up @@ -690,7 +696,7 @@ export class DescribeBackupsCommand extends $Command<
clientName,
commandName,
inputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: DescribeBackupsResponseFilterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ export interface DescribeDataRepositoryAssociationsCommandOutput
* <p>Returns the description of specific Amazon FSx for Lustre or Amazon File Cache
* data repository associations, if one or more <code>AssociationIds</code> 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 <code>Scratch_1</code> deployment types.</p>
* associations are supported on Amazon File Cache resources and all FSx for Lustre
* 2.12 and newer file systems, excluding <code>scratch_1</code> deployment type.</p>
* <p>You can use filters to narrow the response to include just data repository
* associations for specific file systems (use the <code>file-system-id</code> filter with
* the ID of the file system) or caches (use the <code>file-cache-id</code> filter with
Expand Down
10 changes: 8 additions & 2 deletions clients/client-fsx/src/commands/DescribeFileSystemsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

/**
Expand Down Expand Up @@ -394,6 +398,7 @@ export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsRes
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: { // OpenZFSFileSystemConfiguration
Expand Down Expand Up @@ -525,6 +530,7 @@ export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsRes
* // ],
* // ThroughputCapacity: Number("int"),
* // WeeklyMaintenanceStartTime: "STRING_VALUE",
* // FsxAdminPassword: "STRING_VALUE",
* // },
* // FileSystemTypeVersion: "STRING_VALUE",
* // OpenZFSConfiguration: {
Expand Down Expand Up @@ -661,7 +667,7 @@ export class DescribeFileSystemsCommand extends $Command<
clientName,
commandName,
inputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: (_: any) => _,
outputFilterSensitiveLog: DescribeFileSystemsResponseFilterSensitiveLog,
};
const { requestHandler } = configuration;
return stack.resolve(
Expand Down
Loading

0 comments on commit 5fac884

Please sign in to comment.