@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.
Files changed (101) hide show
  1. package/CHANGELOG.md +38 -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/endpoints.js +8 -0
  15. package/dist-cjs/models/models_0.js +386 -44
  16. package/dist-cjs/pagination/DescribeDataRepositoryAssociationsPaginator.js +35 -0
  17. package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +35 -0
  18. package/dist-cjs/pagination/index.js +2 -0
  19. package/dist-cjs/protocols/Aws_json1_1.js +1745 -131
  20. package/dist-es/FSx.js +150 -0
  21. package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +39 -0
  22. package/dist-es/commands/CreateSnapshotCommand.js +39 -0
  23. package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +39 -0
  24. package/dist-es/commands/DeleteSnapshotCommand.js +39 -0
  25. package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +39 -0
  26. package/dist-es/commands/DescribeSnapshotsCommand.js +39 -0
  27. package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +39 -0
  28. package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +39 -0
  29. package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +39 -0
  30. package/dist-es/commands/UpdateSnapshotCommand.js +39 -0
  31. package/dist-es/commands/index.js +10 -0
  32. package/dist-es/endpoints.js +8 -0
  33. package/dist-es/models/models_0.js +277 -28
  34. package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +74 -0
  35. package/dist-es/pagination/DescribeSnapshotsPaginator.js +74 -0
  36. package/dist-es/pagination/index.js +2 -0
  37. package/dist-es/protocols/Aws_json1_1.js +1653 -74
  38. package/dist-types/FSx.d.ts +406 -146
  39. package/dist-types/FSxClient.d.ts +12 -2
  40. package/dist-types/commands/AssociateFileSystemAliasesCommand.d.ts +1 -1
  41. package/dist-types/commands/CancelDataRepositoryTaskCommand.d.ts +1 -1
  42. package/dist-types/commands/CopyBackupCommand.d.ts +13 -13
  43. package/dist-types/commands/CreateBackupCommand.d.ts +28 -26
  44. package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +45 -0
  45. package/dist-types/commands/CreateDataRepositoryTaskCommand.d.ts +7 -6
  46. package/dist-types/commands/CreateFileSystemCommand.d.ts +37 -17
  47. package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +15 -15
  48. package/dist-types/commands/CreateSnapshotCommand.d.ts +62 -0
  49. package/dist-types/commands/CreateStorageVirtualMachineCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateVolumeCommand.d.ts +3 -2
  51. package/dist-types/commands/CreateVolumeFromBackupCommand.d.ts +1 -1
  52. package/dist-types/commands/DeleteBackupCommand.d.ts +5 -4
  53. package/dist-types/commands/DeleteDataRepositoryAssociationCommand.d.ts +41 -0
  54. package/dist-types/commands/DeleteFileSystemCommand.d.ts +15 -16
  55. package/dist-types/commands/DeleteSnapshotCommand.d.ts +39 -0
  56. package/dist-types/commands/DeleteStorageVirtualMachineCommand.d.ts +1 -1
  57. package/dist-types/commands/DeleteVolumeCommand.d.ts +3 -5
  58. package/dist-types/commands/DescribeBackupsCommand.d.ts +18 -19
  59. package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +53 -0
  60. package/dist-types/commands/DescribeDataRepositoryTasksCommand.d.ts +1 -1
  61. package/dist-types/commands/DescribeFileSystemAliasesCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeFileSystemsCommand.d.ts +10 -10
  63. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +61 -0
  64. package/dist-types/commands/DescribeStorageVirtualMachinesCommand.d.ts +1 -1
  65. package/dist-types/commands/DescribeVolumesCommand.d.ts +3 -2
  66. package/dist-types/commands/DisassociateFileSystemAliasesCommand.d.ts +1 -1
  67. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  68. package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +36 -0
  69. package/dist-types/commands/RestoreVolumeFromSnapshotCommand.d.ts +36 -0
  70. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  71. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  72. package/dist-types/commands/UpdateDataRepositoryAssociationCommand.d.ts +37 -0
  73. package/dist-types/commands/UpdateFileSystemCommand.d.ts +96 -23
  74. package/dist-types/commands/UpdateSnapshotCommand.d.ts +35 -0
  75. package/dist-types/commands/UpdateStorageVirtualMachineCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateVolumeCommand.d.ts +2 -2
  77. package/dist-types/commands/index.d.ts +10 -0
  78. package/dist-types/models/models_0.d.ts +2705 -649
  79. package/dist-types/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
  80. package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
  81. package/dist-types/pagination/index.d.ts +2 -0
  82. package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
  83. package/dist-types/ts3.4/FSx.d.ts +50 -0
  84. package/dist-types/ts3.4/FSxClient.d.ts +12 -2
  85. package/dist-types/ts3.4/commands/CreateDataRepositoryAssociationCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/DeleteDataRepositoryAssociationCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/DescribeDataRepositoryAssociationsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/RestoreVolumeFromSnapshotCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/UpdateDataRepositoryAssociationCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/index.d.ts +10 -0
  96. package/dist-types/ts3.4/models/models_0.d.ts +790 -81
  97. package/dist-types/ts3.4/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
  98. package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
  99. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  100. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
  101. package/package.json +4 -4
@@ -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
@@ -84,7 +157,7 @@ export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse,
84
157
  *
85
158
  * @see {@link UpdateFileSystemCommandInput} for command's `input` shape.
86
159
  * @see {@link UpdateFileSystemCommandOutput} for command's `response` shape.
87
- * @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
160
+ * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
88
161
  *
89
162
  */
90
163
  export declare class UpdateFileSystemCommand extends $Command<UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput, FSxClientResolvedConfig> {
@@ -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
+ }
@@ -20,7 +20,7 @@ export interface UpdateStorageVirtualMachineCommandOutput extends UpdateStorageV
20
20
  *
21
21
  * @see {@link UpdateStorageVirtualMachineCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateStorageVirtualMachineCommandOutput} for command's `response` shape.
23
- * @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UpdateStorageVirtualMachineCommand extends $Command<UpdateStorageVirtualMachineCommandInput, UpdateStorageVirtualMachineCommandOutput, FSxClientResolvedConfig> {
@@ -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
@@ -20,7 +20,7 @@ export interface UpdateVolumeCommandOutput extends UpdateVolumeResponse, __Metad
20
20
  *
21
21
  * @see {@link UpdateVolumeCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateVolumeCommandOutput} for command's `response` shape.
23
- * @see {@link FSxClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class UpdateVolumeCommand extends $Command<UpdateVolumeCommandInput, UpdateVolumeCommandOutput, FSxClientResolvedConfig> {
@@ -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";