@aws-sdk/client-fsx 3.40.0 → 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist-cjs/FSx.js +150 -0
- package/dist-cjs/commands/CreateDataRepositoryAssociationCommand.js +36 -0
- package/dist-cjs/commands/CreateSnapshotCommand.js +36 -0
- package/dist-cjs/commands/DeleteDataRepositoryAssociationCommand.js +36 -0
- package/dist-cjs/commands/DeleteSnapshotCommand.js +36 -0
- package/dist-cjs/commands/DescribeDataRepositoryAssociationsCommand.js +36 -0
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +36 -0
- package/dist-cjs/commands/ReleaseFileSystemNfsV3LocksCommand.js +36 -0
- package/dist-cjs/commands/RestoreVolumeFromSnapshotCommand.js +36 -0
- package/dist-cjs/commands/UpdateDataRepositoryAssociationCommand.js +36 -0
- package/dist-cjs/commands/UpdateSnapshotCommand.js +36 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoints.js +8 -0
- package/dist-cjs/models/models_0.js +386 -44
- package/dist-cjs/pagination/DescribeDataRepositoryAssociationsPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1745 -131
- package/dist-es/FSx.js +150 -0
- package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +39 -0
- package/dist-es/commands/CreateSnapshotCommand.js +39 -0
- package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +39 -0
- package/dist-es/commands/DeleteSnapshotCommand.js +39 -0
- package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +39 -0
- package/dist-es/commands/DescribeSnapshotsCommand.js +39 -0
- package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +39 -0
- package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +39 -0
- package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +39 -0
- package/dist-es/commands/UpdateSnapshotCommand.js +39 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoints.js +8 -0
- package/dist-es/models/models_0.js +277 -28
- package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +74 -0
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +1653 -74
- package/dist-types/FSx.d.ts +406 -146
- package/dist-types/FSxClient.d.ts +12 -2
- package/dist-types/commands/AssociateFileSystemAliasesCommand.d.ts +1 -1
- package/dist-types/commands/CancelDataRepositoryTaskCommand.d.ts +1 -1
- package/dist-types/commands/CopyBackupCommand.d.ts +13 -13
- package/dist-types/commands/CreateBackupCommand.d.ts +28 -26
- package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +45 -0
- package/dist-types/commands/CreateDataRepositoryTaskCommand.d.ts +7 -6
- package/dist-types/commands/CreateFileSystemCommand.d.ts +37 -17
- package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +15 -15
- package/dist-types/commands/CreateSnapshotCommand.d.ts +62 -0
- package/dist-types/commands/CreateStorageVirtualMachineCommand.d.ts +1 -1
- package/dist-types/commands/CreateVolumeCommand.d.ts +3 -2
- package/dist-types/commands/CreateVolumeFromBackupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupCommand.d.ts +5 -4
- package/dist-types/commands/DeleteDataRepositoryAssociationCommand.d.ts +41 -0
- package/dist-types/commands/DeleteFileSystemCommand.d.ts +15 -16
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +39 -0
- package/dist-types/commands/DeleteStorageVirtualMachineCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVolumeCommand.d.ts +3 -5
- package/dist-types/commands/DescribeBackupsCommand.d.ts +18 -19
- package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +53 -0
- package/dist-types/commands/DescribeDataRepositoryTasksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFileSystemAliasesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +10 -10
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +61 -0
- package/dist-types/commands/DescribeStorageVirtualMachinesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeVolumesCommand.d.ts +3 -2
- package/dist-types/commands/DisassociateFileSystemAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +36 -0
- package/dist-types/commands/RestoreVolumeFromSnapshotCommand.d.ts +36 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDataRepositoryAssociationCommand.d.ts +37 -0
- package/dist-types/commands/UpdateFileSystemCommand.d.ts +96 -23
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +35 -0
- package/dist-types/commands/UpdateStorageVirtualMachineCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVolumeCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +2705 -649
- package/dist-types/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
- package/dist-types/ts3.4/FSx.d.ts +50 -0
- package/dist-types/ts3.4/FSxClient.d.ts +12 -2
- package/dist-types/ts3.4/commands/CreateDataRepositoryAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDataRepositoryAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDataRepositoryAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreVolumeFromSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDataRepositoryAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +790 -81
- package/dist-types/ts3.4/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
- package/package.json +4 -4
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { DeleteDataRepositoryAssociationRequest, DeleteDataRepositoryAssociationResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteDataRepositoryAssociationCommandInput extends DeleteDataRepositoryAssociationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteDataRepositoryAssociationCommandOutput extends DeleteDataRepositoryAssociationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes a data repository association on an Amazon FSx for Lustre
|
|
11
|
+
* file system. Deleting the data repository association unlinks the
|
|
12
|
+
* file system from the Amazon S3 bucket. When deleting a data repository
|
|
13
|
+
* association, you have the option of deleting the data in the file system
|
|
14
|
+
* that corresponds to the data repository association. Data repository
|
|
15
|
+
* associations are supported only for file systems with the
|
|
16
|
+
* <code>Persistent_2</code> deployment type.</p>
|
|
17
|
+
* @example
|
|
18
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
+
* ```javascript
|
|
20
|
+
* import { FSxClient, DeleteDataRepositoryAssociationCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
21
|
+
* // const { FSxClient, DeleteDataRepositoryAssociationCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
22
|
+
* const client = new FSxClient(config);
|
|
23
|
+
* const command = new DeleteDataRepositoryAssociationCommand(input);
|
|
24
|
+
* const response = await client.send(command);
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* @see {@link DeleteDataRepositoryAssociationCommandInput} for command's `input` shape.
|
|
28
|
+
* @see {@link DeleteDataRepositoryAssociationCommandOutput} for command's `response` shape.
|
|
29
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export declare class DeleteDataRepositoryAssociationCommand extends $Command<DeleteDataRepositoryAssociationCommandInput, DeleteDataRepositoryAssociationCommandOutput, FSxClientResolvedConfig> {
|
|
33
|
+
readonly input: DeleteDataRepositoryAssociationCommandInput;
|
|
34
|
+
constructor(input: DeleteDataRepositoryAssociationCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDataRepositoryAssociationCommandInput, DeleteDataRepositoryAssociationCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -7,27 +7,26 @@ export interface DeleteFileSystemCommandInput extends DeleteFileSystemRequest {
|
|
|
7
7
|
export interface DeleteFileSystemCommandOutput extends DeleteFileSystemResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes a file system
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* <code>DeleFileSystem</code> operation.</p>
|
|
10
|
+
* <p>Deletes a file system. After deletion, the file system no longer exists, and its data
|
|
11
|
+
* is gone. Any existing automatic backups and snapshots are also deleted.</p>
|
|
12
|
+
* <p>To delete an Amazon FSx for NetApp ONTAP file system, first delete all the
|
|
13
|
+
* volumes and storage virtual machines (SVMs) on the file system. Then provide a
|
|
14
|
+
* <code>FileSystemId</code> value to the <code>DeleFileSystem</code> operation.</p>
|
|
16
15
|
*
|
|
17
|
-
* <p>By default, when you delete an Amazon FSx for Windows File Server file system,
|
|
18
|
-
* final backup is created upon deletion. This final backup
|
|
16
|
+
* <p>By default, when you delete an Amazon FSx for Windows File Server file system,
|
|
17
|
+
* a final backup is created upon deletion. This final backup isn't subject to the file
|
|
19
18
|
* system's retention policy, and must be manually deleted.</p>
|
|
20
19
|
*
|
|
21
|
-
* <p>The <code>DeleteFileSystem</code>
|
|
20
|
+
* <p>The <code>DeleteFileSystem</code> operation returns while the file system has the
|
|
22
21
|
* <code>DELETING</code> status. You can check the file system deletion status by
|
|
23
|
-
* calling the <a>DescribeFileSystems</a>
|
|
24
|
-
*
|
|
25
|
-
* <
|
|
22
|
+
* calling the <a href="https://docs.aws.amazon.com/fsx/latest/APIReference/API_DescribeFileSystems.html">DescribeFileSystems</a> operation, which returns a list of file systems in your
|
|
23
|
+
* account. If you pass the file system ID for a deleted file system, the
|
|
24
|
+
* <code>DescribeFileSystems</code> operation returns a <code>FileSystemNotFound</code>
|
|
26
25
|
* error.</p>
|
|
27
26
|
* <note>
|
|
28
|
-
* <p>
|
|
29
|
-
*
|
|
30
|
-
*
|
|
27
|
+
* <p>If a data repository task is in a <code>PENDING</code> or <code>EXECUTING</code> state,
|
|
28
|
+
* deleting an Amazon FSx for Lustre file system will fail with an HTTP status
|
|
29
|
+
* code 400 (Bad Request).</p>
|
|
31
30
|
* </note>
|
|
32
31
|
* <important>
|
|
33
32
|
* <p>The data in a deleted file system is also deleted and can't be recovered by
|
|
@@ -45,7 +44,7 @@ export interface DeleteFileSystemCommandOutput extends DeleteFileSystemResponse,
|
|
|
45
44
|
*
|
|
46
45
|
* @see {@link DeleteFileSystemCommandInput} for command's `input` shape.
|
|
47
46
|
* @see {@link DeleteFileSystemCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
47
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
49
48
|
*
|
|
50
49
|
*/
|
|
51
50
|
export declare class DeleteFileSystemCommand extends $Command<DeleteFileSystemCommandInput, DeleteFileSystemCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { DeleteSnapshotRequest, DeleteSnapshotResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteSnapshotCommandInput extends DeleteSnapshotRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes the Amazon FSx snapshot. After deletion, the snapshot no longer
|
|
11
|
+
* exists, and its data is gone. Deleting a snapshot doesn't affect snapshots stored in a
|
|
12
|
+
* file system backup. </p>
|
|
13
|
+
* <p>The <code>DeleteSnapshot</code> operation returns instantly. The snapshot appears with
|
|
14
|
+
* the lifecycle status of <code>DELETING</code> until the deletion is complete.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { FSxClient, DeleteSnapshotCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
19
|
+
* // const { FSxClient, DeleteSnapshotCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
20
|
+
* const client = new FSxClient(config);
|
|
21
|
+
* const command = new DeleteSnapshotCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteSnapshotCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteSnapshotCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DeleteSnapshotCommand extends $Command<DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput, FSxClientResolvedConfig> {
|
|
31
|
+
readonly input: DeleteSnapshotCommandInput;
|
|
32
|
+
constructor(input: DeleteSnapshotCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -21,7 +21,7 @@ export interface DeleteStorageVirtualMachineCommandOutput extends DeleteStorageV
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DeleteStorageVirtualMachineCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DeleteStorageVirtualMachineCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class DeleteStorageVirtualMachineCommand extends $Command<DeleteStorageVirtualMachineCommandInput, DeleteStorageVirtualMachineCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -7,10 +7,8 @@ export interface DeleteVolumeCommandInput extends DeleteVolumeRequest {
|
|
|
7
7
|
export interface DeleteVolumeCommandOutput extends DeleteVolumeResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Deletes an Amazon FSx for NetApp ONTAP
|
|
11
|
-
*
|
|
12
|
-
* apply Tags to the backup. You need to have <code>fsx:TagResource</code>
|
|
13
|
-
* permission in order to apply tags to the backup.</p>
|
|
10
|
+
* <p>Deletes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS
|
|
11
|
+
* volume.</p>
|
|
14
12
|
* @example
|
|
15
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
14
|
* ```javascript
|
|
@@ -23,7 +21,7 @@ export interface DeleteVolumeCommandOutput extends DeleteVolumeResponse, __Metad
|
|
|
23
21
|
*
|
|
24
22
|
* @see {@link DeleteVolumeCommandInput} for command's `input` shape.
|
|
25
23
|
* @see {@link DeleteVolumeCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
27
25
|
*
|
|
28
26
|
*/
|
|
29
27
|
export declare class DeleteVolumeCommand extends $Command<DeleteVolumeCommandInput, DeleteVolumeCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -7,34 +7,33 @@ export interface DescribeBackupsCommandInput extends DescribeBackupsRequest {
|
|
|
7
7
|
export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns the description of specific Amazon FSx
|
|
11
|
-
*
|
|
12
|
-
* backups owned by your Amazon Web Services account
|
|
13
|
-
*
|
|
10
|
+
* <p>Returns the description of a specific Amazon FSx backup, if a
|
|
11
|
+
* <code>BackupIds</code> value is provided for that backup. Otherwise, it returns all
|
|
12
|
+
* backups owned by your Amazon Web Services account in the Amazon Web Services Region of the
|
|
13
|
+
* endpoint that you're calling.</p>
|
|
14
14
|
*
|
|
15
15
|
* <p>When retrieving all backups, you can optionally specify the <code>MaxResults</code>
|
|
16
|
-
* parameter to limit the number of backups in a response. If more backups remain, Amazon
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* <code>NextToken</code> from the last response.</p>
|
|
16
|
+
* parameter to limit the number of backups in a response. If more backups remain, Amazon FSx returns a <code>NextToken</code> value in the response. In this case,
|
|
17
|
+
* send a later request with the <code>NextToken</code> request parameter set to the value
|
|
18
|
+
* of the <code>NextToken</code> value from the last response.</p>
|
|
20
19
|
*
|
|
21
|
-
* <p>This
|
|
22
|
-
* <code>DescribeBackups</code> is called first without a <code>NextToken</code>value.
|
|
23
|
-
* Then the
|
|
24
|
-
* the value of the last <code>NextToken</code> value until a response has no
|
|
25
|
-
* <code>NextToken</code
|
|
20
|
+
* <p>This operation is used in an iterative process to retrieve a list of your backups.
|
|
21
|
+
* <code>DescribeBackups</code> is called first without a <code>NextToken</code> value.
|
|
22
|
+
* Then the operation continues to be called with the <code>NextToken</code> parameter set
|
|
23
|
+
* to the value of the last <code>NextToken</code> value until a response has no
|
|
24
|
+
* <code>NextToken</code> value.</p>
|
|
26
25
|
*
|
|
27
|
-
* <p>When using this
|
|
26
|
+
* <p>When using this operation, keep the following in mind:</p>
|
|
28
27
|
* <ul>
|
|
29
28
|
* <li>
|
|
30
|
-
* <p>The
|
|
29
|
+
* <p>The operation might return fewer than the <code>MaxResults</code> value of
|
|
31
30
|
* backup descriptions while still including a <code>NextToken</code>
|
|
32
31
|
* value.</p>
|
|
33
32
|
* </li>
|
|
34
33
|
* <li>
|
|
35
|
-
* <p>The order of backups returned in the response of one
|
|
36
|
-
* <code>DescribeBackups</code> call and the order of backups returned
|
|
37
|
-
* the responses of a multi-call iteration is unspecified.</p>
|
|
34
|
+
* <p>The order of the backups returned in the response of one
|
|
35
|
+
* <code>DescribeBackups</code> call and the order of the backups returned
|
|
36
|
+
* across the responses of a multi-call iteration is unspecified.</p>
|
|
38
37
|
* </li>
|
|
39
38
|
* </ul>
|
|
40
39
|
* @example
|
|
@@ -49,7 +48,7 @@ export interface DescribeBackupsCommandOutput extends DescribeBackupsResponse, _
|
|
|
49
48
|
*
|
|
50
49
|
* @see {@link DescribeBackupsCommandInput} for command's `input` shape.
|
|
51
50
|
* @see {@link DescribeBackupsCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
51
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
53
52
|
*
|
|
54
53
|
*/
|
|
55
54
|
export declare class DescribeBackupsCommand extends $Command<DescribeBackupsCommandInput, DescribeBackupsCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { DescribeDataRepositoryAssociationsRequest, DescribeDataRepositoryAssociationsResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeDataRepositoryAssociationsCommandInput extends DescribeDataRepositoryAssociationsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeDataRepositoryAssociationsCommandOutput extends DescribeDataRepositoryAssociationsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns the description of specific Amazon FSx for Lustre data repository associations, if
|
|
11
|
+
* one or more <code>AssociationIds</code> values are provided in the request, or if filters are
|
|
12
|
+
* used in the request. Data repository associations are supported only
|
|
13
|
+
* for file systems with the <code>Persistent_2</code> deployment type.</p>
|
|
14
|
+
*
|
|
15
|
+
* <p>You can use filters to narrow the response to include just data repository
|
|
16
|
+
* associations for specific file systems (use the <code>file-system-id</code> filter with
|
|
17
|
+
* the ID of the file system) or data repository associations for a specific repository type
|
|
18
|
+
* (use the <code>data-repository-type</code> filter with a value of <code>S3</code>).
|
|
19
|
+
* If you don't use filters, the response returns all data repository associations
|
|
20
|
+
* owned by your Amazon Web Services account in the Amazon Web Services Region of the endpoint
|
|
21
|
+
* that you're calling.</p>
|
|
22
|
+
*
|
|
23
|
+
* <p>When retrieving all data repository associations, you can paginate the response by using
|
|
24
|
+
* the optional <code>MaxResults</code> parameter to limit the number of data repository associations
|
|
25
|
+
* returned in a response. If more data repository associations remain, Amazon FSx returns a
|
|
26
|
+
* <code>NextToken</code> value in the response. In this case, send a later
|
|
27
|
+
* request with the <code>NextToken</code> request parameter set to the value of
|
|
28
|
+
* <code>NextToken</code> from the last response.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { FSxClient, DescribeDataRepositoryAssociationsCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
33
|
+
* // const { FSxClient, DescribeDataRepositoryAssociationsCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
34
|
+
* const client = new FSxClient(config);
|
|
35
|
+
* const command = new DescribeDataRepositoryAssociationsCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @see {@link DescribeDataRepositoryAssociationsCommandInput} for command's `input` shape.
|
|
40
|
+
* @see {@link DescribeDataRepositoryAssociationsCommandOutput} for command's `response` shape.
|
|
41
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
export declare class DescribeDataRepositoryAssociationsCommand extends $Command<DescribeDataRepositoryAssociationsCommandInput, DescribeDataRepositoryAssociationsCommandOutput, FSxClientResolvedConfig> {
|
|
45
|
+
readonly input: DescribeDataRepositoryAssociationsCommandInput;
|
|
46
|
+
constructor(input: DescribeDataRepositoryAssociationsCommandInput);
|
|
47
|
+
/**
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDataRepositoryAssociationsCommandInput, DescribeDataRepositoryAssociationsCommandOutput>;
|
|
51
|
+
private serialize;
|
|
52
|
+
private deserialize;
|
|
53
|
+
}
|
|
@@ -30,7 +30,7 @@ export interface DescribeDataRepositoryTasksCommandOutput extends DescribeDataRe
|
|
|
30
30
|
*
|
|
31
31
|
* @see {@link DescribeDataRepositoryTasksCommandInput} for command's `input` shape.
|
|
32
32
|
* @see {@link DescribeDataRepositoryTasksCommandOutput} for command's `response` shape.
|
|
33
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
33
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
export declare class DescribeDataRepositoryTasksCommand extends $Command<DescribeDataRepositoryTasksCommandInput, DescribeDataRepositoryTasksCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface DescribeFileSystemAliasesCommandOutput extends DescribeFileSyst
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link DescribeFileSystemAliasesCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link DescribeFileSystemAliasesCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class DescribeFileSystemAliasesCommand extends $Command<DescribeFileSystemAliasesCommandInput, DescribeFileSystemAliasesCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -9,23 +9,23 @@ export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsRes
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns the description of specific Amazon FSx file systems, if a
|
|
11
11
|
* <code>FileSystemIds</code> value is provided for that file system. Otherwise, it
|
|
12
|
-
* returns descriptions of all file systems owned by your Amazon Web Services account in
|
|
13
|
-
*
|
|
12
|
+
* returns descriptions of all file systems owned by your Amazon Web Services account in the
|
|
13
|
+
* Amazon Web Services Region of the endpoint that you're calling.</p>
|
|
14
14
|
*
|
|
15
15
|
* <p>When retrieving all file system descriptions, you can optionally specify the
|
|
16
16
|
* <code>MaxResults</code> parameter to limit the number of descriptions in a response.
|
|
17
|
-
* If more file system descriptions remain, Amazon FSx returns a
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
17
|
+
* If more file system descriptions remain, Amazon FSx returns a
|
|
18
|
+
* <code>NextToken</code> value in the response. In this case, send a later request
|
|
19
|
+
* with the <code>NextToken</code> request parameter set to the value of
|
|
20
|
+
* <code>NextToken</code> from the last response.</p>
|
|
21
21
|
*
|
|
22
|
-
* <p>This
|
|
22
|
+
* <p>This operation is used in an iterative process to retrieve a list of your file system
|
|
23
23
|
* descriptions. <code>DescribeFileSystems</code> is called first without a
|
|
24
|
-
* <code>NextToken</code>value. Then the
|
|
24
|
+
* <code>NextToken</code>value. Then the operation continues to be called with the
|
|
25
25
|
* <code>NextToken</code> parameter set to the value of the last <code>NextToken</code>
|
|
26
26
|
* value until a response has no <code>NextToken</code>.</p>
|
|
27
27
|
*
|
|
28
|
-
* <p>When using this
|
|
28
|
+
* <p>When using this operation, keep the following in mind:</p>
|
|
29
29
|
* <ul>
|
|
30
30
|
* <li>
|
|
31
31
|
* <p>The implementation might return fewer than <code>MaxResults</code> file
|
|
@@ -51,7 +51,7 @@ export interface DescribeFileSystemsCommandOutput extends DescribeFileSystemsRes
|
|
|
51
51
|
*
|
|
52
52
|
* @see {@link DescribeFileSystemsCommandInput} for command's `input` shape.
|
|
53
53
|
* @see {@link DescribeFileSystemsCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
54
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
55
55
|
*
|
|
56
56
|
*/
|
|
57
57
|
export declare class DescribeFileSystemsCommand extends $Command<DescribeFileSystemsCommandInput, DescribeFileSystemsCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { DescribeSnapshotsRequest, DescribeSnapshotsResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeSnapshotsCommandInput extends DescribeSnapshotsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns the description of specific Amazon FSx snapshots, if a
|
|
11
|
+
* <code>SnapshotIds</code> value is provided. Otherwise, this operation returns all
|
|
12
|
+
* snapshots owned by your Amazon Web Services account in the Amazon Web Services Region of
|
|
13
|
+
* the endpoint that you're calling.</p>
|
|
14
|
+
* <p>When retrieving all snapshots, you can optionally specify the <code>MaxResults</code>
|
|
15
|
+
* parameter to limit the number of snapshots in a response. If more backups remain,
|
|
16
|
+
* Amazon FSx returns a <code>NextToken</code> value in the response. In this
|
|
17
|
+
* case, send a later request with the <code>NextToken</code> request parameter set to the
|
|
18
|
+
* value of <code>NextToken</code> from the last response. </p>
|
|
19
|
+
* <p>Use this operation in an iterative process to retrieve a list of your snapshots.
|
|
20
|
+
* <code>DescribeSnapshots</code> is called first without a <code>NextToken</code>
|
|
21
|
+
* value. Then the operation continues to be called with the <code>NextToken</code>
|
|
22
|
+
* parameter set to the value of the last <code>NextToken</code> value until a response has
|
|
23
|
+
* no <code>NextToken</code> value.</p>
|
|
24
|
+
* <p>When using this operation, keep the following in mind:</p>
|
|
25
|
+
* <ul>
|
|
26
|
+
* <li>
|
|
27
|
+
* <p>The operation might return fewer than the <code>MaxResults</code> value of
|
|
28
|
+
* snapshot descriptions while still including a <code>NextToken</code>
|
|
29
|
+
* value.</p>
|
|
30
|
+
* </li>
|
|
31
|
+
* <li>
|
|
32
|
+
* <p>The order of snapshots returned in the response of one
|
|
33
|
+
* <code>DescribeSnapshots</code> call and the order of backups returned across
|
|
34
|
+
* the responses of a multi-call iteration is unspecified. </p>
|
|
35
|
+
* </li>
|
|
36
|
+
* </ul>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { FSxClient, DescribeSnapshotsCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
41
|
+
* // const { FSxClient, DescribeSnapshotsCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
42
|
+
* const client = new FSxClient(config);
|
|
43
|
+
* const command = new DescribeSnapshotsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @see {@link DescribeSnapshotsCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DescribeSnapshotsCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
export declare class DescribeSnapshotsCommand extends $Command<DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput, FSxClientResolvedConfig> {
|
|
53
|
+
readonly input: DescribeSnapshotsCommandInput;
|
|
54
|
+
constructor(input: DescribeSnapshotsCommandInput);
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput>;
|
|
59
|
+
private serialize;
|
|
60
|
+
private deserialize;
|
|
61
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface DescribeStorageVirtualMachinesCommandOutput extends DescribeSto
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DescribeStorageVirtualMachinesCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DescribeStorageVirtualMachinesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DescribeStorageVirtualMachinesCommand extends $Command<DescribeStorageVirtualMachinesCommandInput, DescribeStorageVirtualMachinesCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -7,7 +7,8 @@ export interface DescribeVolumesCommandInput extends DescribeVolumesRequest {
|
|
|
7
7
|
export interface DescribeVolumesCommandOutput extends DescribeVolumesResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Describes one or more Amazon FSx for NetApp ONTAP
|
|
10
|
+
* <p>Describes one or more Amazon FSx for NetApp ONTAP or Amazon FSx for
|
|
11
|
+
* OpenZFS volumes.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -20,7 +21,7 @@ export interface DescribeVolumesCommandOutput extends DescribeVolumesResponse, _
|
|
|
20
21
|
*
|
|
21
22
|
* @see {@link DescribeVolumesCommandInput} for command's `input` shape.
|
|
22
23
|
* @see {@link DescribeVolumesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
24
25
|
*
|
|
25
26
|
*/
|
|
26
27
|
export declare class DescribeVolumesCommand extends $Command<DescribeVolumesCommandInput, DescribeVolumesCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -28,7 +28,7 @@ export interface DisassociateFileSystemAliasesCommandOutput extends Disassociate
|
|
|
28
28
|
*
|
|
29
29
|
* @see {@link DisassociateFileSystemAliasesCommandInput} for command's `input` shape.
|
|
30
30
|
* @see {@link DisassociateFileSystemAliasesCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
31
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
export declare class DisassociateFileSystemAliasesCommand extends $Command<DisassociateFileSystemAliasesCommandInput, DisassociateFileSystemAliasesCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -48,7 +48,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
48
48
|
*
|
|
49
49
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
50
50
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
51
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
52
52
|
*
|
|
53
53
|
*/
|
|
54
54
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { ReleaseFileSystemNfsV3LocksRequest, ReleaseFileSystemNfsV3LocksResponse } from "../models/models_0";
|
|
5
|
+
export interface ReleaseFileSystemNfsV3LocksCommandInput extends ReleaseFileSystemNfsV3LocksRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ReleaseFileSystemNfsV3LocksCommandOutput extends ReleaseFileSystemNfsV3LocksResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Releases the file system lock from an Amazon FSx for OpenZFS file
|
|
11
|
+
* system.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { FSxClient, ReleaseFileSystemNfsV3LocksCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
16
|
+
* // const { FSxClient, ReleaseFileSystemNfsV3LocksCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
17
|
+
* const client = new FSxClient(config);
|
|
18
|
+
* const command = new ReleaseFileSystemNfsV3LocksCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ReleaseFileSystemNfsV3LocksCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ReleaseFileSystemNfsV3LocksCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ReleaseFileSystemNfsV3LocksCommand extends $Command<ReleaseFileSystemNfsV3LocksCommandInput, ReleaseFileSystemNfsV3LocksCommandOutput, FSxClientResolvedConfig> {
|
|
28
|
+
readonly input: ReleaseFileSystemNfsV3LocksCommandInput;
|
|
29
|
+
constructor(input: ReleaseFileSystemNfsV3LocksCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ReleaseFileSystemNfsV3LocksCommandInput, ReleaseFileSystemNfsV3LocksCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { RestoreVolumeFromSnapshotRequest, RestoreVolumeFromSnapshotResponse } from "../models/models_0";
|
|
5
|
+
export interface RestoreVolumeFromSnapshotCommandInput extends RestoreVolumeFromSnapshotRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface RestoreVolumeFromSnapshotCommandOutput extends RestoreVolumeFromSnapshotResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns an Amazon FSx for OpenZFS volume to the state saved by the specified
|
|
11
|
+
* snapshot. </p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { FSxClient, RestoreVolumeFromSnapshotCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
16
|
+
* // const { FSxClient, RestoreVolumeFromSnapshotCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
17
|
+
* const client = new FSxClient(config);
|
|
18
|
+
* const command = new RestoreVolumeFromSnapshotCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link RestoreVolumeFromSnapshotCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link RestoreVolumeFromSnapshotCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class RestoreVolumeFromSnapshotCommand extends $Command<RestoreVolumeFromSnapshotCommandInput, RestoreVolumeFromSnapshotCommandOutput, FSxClientResolvedConfig> {
|
|
28
|
+
readonly input: RestoreVolumeFromSnapshotCommandInput;
|
|
29
|
+
constructor(input: RestoreVolumeFromSnapshotCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreVolumeFromSnapshotCommandInput, RestoreVolumeFromSnapshotCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link FSxClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, FSxClientResolvedConfig> {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { FSxClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FSxClient";
|
|
4
|
+
import { UpdateDataRepositoryAssociationRequest, UpdateDataRepositoryAssociationResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateDataRepositoryAssociationCommandInput extends UpdateDataRepositoryAssociationRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateDataRepositoryAssociationCommandOutput extends UpdateDataRepositoryAssociationResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the configuration of an existing data repository association
|
|
11
|
+
* on an Amazon FSx for Lustre file system. Data repository associations are
|
|
12
|
+
* supported only for file systems with the <code>Persistent_2</code> deployment type.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { FSxClient, UpdateDataRepositoryAssociationCommand } from "@aws-sdk/client-fsx"; // ES Modules import
|
|
17
|
+
* // const { FSxClient, UpdateDataRepositoryAssociationCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
|
|
18
|
+
* const client = new FSxClient(config);
|
|
19
|
+
* const command = new UpdateDataRepositoryAssociationCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UpdateDataRepositoryAssociationCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UpdateDataRepositoryAssociationCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UpdateDataRepositoryAssociationCommand extends $Command<UpdateDataRepositoryAssociationCommandInput, UpdateDataRepositoryAssociationCommandOutput, FSxClientResolvedConfig> {
|
|
29
|
+
readonly input: UpdateDataRepositoryAssociationCommandInput;
|
|
30
|
+
constructor(input: UpdateDataRepositoryAssociationCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDataRepositoryAssociationCommandInput, UpdateDataRepositoryAssociationCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|