@aws-sdk/client-fsx 3.288.0 → 3.290.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 (42) hide show
  1. package/dist-types/commands/AssociateFileSystemAliasesCommand.d.ts +10 -0
  2. package/dist-types/commands/CancelDataRepositoryTaskCommand.d.ts +16 -0
  3. package/dist-types/commands/CopyBackupCommand.d.ts +86 -0
  4. package/dist-types/commands/CreateBackupCommand.d.ts +75 -0
  5. package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +22 -0
  6. package/dist-types/commands/CreateDataRepositoryTaskCommand.d.ts +26 -0
  7. package/dist-types/commands/CreateFileCacheCommand.d.ts +25 -0
  8. package/dist-types/commands/CreateFileSystemCommand.d.ts +109 -0
  9. package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +89 -0
  10. package/dist-types/commands/CreateSnapshotCommand.d.ts +14 -0
  11. package/dist-types/commands/CreateStorageVirtualMachineCommand.d.ts +25 -0
  12. package/dist-types/commands/CreateVolumeCommand.d.ts +28 -0
  13. package/dist-types/commands/CreateVolumeFromBackupCommand.d.ts +28 -0
  14. package/dist-types/commands/DeleteBackupCommand.d.ts +43 -0
  15. package/dist-types/commands/DeleteDataRepositoryAssociationCommand.d.ts +19 -0
  16. package/dist-types/commands/DeleteFileCacheCommand.d.ts +19 -0
  17. package/dist-types/commands/DeleteFileSystemCommand.d.ts +36 -0
  18. package/dist-types/commands/DeleteSnapshotCommand.d.ts +10 -0
  19. package/dist-types/commands/DeleteStorageVirtualMachineCommand.d.ts +15 -0
  20. package/dist-types/commands/DeleteVolumeCommand.d.ts +15 -0
  21. package/dist-types/commands/DescribeBackupsCommand.d.ts +55 -0
  22. package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +16 -0
  23. package/dist-types/commands/DescribeDataRepositoryTasksCommand.d.ts +13 -0
  24. package/dist-types/commands/DescribeFileCachesCommand.d.ts +10 -0
  25. package/dist-types/commands/DescribeFileSystemAliasesCommand.d.ts +10 -0
  26. package/dist-types/commands/DescribeFileSystemsCommand.d.ts +55 -0
  27. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +10 -0
  28. package/dist-types/commands/DescribeStorageVirtualMachinesCommand.d.ts +10 -0
  29. package/dist-types/commands/DescribeVolumesCommand.d.ts +10 -0
  30. package/dist-types/commands/DisassociateFileSystemAliasesCommand.d.ts +10 -0
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +38 -0
  32. package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +19 -0
  33. package/dist-types/commands/RestoreVolumeFromSnapshotCommand.d.ts +10 -0
  34. package/dist-types/commands/TagResourceCommand.d.ts +34 -0
  35. package/dist-types/commands/UntagResourceCommand.d.ts +31 -0
  36. package/dist-types/commands/UpdateDataRepositoryAssociationCommand.d.ts +19 -0
  37. package/dist-types/commands/UpdateFileCacheCommand.d.ts +25 -0
  38. package/dist-types/commands/UpdateFileSystemCommand.d.ts +74 -0
  39. package/dist-types/commands/UpdateSnapshotCommand.d.ts +10 -0
  40. package/dist-types/commands/UpdateStorageVirtualMachineCommand.d.ts +18 -0
  41. package/dist-types/commands/UpdateVolumeCommand.d.ts +18 -0
  42. package/package.json +29 -29
@@ -31,6 +31,25 @@ export interface UpdateDataRepositoryAssociationCommandOutput extends UpdateData
31
31
  * @see {@link UpdateDataRepositoryAssociationCommandOutput} for command's `response` shape.
32
32
  * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
33
33
  *
34
+ * @throws {@link BadRequest} (client fault)
35
+ * <p>A generic error indicating a failure with a client request.</p>
36
+ *
37
+ * @throws {@link DataRepositoryAssociationNotFound} (client fault)
38
+ * <p>No data repository associations were found based upon the supplied parameters.</p>
39
+ *
40
+ * @throws {@link IncompatibleParameterError} (client fault)
41
+ * <p>The error returned when a second request is received with the same client request
42
+ * token but different parameters settings. A client request token should always uniquely
43
+ * identify a single request.</p>
44
+ *
45
+ * @throws {@link InternalServerError} (server fault)
46
+ * <p>A generic error indicating a server-side failure.</p>
47
+ *
48
+ * @throws {@link ServiceLimitExceeded} (client fault)
49
+ * <p>An error indicating that a particular service limit was exceeded. You can increase
50
+ * some service limits by contacting Amazon Web Services Support.</p>
51
+ *
52
+ *
34
53
  */
35
54
  export declare class UpdateDataRepositoryAssociationCommand extends $Command<UpdateDataRepositoryAssociationCommandInput, UpdateDataRepositoryAssociationCommandOutput, FSxClientResolvedConfig> {
36
55
  readonly input: UpdateDataRepositoryAssociationCommandInput;
@@ -30,6 +30,31 @@ export interface UpdateFileCacheCommandOutput extends UpdateFileCacheResponse, _
30
30
  * @see {@link UpdateFileCacheCommandOutput} for command's `response` shape.
31
31
  * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
32
32
  *
33
+ * @throws {@link BadRequest} (client fault)
34
+ * <p>A generic error indicating a failure with a client request.</p>
35
+ *
36
+ * @throws {@link FileCacheNotFound} (client fault)
37
+ * <p>No caches were found based upon supplied parameters.</p>
38
+ *
39
+ * @throws {@link IncompatibleParameterError} (client fault)
40
+ * <p>The error returned when a second request is received with the same client request
41
+ * token but different parameters settings. A client request token should always uniquely
42
+ * identify a single request.</p>
43
+ *
44
+ * @throws {@link InternalServerError} (server fault)
45
+ * <p>A generic error indicating a server-side failure.</p>
46
+ *
47
+ * @throws {@link MissingFileCacheConfiguration} (client fault)
48
+ * <p>A cache configuration is required for this operation.</p>
49
+ *
50
+ * @throws {@link ServiceLimitExceeded} (client fault)
51
+ * <p>An error indicating that a particular service limit was exceeded. You can increase
52
+ * some service limits by contacting Amazon Web Services Support.</p>
53
+ *
54
+ * @throws {@link UnsupportedOperation} (client fault)
55
+ * <p>The requested operation is not supported for this resource or API.</p>
56
+ *
57
+ *
33
58
  */
34
59
  export declare class UpdateFileCacheCommand extends $Command<UpdateFileCacheCommandInput, UpdateFileCacheCommandOutput, FSxClientResolvedConfig> {
35
60
  readonly input: UpdateFileCacheCommandInput;
@@ -181,6 +181,80 @@ export interface UpdateFileSystemCommandOutput extends UpdateFileSystemResponse,
181
181
  * @see {@link UpdateFileSystemCommandOutput} for command's `response` shape.
182
182
  * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
183
183
  *
184
+ * @throws {@link BadRequest} (client fault)
185
+ * <p>A generic error indicating a failure with a client request.</p>
186
+ *
187
+ * @throws {@link FileSystemNotFound} (client fault)
188
+ * <p>No Amazon FSx file systems were found based upon supplied parameters.</p>
189
+ *
190
+ * @throws {@link IncompatibleParameterError} (client fault)
191
+ * <p>The error returned when a second request is received with the same client request
192
+ * token but different parameters settings. A client request token should always uniquely
193
+ * identify a single request.</p>
194
+ *
195
+ * @throws {@link InternalServerError} (server fault)
196
+ * <p>A generic error indicating a server-side failure.</p>
197
+ *
198
+ * @throws {@link InvalidNetworkSettings} (client fault)
199
+ * <p>One or more network settings specified in the request are invalid.</p>
200
+ *
201
+ * @throws {@link MissingFileSystemConfiguration} (client fault)
202
+ * <p>A file system configuration is required for this operation.</p>
203
+ *
204
+ * @throws {@link ServiceLimitExceeded} (client fault)
205
+ * <p>An error indicating that a particular service limit was exceeded. You can increase
206
+ * some service limits by contacting Amazon Web Services Support.</p>
207
+ *
208
+ * @throws {@link UnsupportedOperation} (client fault)
209
+ * <p>The requested operation is not supported for this resource or API.</p>
210
+ *
211
+ *
212
+ * @example To update an existing file system
213
+ * ```javascript
214
+ * // This operation updates an existing file system.
215
+ * const input = {
216
+ * "FileSystemId": "fs-0498eed5fe91001ec",
217
+ * "WindowsConfiguration": {
218
+ * "AutomaticBackupRetentionDays": 10,
219
+ * "DailyAutomaticBackupStartTime": "06:00",
220
+ * "WeeklyMaintenanceStartTime": "3:06:00"
221
+ * }
222
+ * };
223
+ * const command = new UpdateFileSystemCommand(input);
224
+ * const response = await client.send(command);
225
+ * /* response ==
226
+ * {
227
+ * "FileSystem": {
228
+ * "CreationTime": "1481841524.0",
229
+ * "DNSName": "fs-0498eed5fe91001ec.fsx.com",
230
+ * "FileSystemId": "fs-0498eed5fe91001ec",
231
+ * "KmsKeyId": "arn:aws:kms:us-east-1:012345678912:key/0ff3ea8d-130e-4133-877f-93908b6fdbd6",
232
+ * "Lifecycle": "AVAILABLE",
233
+ * "OwnerId": "012345678912",
234
+ * "ResourceARN": "arn:aws:fsx:us-east-1:012345678912:file-system/fs-0498eed5fe91001ec",
235
+ * "StorageCapacity": 300,
236
+ * "SubnetIds": [
237
+ * "subnet-1234abcd"
238
+ * ],
239
+ * "Tags": [
240
+ * {
241
+ * "Key": "Name",
242
+ * "Value": "MyFileSystem"
243
+ * }
244
+ * ],
245
+ * "VpcId": "vpc-ab1234cd",
246
+ * "WindowsConfiguration": {
247
+ * "AutomaticBackupRetentionDays": 10,
248
+ * "DailyAutomaticBackupStartTime": "06:00",
249
+ * "ThroughputCapacity": 8,
250
+ * "WeeklyMaintenanceStartTime": "3:06:00"
251
+ * }
252
+ * }
253
+ * }
254
+ * *\/
255
+ * // example id: to-update-a-file-system-1481840798595
256
+ * ```
257
+ *
184
258
  */
185
259
  export declare class UpdateFileSystemCommand extends $Command<UpdateFileSystemCommandInput, UpdateFileSystemCommandOutput, FSxClientResolvedConfig> {
186
260
  readonly input: UpdateFileSystemCommandInput;
@@ -29,6 +29,16 @@ export interface UpdateSnapshotCommandOutput extends UpdateSnapshotResponse, __M
29
29
  * @see {@link UpdateSnapshotCommandOutput} for command's `response` shape.
30
30
  * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequest} (client fault)
33
+ * <p>A generic error indicating a failure with a client request.</p>
34
+ *
35
+ * @throws {@link InternalServerError} (server fault)
36
+ * <p>A generic error indicating a server-side failure.</p>
37
+ *
38
+ * @throws {@link SnapshotNotFound} (client fault)
39
+ * <p>No Amazon FSx snapshots were found based on the supplied parameters.</p>
40
+ *
41
+ *
32
42
  */
33
43
  export declare class UpdateSnapshotCommand extends $Command<UpdateSnapshotCommandInput, UpdateSnapshotCommandOutput, FSxClientResolvedConfig> {
34
44
  readonly input: UpdateSnapshotCommandInput;
@@ -29,6 +29,24 @@ export interface UpdateStorageVirtualMachineCommandOutput extends UpdateStorageV
29
29
  * @see {@link UpdateStorageVirtualMachineCommandOutput} for command's `response` shape.
30
30
  * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequest} (client fault)
33
+ * <p>A generic error indicating a failure with a client request.</p>
34
+ *
35
+ * @throws {@link IncompatibleParameterError} (client fault)
36
+ * <p>The error returned when a second request is received with the same client request
37
+ * token but different parameters settings. A client request token should always uniquely
38
+ * identify a single request.</p>
39
+ *
40
+ * @throws {@link InternalServerError} (server fault)
41
+ * <p>A generic error indicating a server-side failure.</p>
42
+ *
43
+ * @throws {@link StorageVirtualMachineNotFound} (client fault)
44
+ * <p>No FSx for ONTAP SVMs were found based upon the supplied parameters.</p>
45
+ *
46
+ * @throws {@link UnsupportedOperation} (client fault)
47
+ * <p>The requested operation is not supported for this resource or API.</p>
48
+ *
49
+ *
32
50
  */
33
51
  export declare class UpdateStorageVirtualMachineCommand extends $Command<UpdateStorageVirtualMachineCommandInput, UpdateStorageVirtualMachineCommandOutput, FSxClientResolvedConfig> {
34
52
  readonly input: UpdateStorageVirtualMachineCommandInput;
@@ -29,6 +29,24 @@ export interface UpdateVolumeCommandOutput extends UpdateVolumeResponse, __Metad
29
29
  * @see {@link UpdateVolumeCommandOutput} for command's `response` shape.
30
30
  * @see {@link FSxClientResolvedConfig | config} for FSxClient's `config` shape.
31
31
  *
32
+ * @throws {@link BadRequest} (client fault)
33
+ * <p>A generic error indicating a failure with a client request.</p>
34
+ *
35
+ * @throws {@link IncompatibleParameterError} (client fault)
36
+ * <p>The error returned when a second request is received with the same client request
37
+ * token but different parameters settings. A client request token should always uniquely
38
+ * identify a single request.</p>
39
+ *
40
+ * @throws {@link InternalServerError} (server fault)
41
+ * <p>A generic error indicating a server-side failure.</p>
42
+ *
43
+ * @throws {@link MissingVolumeConfiguration} (client fault)
44
+ * <p>A volume configuration is required for this operation.</p>
45
+ *
46
+ * @throws {@link VolumeNotFound} (client fault)
47
+ * <p>No Amazon FSx volumes were found based upon the supplied parameters.</p>
48
+ *
49
+ *
32
50
  */
33
51
  export declare class UpdateVolumeCommand extends $Command<UpdateVolumeCommandInput, UpdateVolumeCommandOutput, FSxClientResolvedConfig> {
34
52
  readonly input: UpdateVolumeCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-fsx",
3
3
  "description": "AWS SDK for JavaScript Fsx Client for Node.js, Browser and React Native",
4
- "version": "3.288.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"