@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
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-fsx
package/dist-cjs/FSx.js CHANGED
@@ -5,27 +5,37 @@ const AssociateFileSystemAliasesCommand_1 = require("./commands/AssociateFileSys
5
5
  const CancelDataRepositoryTaskCommand_1 = require("./commands/CancelDataRepositoryTaskCommand");
6
6
  const CopyBackupCommand_1 = require("./commands/CopyBackupCommand");
7
7
  const CreateBackupCommand_1 = require("./commands/CreateBackupCommand");
8
+ const CreateDataRepositoryAssociationCommand_1 = require("./commands/CreateDataRepositoryAssociationCommand");
8
9
  const CreateDataRepositoryTaskCommand_1 = require("./commands/CreateDataRepositoryTaskCommand");
9
10
  const CreateFileSystemCommand_1 = require("./commands/CreateFileSystemCommand");
10
11
  const CreateFileSystemFromBackupCommand_1 = require("./commands/CreateFileSystemFromBackupCommand");
12
+ const CreateSnapshotCommand_1 = require("./commands/CreateSnapshotCommand");
11
13
  const CreateStorageVirtualMachineCommand_1 = require("./commands/CreateStorageVirtualMachineCommand");
12
14
  const CreateVolumeCommand_1 = require("./commands/CreateVolumeCommand");
13
15
  const CreateVolumeFromBackupCommand_1 = require("./commands/CreateVolumeFromBackupCommand");
14
16
  const DeleteBackupCommand_1 = require("./commands/DeleteBackupCommand");
17
+ const DeleteDataRepositoryAssociationCommand_1 = require("./commands/DeleteDataRepositoryAssociationCommand");
15
18
  const DeleteFileSystemCommand_1 = require("./commands/DeleteFileSystemCommand");
19
+ const DeleteSnapshotCommand_1 = require("./commands/DeleteSnapshotCommand");
16
20
  const DeleteStorageVirtualMachineCommand_1 = require("./commands/DeleteStorageVirtualMachineCommand");
17
21
  const DeleteVolumeCommand_1 = require("./commands/DeleteVolumeCommand");
18
22
  const DescribeBackupsCommand_1 = require("./commands/DescribeBackupsCommand");
23
+ const DescribeDataRepositoryAssociationsCommand_1 = require("./commands/DescribeDataRepositoryAssociationsCommand");
19
24
  const DescribeDataRepositoryTasksCommand_1 = require("./commands/DescribeDataRepositoryTasksCommand");
20
25
  const DescribeFileSystemAliasesCommand_1 = require("./commands/DescribeFileSystemAliasesCommand");
21
26
  const DescribeFileSystemsCommand_1 = require("./commands/DescribeFileSystemsCommand");
27
+ const DescribeSnapshotsCommand_1 = require("./commands/DescribeSnapshotsCommand");
22
28
  const DescribeStorageVirtualMachinesCommand_1 = require("./commands/DescribeStorageVirtualMachinesCommand");
23
29
  const DescribeVolumesCommand_1 = require("./commands/DescribeVolumesCommand");
24
30
  const DisassociateFileSystemAliasesCommand_1 = require("./commands/DisassociateFileSystemAliasesCommand");
25
31
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
32
+ const ReleaseFileSystemNfsV3LocksCommand_1 = require("./commands/ReleaseFileSystemNfsV3LocksCommand");
33
+ const RestoreVolumeFromSnapshotCommand_1 = require("./commands/RestoreVolumeFromSnapshotCommand");
26
34
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
27
35
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
36
+ const UpdateDataRepositoryAssociationCommand_1 = require("./commands/UpdateDataRepositoryAssociationCommand");
28
37
  const UpdateFileSystemCommand_1 = require("./commands/UpdateFileSystemCommand");
38
+ const UpdateSnapshotCommand_1 = require("./commands/UpdateSnapshotCommand");
29
39
  const UpdateStorageVirtualMachineCommand_1 = require("./commands/UpdateStorageVirtualMachineCommand");
30
40
  const UpdateVolumeCommand_1 = require("./commands/UpdateVolumeCommand");
31
41
  const FSxClient_1 = require("./FSxClient");
@@ -86,6 +96,20 @@ class FSx extends FSxClient_1.FSxClient {
86
96
  return this.send(command, optionsOrCb);
87
97
  }
88
98
  }
99
+ createDataRepositoryAssociation(args, optionsOrCb, cb) {
100
+ const command = new CreateDataRepositoryAssociationCommand_1.CreateDataRepositoryAssociationCommand(args);
101
+ if (typeof optionsOrCb === "function") {
102
+ this.send(command, optionsOrCb);
103
+ }
104
+ else if (typeof cb === "function") {
105
+ if (typeof optionsOrCb !== "object")
106
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
107
+ this.send(command, optionsOrCb || {}, cb);
108
+ }
109
+ else {
110
+ return this.send(command, optionsOrCb);
111
+ }
112
+ }
89
113
  createDataRepositoryTask(args, optionsOrCb, cb) {
90
114
  const command = new CreateDataRepositoryTaskCommand_1.CreateDataRepositoryTaskCommand(args);
91
115
  if (typeof optionsOrCb === "function") {
@@ -128,6 +152,20 @@ class FSx extends FSxClient_1.FSxClient {
128
152
  return this.send(command, optionsOrCb);
129
153
  }
130
154
  }
155
+ createSnapshot(args, optionsOrCb, cb) {
156
+ const command = new CreateSnapshotCommand_1.CreateSnapshotCommand(args);
157
+ if (typeof optionsOrCb === "function") {
158
+ this.send(command, optionsOrCb);
159
+ }
160
+ else if (typeof cb === "function") {
161
+ if (typeof optionsOrCb !== "object")
162
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
163
+ this.send(command, optionsOrCb || {}, cb);
164
+ }
165
+ else {
166
+ return this.send(command, optionsOrCb);
167
+ }
168
+ }
131
169
  createStorageVirtualMachine(args, optionsOrCb, cb) {
132
170
  const command = new CreateStorageVirtualMachineCommand_1.CreateStorageVirtualMachineCommand(args);
133
171
  if (typeof optionsOrCb === "function") {
@@ -184,6 +222,20 @@ class FSx extends FSxClient_1.FSxClient {
184
222
  return this.send(command, optionsOrCb);
185
223
  }
186
224
  }
225
+ deleteDataRepositoryAssociation(args, optionsOrCb, cb) {
226
+ const command = new DeleteDataRepositoryAssociationCommand_1.DeleteDataRepositoryAssociationCommand(args);
227
+ if (typeof optionsOrCb === "function") {
228
+ this.send(command, optionsOrCb);
229
+ }
230
+ else if (typeof cb === "function") {
231
+ if (typeof optionsOrCb !== "object")
232
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
233
+ this.send(command, optionsOrCb || {}, cb);
234
+ }
235
+ else {
236
+ return this.send(command, optionsOrCb);
237
+ }
238
+ }
187
239
  deleteFileSystem(args, optionsOrCb, cb) {
188
240
  const command = new DeleteFileSystemCommand_1.DeleteFileSystemCommand(args);
189
241
  if (typeof optionsOrCb === "function") {
@@ -198,6 +250,20 @@ class FSx extends FSxClient_1.FSxClient {
198
250
  return this.send(command, optionsOrCb);
199
251
  }
200
252
  }
253
+ deleteSnapshot(args, optionsOrCb, cb) {
254
+ const command = new DeleteSnapshotCommand_1.DeleteSnapshotCommand(args);
255
+ if (typeof optionsOrCb === "function") {
256
+ this.send(command, optionsOrCb);
257
+ }
258
+ else if (typeof cb === "function") {
259
+ if (typeof optionsOrCb !== "object")
260
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
261
+ this.send(command, optionsOrCb || {}, cb);
262
+ }
263
+ else {
264
+ return this.send(command, optionsOrCb);
265
+ }
266
+ }
201
267
  deleteStorageVirtualMachine(args, optionsOrCb, cb) {
202
268
  const command = new DeleteStorageVirtualMachineCommand_1.DeleteStorageVirtualMachineCommand(args);
203
269
  if (typeof optionsOrCb === "function") {
@@ -240,6 +306,20 @@ class FSx extends FSxClient_1.FSxClient {
240
306
  return this.send(command, optionsOrCb);
241
307
  }
242
308
  }
309
+ describeDataRepositoryAssociations(args, optionsOrCb, cb) {
310
+ const command = new DescribeDataRepositoryAssociationsCommand_1.DescribeDataRepositoryAssociationsCommand(args);
311
+ if (typeof optionsOrCb === "function") {
312
+ this.send(command, optionsOrCb);
313
+ }
314
+ else if (typeof cb === "function") {
315
+ if (typeof optionsOrCb !== "object")
316
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
317
+ this.send(command, optionsOrCb || {}, cb);
318
+ }
319
+ else {
320
+ return this.send(command, optionsOrCb);
321
+ }
322
+ }
243
323
  describeDataRepositoryTasks(args, optionsOrCb, cb) {
244
324
  const command = new DescribeDataRepositoryTasksCommand_1.DescribeDataRepositoryTasksCommand(args);
245
325
  if (typeof optionsOrCb === "function") {
@@ -282,6 +362,20 @@ class FSx extends FSxClient_1.FSxClient {
282
362
  return this.send(command, optionsOrCb);
283
363
  }
284
364
  }
365
+ describeSnapshots(args, optionsOrCb, cb) {
366
+ const command = new DescribeSnapshotsCommand_1.DescribeSnapshotsCommand(args);
367
+ if (typeof optionsOrCb === "function") {
368
+ this.send(command, optionsOrCb);
369
+ }
370
+ else if (typeof cb === "function") {
371
+ if (typeof optionsOrCb !== "object")
372
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
373
+ this.send(command, optionsOrCb || {}, cb);
374
+ }
375
+ else {
376
+ return this.send(command, optionsOrCb);
377
+ }
378
+ }
285
379
  describeStorageVirtualMachines(args, optionsOrCb, cb) {
286
380
  const command = new DescribeStorageVirtualMachinesCommand_1.DescribeStorageVirtualMachinesCommand(args);
287
381
  if (typeof optionsOrCb === "function") {
@@ -338,6 +432,34 @@ class FSx extends FSxClient_1.FSxClient {
338
432
  return this.send(command, optionsOrCb);
339
433
  }
340
434
  }
435
+ releaseFileSystemNfsV3Locks(args, optionsOrCb, cb) {
436
+ const command = new ReleaseFileSystemNfsV3LocksCommand_1.ReleaseFileSystemNfsV3LocksCommand(args);
437
+ if (typeof optionsOrCb === "function") {
438
+ this.send(command, optionsOrCb);
439
+ }
440
+ else if (typeof cb === "function") {
441
+ if (typeof optionsOrCb !== "object")
442
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
443
+ this.send(command, optionsOrCb || {}, cb);
444
+ }
445
+ else {
446
+ return this.send(command, optionsOrCb);
447
+ }
448
+ }
449
+ restoreVolumeFromSnapshot(args, optionsOrCb, cb) {
450
+ const command = new RestoreVolumeFromSnapshotCommand_1.RestoreVolumeFromSnapshotCommand(args);
451
+ if (typeof optionsOrCb === "function") {
452
+ this.send(command, optionsOrCb);
453
+ }
454
+ else if (typeof cb === "function") {
455
+ if (typeof optionsOrCb !== "object")
456
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
457
+ this.send(command, optionsOrCb || {}, cb);
458
+ }
459
+ else {
460
+ return this.send(command, optionsOrCb);
461
+ }
462
+ }
341
463
  tagResource(args, optionsOrCb, cb) {
342
464
  const command = new TagResourceCommand_1.TagResourceCommand(args);
343
465
  if (typeof optionsOrCb === "function") {
@@ -366,6 +488,20 @@ class FSx extends FSxClient_1.FSxClient {
366
488
  return this.send(command, optionsOrCb);
367
489
  }
368
490
  }
491
+ updateDataRepositoryAssociation(args, optionsOrCb, cb) {
492
+ const command = new UpdateDataRepositoryAssociationCommand_1.UpdateDataRepositoryAssociationCommand(args);
493
+ if (typeof optionsOrCb === "function") {
494
+ this.send(command, optionsOrCb);
495
+ }
496
+ else if (typeof cb === "function") {
497
+ if (typeof optionsOrCb !== "object")
498
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
499
+ this.send(command, optionsOrCb || {}, cb);
500
+ }
501
+ else {
502
+ return this.send(command, optionsOrCb);
503
+ }
504
+ }
369
505
  updateFileSystem(args, optionsOrCb, cb) {
370
506
  const command = new UpdateFileSystemCommand_1.UpdateFileSystemCommand(args);
371
507
  if (typeof optionsOrCb === "function") {
@@ -380,6 +516,20 @@ class FSx extends FSxClient_1.FSxClient {
380
516
  return this.send(command, optionsOrCb);
381
517
  }
382
518
  }
519
+ updateSnapshot(args, optionsOrCb, cb) {
520
+ const command = new UpdateSnapshotCommand_1.UpdateSnapshotCommand(args);
521
+ if (typeof optionsOrCb === "function") {
522
+ this.send(command, optionsOrCb);
523
+ }
524
+ else if (typeof cb === "function") {
525
+ if (typeof optionsOrCb !== "object")
526
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
527
+ this.send(command, optionsOrCb || {}, cb);
528
+ }
529
+ else {
530
+ return this.send(command, optionsOrCb);
531
+ }
532
+ }
383
533
  updateStorageVirtualMachine(args, optionsOrCb, cb) {
384
534
  const command = new UpdateStorageVirtualMachineCommand_1.UpdateStorageVirtualMachineCommand(args);
385
535
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateDataRepositoryAssociationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class CreateDataRepositoryAssociationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "CreateDataRepositoryAssociationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateDataRepositoryAssociationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateDataRepositoryAssociationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1CreateDataRepositoryAssociationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1CreateDataRepositoryAssociationCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateDataRepositoryAssociationCommand = CreateDataRepositoryAssociationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateSnapshotCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class CreateSnapshotCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "CreateSnapshotCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateSnapshotRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateSnapshotResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1CreateSnapshotCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1CreateSnapshotCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateSnapshotCommand = CreateSnapshotCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteDataRepositoryAssociationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DeleteDataRepositoryAssociationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "DeleteDataRepositoryAssociationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteDataRepositoryAssociationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteDataRepositoryAssociationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DeleteDataRepositoryAssociationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DeleteDataRepositoryAssociationCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteDataRepositoryAssociationCommand = DeleteDataRepositoryAssociationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteSnapshotCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DeleteSnapshotCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "DeleteSnapshotCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteSnapshotRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteSnapshotResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DeleteSnapshotCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DeleteSnapshotCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteSnapshotCommand = DeleteSnapshotCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeDataRepositoryAssociationsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeDataRepositoryAssociationsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "DescribeDataRepositoryAssociationsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeDataRepositoryAssociationsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeDataRepositoryAssociationsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DescribeDataRepositoryAssociationsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DescribeDataRepositoryAssociationsCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeDataRepositoryAssociationsCommand = DescribeDataRepositoryAssociationsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeSnapshotsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class DescribeSnapshotsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "DescribeSnapshotsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeSnapshotsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeSnapshotsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1DescribeSnapshotsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1DescribeSnapshotsCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeSnapshotsCommand = DescribeSnapshotsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReleaseFileSystemNfsV3LocksCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ReleaseFileSystemNfsV3LocksCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "ReleaseFileSystemNfsV3LocksCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ReleaseFileSystemNfsV3LocksRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ReleaseFileSystemNfsV3LocksResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand(output, context);
34
+ }
35
+ }
36
+ exports.ReleaseFileSystemNfsV3LocksCommand = ReleaseFileSystemNfsV3LocksCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RestoreVolumeFromSnapshotCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class RestoreVolumeFromSnapshotCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "RestoreVolumeFromSnapshotCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.RestoreVolumeFromSnapshotRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.RestoreVolumeFromSnapshotResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1RestoreVolumeFromSnapshotCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1RestoreVolumeFromSnapshotCommand(output, context);
34
+ }
35
+ }
36
+ exports.RestoreVolumeFromSnapshotCommand = RestoreVolumeFromSnapshotCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateDataRepositoryAssociationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class UpdateDataRepositoryAssociationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "UpdateDataRepositoryAssociationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateDataRepositoryAssociationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateDataRepositoryAssociationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1UpdateDataRepositoryAssociationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1UpdateDataRepositoryAssociationCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateDataRepositoryAssociationCommand = UpdateDataRepositoryAssociationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSnapshotCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class UpdateSnapshotCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "FSxClient";
18
+ const commandName = "UpdateSnapshotCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateSnapshotRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateSnapshotResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_json1_1_1.serializeAws_json1_1UpdateSnapshotCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_json1_1_1.deserializeAws_json1_1UpdateSnapshotCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateSnapshotCommand = UpdateSnapshotCommand;