@aws-sdk/client-migration-hub 3.131.0 → 3.142.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 +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AssociateCreatedArtifactCommand.js +2 -2
- package/dist-cjs/commands/AssociateDiscoveredResourceCommand.js +2 -2
- package/dist-cjs/commands/CreateProgressUpdateStreamCommand.js +2 -2
- package/dist-cjs/commands/DeleteProgressUpdateStreamCommand.js +2 -2
- package/dist-cjs/commands/DescribeApplicationStateCommand.js +2 -2
- package/dist-cjs/commands/DescribeMigrationTaskCommand.js +2 -2
- package/dist-cjs/commands/DisassociateCreatedArtifactCommand.js +2 -2
- package/dist-cjs/commands/DisassociateDiscoveredResourceCommand.js +2 -2
- package/dist-cjs/commands/ImportMigrationTaskCommand.js +2 -2
- package/dist-cjs/commands/ListApplicationStatesCommand.js +2 -2
- package/dist-cjs/commands/ListCreatedArtifactsCommand.js +2 -2
- package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +2 -2
- package/dist-cjs/commands/ListMigrationTasksCommand.js +2 -2
- package/dist-cjs/commands/ListProgressUpdateStreamsCommand.js +2 -2
- package/dist-cjs/commands/NotifyApplicationStateCommand.js +2 -2
- package/dist-cjs/commands/NotifyMigrationTaskStateCommand.js +2 -2
- package/dist-cjs/commands/PutResourceAttributesCommand.js +2 -2
- package/dist-cjs/models/models_0.js +170 -254
- package/dist-cjs/protocols/Aws_json1_1.js +85 -142
- package/dist-es/commands/AssociateCreatedArtifactCommand.js +3 -3
- package/dist-es/commands/AssociateDiscoveredResourceCommand.js +3 -3
- package/dist-es/commands/CreateProgressUpdateStreamCommand.js +3 -3
- package/dist-es/commands/DeleteProgressUpdateStreamCommand.js +3 -3
- package/dist-es/commands/DescribeApplicationStateCommand.js +3 -3
- package/dist-es/commands/DescribeMigrationTaskCommand.js +3 -3
- package/dist-es/commands/DisassociateCreatedArtifactCommand.js +3 -3
- package/dist-es/commands/DisassociateDiscoveredResourceCommand.js +3 -3
- package/dist-es/commands/ImportMigrationTaskCommand.js +3 -3
- package/dist-es/commands/ListApplicationStatesCommand.js +3 -3
- package/dist-es/commands/ListCreatedArtifactsCommand.js +3 -3
- package/dist-es/commands/ListDiscoveredResourcesCommand.js +3 -3
- package/dist-es/commands/ListMigrationTasksCommand.js +3 -3
- package/dist-es/commands/ListProgressUpdateStreamsCommand.js +3 -3
- package/dist-es/commands/NotifyApplicationStateCommand.js +3 -3
- package/dist-es/commands/NotifyMigrationTaskStateCommand.js +3 -3
- package/dist-es/commands/PutResourceAttributesCommand.js +3 -3
- package/dist-es/models/models_0.js +42 -168
- package/dist-es/protocols/Aws_json1_1.js +137 -143
- package/dist-types/models/models_0.d.ts +168 -252
- package/dist-types/ts3.4/models/models_0.d.ts +84 -168
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { MigrationHubServiceException as __BaseException } from "../models/MigrationHubServiceException";
|
|
5
5
|
import { AccessDeniedException, DryRunOperation, HomeRegionNotSetException, InternalServerError, InvalidInputException, PolicyErrorException, ResourceNotFoundException, ServiceUnavailableException, ThrottlingException, UnauthorizedOperation, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1AssociateCreatedArtifactCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -209,7 +209,7 @@ export var deserializeAws_json1_1AssociateCreatedArtifactCommand = function (out
|
|
|
209
209
|
});
|
|
210
210
|
}); };
|
|
211
211
|
var deserializeAws_json1_1AssociateCreatedArtifactCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
212
|
-
var parsedOutput, _a,
|
|
212
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
213
213
|
var _c;
|
|
214
214
|
return __generator(this, function (_d) {
|
|
215
215
|
switch (_d.label) {
|
|
@@ -262,14 +262,14 @@ var deserializeAws_json1_1AssociateCreatedArtifactCommandError = function (outpu
|
|
|
262
262
|
case 19: throw _d.sent();
|
|
263
263
|
case 20:
|
|
264
264
|
parsedBody = parsedOutput.body;
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
$metadata: $metadata,
|
|
265
|
+
throwDefaultError({
|
|
266
|
+
output: output,
|
|
267
|
+
parsedBody: parsedBody,
|
|
268
|
+
exceptionCtor: __BaseException,
|
|
269
|
+
errorCode: errorCode,
|
|
271
270
|
});
|
|
272
|
-
|
|
271
|
+
_d.label = 21;
|
|
272
|
+
case 21: return [2];
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
}); };
|
|
@@ -292,7 +292,7 @@ export var deserializeAws_json1_1AssociateDiscoveredResourceCommand = function (
|
|
|
292
292
|
});
|
|
293
293
|
}); };
|
|
294
294
|
var deserializeAws_json1_1AssociateDiscoveredResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
295
|
-
var parsedOutput, _a,
|
|
295
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
296
296
|
var _c;
|
|
297
297
|
return __generator(this, function (_d) {
|
|
298
298
|
switch (_d.label) {
|
|
@@ -349,14 +349,14 @@ var deserializeAws_json1_1AssociateDiscoveredResourceCommandError = function (ou
|
|
|
349
349
|
case 21: throw _d.sent();
|
|
350
350
|
case 22:
|
|
351
351
|
parsedBody = parsedOutput.body;
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
$metadata: $metadata,
|
|
352
|
+
throwDefaultError({
|
|
353
|
+
output: output,
|
|
354
|
+
parsedBody: parsedBody,
|
|
355
|
+
exceptionCtor: __BaseException,
|
|
356
|
+
errorCode: errorCode,
|
|
358
357
|
});
|
|
359
|
-
|
|
358
|
+
_d.label = 23;
|
|
359
|
+
case 23: return [2];
|
|
360
360
|
}
|
|
361
361
|
});
|
|
362
362
|
}); };
|
|
@@ -379,7 +379,7 @@ export var deserializeAws_json1_1CreateProgressUpdateStreamCommand = function (o
|
|
|
379
379
|
});
|
|
380
380
|
}); };
|
|
381
381
|
var deserializeAws_json1_1CreateProgressUpdateStreamCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
382
|
-
var parsedOutput, _a,
|
|
382
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
383
383
|
var _c;
|
|
384
384
|
return __generator(this, function (_d) {
|
|
385
385
|
switch (_d.label) {
|
|
@@ -428,14 +428,14 @@ var deserializeAws_json1_1CreateProgressUpdateStreamCommandError = function (out
|
|
|
428
428
|
case 17: throw _d.sent();
|
|
429
429
|
case 18:
|
|
430
430
|
parsedBody = parsedOutput.body;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
$metadata: $metadata,
|
|
431
|
+
throwDefaultError({
|
|
432
|
+
output: output,
|
|
433
|
+
parsedBody: parsedBody,
|
|
434
|
+
exceptionCtor: __BaseException,
|
|
435
|
+
errorCode: errorCode,
|
|
437
436
|
});
|
|
438
|
-
|
|
437
|
+
_d.label = 19;
|
|
438
|
+
case 19: return [2];
|
|
439
439
|
}
|
|
440
440
|
});
|
|
441
441
|
}); };
|
|
@@ -458,7 +458,7 @@ export var deserializeAws_json1_1DeleteProgressUpdateStreamCommand = function (o
|
|
|
458
458
|
});
|
|
459
459
|
}); };
|
|
460
460
|
var deserializeAws_json1_1DeleteProgressUpdateStreamCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
461
|
-
var parsedOutput, _a,
|
|
461
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
462
462
|
var _c;
|
|
463
463
|
return __generator(this, function (_d) {
|
|
464
464
|
switch (_d.label) {
|
|
@@ -511,14 +511,14 @@ var deserializeAws_json1_1DeleteProgressUpdateStreamCommandError = function (out
|
|
|
511
511
|
case 19: throw _d.sent();
|
|
512
512
|
case 20:
|
|
513
513
|
parsedBody = parsedOutput.body;
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
$metadata: $metadata,
|
|
514
|
+
throwDefaultError({
|
|
515
|
+
output: output,
|
|
516
|
+
parsedBody: parsedBody,
|
|
517
|
+
exceptionCtor: __BaseException,
|
|
518
|
+
errorCode: errorCode,
|
|
520
519
|
});
|
|
521
|
-
|
|
520
|
+
_d.label = 21;
|
|
521
|
+
case 21: return [2];
|
|
522
522
|
}
|
|
523
523
|
});
|
|
524
524
|
}); };
|
|
@@ -541,7 +541,7 @@ export var deserializeAws_json1_1DescribeApplicationStateCommand = function (out
|
|
|
541
541
|
});
|
|
542
542
|
}); };
|
|
543
543
|
var deserializeAws_json1_1DescribeApplicationStateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
544
|
-
var parsedOutput, _a,
|
|
544
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
545
545
|
var _c;
|
|
546
546
|
return __generator(this, function (_d) {
|
|
547
547
|
switch (_d.label) {
|
|
@@ -590,14 +590,14 @@ var deserializeAws_json1_1DescribeApplicationStateCommandError = function (outpu
|
|
|
590
590
|
case 17: throw _d.sent();
|
|
591
591
|
case 18:
|
|
592
592
|
parsedBody = parsedOutput.body;
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
$metadata: $metadata,
|
|
593
|
+
throwDefaultError({
|
|
594
|
+
output: output,
|
|
595
|
+
parsedBody: parsedBody,
|
|
596
|
+
exceptionCtor: __BaseException,
|
|
597
|
+
errorCode: errorCode,
|
|
599
598
|
});
|
|
600
|
-
|
|
599
|
+
_d.label = 19;
|
|
600
|
+
case 19: return [2];
|
|
601
601
|
}
|
|
602
602
|
});
|
|
603
603
|
}); };
|
|
@@ -620,7 +620,7 @@ export var deserializeAws_json1_1DescribeMigrationTaskCommand = function (output
|
|
|
620
620
|
});
|
|
621
621
|
}); };
|
|
622
622
|
var deserializeAws_json1_1DescribeMigrationTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
623
|
-
var parsedOutput, _a,
|
|
623
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
624
624
|
var _c;
|
|
625
625
|
return __generator(this, function (_d) {
|
|
626
626
|
switch (_d.label) {
|
|
@@ -665,14 +665,14 @@ var deserializeAws_json1_1DescribeMigrationTaskCommandError = function (output,
|
|
|
665
665
|
case 15: throw _d.sent();
|
|
666
666
|
case 16:
|
|
667
667
|
parsedBody = parsedOutput.body;
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
$metadata: $metadata,
|
|
668
|
+
throwDefaultError({
|
|
669
|
+
output: output,
|
|
670
|
+
parsedBody: parsedBody,
|
|
671
|
+
exceptionCtor: __BaseException,
|
|
672
|
+
errorCode: errorCode,
|
|
674
673
|
});
|
|
675
|
-
|
|
674
|
+
_d.label = 17;
|
|
675
|
+
case 17: return [2];
|
|
676
676
|
}
|
|
677
677
|
});
|
|
678
678
|
}); };
|
|
@@ -695,7 +695,7 @@ export var deserializeAws_json1_1DisassociateCreatedArtifactCommand = function (
|
|
|
695
695
|
});
|
|
696
696
|
}); };
|
|
697
697
|
var deserializeAws_json1_1DisassociateCreatedArtifactCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
698
|
-
var parsedOutput, _a,
|
|
698
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
699
699
|
var _c;
|
|
700
700
|
return __generator(this, function (_d) {
|
|
701
701
|
switch (_d.label) {
|
|
@@ -748,14 +748,14 @@ var deserializeAws_json1_1DisassociateCreatedArtifactCommandError = function (ou
|
|
|
748
748
|
case 19: throw _d.sent();
|
|
749
749
|
case 20:
|
|
750
750
|
parsedBody = parsedOutput.body;
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
$metadata: $metadata,
|
|
751
|
+
throwDefaultError({
|
|
752
|
+
output: output,
|
|
753
|
+
parsedBody: parsedBody,
|
|
754
|
+
exceptionCtor: __BaseException,
|
|
755
|
+
errorCode: errorCode,
|
|
757
756
|
});
|
|
758
|
-
|
|
757
|
+
_d.label = 21;
|
|
758
|
+
case 21: return [2];
|
|
759
759
|
}
|
|
760
760
|
});
|
|
761
761
|
}); };
|
|
@@ -778,7 +778,7 @@ export var deserializeAws_json1_1DisassociateDiscoveredResourceCommand = functio
|
|
|
778
778
|
});
|
|
779
779
|
}); };
|
|
780
780
|
var deserializeAws_json1_1DisassociateDiscoveredResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
781
|
-
var parsedOutput, _a,
|
|
781
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
782
782
|
var _c;
|
|
783
783
|
return __generator(this, function (_d) {
|
|
784
784
|
switch (_d.label) {
|
|
@@ -831,14 +831,14 @@ var deserializeAws_json1_1DisassociateDiscoveredResourceCommandError = function
|
|
|
831
831
|
case 19: throw _d.sent();
|
|
832
832
|
case 20:
|
|
833
833
|
parsedBody = parsedOutput.body;
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
$metadata: $metadata,
|
|
834
|
+
throwDefaultError({
|
|
835
|
+
output: output,
|
|
836
|
+
parsedBody: parsedBody,
|
|
837
|
+
exceptionCtor: __BaseException,
|
|
838
|
+
errorCode: errorCode,
|
|
840
839
|
});
|
|
841
|
-
|
|
840
|
+
_d.label = 21;
|
|
841
|
+
case 21: return [2];
|
|
842
842
|
}
|
|
843
843
|
});
|
|
844
844
|
}); };
|
|
@@ -861,7 +861,7 @@ export var deserializeAws_json1_1ImportMigrationTaskCommand = function (output,
|
|
|
861
861
|
});
|
|
862
862
|
}); };
|
|
863
863
|
var deserializeAws_json1_1ImportMigrationTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
864
|
-
var parsedOutput, _a,
|
|
864
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
865
865
|
var _c;
|
|
866
866
|
return __generator(this, function (_d) {
|
|
867
867
|
switch (_d.label) {
|
|
@@ -914,14 +914,14 @@ var deserializeAws_json1_1ImportMigrationTaskCommandError = function (output, co
|
|
|
914
914
|
case 19: throw _d.sent();
|
|
915
915
|
case 20:
|
|
916
916
|
parsedBody = parsedOutput.body;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
$metadata: $metadata,
|
|
917
|
+
throwDefaultError({
|
|
918
|
+
output: output,
|
|
919
|
+
parsedBody: parsedBody,
|
|
920
|
+
exceptionCtor: __BaseException,
|
|
921
|
+
errorCode: errorCode,
|
|
923
922
|
});
|
|
924
|
-
|
|
923
|
+
_d.label = 21;
|
|
924
|
+
case 21: return [2];
|
|
925
925
|
}
|
|
926
926
|
});
|
|
927
927
|
}); };
|
|
@@ -944,7 +944,7 @@ export var deserializeAws_json1_1ListApplicationStatesCommand = function (output
|
|
|
944
944
|
});
|
|
945
945
|
}); };
|
|
946
946
|
var deserializeAws_json1_1ListApplicationStatesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
947
|
-
var parsedOutput, _a,
|
|
947
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
948
948
|
var _c;
|
|
949
949
|
return __generator(this, function (_d) {
|
|
950
950
|
switch (_d.label) {
|
|
@@ -985,14 +985,14 @@ var deserializeAws_json1_1ListApplicationStatesCommandError = function (output,
|
|
|
985
985
|
case 13: throw _d.sent();
|
|
986
986
|
case 14:
|
|
987
987
|
parsedBody = parsedOutput.body;
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
$metadata: $metadata,
|
|
988
|
+
throwDefaultError({
|
|
989
|
+
output: output,
|
|
990
|
+
parsedBody: parsedBody,
|
|
991
|
+
exceptionCtor: __BaseException,
|
|
992
|
+
errorCode: errorCode,
|
|
994
993
|
});
|
|
995
|
-
|
|
994
|
+
_d.label = 15;
|
|
995
|
+
case 15: return [2];
|
|
996
996
|
}
|
|
997
997
|
});
|
|
998
998
|
}); };
|
|
@@ -1015,7 +1015,7 @@ export var deserializeAws_json1_1ListCreatedArtifactsCommand = function (output,
|
|
|
1015
1015
|
});
|
|
1016
1016
|
}); };
|
|
1017
1017
|
var deserializeAws_json1_1ListCreatedArtifactsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1018
|
-
var parsedOutput, _a,
|
|
1018
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1019
1019
|
var _c;
|
|
1020
1020
|
return __generator(this, function (_d) {
|
|
1021
1021
|
switch (_d.label) {
|
|
@@ -1060,14 +1060,14 @@ var deserializeAws_json1_1ListCreatedArtifactsCommandError = function (output, c
|
|
|
1060
1060
|
case 15: throw _d.sent();
|
|
1061
1061
|
case 16:
|
|
1062
1062
|
parsedBody = parsedOutput.body;
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
$metadata: $metadata,
|
|
1063
|
+
throwDefaultError({
|
|
1064
|
+
output: output,
|
|
1065
|
+
parsedBody: parsedBody,
|
|
1066
|
+
exceptionCtor: __BaseException,
|
|
1067
|
+
errorCode: errorCode,
|
|
1069
1068
|
});
|
|
1070
|
-
|
|
1069
|
+
_d.label = 17;
|
|
1070
|
+
case 17: return [2];
|
|
1071
1071
|
}
|
|
1072
1072
|
});
|
|
1073
1073
|
}); };
|
|
@@ -1090,7 +1090,7 @@ export var deserializeAws_json1_1ListDiscoveredResourcesCommand = function (outp
|
|
|
1090
1090
|
});
|
|
1091
1091
|
}); };
|
|
1092
1092
|
var deserializeAws_json1_1ListDiscoveredResourcesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1093
|
-
var parsedOutput, _a,
|
|
1093
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1094
1094
|
var _c;
|
|
1095
1095
|
return __generator(this, function (_d) {
|
|
1096
1096
|
switch (_d.label) {
|
|
@@ -1135,14 +1135,14 @@ var deserializeAws_json1_1ListDiscoveredResourcesCommandError = function (output
|
|
|
1135
1135
|
case 15: throw _d.sent();
|
|
1136
1136
|
case 16:
|
|
1137
1137
|
parsedBody = parsedOutput.body;
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
$metadata: $metadata,
|
|
1138
|
+
throwDefaultError({
|
|
1139
|
+
output: output,
|
|
1140
|
+
parsedBody: parsedBody,
|
|
1141
|
+
exceptionCtor: __BaseException,
|
|
1142
|
+
errorCode: errorCode,
|
|
1144
1143
|
});
|
|
1145
|
-
|
|
1144
|
+
_d.label = 17;
|
|
1145
|
+
case 17: return [2];
|
|
1146
1146
|
}
|
|
1147
1147
|
});
|
|
1148
1148
|
}); };
|
|
@@ -1165,7 +1165,7 @@ export var deserializeAws_json1_1ListMigrationTasksCommand = function (output, c
|
|
|
1165
1165
|
});
|
|
1166
1166
|
}); };
|
|
1167
1167
|
var deserializeAws_json1_1ListMigrationTasksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1168
|
-
var parsedOutput, _a,
|
|
1168
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1169
1169
|
var _c;
|
|
1170
1170
|
return __generator(this, function (_d) {
|
|
1171
1171
|
switch (_d.label) {
|
|
@@ -1214,14 +1214,14 @@ var deserializeAws_json1_1ListMigrationTasksCommandError = function (output, con
|
|
|
1214
1214
|
case 17: throw _d.sent();
|
|
1215
1215
|
case 18:
|
|
1216
1216
|
parsedBody = parsedOutput.body;
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
$metadata: $metadata,
|
|
1217
|
+
throwDefaultError({
|
|
1218
|
+
output: output,
|
|
1219
|
+
parsedBody: parsedBody,
|
|
1220
|
+
exceptionCtor: __BaseException,
|
|
1221
|
+
errorCode: errorCode,
|
|
1223
1222
|
});
|
|
1224
|
-
|
|
1223
|
+
_d.label = 19;
|
|
1224
|
+
case 19: return [2];
|
|
1225
1225
|
}
|
|
1226
1226
|
});
|
|
1227
1227
|
}); };
|
|
@@ -1244,7 +1244,7 @@ export var deserializeAws_json1_1ListProgressUpdateStreamsCommand = function (ou
|
|
|
1244
1244
|
});
|
|
1245
1245
|
}); };
|
|
1246
1246
|
var deserializeAws_json1_1ListProgressUpdateStreamsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1247
|
-
var parsedOutput, _a,
|
|
1247
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1248
1248
|
var _c;
|
|
1249
1249
|
return __generator(this, function (_d) {
|
|
1250
1250
|
switch (_d.label) {
|
|
@@ -1285,14 +1285,14 @@ var deserializeAws_json1_1ListProgressUpdateStreamsCommandError = function (outp
|
|
|
1285
1285
|
case 13: throw _d.sent();
|
|
1286
1286
|
case 14:
|
|
1287
1287
|
parsedBody = parsedOutput.body;
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
$metadata: $metadata,
|
|
1288
|
+
throwDefaultError({
|
|
1289
|
+
output: output,
|
|
1290
|
+
parsedBody: parsedBody,
|
|
1291
|
+
exceptionCtor: __BaseException,
|
|
1292
|
+
errorCode: errorCode,
|
|
1294
1293
|
});
|
|
1295
|
-
|
|
1294
|
+
_d.label = 15;
|
|
1295
|
+
case 15: return [2];
|
|
1296
1296
|
}
|
|
1297
1297
|
});
|
|
1298
1298
|
}); };
|
|
@@ -1315,7 +1315,7 @@ export var deserializeAws_json1_1NotifyApplicationStateCommand = function (outpu
|
|
|
1315
1315
|
});
|
|
1316
1316
|
}); };
|
|
1317
1317
|
var deserializeAws_json1_1NotifyApplicationStateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1318
|
-
var parsedOutput, _a,
|
|
1318
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1319
1319
|
var _c;
|
|
1320
1320
|
return __generator(this, function (_d) {
|
|
1321
1321
|
switch (_d.label) {
|
|
@@ -1372,14 +1372,14 @@ var deserializeAws_json1_1NotifyApplicationStateCommandError = function (output,
|
|
|
1372
1372
|
case 21: throw _d.sent();
|
|
1373
1373
|
case 22:
|
|
1374
1374
|
parsedBody = parsedOutput.body;
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
$metadata: $metadata,
|
|
1375
|
+
throwDefaultError({
|
|
1376
|
+
output: output,
|
|
1377
|
+
parsedBody: parsedBody,
|
|
1378
|
+
exceptionCtor: __BaseException,
|
|
1379
|
+
errorCode: errorCode,
|
|
1381
1380
|
});
|
|
1382
|
-
|
|
1381
|
+
_d.label = 23;
|
|
1382
|
+
case 23: return [2];
|
|
1383
1383
|
}
|
|
1384
1384
|
});
|
|
1385
1385
|
}); };
|
|
@@ -1402,7 +1402,7 @@ export var deserializeAws_json1_1NotifyMigrationTaskStateCommand = function (out
|
|
|
1402
1402
|
});
|
|
1403
1403
|
}); };
|
|
1404
1404
|
var deserializeAws_json1_1NotifyMigrationTaskStateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1405
|
-
var parsedOutput, _a,
|
|
1405
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1406
1406
|
var _c;
|
|
1407
1407
|
return __generator(this, function (_d) {
|
|
1408
1408
|
switch (_d.label) {
|
|
@@ -1455,14 +1455,14 @@ var deserializeAws_json1_1NotifyMigrationTaskStateCommandError = function (outpu
|
|
|
1455
1455
|
case 19: throw _d.sent();
|
|
1456
1456
|
case 20:
|
|
1457
1457
|
parsedBody = parsedOutput.body;
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
$metadata: $metadata,
|
|
1458
|
+
throwDefaultError({
|
|
1459
|
+
output: output,
|
|
1460
|
+
parsedBody: parsedBody,
|
|
1461
|
+
exceptionCtor: __BaseException,
|
|
1462
|
+
errorCode: errorCode,
|
|
1464
1463
|
});
|
|
1465
|
-
|
|
1464
|
+
_d.label = 21;
|
|
1465
|
+
case 21: return [2];
|
|
1466
1466
|
}
|
|
1467
1467
|
});
|
|
1468
1468
|
}); };
|
|
@@ -1485,7 +1485,7 @@ export var deserializeAws_json1_1PutResourceAttributesCommand = function (output
|
|
|
1485
1485
|
});
|
|
1486
1486
|
}); };
|
|
1487
1487
|
var deserializeAws_json1_1PutResourceAttributesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1488
|
-
var parsedOutput, _a,
|
|
1488
|
+
var parsedOutput, _a, errorCode, _b, parsedBody;
|
|
1489
1489
|
var _c;
|
|
1490
1490
|
return __generator(this, function (_d) {
|
|
1491
1491
|
switch (_d.label) {
|
|
@@ -1538,14 +1538,14 @@ var deserializeAws_json1_1PutResourceAttributesCommandError = function (output,
|
|
|
1538
1538
|
case 19: throw _d.sent();
|
|
1539
1539
|
case 20:
|
|
1540
1540
|
parsedBody = parsedOutput.body;
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
$metadata: $metadata,
|
|
1541
|
+
throwDefaultError({
|
|
1542
|
+
output: output,
|
|
1543
|
+
parsedBody: parsedBody,
|
|
1544
|
+
exceptionCtor: __BaseException,
|
|
1545
|
+
errorCode: errorCode,
|
|
1547
1546
|
});
|
|
1548
|
-
|
|
1547
|
+
_d.label = 21;
|
|
1548
|
+
case 21: return [2];
|
|
1549
1549
|
}
|
|
1550
1550
|
});
|
|
1551
1551
|
}); };
|
|
@@ -1643,9 +1643,6 @@ var serializeAws_json1_1ApplicationIds = function (input, context) {
|
|
|
1643
1643
|
return input
|
|
1644
1644
|
.filter(function (e) { return e != null; })
|
|
1645
1645
|
.map(function (entry) {
|
|
1646
|
-
if (entry === null) {
|
|
1647
|
-
return null;
|
|
1648
|
-
}
|
|
1649
1646
|
return entry;
|
|
1650
1647
|
});
|
|
1651
1648
|
};
|
|
@@ -1721,9 +1718,6 @@ var serializeAws_json1_1ResourceAttributeList = function (input, context) {
|
|
|
1721
1718
|
return input
|
|
1722
1719
|
.filter(function (e) { return e != null; })
|
|
1723
1720
|
.map(function (entry) {
|
|
1724
|
-
if (entry === null) {
|
|
1725
|
-
return null;
|
|
1726
|
-
}
|
|
1727
1721
|
return serializeAws_json1_1ResourceAttribute(entry, context);
|
|
1728
1722
|
});
|
|
1729
1723
|
};
|