@aws-sdk/client-datasync 3.183.0 → 3.186.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 +19 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/DataSync.js +185 -178
- package/dist-es/DataSyncClient.js +28 -22
- package/dist-es/commands/CancelTaskExecutionCommand.js +28 -21
- package/dist-es/commands/CreateAgentCommand.js +28 -21
- package/dist-es/commands/CreateLocationEfsCommand.js +28 -21
- package/dist-es/commands/CreateLocationFsxLustreCommand.js +28 -21
- package/dist-es/commands/CreateLocationFsxOntapCommand.js +28 -21
- package/dist-es/commands/CreateLocationFsxOpenZfsCommand.js +28 -21
- package/dist-es/commands/CreateLocationFsxWindowsCommand.js +28 -21
- package/dist-es/commands/CreateLocationHdfsCommand.js +28 -21
- package/dist-es/commands/CreateLocationNfsCommand.js +28 -21
- package/dist-es/commands/CreateLocationObjectStorageCommand.js +28 -21
- package/dist-es/commands/CreateLocationS3Command.js +28 -21
- package/dist-es/commands/CreateLocationSmbCommand.js +28 -21
- package/dist-es/commands/CreateTaskCommand.js +28 -21
- package/dist-es/commands/DeleteAgentCommand.js +28 -21
- package/dist-es/commands/DeleteLocationCommand.js +28 -21
- package/dist-es/commands/DeleteTaskCommand.js +28 -21
- package/dist-es/commands/DescribeAgentCommand.js +28 -21
- package/dist-es/commands/DescribeLocationEfsCommand.js +28 -21
- package/dist-es/commands/DescribeLocationFsxLustreCommand.js +28 -21
- package/dist-es/commands/DescribeLocationFsxOntapCommand.js +28 -21
- package/dist-es/commands/DescribeLocationFsxOpenZfsCommand.js +28 -21
- package/dist-es/commands/DescribeLocationFsxWindowsCommand.js +28 -21
- package/dist-es/commands/DescribeLocationHdfsCommand.js +28 -21
- package/dist-es/commands/DescribeLocationNfsCommand.js +28 -21
- package/dist-es/commands/DescribeLocationObjectStorageCommand.js +28 -21
- package/dist-es/commands/DescribeLocationS3Command.js +28 -21
- package/dist-es/commands/DescribeLocationSmbCommand.js +28 -21
- package/dist-es/commands/DescribeTaskCommand.js +28 -21
- package/dist-es/commands/DescribeTaskExecutionCommand.js +28 -21
- package/dist-es/commands/ListAgentsCommand.js +28 -21
- package/dist-es/commands/ListLocationsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ListTaskExecutionsCommand.js +28 -21
- package/dist-es/commands/ListTasksCommand.js +28 -21
- package/dist-es/commands/StartTaskExecutionCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAgentCommand.js +28 -21
- package/dist-es/commands/UpdateLocationHdfsCommand.js +28 -21
- package/dist-es/commands/UpdateLocationNfsCommand.js +28 -21
- package/dist-es/commands/UpdateLocationObjectStorageCommand.js +28 -21
- package/dist-es/commands/UpdateLocationSmbCommand.js +28 -21
- package/dist-es/commands/UpdateTaskCommand.js +28 -21
- package/dist-es/commands/UpdateTaskExecutionCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DataSyncServiceException.js +10 -5
- package/dist-es/models/models_0.js +136 -366
- package/dist-es/pagination/ListAgentsPaginator.js +68 -25
- package/dist-es/pagination/ListLocationsPaginator.js +68 -25
- package/dist-es/pagination/ListTagsForResourcePaginator.js +68 -25
- package/dist-es/pagination/ListTaskExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListTasksPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +3288 -2608
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +33 -33
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DataSyncServiceException as __BaseException } from "./DataSyncServiceException";
|
|
3
4
|
export var AgentStatus;
|
|
@@ -10,33 +11,33 @@ export var Atime;
|
|
|
10
11
|
Atime["BEST_EFFORT"] = "BEST_EFFORT";
|
|
11
12
|
Atime["NONE"] = "NONE";
|
|
12
13
|
})(Atime || (Atime = {}));
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Object.setPrototypeOf(this, InternalException.prototype);
|
|
23
|
-
this.errorCode = opts.errorCode;
|
|
14
|
+
var InternalException = (function (_super) {
|
|
15
|
+
__extends(InternalException, _super);
|
|
16
|
+
function InternalException(opts) {
|
|
17
|
+
var _this = _super.call(this, __assign({ name: "InternalException", $fault: "server" }, opts)) || this;
|
|
18
|
+
_this.name = "InternalException";
|
|
19
|
+
_this.$fault = "server";
|
|
20
|
+
Object.setPrototypeOf(_this, InternalException.prototype);
|
|
21
|
+
_this.errorCode = opts.errorCode;
|
|
22
|
+
return _this;
|
|
24
23
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
24
|
+
return InternalException;
|
|
25
|
+
}(__BaseException));
|
|
26
|
+
export { InternalException };
|
|
27
|
+
var InvalidRequestException = (function (_super) {
|
|
28
|
+
__extends(InvalidRequestException, _super);
|
|
29
|
+
function InvalidRequestException(opts) {
|
|
30
|
+
var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
|
|
31
|
+
_this.name = "InvalidRequestException";
|
|
32
|
+
_this.$fault = "client";
|
|
33
|
+
Object.setPrototypeOf(_this, InvalidRequestException.prototype);
|
|
34
|
+
_this.errorCode = opts.errorCode;
|
|
35
|
+
_this.datasyncErrorCode = opts.datasyncErrorCode;
|
|
36
|
+
return _this;
|
|
38
37
|
}
|
|
39
|
-
|
|
38
|
+
return InvalidRequestException;
|
|
39
|
+
}(__BaseException));
|
|
40
|
+
export { InvalidRequestException };
|
|
40
41
|
export var EfsInTransitEncryption;
|
|
41
42
|
(function (EfsInTransitEncryption) {
|
|
42
43
|
EfsInTransitEncryption["NONE"] = "NONE";
|
|
@@ -219,344 +220,113 @@ export var TaskFilterName;
|
|
|
219
220
|
TaskFilterName["CreationTime"] = "CreationTime";
|
|
220
221
|
TaskFilterName["LocationId"] = "LocationId";
|
|
221
222
|
})(TaskFilterName || (TaskFilterName = {}));
|
|
222
|
-
export
|
|
223
|
-
|
|
224
|
-
});
|
|
225
|
-
export
|
|
226
|
-
|
|
227
|
-
});
|
|
228
|
-
export
|
|
229
|
-
|
|
230
|
-
});
|
|
231
|
-
export
|
|
232
|
-
|
|
233
|
-
});
|
|
234
|
-
export
|
|
235
|
-
|
|
236
|
-
});
|
|
237
|
-
export
|
|
238
|
-
|
|
239
|
-
});
|
|
240
|
-
export
|
|
241
|
-
|
|
242
|
-
});
|
|
243
|
-
export
|
|
244
|
-
|
|
245
|
-
});
|
|
246
|
-
export
|
|
247
|
-
|
|
248
|
-
});
|
|
249
|
-
export
|
|
250
|
-
|
|
251
|
-
});
|
|
252
|
-
export
|
|
253
|
-
|
|
254
|
-
});
|
|
255
|
-
export
|
|
256
|
-
|
|
257
|
-
});
|
|
258
|
-
export
|
|
259
|
-
|
|
260
|
-
});
|
|
261
|
-
export
|
|
262
|
-
|
|
263
|
-
});
|
|
264
|
-
export
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
});
|
|
268
|
-
export
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
});
|
|
272
|
-
export
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
});
|
|
276
|
-
export
|
|
277
|
-
|
|
278
|
-
});
|
|
279
|
-
export
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
});
|
|
283
|
-
export
|
|
284
|
-
|
|
285
|
-
});
|
|
286
|
-
export
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
});
|
|
290
|
-
export
|
|
291
|
-
|
|
292
|
-
});
|
|
293
|
-
export
|
|
294
|
-
|
|
295
|
-
});
|
|
296
|
-
export
|
|
297
|
-
|
|
298
|
-
});
|
|
299
|
-
export
|
|
300
|
-
|
|
301
|
-
});
|
|
302
|
-
export
|
|
303
|
-
|
|
304
|
-
});
|
|
305
|
-
export
|
|
306
|
-
|
|
307
|
-
});
|
|
308
|
-
export
|
|
309
|
-
|
|
310
|
-
});
|
|
311
|
-
export
|
|
312
|
-
|
|
313
|
-
});
|
|
314
|
-
export
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
});
|
|
318
|
-
export
|
|
319
|
-
|
|
320
|
-
});
|
|
321
|
-
export
|
|
322
|
-
|
|
323
|
-
});
|
|
324
|
-
export
|
|
325
|
-
|
|
326
|
-
});
|
|
327
|
-
export
|
|
328
|
-
|
|
329
|
-
});
|
|
330
|
-
export
|
|
331
|
-
|
|
332
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
333
|
-
});
|
|
334
|
-
export const CreateLocationSmbResponseFilterSensitiveLog = (obj) => ({
|
|
335
|
-
...obj,
|
|
336
|
-
});
|
|
337
|
-
export const FilterRuleFilterSensitiveLog = (obj) => ({
|
|
338
|
-
...obj,
|
|
339
|
-
});
|
|
340
|
-
export const OptionsFilterSensitiveLog = (obj) => ({
|
|
341
|
-
...obj,
|
|
342
|
-
});
|
|
343
|
-
export const TaskScheduleFilterSensitiveLog = (obj) => ({
|
|
344
|
-
...obj,
|
|
345
|
-
});
|
|
346
|
-
export const CreateTaskRequestFilterSensitiveLog = (obj) => ({
|
|
347
|
-
...obj,
|
|
348
|
-
});
|
|
349
|
-
export const CreateTaskResponseFilterSensitiveLog = (obj) => ({
|
|
350
|
-
...obj,
|
|
351
|
-
});
|
|
352
|
-
export const DeleteAgentRequestFilterSensitiveLog = (obj) => ({
|
|
353
|
-
...obj,
|
|
354
|
-
});
|
|
355
|
-
export const DeleteAgentResponseFilterSensitiveLog = (obj) => ({
|
|
356
|
-
...obj,
|
|
357
|
-
});
|
|
358
|
-
export const DeleteLocationRequestFilterSensitiveLog = (obj) => ({
|
|
359
|
-
...obj,
|
|
360
|
-
});
|
|
361
|
-
export const DeleteLocationResponseFilterSensitiveLog = (obj) => ({
|
|
362
|
-
...obj,
|
|
363
|
-
});
|
|
364
|
-
export const DeleteTaskRequestFilterSensitiveLog = (obj) => ({
|
|
365
|
-
...obj,
|
|
366
|
-
});
|
|
367
|
-
export const DeleteTaskResponseFilterSensitiveLog = (obj) => ({
|
|
368
|
-
...obj,
|
|
369
|
-
});
|
|
370
|
-
export const DescribeAgentRequestFilterSensitiveLog = (obj) => ({
|
|
371
|
-
...obj,
|
|
372
|
-
});
|
|
373
|
-
export const PrivateLinkConfigFilterSensitiveLog = (obj) => ({
|
|
374
|
-
...obj,
|
|
375
|
-
});
|
|
376
|
-
export const DescribeAgentResponseFilterSensitiveLog = (obj) => ({
|
|
377
|
-
...obj,
|
|
378
|
-
});
|
|
379
|
-
export const DescribeLocationEfsRequestFilterSensitiveLog = (obj) => ({
|
|
380
|
-
...obj,
|
|
381
|
-
});
|
|
382
|
-
export const DescribeLocationEfsResponseFilterSensitiveLog = (obj) => ({
|
|
383
|
-
...obj,
|
|
384
|
-
});
|
|
385
|
-
export const DescribeLocationFsxLustreRequestFilterSensitiveLog = (obj) => ({
|
|
386
|
-
...obj,
|
|
387
|
-
});
|
|
388
|
-
export const DescribeLocationFsxLustreResponseFilterSensitiveLog = (obj) => ({
|
|
389
|
-
...obj,
|
|
390
|
-
});
|
|
391
|
-
export const DescribeLocationFsxOntapRequestFilterSensitiveLog = (obj) => ({
|
|
392
|
-
...obj,
|
|
393
|
-
});
|
|
394
|
-
export const DescribeLocationFsxOntapResponseFilterSensitiveLog = (obj) => ({
|
|
395
|
-
...obj,
|
|
396
|
-
...(obj.Protocol && { Protocol: FsxProtocolFilterSensitiveLog(obj.Protocol) }),
|
|
397
|
-
});
|
|
398
|
-
export const DescribeLocationFsxOpenZfsRequestFilterSensitiveLog = (obj) => ({
|
|
399
|
-
...obj,
|
|
400
|
-
});
|
|
401
|
-
export const DescribeLocationFsxOpenZfsResponseFilterSensitiveLog = (obj) => ({
|
|
402
|
-
...obj,
|
|
403
|
-
...(obj.Protocol && { Protocol: FsxProtocolFilterSensitiveLog(obj.Protocol) }),
|
|
404
|
-
});
|
|
405
|
-
export const DescribeLocationFsxWindowsRequestFilterSensitiveLog = (obj) => ({
|
|
406
|
-
...obj,
|
|
407
|
-
});
|
|
408
|
-
export const DescribeLocationFsxWindowsResponseFilterSensitiveLog = (obj) => ({
|
|
409
|
-
...obj,
|
|
410
|
-
});
|
|
411
|
-
export const DescribeLocationHdfsRequestFilterSensitiveLog = (obj) => ({
|
|
412
|
-
...obj,
|
|
413
|
-
});
|
|
414
|
-
export const DescribeLocationHdfsResponseFilterSensitiveLog = (obj) => ({
|
|
415
|
-
...obj,
|
|
416
|
-
});
|
|
417
|
-
export const DescribeLocationNfsRequestFilterSensitiveLog = (obj) => ({
|
|
418
|
-
...obj,
|
|
419
|
-
});
|
|
420
|
-
export const DescribeLocationNfsResponseFilterSensitiveLog = (obj) => ({
|
|
421
|
-
...obj,
|
|
422
|
-
});
|
|
423
|
-
export const DescribeLocationObjectStorageRequestFilterSensitiveLog = (obj) => ({
|
|
424
|
-
...obj,
|
|
425
|
-
});
|
|
426
|
-
export const DescribeLocationObjectStorageResponseFilterSensitiveLog = (obj) => ({
|
|
427
|
-
...obj,
|
|
428
|
-
});
|
|
429
|
-
export const DescribeLocationS3RequestFilterSensitiveLog = (obj) => ({
|
|
430
|
-
...obj,
|
|
431
|
-
});
|
|
432
|
-
export const DescribeLocationS3ResponseFilterSensitiveLog = (obj) => ({
|
|
433
|
-
...obj,
|
|
434
|
-
});
|
|
435
|
-
export const DescribeLocationSmbRequestFilterSensitiveLog = (obj) => ({
|
|
436
|
-
...obj,
|
|
437
|
-
});
|
|
438
|
-
export const DescribeLocationSmbResponseFilterSensitiveLog = (obj) => ({
|
|
439
|
-
...obj,
|
|
440
|
-
});
|
|
441
|
-
export const DescribeTaskRequestFilterSensitiveLog = (obj) => ({
|
|
442
|
-
...obj,
|
|
443
|
-
});
|
|
444
|
-
export const DescribeTaskResponseFilterSensitiveLog = (obj) => ({
|
|
445
|
-
...obj,
|
|
446
|
-
});
|
|
447
|
-
export const DescribeTaskExecutionRequestFilterSensitiveLog = (obj) => ({
|
|
448
|
-
...obj,
|
|
449
|
-
});
|
|
450
|
-
export const TaskExecutionResultDetailFilterSensitiveLog = (obj) => ({
|
|
451
|
-
...obj,
|
|
452
|
-
});
|
|
453
|
-
export const DescribeTaskExecutionResponseFilterSensitiveLog = (obj) => ({
|
|
454
|
-
...obj,
|
|
455
|
-
});
|
|
456
|
-
export const ListAgentsRequestFilterSensitiveLog = (obj) => ({
|
|
457
|
-
...obj,
|
|
458
|
-
});
|
|
459
|
-
export const ListAgentsResponseFilterSensitiveLog = (obj) => ({
|
|
460
|
-
...obj,
|
|
461
|
-
});
|
|
462
|
-
export const LocationFilterFilterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
});
|
|
465
|
-
export const ListLocationsRequestFilterSensitiveLog = (obj) => ({
|
|
466
|
-
...obj,
|
|
467
|
-
});
|
|
468
|
-
export const LocationListEntryFilterSensitiveLog = (obj) => ({
|
|
469
|
-
...obj,
|
|
470
|
-
});
|
|
471
|
-
export const ListLocationsResponseFilterSensitiveLog = (obj) => ({
|
|
472
|
-
...obj,
|
|
473
|
-
});
|
|
474
|
-
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
475
|
-
...obj,
|
|
476
|
-
});
|
|
477
|
-
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
478
|
-
...obj,
|
|
479
|
-
});
|
|
480
|
-
export const ListTaskExecutionsRequestFilterSensitiveLog = (obj) => ({
|
|
481
|
-
...obj,
|
|
482
|
-
});
|
|
483
|
-
export const TaskExecutionListEntryFilterSensitiveLog = (obj) => ({
|
|
484
|
-
...obj,
|
|
485
|
-
});
|
|
486
|
-
export const ListTaskExecutionsResponseFilterSensitiveLog = (obj) => ({
|
|
487
|
-
...obj,
|
|
488
|
-
});
|
|
489
|
-
export const TaskFilterFilterSensitiveLog = (obj) => ({
|
|
490
|
-
...obj,
|
|
491
|
-
});
|
|
492
|
-
export const ListTasksRequestFilterSensitiveLog = (obj) => ({
|
|
493
|
-
...obj,
|
|
494
|
-
});
|
|
495
|
-
export const TaskListEntryFilterSensitiveLog = (obj) => ({
|
|
496
|
-
...obj,
|
|
497
|
-
});
|
|
498
|
-
export const ListTasksResponseFilterSensitiveLog = (obj) => ({
|
|
499
|
-
...obj,
|
|
500
|
-
});
|
|
501
|
-
export const StartTaskExecutionRequestFilterSensitiveLog = (obj) => ({
|
|
502
|
-
...obj,
|
|
503
|
-
});
|
|
504
|
-
export const StartTaskExecutionResponseFilterSensitiveLog = (obj) => ({
|
|
505
|
-
...obj,
|
|
506
|
-
});
|
|
507
|
-
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
508
|
-
...obj,
|
|
509
|
-
});
|
|
510
|
-
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
511
|
-
...obj,
|
|
512
|
-
});
|
|
513
|
-
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
514
|
-
...obj,
|
|
515
|
-
});
|
|
516
|
-
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
517
|
-
...obj,
|
|
518
|
-
});
|
|
519
|
-
export const UpdateAgentRequestFilterSensitiveLog = (obj) => ({
|
|
520
|
-
...obj,
|
|
521
|
-
});
|
|
522
|
-
export const UpdateAgentResponseFilterSensitiveLog = (obj) => ({
|
|
523
|
-
...obj,
|
|
524
|
-
});
|
|
525
|
-
export const UpdateLocationHdfsRequestFilterSensitiveLog = (obj) => ({
|
|
526
|
-
...obj,
|
|
527
|
-
});
|
|
528
|
-
export const UpdateLocationHdfsResponseFilterSensitiveLog = (obj) => ({
|
|
529
|
-
...obj,
|
|
530
|
-
});
|
|
531
|
-
export const UpdateLocationNfsRequestFilterSensitiveLog = (obj) => ({
|
|
532
|
-
...obj,
|
|
533
|
-
});
|
|
534
|
-
export const UpdateLocationNfsResponseFilterSensitiveLog = (obj) => ({
|
|
535
|
-
...obj,
|
|
536
|
-
});
|
|
537
|
-
export const UpdateLocationObjectStorageRequestFilterSensitiveLog = (obj) => ({
|
|
538
|
-
...obj,
|
|
539
|
-
...(obj.SecretKey && { SecretKey: SENSITIVE_STRING }),
|
|
540
|
-
});
|
|
541
|
-
export const UpdateLocationObjectStorageResponseFilterSensitiveLog = (obj) => ({
|
|
542
|
-
...obj,
|
|
543
|
-
});
|
|
544
|
-
export const UpdateLocationSmbRequestFilterSensitiveLog = (obj) => ({
|
|
545
|
-
...obj,
|
|
546
|
-
...(obj.Password && { Password: SENSITIVE_STRING }),
|
|
547
|
-
});
|
|
548
|
-
export const UpdateLocationSmbResponseFilterSensitiveLog = (obj) => ({
|
|
549
|
-
...obj,
|
|
550
|
-
});
|
|
551
|
-
export const UpdateTaskRequestFilterSensitiveLog = (obj) => ({
|
|
552
|
-
...obj,
|
|
553
|
-
});
|
|
554
|
-
export const UpdateTaskResponseFilterSensitiveLog = (obj) => ({
|
|
555
|
-
...obj,
|
|
556
|
-
});
|
|
557
|
-
export const UpdateTaskExecutionRequestFilterSensitiveLog = (obj) => ({
|
|
558
|
-
...obj,
|
|
559
|
-
});
|
|
560
|
-
export const UpdateTaskExecutionResponseFilterSensitiveLog = (obj) => ({
|
|
561
|
-
...obj,
|
|
562
|
-
});
|
|
223
|
+
export var AgentListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
export var CancelTaskExecutionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
|
+
export var CancelTaskExecutionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
226
|
+
export var TagListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
+
export var CreateAgentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
+
export var CreateAgentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
export var Ec2ConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
230
|
+
export var CreateLocationEfsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
+
export var CreateLocationEfsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
+
export var CreateLocationFsxLustreRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
+
export var CreateLocationFsxLustreResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
+
export var NfsMountOptionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
export var FsxProtocolNfsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
export var SmbMountOptionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
export var FsxProtocolSmbFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING }))); };
|
|
238
|
+
export var FsxProtocolFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SMB && { SMB: FsxProtocolSmbFilterSensitiveLog(obj.SMB) }))); };
|
|
239
|
+
export var CreateLocationFsxOntapRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Protocol && { Protocol: FsxProtocolFilterSensitiveLog(obj.Protocol) }))); };
|
|
240
|
+
export var CreateLocationFsxOntapResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
241
|
+
export var CreateLocationFsxOpenZfsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Protocol && { Protocol: FsxProtocolFilterSensitiveLog(obj.Protocol) }))); };
|
|
242
|
+
export var CreateLocationFsxOpenZfsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
243
|
+
export var CreateLocationFsxWindowsRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING }))); };
|
|
244
|
+
export var CreateLocationFsxWindowsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
245
|
+
export var HdfsNameNodeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
246
|
+
export var QopConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
247
|
+
export var CreateLocationHdfsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
248
|
+
export var CreateLocationHdfsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
|
+
export var OnPremConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
250
|
+
export var CreateLocationNfsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
251
|
+
export var CreateLocationNfsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
252
|
+
export var CreateLocationObjectStorageRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SecretKey && { SecretKey: SENSITIVE_STRING }))); };
|
|
253
|
+
export var CreateLocationObjectStorageResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
254
|
+
export var S3ConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
255
|
+
export var CreateLocationS3RequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
256
|
+
export var CreateLocationS3ResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
|
+
export var CreateLocationSmbRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING }))); };
|
|
258
|
+
export var CreateLocationSmbResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
259
|
+
export var FilterRuleFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
260
|
+
export var OptionsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
261
|
+
export var TaskScheduleFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
262
|
+
export var CreateTaskRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
263
|
+
export var CreateTaskResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
264
|
+
export var DeleteAgentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
265
|
+
export var DeleteAgentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
266
|
+
export var DeleteLocationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
+
export var DeleteLocationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
268
|
+
export var DeleteTaskRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
269
|
+
export var DeleteTaskResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
270
|
+
export var DescribeAgentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
271
|
+
export var PrivateLinkConfigFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
272
|
+
export var DescribeAgentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
273
|
+
export var DescribeLocationEfsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
274
|
+
export var DescribeLocationEfsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
275
|
+
export var DescribeLocationFsxLustreRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
276
|
+
export var DescribeLocationFsxLustreResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
277
|
+
export var DescribeLocationFsxOntapRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
278
|
+
export var DescribeLocationFsxOntapResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Protocol && { Protocol: FsxProtocolFilterSensitiveLog(obj.Protocol) }))); };
|
|
279
|
+
export var DescribeLocationFsxOpenZfsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
280
|
+
export var DescribeLocationFsxOpenZfsResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Protocol && { Protocol: FsxProtocolFilterSensitiveLog(obj.Protocol) }))); };
|
|
281
|
+
export var DescribeLocationFsxWindowsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
282
|
+
export var DescribeLocationFsxWindowsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
283
|
+
export var DescribeLocationHdfsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
284
|
+
export var DescribeLocationHdfsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
|
+
export var DescribeLocationNfsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
286
|
+
export var DescribeLocationNfsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
287
|
+
export var DescribeLocationObjectStorageRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
288
|
+
export var DescribeLocationObjectStorageResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
+
export var DescribeLocationS3RequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
290
|
+
export var DescribeLocationS3ResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
291
|
+
export var DescribeLocationSmbRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
292
|
+
export var DescribeLocationSmbResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
+
export var DescribeTaskRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
294
|
+
export var DescribeTaskResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
295
|
+
export var DescribeTaskExecutionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
296
|
+
export var TaskExecutionResultDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
297
|
+
export var DescribeTaskExecutionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
298
|
+
export var ListAgentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
299
|
+
export var ListAgentsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
300
|
+
export var LocationFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
301
|
+
export var ListLocationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
302
|
+
export var LocationListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
303
|
+
export var ListLocationsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
304
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
305
|
+
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
306
|
+
export var ListTaskExecutionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
307
|
+
export var TaskExecutionListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
308
|
+
export var ListTaskExecutionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
309
|
+
export var TaskFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
310
|
+
export var ListTasksRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
311
|
+
export var TaskListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
312
|
+
export var ListTasksResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
313
|
+
export var StartTaskExecutionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
314
|
+
export var StartTaskExecutionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
315
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
316
|
+
export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
317
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
318
|
+
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
319
|
+
export var UpdateAgentRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
320
|
+
export var UpdateAgentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
321
|
+
export var UpdateLocationHdfsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
322
|
+
export var UpdateLocationHdfsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
323
|
+
export var UpdateLocationNfsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
324
|
+
export var UpdateLocationNfsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
325
|
+
export var UpdateLocationObjectStorageRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SecretKey && { SecretKey: SENSITIVE_STRING }))); };
|
|
326
|
+
export var UpdateLocationObjectStorageResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
327
|
+
export var UpdateLocationSmbRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Password && { Password: SENSITIVE_STRING }))); };
|
|
328
|
+
export var UpdateLocationSmbResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
329
|
+
export var UpdateTaskRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
330
|
+
export var UpdateTaskResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
331
|
+
export var UpdateTaskExecutionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
332
|
+
export var UpdateTaskExecutionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListAgentsCommand } from "../commands/ListAgentsCommand";
|
|
2
3
|
import { DataSync } from "../DataSync";
|
|
3
4
|
import { DataSyncClient } from "../DataSyncClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAgentsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listAgents.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof DataSync) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof DataSyncClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected DataSync | DataSyncClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListAgents(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListAgents_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof DataSync)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof DataSyncClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected DataSync | DataSyncClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|