@aws-sdk/client-fsx 3.41.0 → 3.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist-cjs/FSx.js +150 -0
- package/dist-cjs/commands/CreateDataRepositoryAssociationCommand.js +36 -0
- package/dist-cjs/commands/CreateSnapshotCommand.js +36 -0
- package/dist-cjs/commands/DeleteDataRepositoryAssociationCommand.js +36 -0
- package/dist-cjs/commands/DeleteSnapshotCommand.js +36 -0
- package/dist-cjs/commands/DescribeDataRepositoryAssociationsCommand.js +36 -0
- package/dist-cjs/commands/DescribeSnapshotsCommand.js +36 -0
- package/dist-cjs/commands/ReleaseFileSystemNfsV3LocksCommand.js +36 -0
- package/dist-cjs/commands/RestoreVolumeFromSnapshotCommand.js +36 -0
- package/dist-cjs/commands/UpdateDataRepositoryAssociationCommand.js +36 -0
- package/dist-cjs/commands/UpdateSnapshotCommand.js +36 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +386 -44
- package/dist-cjs/pagination/DescribeDataRepositoryAssociationsPaginator.js +35 -0
- package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1745 -131
- package/dist-es/FSx.js +150 -0
- package/dist-es/commands/CreateDataRepositoryAssociationCommand.js +39 -0
- package/dist-es/commands/CreateSnapshotCommand.js +39 -0
- package/dist-es/commands/DeleteDataRepositoryAssociationCommand.js +39 -0
- package/dist-es/commands/DeleteSnapshotCommand.js +39 -0
- package/dist-es/commands/DescribeDataRepositoryAssociationsCommand.js +39 -0
- package/dist-es/commands/DescribeSnapshotsCommand.js +39 -0
- package/dist-es/commands/ReleaseFileSystemNfsV3LocksCommand.js +39 -0
- package/dist-es/commands/RestoreVolumeFromSnapshotCommand.js +39 -0
- package/dist-es/commands/UpdateDataRepositoryAssociationCommand.js +39 -0
- package/dist-es/commands/UpdateSnapshotCommand.js +39 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +277 -28
- package/dist-es/pagination/DescribeDataRepositoryAssociationsPaginator.js +74 -0
- package/dist-es/pagination/DescribeSnapshotsPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +1653 -74
- package/dist-types/FSx.d.ts +406 -146
- package/dist-types/FSxClient.d.ts +12 -2
- package/dist-types/commands/CopyBackupCommand.d.ts +12 -12
- package/dist-types/commands/CreateBackupCommand.d.ts +27 -25
- package/dist-types/commands/CreateDataRepositoryAssociationCommand.d.ts +45 -0
- package/dist-types/commands/CreateDataRepositoryTaskCommand.d.ts +6 -5
- package/dist-types/commands/CreateFileSystemCommand.d.ts +36 -16
- package/dist-types/commands/CreateFileSystemFromBackupCommand.d.ts +14 -14
- package/dist-types/commands/CreateSnapshotCommand.d.ts +62 -0
- package/dist-types/commands/CreateVolumeCommand.d.ts +2 -1
- package/dist-types/commands/DeleteBackupCommand.d.ts +4 -3
- package/dist-types/commands/DeleteDataRepositoryAssociationCommand.d.ts +41 -0
- package/dist-types/commands/DeleteFileSystemCommand.d.ts +14 -15
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +39 -0
- package/dist-types/commands/DeleteVolumeCommand.d.ts +2 -4
- package/dist-types/commands/DescribeBackupsCommand.d.ts +17 -18
- package/dist-types/commands/DescribeDataRepositoryAssociationsCommand.d.ts +53 -0
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +9 -9
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +61 -0
- package/dist-types/commands/DescribeVolumesCommand.d.ts +2 -1
- package/dist-types/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +36 -0
- package/dist-types/commands/RestoreVolumeFromSnapshotCommand.d.ts +36 -0
- package/dist-types/commands/UpdateDataRepositoryAssociationCommand.d.ts +37 -0
- package/dist-types/commands/UpdateFileSystemCommand.d.ts +95 -22
- package/dist-types/commands/UpdateSnapshotCommand.d.ts +35 -0
- package/dist-types/commands/UpdateVolumeCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +2705 -649
- package/dist-types/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +30 -0
- package/dist-types/ts3.4/FSx.d.ts +50 -0
- package/dist-types/ts3.4/FSxClient.d.ts +12 -2
- package/dist-types/ts3.4/commands/CreateDataRepositoryAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDataRepositoryAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDataRepositoryAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ReleaseFileSystemNfsV3LocksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RestoreVolumeFromSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDataRepositoryAssociationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +790 -81
- package/dist-types/ts3.4/pagination/DescribeDataRepositoryAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +30 -0
- package/package.json +5 -5
package/dist-es/FSx.js
CHANGED
|
@@ -3,27 +3,37 @@ import { AssociateFileSystemAliasesCommand, } from "./commands/AssociateFileSyst
|
|
|
3
3
|
import { CancelDataRepositoryTaskCommand, } from "./commands/CancelDataRepositoryTaskCommand";
|
|
4
4
|
import { CopyBackupCommand } from "./commands/CopyBackupCommand";
|
|
5
5
|
import { CreateBackupCommand, } from "./commands/CreateBackupCommand";
|
|
6
|
+
import { CreateDataRepositoryAssociationCommand, } from "./commands/CreateDataRepositoryAssociationCommand";
|
|
6
7
|
import { CreateDataRepositoryTaskCommand, } from "./commands/CreateDataRepositoryTaskCommand";
|
|
7
8
|
import { CreateFileSystemCommand, } from "./commands/CreateFileSystemCommand";
|
|
8
9
|
import { CreateFileSystemFromBackupCommand, } from "./commands/CreateFileSystemFromBackupCommand";
|
|
10
|
+
import { CreateSnapshotCommand, } from "./commands/CreateSnapshotCommand";
|
|
9
11
|
import { CreateStorageVirtualMachineCommand, } from "./commands/CreateStorageVirtualMachineCommand";
|
|
10
12
|
import { CreateVolumeCommand, } from "./commands/CreateVolumeCommand";
|
|
11
13
|
import { CreateVolumeFromBackupCommand, } from "./commands/CreateVolumeFromBackupCommand";
|
|
12
14
|
import { DeleteBackupCommand, } from "./commands/DeleteBackupCommand";
|
|
15
|
+
import { DeleteDataRepositoryAssociationCommand, } from "./commands/DeleteDataRepositoryAssociationCommand";
|
|
13
16
|
import { DeleteFileSystemCommand, } from "./commands/DeleteFileSystemCommand";
|
|
17
|
+
import { DeleteSnapshotCommand, } from "./commands/DeleteSnapshotCommand";
|
|
14
18
|
import { DeleteStorageVirtualMachineCommand, } from "./commands/DeleteStorageVirtualMachineCommand";
|
|
15
19
|
import { DeleteVolumeCommand, } from "./commands/DeleteVolumeCommand";
|
|
16
20
|
import { DescribeBackupsCommand, } from "./commands/DescribeBackupsCommand";
|
|
21
|
+
import { DescribeDataRepositoryAssociationsCommand, } from "./commands/DescribeDataRepositoryAssociationsCommand";
|
|
17
22
|
import { DescribeDataRepositoryTasksCommand, } from "./commands/DescribeDataRepositoryTasksCommand";
|
|
18
23
|
import { DescribeFileSystemAliasesCommand, } from "./commands/DescribeFileSystemAliasesCommand";
|
|
19
24
|
import { DescribeFileSystemsCommand, } from "./commands/DescribeFileSystemsCommand";
|
|
25
|
+
import { DescribeSnapshotsCommand, } from "./commands/DescribeSnapshotsCommand";
|
|
20
26
|
import { DescribeStorageVirtualMachinesCommand, } from "./commands/DescribeStorageVirtualMachinesCommand";
|
|
21
27
|
import { DescribeVolumesCommand, } from "./commands/DescribeVolumesCommand";
|
|
22
28
|
import { DisassociateFileSystemAliasesCommand, } from "./commands/DisassociateFileSystemAliasesCommand";
|
|
23
29
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
30
|
+
import { ReleaseFileSystemNfsV3LocksCommand, } from "./commands/ReleaseFileSystemNfsV3LocksCommand";
|
|
31
|
+
import { RestoreVolumeFromSnapshotCommand, } from "./commands/RestoreVolumeFromSnapshotCommand";
|
|
24
32
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
25
33
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
34
|
+
import { UpdateDataRepositoryAssociationCommand, } from "./commands/UpdateDataRepositoryAssociationCommand";
|
|
26
35
|
import { UpdateFileSystemCommand, } from "./commands/UpdateFileSystemCommand";
|
|
36
|
+
import { UpdateSnapshotCommand, } from "./commands/UpdateSnapshotCommand";
|
|
27
37
|
import { UpdateStorageVirtualMachineCommand, } from "./commands/UpdateStorageVirtualMachineCommand";
|
|
28
38
|
import { UpdateVolumeCommand, } from "./commands/UpdateVolumeCommand";
|
|
29
39
|
import { FSxClient } from "./FSxClient";
|
|
@@ -88,6 +98,20 @@ var FSx = (function (_super) {
|
|
|
88
98
|
return this.send(command, optionsOrCb);
|
|
89
99
|
}
|
|
90
100
|
};
|
|
101
|
+
FSx.prototype.createDataRepositoryAssociation = function (args, optionsOrCb, cb) {
|
|
102
|
+
var command = new CreateDataRepositoryAssociationCommand(args);
|
|
103
|
+
if (typeof optionsOrCb === "function") {
|
|
104
|
+
this.send(command, optionsOrCb);
|
|
105
|
+
}
|
|
106
|
+
else if (typeof cb === "function") {
|
|
107
|
+
if (typeof optionsOrCb !== "object")
|
|
108
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
109
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
return this.send(command, optionsOrCb);
|
|
113
|
+
}
|
|
114
|
+
};
|
|
91
115
|
FSx.prototype.createDataRepositoryTask = function (args, optionsOrCb, cb) {
|
|
92
116
|
var command = new CreateDataRepositoryTaskCommand(args);
|
|
93
117
|
if (typeof optionsOrCb === "function") {
|
|
@@ -130,6 +154,20 @@ var FSx = (function (_super) {
|
|
|
130
154
|
return this.send(command, optionsOrCb);
|
|
131
155
|
}
|
|
132
156
|
};
|
|
157
|
+
FSx.prototype.createSnapshot = function (args, optionsOrCb, cb) {
|
|
158
|
+
var command = new CreateSnapshotCommand(args);
|
|
159
|
+
if (typeof optionsOrCb === "function") {
|
|
160
|
+
this.send(command, optionsOrCb);
|
|
161
|
+
}
|
|
162
|
+
else if (typeof cb === "function") {
|
|
163
|
+
if (typeof optionsOrCb !== "object")
|
|
164
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
165
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
return this.send(command, optionsOrCb);
|
|
169
|
+
}
|
|
170
|
+
};
|
|
133
171
|
FSx.prototype.createStorageVirtualMachine = function (args, optionsOrCb, cb) {
|
|
134
172
|
var command = new CreateStorageVirtualMachineCommand(args);
|
|
135
173
|
if (typeof optionsOrCb === "function") {
|
|
@@ -186,6 +224,20 @@ var FSx = (function (_super) {
|
|
|
186
224
|
return this.send(command, optionsOrCb);
|
|
187
225
|
}
|
|
188
226
|
};
|
|
227
|
+
FSx.prototype.deleteDataRepositoryAssociation = function (args, optionsOrCb, cb) {
|
|
228
|
+
var command = new DeleteDataRepositoryAssociationCommand(args);
|
|
229
|
+
if (typeof optionsOrCb === "function") {
|
|
230
|
+
this.send(command, optionsOrCb);
|
|
231
|
+
}
|
|
232
|
+
else if (typeof cb === "function") {
|
|
233
|
+
if (typeof optionsOrCb !== "object")
|
|
234
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
235
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
return this.send(command, optionsOrCb);
|
|
239
|
+
}
|
|
240
|
+
};
|
|
189
241
|
FSx.prototype.deleteFileSystem = function (args, optionsOrCb, cb) {
|
|
190
242
|
var command = new DeleteFileSystemCommand(args);
|
|
191
243
|
if (typeof optionsOrCb === "function") {
|
|
@@ -200,6 +252,20 @@ var FSx = (function (_super) {
|
|
|
200
252
|
return this.send(command, optionsOrCb);
|
|
201
253
|
}
|
|
202
254
|
};
|
|
255
|
+
FSx.prototype.deleteSnapshot = function (args, optionsOrCb, cb) {
|
|
256
|
+
var command = new DeleteSnapshotCommand(args);
|
|
257
|
+
if (typeof optionsOrCb === "function") {
|
|
258
|
+
this.send(command, optionsOrCb);
|
|
259
|
+
}
|
|
260
|
+
else if (typeof cb === "function") {
|
|
261
|
+
if (typeof optionsOrCb !== "object")
|
|
262
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
263
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
264
|
+
}
|
|
265
|
+
else {
|
|
266
|
+
return this.send(command, optionsOrCb);
|
|
267
|
+
}
|
|
268
|
+
};
|
|
203
269
|
FSx.prototype.deleteStorageVirtualMachine = function (args, optionsOrCb, cb) {
|
|
204
270
|
var command = new DeleteStorageVirtualMachineCommand(args);
|
|
205
271
|
if (typeof optionsOrCb === "function") {
|
|
@@ -242,6 +308,20 @@ var FSx = (function (_super) {
|
|
|
242
308
|
return this.send(command, optionsOrCb);
|
|
243
309
|
}
|
|
244
310
|
};
|
|
311
|
+
FSx.prototype.describeDataRepositoryAssociations = function (args, optionsOrCb, cb) {
|
|
312
|
+
var command = new DescribeDataRepositoryAssociationsCommand(args);
|
|
313
|
+
if (typeof optionsOrCb === "function") {
|
|
314
|
+
this.send(command, optionsOrCb);
|
|
315
|
+
}
|
|
316
|
+
else if (typeof cb === "function") {
|
|
317
|
+
if (typeof optionsOrCb !== "object")
|
|
318
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
319
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
320
|
+
}
|
|
321
|
+
else {
|
|
322
|
+
return this.send(command, optionsOrCb);
|
|
323
|
+
}
|
|
324
|
+
};
|
|
245
325
|
FSx.prototype.describeDataRepositoryTasks = function (args, optionsOrCb, cb) {
|
|
246
326
|
var command = new DescribeDataRepositoryTasksCommand(args);
|
|
247
327
|
if (typeof optionsOrCb === "function") {
|
|
@@ -284,6 +364,20 @@ var FSx = (function (_super) {
|
|
|
284
364
|
return this.send(command, optionsOrCb);
|
|
285
365
|
}
|
|
286
366
|
};
|
|
367
|
+
FSx.prototype.describeSnapshots = function (args, optionsOrCb, cb) {
|
|
368
|
+
var command = new DescribeSnapshotsCommand(args);
|
|
369
|
+
if (typeof optionsOrCb === "function") {
|
|
370
|
+
this.send(command, optionsOrCb);
|
|
371
|
+
}
|
|
372
|
+
else if (typeof cb === "function") {
|
|
373
|
+
if (typeof optionsOrCb !== "object")
|
|
374
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
375
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
376
|
+
}
|
|
377
|
+
else {
|
|
378
|
+
return this.send(command, optionsOrCb);
|
|
379
|
+
}
|
|
380
|
+
};
|
|
287
381
|
FSx.prototype.describeStorageVirtualMachines = function (args, optionsOrCb, cb) {
|
|
288
382
|
var command = new DescribeStorageVirtualMachinesCommand(args);
|
|
289
383
|
if (typeof optionsOrCb === "function") {
|
|
@@ -340,6 +434,34 @@ var FSx = (function (_super) {
|
|
|
340
434
|
return this.send(command, optionsOrCb);
|
|
341
435
|
}
|
|
342
436
|
};
|
|
437
|
+
FSx.prototype.releaseFileSystemNfsV3Locks = function (args, optionsOrCb, cb) {
|
|
438
|
+
var command = new ReleaseFileSystemNfsV3LocksCommand(args);
|
|
439
|
+
if (typeof optionsOrCb === "function") {
|
|
440
|
+
this.send(command, optionsOrCb);
|
|
441
|
+
}
|
|
442
|
+
else if (typeof cb === "function") {
|
|
443
|
+
if (typeof optionsOrCb !== "object")
|
|
444
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
445
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
446
|
+
}
|
|
447
|
+
else {
|
|
448
|
+
return this.send(command, optionsOrCb);
|
|
449
|
+
}
|
|
450
|
+
};
|
|
451
|
+
FSx.prototype.restoreVolumeFromSnapshot = function (args, optionsOrCb, cb) {
|
|
452
|
+
var command = new RestoreVolumeFromSnapshotCommand(args);
|
|
453
|
+
if (typeof optionsOrCb === "function") {
|
|
454
|
+
this.send(command, optionsOrCb);
|
|
455
|
+
}
|
|
456
|
+
else if (typeof cb === "function") {
|
|
457
|
+
if (typeof optionsOrCb !== "object")
|
|
458
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
459
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
460
|
+
}
|
|
461
|
+
else {
|
|
462
|
+
return this.send(command, optionsOrCb);
|
|
463
|
+
}
|
|
464
|
+
};
|
|
343
465
|
FSx.prototype.tagResource = function (args, optionsOrCb, cb) {
|
|
344
466
|
var command = new TagResourceCommand(args);
|
|
345
467
|
if (typeof optionsOrCb === "function") {
|
|
@@ -368,6 +490,20 @@ var FSx = (function (_super) {
|
|
|
368
490
|
return this.send(command, optionsOrCb);
|
|
369
491
|
}
|
|
370
492
|
};
|
|
493
|
+
FSx.prototype.updateDataRepositoryAssociation = function (args, optionsOrCb, cb) {
|
|
494
|
+
var command = new UpdateDataRepositoryAssociationCommand(args);
|
|
495
|
+
if (typeof optionsOrCb === "function") {
|
|
496
|
+
this.send(command, optionsOrCb);
|
|
497
|
+
}
|
|
498
|
+
else if (typeof cb === "function") {
|
|
499
|
+
if (typeof optionsOrCb !== "object")
|
|
500
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
501
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
502
|
+
}
|
|
503
|
+
else {
|
|
504
|
+
return this.send(command, optionsOrCb);
|
|
505
|
+
}
|
|
506
|
+
};
|
|
371
507
|
FSx.prototype.updateFileSystem = function (args, optionsOrCb, cb) {
|
|
372
508
|
var command = new UpdateFileSystemCommand(args);
|
|
373
509
|
if (typeof optionsOrCb === "function") {
|
|
@@ -382,6 +518,20 @@ var FSx = (function (_super) {
|
|
|
382
518
|
return this.send(command, optionsOrCb);
|
|
383
519
|
}
|
|
384
520
|
};
|
|
521
|
+
FSx.prototype.updateSnapshot = function (args, optionsOrCb, cb) {
|
|
522
|
+
var command = new UpdateSnapshotCommand(args);
|
|
523
|
+
if (typeof optionsOrCb === "function") {
|
|
524
|
+
this.send(command, optionsOrCb);
|
|
525
|
+
}
|
|
526
|
+
else if (typeof cb === "function") {
|
|
527
|
+
if (typeof optionsOrCb !== "object")
|
|
528
|
+
throw new Error("Expect http options but get " + typeof optionsOrCb);
|
|
529
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
530
|
+
}
|
|
531
|
+
else {
|
|
532
|
+
return this.send(command, optionsOrCb);
|
|
533
|
+
}
|
|
534
|
+
};
|
|
385
535
|
FSx.prototype.updateStorageVirtualMachine = function (args, optionsOrCb, cb) {
|
|
386
536
|
var command = new UpdateStorageVirtualMachineCommand(args);
|
|
387
537
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateDataRepositoryAssociationRequest, CreateDataRepositoryAssociationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateDataRepositoryAssociationCommand, serializeAws_json1_1CreateDataRepositoryAssociationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateDataRepositoryAssociationCommand = (function (_super) {
|
|
7
|
+
__extends(CreateDataRepositoryAssociationCommand, _super);
|
|
8
|
+
function CreateDataRepositoryAssociationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateDataRepositoryAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "CreateDataRepositoryAssociationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateDataRepositoryAssociationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateDataRepositoryAssociationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateDataRepositoryAssociationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateDataRepositoryAssociationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateDataRepositoryAssociationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateDataRepositoryAssociationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateDataRepositoryAssociationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateDataRepositoryAssociationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateSnapshotRequest, CreateSnapshotResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1CreateSnapshotCommand, serializeAws_json1_1CreateSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var CreateSnapshotCommand = (function (_super) {
|
|
7
|
+
__extends(CreateSnapshotCommand, _super);
|
|
8
|
+
function CreateSnapshotCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "CreateSnapshotCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateSnapshotRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateSnapshotResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateSnapshotCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1CreateSnapshotCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateSnapshotCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1CreateSnapshotCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateSnapshotCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateSnapshotCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteDataRepositoryAssociationRequest, DeleteDataRepositoryAssociationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteDataRepositoryAssociationCommand, serializeAws_json1_1DeleteDataRepositoryAssociationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DeleteDataRepositoryAssociationCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteDataRepositoryAssociationCommand, _super);
|
|
8
|
+
function DeleteDataRepositoryAssociationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteDataRepositoryAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "DeleteDataRepositoryAssociationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteDataRepositoryAssociationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteDataRepositoryAssociationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteDataRepositoryAssociationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DeleteDataRepositoryAssociationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteDataRepositoryAssociationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DeleteDataRepositoryAssociationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteDataRepositoryAssociationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteDataRepositoryAssociationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteSnapshotRequest, DeleteSnapshotResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DeleteSnapshotCommand, serializeAws_json1_1DeleteSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DeleteSnapshotCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteSnapshotCommand, _super);
|
|
8
|
+
function DeleteSnapshotCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "DeleteSnapshotCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteSnapshotRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteSnapshotResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteSnapshotCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DeleteSnapshotCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteSnapshotCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DeleteSnapshotCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteSnapshotCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteSnapshotCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeDataRepositoryAssociationsRequest, DescribeDataRepositoryAssociationsResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeDataRepositoryAssociationsCommand, serializeAws_json1_1DescribeDataRepositoryAssociationsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeDataRepositoryAssociationsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeDataRepositoryAssociationsCommand, _super);
|
|
8
|
+
function DescribeDataRepositoryAssociationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeDataRepositoryAssociationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "DescribeDataRepositoryAssociationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeDataRepositoryAssociationsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeDataRepositoryAssociationsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeDataRepositoryAssociationsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeDataRepositoryAssociationsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeDataRepositoryAssociationsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeDataRepositoryAssociationsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeDataRepositoryAssociationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeDataRepositoryAssociationsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeSnapshotsRequest, DescribeSnapshotsResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1DescribeSnapshotsCommand, serializeAws_json1_1DescribeSnapshotsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var DescribeSnapshotsCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeSnapshotsCommand, _super);
|
|
8
|
+
function DescribeSnapshotsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeSnapshotsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "DescribeSnapshotsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeSnapshotsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeSnapshotsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeSnapshotsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1DescribeSnapshotsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeSnapshotsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1DescribeSnapshotsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeSnapshotsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeSnapshotsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ReleaseFileSystemNfsV3LocksRequest, ReleaseFileSystemNfsV3LocksResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand, serializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var ReleaseFileSystemNfsV3LocksCommand = (function (_super) {
|
|
7
|
+
__extends(ReleaseFileSystemNfsV3LocksCommand, _super);
|
|
8
|
+
function ReleaseFileSystemNfsV3LocksCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ReleaseFileSystemNfsV3LocksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "ReleaseFileSystemNfsV3LocksCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ReleaseFileSystemNfsV3LocksRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ReleaseFileSystemNfsV3LocksResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ReleaseFileSystemNfsV3LocksCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ReleaseFileSystemNfsV3LocksCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1ReleaseFileSystemNfsV3LocksCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ReleaseFileSystemNfsV3LocksCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ReleaseFileSystemNfsV3LocksCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { RestoreVolumeFromSnapshotRequest, RestoreVolumeFromSnapshotResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1RestoreVolumeFromSnapshotCommand, serializeAws_json1_1RestoreVolumeFromSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var RestoreVolumeFromSnapshotCommand = (function (_super) {
|
|
7
|
+
__extends(RestoreVolumeFromSnapshotCommand, _super);
|
|
8
|
+
function RestoreVolumeFromSnapshotCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
RestoreVolumeFromSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "RestoreVolumeFromSnapshotCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: RestoreVolumeFromSnapshotRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: RestoreVolumeFromSnapshotResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
RestoreVolumeFromSnapshotCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1RestoreVolumeFromSnapshotCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
RestoreVolumeFromSnapshotCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1RestoreVolumeFromSnapshotCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return RestoreVolumeFromSnapshotCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { RestoreVolumeFromSnapshotCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateDataRepositoryAssociationRequest, UpdateDataRepositoryAssociationResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateDataRepositoryAssociationCommand, serializeAws_json1_1UpdateDataRepositoryAssociationCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateDataRepositoryAssociationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateDataRepositoryAssociationCommand, _super);
|
|
8
|
+
function UpdateDataRepositoryAssociationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateDataRepositoryAssociationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "UpdateDataRepositoryAssociationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateDataRepositoryAssociationRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateDataRepositoryAssociationResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateDataRepositoryAssociationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateDataRepositoryAssociationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateDataRepositoryAssociationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateDataRepositoryAssociationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateDataRepositoryAssociationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateDataRepositoryAssociationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateSnapshotRequest, UpdateSnapshotResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1UpdateSnapshotCommand, serializeAws_json1_1UpdateSnapshotCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
var UpdateSnapshotCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSnapshotCommand, _super);
|
|
8
|
+
function UpdateSnapshotCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "FSxClient";
|
|
18
|
+
var commandName = "UpdateSnapshotCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateSnapshotRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateSnapshotResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateSnapshotCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_json1_1UpdateSnapshotCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateSnapshotCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_json1_1UpdateSnapshotCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateSnapshotCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSnapshotCommand };
|