@aws-sdk/client-fsx 3.43.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/FSx.js +150 -0
  3. package/dist-cjs/commands/CreateDataRepositoryAssociationCommand.js +36 -0
  4. package/dist-cjs/commands/CreateSnapshotCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteDataRepositoryAssociationCommand.js +36 -0
  6. package/dist-cjs/commands/DeleteSnapshotCommand.js +36 -0
  7. package/dist-cjs/commands/DescribeDataRepositoryAssociationsCommand.js +36 -0
  8. package/dist-cjs/commands/DescribeSnapshotsCommand.js +36 -0
  9. package/dist-cjs/commands/ReleaseFileSystemNfsV3LocksCommand.js +36 -0
  10. package/dist-cjs/commands/RestoreVolumeFromSnapshotCommand.js +36 -0
  11. package/dist-cjs/commands/UpdateDataRepositoryAssociationCommand.js +36 -0
  12. package/dist-cjs/commands/UpdateSnapshotCommand.js +36 -0
  13. package/dist-cjs/commands/index.js +10 -0
  14. package/dist-cjs/models/models_0.js +386 -44
  15. package/dist-cjs/pagination/DescribeDataRepositoryAssociationsPaginator.js +35 -0
  16. package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +35 -0
  17. package/dist-cjs/pagination/index.js +2 -0
  18. package/dist-cjs/protocols/Aws_json1_1.js +1745 -131
  19. package/dist-es/FSx.js +150 -0
  20. package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +39 -0
  21. package/dist-es/commands/CreateSnapshotCommand.js +39 -0
  22. package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +39 -0
  23. package/dist-es/commands/DeleteSnapshotCommand.js +39 -0
  24. package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +39 -0
  25. package/dist-es/commands/DescribeSnapshotsCommand.js +39 -0
  26. package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +39 -0
  27. package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +39 -0
  28. package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +39 -0
  29. package/dist-es/commands/UpdateSnapshotCommand.js +39 -0
  30. package/dist-es/commands/index.js +10 -0
  31. package/dist-es/models/models_0.js +277 -28
  32. package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +74 -0
  33. package/dist-es/pagination/DescribeSnapshotsPaginator.js +74 -0
  34. package/dist-es/pagination/index.js +2 -0
  35. package/dist-es/protocols/Aws_json1_1.js +1653 -74
  36. package/dist-types/FSx.d.ts +406 -146
  37. package/dist-types/FSxClient.d.ts +12 -2
  38. package/dist-types/commands/CopyBackupCommand.d.ts +12 -12
  39. package/dist-types/commands/CreateBackupCommand.d.ts +27 -25
  40. package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +45 -0
  41. package/dist-types/commands/CreateDataRepositoryTaskCommand.d.ts +6 -5
  42. package/dist-types/commands/CreateFileSystemCommand.d.ts +36 -16
  43. package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +14 -14
  44. package/dist-types/commands/CreateSnapshotCommand.d.ts +62 -0
  45. package/dist-types/commands/CreateVolumeCommand.d.ts +2 -1
  46. package/dist-types/commands/DeleteBackupCommand.d.ts +4 -3
  47. package/dist-types/commands/DeleteDataRepositoryAssociationCommand.d.ts +41 -0
  48. package/dist-types/commands/DeleteFileSystemCommand.d.ts +14 -15
  49. package/dist-types/commands/DeleteSnapshotCommand.d.ts +39 -0
  50. package/dist-types/commands/DeleteVolumeCommand.d.ts +2 -4
  51. package/dist-types/commands/DescribeBackupsCommand.d.ts +17 -18
  52. package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +53 -0
  53. package/dist-types/commands/DescribeFileSystemsCommand.d.ts +9 -9
  54. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +61 -0
  55. package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -1
  56. package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +36 -0
  57. package/dist-types/commands/RestoreVolumeFromSnapshotCommand.d.ts +36 -0
  58. package/dist-types/commands/UpdateDataRepositoryAssociationCommand.d.ts +37 -0
  59. package/dist-types/commands/UpdateFileSystemCommand.d.ts +95 -22
  60. package/dist-types/commands/UpdateSnapshotCommand.d.ts +35 -0
  61. package/dist-types/commands/UpdateVolumeCommand.d.ts +1 -1
  62. package/dist-types/commands/index.d.ts +10 -0
  63. package/dist-types/models/models_0.d.ts +2705 -649
  64. package/dist-types/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
  65. package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
  66. package/dist-types/pagination/index.d.ts +2 -0
  67. package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
  68. package/dist-types/ts3.4/FSx.d.ts +50 -0
  69. package/dist-types/ts3.4/FSxClient.d.ts +12 -2
  70. package/dist-types/ts3.4/commands/CreateDataRepositoryAssociationCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/DeleteDataRepositoryAssociationCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/DescribeDataRepositoryAssociationsCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/RestoreVolumeFromSnapshotCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/UpdateDataRepositoryAssociationCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  81. package/dist-types/ts3.4/models/models_0.d.ts +790 -81
  82. package/dist-types/ts3.4/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
  83. package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
  84. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  85. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
  86. package/package.json +1 -1
@@ -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 volume. When deleting a volume,
11
- * you have the option of creating a final backup. If you create a final backup, you have the option to
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
@@ -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 backups, if
11
- * a <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
13
- * of the endpoint that you're calling.</p>
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
- * FSx returns a <code>NextToken</code> value in the response. In this case, send a later
18
- * request with the <code>NextToken</code> request parameter set to the value of
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 action is used in an iterative process to retrieve a list of your backups.
22
- * <code>DescribeBackups</code> is called first without a <code>NextToken</code>value.
23
- * Then the action continues to be called with the <code>NextToken</code> parameter set to
24
- * the value of the last <code>NextToken</code> value until a response has no
25
- * <code>NextToken</code>.</p>
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 action, keep the following in mind:</p>
26
+ * <p>When using this operation, keep the following in mind:</p>
28
27
  * <ul>
29
28
  * <li>
30
- * <p>The implementation might return fewer than <code>MaxResults</code>
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 across
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
@@ -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
+ }
@@ -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
- * the Amazon Web Services Region of the endpoint that you're calling.</p>
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 <code>NextToken</code>
18
- * value in the response. In this case, send a later request with the
19
- * <code>NextToken</code> request parameter set to the value of <code>NextToken</code>
20
- * from the last response.</p>
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 action is used in an iterative process to retrieve a list of your file system
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 action continues to be called with 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 action, keep the following in mind:</p>
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
@@ -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
+ }
@@ -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 volumes.</p>
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
@@ -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
+ }
@@ -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
+ }
@@ -7,69 +7,142 @@ export interface UpdateFileSystemCommandInput extends UpdateFileSystemRequest {
7
7
  export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Use this operation to update the configuration of an existing Amazon FSx file system.
11
- * You can update multiple properties in a single request.</p>
10
+ * <p>Use this operation to update the configuration of an existing Amazon FSx file
11
+ * system. You can update multiple properties in a single request.</p>
12
12
  * <p>For Amazon FSx for Windows File Server file systems, you can update the following
13
- * properties:</p>
13
+ * properties:</p>
14
14
  * <ul>
15
15
  * <li>
16
- * <p>AuditLogConfiguration</p>
16
+ * <p>
17
+ * <code>AuditLogConfiguration</code>
18
+ * </p>
17
19
  * </li>
18
20
  * <li>
19
- * <p>AutomaticBackupRetentionDays</p>
21
+ * <p>
22
+ * <code>AutomaticBackupRetentionDays</code>
23
+ * </p>
20
24
  * </li>
21
25
  * <li>
22
- * <p>DailyAutomaticBackupStartTime</p>
26
+ * <p>
27
+ * <code>DailyAutomaticBackupStartTime</code>
28
+ * </p>
23
29
  * </li>
24
30
  * <li>
25
- * <p>SelfManagedActiveDirectoryConfiguration</p>
31
+ * <p>
32
+ * <code>SelfManagedActiveDirectoryConfiguration</code>
33
+ * </p>
26
34
  * </li>
27
35
  * <li>
28
- * <p>StorageCapacity</p>
36
+ * <p>
37
+ * <code>StorageCapacity</code>
38
+ * </p>
29
39
  * </li>
30
40
  * <li>
31
- * <p>ThroughputCapacity</p>
41
+ * <p>
42
+ * <code>ThroughputCapacity</code>
43
+ * </p>
32
44
  * </li>
33
45
  * <li>
34
- * <p>WeeklyMaintenanceStartTime</p>
46
+ * <p>
47
+ * <code>WeeklyMaintenanceStartTime</code>
48
+ * </p>
35
49
  * </li>
36
50
  * </ul>
37
- * <p>For Amazon FSx for Lustre file systems, you can update the following
51
+ * <p>For FSx for Lustre file systems, you can update the following
38
52
  * properties:</p>
39
53
  * <ul>
40
54
  * <li>
41
- * <p>AutoImportPolicy</p>
55
+ * <p>
56
+ * <code>AutoImportPolicy</code>
57
+ * </p>
58
+ * </li>
59
+ * <li>
60
+ * <p>
61
+ * <code>AutomaticBackupRetentionDays</code>
62
+ * </p>
63
+ * </li>
64
+ * <li>
65
+ * <p>
66
+ * <code>DailyAutomaticBackupStartTime</code>
67
+ * </p>
68
+ * </li>
69
+ * <li>
70
+ * <p>
71
+ * <code>DataCompressionType</code>
72
+ * </p>
73
+ * </li>
74
+ * <li>
75
+ * <p>
76
+ * <code>StorageCapacity</code>
77
+ * </p>
42
78
  * </li>
43
79
  * <li>
44
- * <p>AutomaticBackupRetentionDays</p>
80
+ * <p>
81
+ * <code>WeeklyMaintenanceStartTime</code>
82
+ * </p>
45
83
  * </li>
84
+ * </ul>
85
+ * <p>For FSx for ONTAP file systems, you can update the following
86
+ * properties:</p>
87
+ * <ul>
46
88
  * <li>
47
- * <p>DailyAutomaticBackupStartTime</p>
89
+ * <p>
90
+ * <code>AutomaticBackupRetentionDays</code>
91
+ * </p>
48
92
  * </li>
49
93
  * <li>
50
- * <p>DataCompressionType</p>
94
+ * <p>
95
+ * <code>DailyAutomaticBackupStartTime</code>
96
+ * </p>
51
97
  * </li>
52
98
  * <li>
53
- * <p>StorageCapacity</p>
99
+ * <p>
100
+ * <code>FsxAdminPassword</code>
101
+ * </p>
54
102
  * </li>
55
103
  * <li>
56
- * <p>WeeklyMaintenanceStartTime</p>
104
+ * <p>
105
+ * <code>WeeklyMaintenanceStartTime</code>
106
+ * </p>
57
107
  * </li>
58
108
  * </ul>
59
- * <p>For Amazon FSx for NetApp ONTAP file systems, you can update the following
109
+ * <p>For the Amazon FSx for OpenZFS file systems, you can update the following
60
110
  * properties:</p>
61
111
  * <ul>
62
112
  * <li>
63
- * <p>AutomaticBackupRetentionDays</p>
113
+ * <p>
114
+ * <code>AutomaticBackupRetentionDays</code>
115
+ * </p>
116
+ * </li>
117
+ * <li>
118
+ * <p>
119
+ * <code>CopyTagsToBackups</code>
120
+ * </p>
121
+ * </li>
122
+ * <li>
123
+ * <p>
124
+ * <code>CopyTagsToVolumes</code>
125
+ * </p>
126
+ * </li>
127
+ * <li>
128
+ * <p>
129
+ * <code>DailyAutomaticBackupStartTime</code>
130
+ * </p>
64
131
  * </li>
65
132
  * <li>
66
- * <p>DailyAutomaticBackupStartTime</p>
133
+ * <p>
134
+ * <code>DiskIopsConfiguration</code>
135
+ * </p>
67
136
  * </li>
68
137
  * <li>
69
- * <p>FsxAdminPassword</p>
138
+ * <p>
139
+ * <code>ThroughputCapacity</code>
140
+ * </p>
70
141
  * </li>
71
142
  * <li>
72
- * <p>WeeklyMaintenanceStartTime</p>
143
+ * <p>
144
+ * <code>WeeklyMaintenanceStartTime</code>
145
+ * </p>
73
146
  * </li>
74
147
  * </ul>
75
148
  * @example
@@ -0,0 +1,35 @@
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 { UpdateSnapshotRequest, UpdateSnapshotResponse } from "../models/models_0";
5
+ export interface UpdateSnapshotCommandInput extends UpdateSnapshotRequest {
6
+ }
7
+ export interface UpdateSnapshotCommandOutput extends UpdateSnapshotResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Updates the name of a snapshot. </p>
11
+ * @example
12
+ * Use a bare-bones client and the command you need to make an API call.
13
+ * ```javascript
14
+ * import { FSxClient, UpdateSnapshotCommand } from "@aws-sdk/client-fsx"; // ES Modules import
15
+ * // const { FSxClient, UpdateSnapshotCommand } = require("@aws-sdk/client-fsx"); // CommonJS import
16
+ * const client = new FSxClient(config);
17
+ * const command = new UpdateSnapshotCommand(input);
18
+ * const response = await client.send(command);
19
+ * ```
20
+ *
21
+ * @see {@link UpdateSnapshotCommandInput} for command's `input` shape.
22
+ * @see {@link UpdateSnapshotCommandOutput} for command's `response` shape.
23
+ * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
24
+ *
25
+ */
26
+ export declare class UpdateSnapshotCommand extends $Command<UpdateSnapshotCommandInput, UpdateSnapshotCommandOutput, FSxClientResolvedConfig> {
27
+ readonly input: UpdateSnapshotCommandInput;
28
+ constructor(input: UpdateSnapshotCommandInput);
29
+ /**
30
+ * @internal
31
+ */
32
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FSxClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSnapshotCommandInput, UpdateSnapshotCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -7,7 +7,7 @@ export interface UpdateVolumeCommandInput extends UpdateVolumeRequest {
7
7
  export interface UpdateVolumeCommandOutput extends UpdateVolumeResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates an Amazon FSx for NetApp ONTAP volume's configuration.</p>
10
+ * <p>Updates the configuration of an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.</p>
11
11
  * @example
12
12
  * Use a bare-bones client and the command you need to make an API call.
13
13
  * ```javascript
@@ -2,26 +2,36 @@ export * from "./AssociateFileSystemAliasesCommand";
2
2
  export * from "./CancelDataRepositoryTaskCommand";
3
3
  export * from "./CopyBackupCommand";
4
4
  export * from "./CreateBackupCommand";
5
+ export * from "./CreateDataRepositoryAssociationCommand";
5
6
  export * from "./CreateDataRepositoryTaskCommand";
6
7
  export * from "./CreateFileSystemCommand";
7
8
  export * from "./CreateFileSystemFromBackupCommand";
9
+ export * from "./CreateSnapshotCommand";
8
10
  export * from "./CreateStorageVirtualMachineCommand";
9
11
  export * from "./CreateVolumeCommand";
10
12
  export * from "./CreateVolumeFromBackupCommand";
11
13
  export * from "./DeleteBackupCommand";
14
+ export * from "./DeleteDataRepositoryAssociationCommand";
12
15
  export * from "./DeleteFileSystemCommand";
16
+ export * from "./DeleteSnapshotCommand";
13
17
  export * from "./DeleteStorageVirtualMachineCommand";
14
18
  export * from "./DeleteVolumeCommand";
15
19
  export * from "./DescribeBackupsCommand";
20
+ export * from "./DescribeDataRepositoryAssociationsCommand";
16
21
  export * from "./DescribeDataRepositoryTasksCommand";
17
22
  export * from "./DescribeFileSystemAliasesCommand";
18
23
  export * from "./DescribeFileSystemsCommand";
24
+ export * from "./DescribeSnapshotsCommand";
19
25
  export * from "./DescribeStorageVirtualMachinesCommand";
20
26
  export * from "./DescribeVolumesCommand";
21
27
  export * from "./DisassociateFileSystemAliasesCommand";
22
28
  export * from "./ListTagsForResourceCommand";
29
+ export * from "./ReleaseFileSystemNfsV3LocksCommand";
30
+ export * from "./RestoreVolumeFromSnapshotCommand";
23
31
  export * from "./TagResourceCommand";
24
32
  export * from "./UntagResourceCommand";
33
+ export * from "./UpdateDataRepositoryAssociationCommand";
25
34
  export * from "./UpdateFileSystemCommand";
35
+ export * from "./UpdateSnapshotCommand";
26
36
  export * from "./UpdateStorageVirtualMachineCommand";
27
37
  export * from "./UpdateVolumeCommand";