@aws-sdk/client-codepipeline 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CodePipelineServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +473 -4
- package/dist-cjs/protocols/Aws_json1_1.js +458 -1447
- package/dist-es/index.js +1 -0
- package/dist-es/models/CodePipelineServiceException.js +12 -0
- package/dist-es/models/models_0.js +434 -1
- package/dist-es/protocols/Aws_json1_1.js +913 -1532
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CodePipelineServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +202 -170
- package/dist-types/ts3.4/CodePipeline.d.ts +200 -0
- package/dist-types/ts3.4/CodePipelineClient.d.ts +112 -0
- package/dist-types/ts3.4/commands/AcknowledgeJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AcknowledgeThirdPartyJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableStageTransitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableStageTransitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetActionTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetJobDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPipelineStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListActionExecutionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListActionTypesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PollForJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutActionRevisionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutApprovalResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutJobFailureResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutWebhookCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterWebhookWithThirdPartyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RetryStageExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateActionTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +39 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/CodePipelineServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2098 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListActionExecutionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListActionTypesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPipelineExecutionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPipelinesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWebhooksPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +119 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { expectBoolean as __expectBoolean, 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, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
|
+
import { CodePipelineServiceException as __BaseException } from "../models/CodePipelineServiceException";
|
|
6
|
+
import { ActionNotFoundException, ActionTypeNotFoundException, ApprovalAlreadyCompletedException, ConcurrentModificationException, ConflictException, DuplicatedStopRequestException, InvalidActionDeclarationException, InvalidApprovalTokenException, InvalidArnException, InvalidBlockerDeclarationException, InvalidClientTokenException, InvalidJobException, InvalidJobStateException, InvalidNextTokenException, InvalidNonceException, InvalidStageDeclarationException, InvalidStructureException, InvalidTagsException, InvalidWebhookAuthenticationParametersException, InvalidWebhookFilterPatternException, JobNotFoundException, LimitExceededException, NotLatestPipelineExecutionException, OutputVariablesSizeExceededException, PipelineExecutionNotFoundException, PipelineExecutionNotStoppableException, PipelineNameInUseException, PipelineNotFoundException, PipelineVersionNotFoundException, RequestFailedException, ResourceNotFoundException, StageNotFoundException, StageNotRetryableException, TooManyTagsException, ValidationException, WebhookNotFoundException, } from "../models/models_0";
|
|
5
7
|
export var serializeAws_json1_1AcknowledgeJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6
8
|
var headers, body;
|
|
7
9
|
return __generator(this, function (_a) {
|
|
@@ -450,16 +452,16 @@ export var deserializeAws_json1_1AcknowledgeJobCommand = function (output, conte
|
|
|
450
452
|
});
|
|
451
453
|
}); };
|
|
452
454
|
var deserializeAws_json1_1AcknowledgeJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
453
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
454
|
-
var
|
|
455
|
-
return __generator(this, function (
|
|
456
|
-
switch (
|
|
455
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
456
|
+
var _c;
|
|
457
|
+
return __generator(this, function (_d) {
|
|
458
|
+
switch (_d.label) {
|
|
457
459
|
case 0:
|
|
458
460
|
_a = [__assign({}, output)];
|
|
459
|
-
|
|
461
|
+
_c = {};
|
|
460
462
|
return [4, parseBody(output.body, context)];
|
|
461
463
|
case 1:
|
|
462
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
464
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
463
465
|
errorCode = "UnknownError";
|
|
464
466
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
465
467
|
_b = errorCode;
|
|
@@ -472,34 +474,20 @@ var deserializeAws_json1_1AcknowledgeJobCommandError = function (output, context
|
|
|
472
474
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 6];
|
|
473
475
|
}
|
|
474
476
|
return [3, 8];
|
|
475
|
-
case 2:
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
case
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
case 4:
|
|
482
|
-
_d = [{}];
|
|
483
|
-
return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
484
|
-
case 5:
|
|
485
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
486
|
-
return [3, 9];
|
|
487
|
-
case 6:
|
|
488
|
-
_e = [{}];
|
|
489
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
490
|
-
case 7:
|
|
491
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
492
|
-
return [3, 9];
|
|
477
|
+
case 2: return [4, deserializeAws_json1_1InvalidNonceExceptionResponse(parsedOutput, context)];
|
|
478
|
+
case 3: throw _d.sent();
|
|
479
|
+
case 4: return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
480
|
+
case 5: throw _d.sent();
|
|
481
|
+
case 6: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
482
|
+
case 7: throw _d.sent();
|
|
493
483
|
case 8:
|
|
494
484
|
parsedBody = parsedOutput.body;
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
response
|
|
501
|
-
delete response.Message;
|
|
502
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
485
|
+
response = new __BaseException({
|
|
486
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
487
|
+
$fault: "client",
|
|
488
|
+
$metadata: deserializeMetadata(output),
|
|
489
|
+
});
|
|
490
|
+
throw __decorateServiceException(response, parsedBody);
|
|
503
491
|
}
|
|
504
492
|
});
|
|
505
493
|
}); };
|
|
@@ -522,16 +510,16 @@ export var deserializeAws_json1_1AcknowledgeThirdPartyJobCommand = function (out
|
|
|
522
510
|
});
|
|
523
511
|
}); };
|
|
524
512
|
var deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
525
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
526
|
-
var
|
|
527
|
-
return __generator(this, function (
|
|
528
|
-
switch (
|
|
513
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
514
|
+
var _c;
|
|
515
|
+
return __generator(this, function (_d) {
|
|
516
|
+
switch (_d.label) {
|
|
529
517
|
case 0:
|
|
530
518
|
_a = [__assign({}, output)];
|
|
531
|
-
|
|
519
|
+
_c = {};
|
|
532
520
|
return [4, parseBody(output.body, context)];
|
|
533
521
|
case 1:
|
|
534
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
522
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
535
523
|
errorCode = "UnknownError";
|
|
536
524
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
537
525
|
_b = errorCode;
|
|
@@ -546,40 +534,22 @@ var deserializeAws_json1_1AcknowledgeThirdPartyJobCommandError = function (outpu
|
|
|
546
534
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 8];
|
|
547
535
|
}
|
|
548
536
|
return [3, 10];
|
|
549
|
-
case 2:
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
case
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
case 4
|
|
556
|
-
|
|
557
|
-
return [4, deserializeAws_json1_1InvalidNonceExceptionResponse(parsedOutput, context)];
|
|
558
|
-
case 5:
|
|
559
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
560
|
-
return [3, 11];
|
|
561
|
-
case 6:
|
|
562
|
-
_e = [{}];
|
|
563
|
-
return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
564
|
-
case 7:
|
|
565
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
566
|
-
return [3, 11];
|
|
567
|
-
case 8:
|
|
568
|
-
_f = [{}];
|
|
569
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
570
|
-
case 9:
|
|
571
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
572
|
-
return [3, 11];
|
|
537
|
+
case 2: return [4, deserializeAws_json1_1InvalidClientTokenExceptionResponse(parsedOutput, context)];
|
|
538
|
+
case 3: throw _d.sent();
|
|
539
|
+
case 4: return [4, deserializeAws_json1_1InvalidNonceExceptionResponse(parsedOutput, context)];
|
|
540
|
+
case 5: throw _d.sent();
|
|
541
|
+
case 6: return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
542
|
+
case 7: throw _d.sent();
|
|
543
|
+
case 8: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
544
|
+
case 9: throw _d.sent();
|
|
573
545
|
case 10:
|
|
574
546
|
parsedBody = parsedOutput.body;
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
response
|
|
581
|
-
delete response.Message;
|
|
582
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
547
|
+
response = new __BaseException({
|
|
548
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
549
|
+
$fault: "client",
|
|
550
|
+
$metadata: deserializeMetadata(output),
|
|
551
|
+
});
|
|
552
|
+
throw __decorateServiceException(response, parsedBody);
|
|
583
553
|
}
|
|
584
554
|
});
|
|
585
555
|
}); };
|
|
@@ -602,16 +572,16 @@ export var deserializeAws_json1_1CreateCustomActionTypeCommand = function (outpu
|
|
|
602
572
|
});
|
|
603
573
|
}); };
|
|
604
574
|
var deserializeAws_json1_1CreateCustomActionTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
605
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
606
|
-
var
|
|
607
|
-
return __generator(this, function (
|
|
608
|
-
switch (
|
|
575
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
576
|
+
var _c;
|
|
577
|
+
return __generator(this, function (_d) {
|
|
578
|
+
switch (_d.label) {
|
|
609
579
|
case 0:
|
|
610
580
|
_a = [__assign({}, output)];
|
|
611
|
-
|
|
581
|
+
_c = {};
|
|
612
582
|
return [4, parseBody(output.body, context)];
|
|
613
583
|
case 1:
|
|
614
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
584
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
615
585
|
errorCode = "UnknownError";
|
|
616
586
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
617
587
|
_b = errorCode;
|
|
@@ -628,46 +598,24 @@ var deserializeAws_json1_1CreateCustomActionTypeCommandError = function (output,
|
|
|
628
598
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 10];
|
|
629
599
|
}
|
|
630
600
|
return [3, 12];
|
|
631
|
-
case 2:
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
case
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
case 4
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
case
|
|
641
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
642
|
-
return [3, 13];
|
|
643
|
-
case 6:
|
|
644
|
-
_e = [{}];
|
|
645
|
-
return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
|
|
646
|
-
case 7:
|
|
647
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
648
|
-
return [3, 13];
|
|
649
|
-
case 8:
|
|
650
|
-
_f = [{}];
|
|
651
|
-
return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
652
|
-
case 9:
|
|
653
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
654
|
-
return [3, 13];
|
|
655
|
-
case 10:
|
|
656
|
-
_g = [{}];
|
|
657
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
658
|
-
case 11:
|
|
659
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
660
|
-
return [3, 13];
|
|
601
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
602
|
+
case 3: throw _d.sent();
|
|
603
|
+
case 4: return [4, deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context)];
|
|
604
|
+
case 5: throw _d.sent();
|
|
605
|
+
case 6: return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
|
|
606
|
+
case 7: throw _d.sent();
|
|
607
|
+
case 8: return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
608
|
+
case 9: throw _d.sent();
|
|
609
|
+
case 10: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
610
|
+
case 11: throw _d.sent();
|
|
661
611
|
case 12:
|
|
662
612
|
parsedBody = parsedOutput.body;
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
response
|
|
669
|
-
delete response.Message;
|
|
670
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
613
|
+
response = new __BaseException({
|
|
614
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
615
|
+
$fault: "client",
|
|
616
|
+
$metadata: deserializeMetadata(output),
|
|
617
|
+
});
|
|
618
|
+
throw __decorateServiceException(response, parsedBody);
|
|
671
619
|
}
|
|
672
620
|
});
|
|
673
621
|
}); };
|
|
@@ -690,16 +638,16 @@ export var deserializeAws_json1_1CreatePipelineCommand = function (output, conte
|
|
|
690
638
|
});
|
|
691
639
|
}); };
|
|
692
640
|
var deserializeAws_json1_1CreatePipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
693
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
694
|
-
var
|
|
695
|
-
return __generator(this, function (
|
|
696
|
-
switch (
|
|
641
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
642
|
+
var _c;
|
|
643
|
+
return __generator(this, function (_d) {
|
|
644
|
+
switch (_d.label) {
|
|
697
645
|
case 0:
|
|
698
646
|
_a = [__assign({}, output)];
|
|
699
|
-
|
|
647
|
+
_c = {};
|
|
700
648
|
return [4, parseBody(output.body, context)];
|
|
701
649
|
case 1:
|
|
702
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
650
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
703
651
|
errorCode = "UnknownError";
|
|
704
652
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
705
653
|
_b = errorCode;
|
|
@@ -726,76 +674,34 @@ var deserializeAws_json1_1CreatePipelineCommandError = function (output, context
|
|
|
726
674
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 20];
|
|
727
675
|
}
|
|
728
676
|
return [3, 22];
|
|
729
|
-
case 2:
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
case
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
case 4
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
case
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
case
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
case
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
case
|
|
748
|
-
|
|
749
|
-
return [4, deserializeAws_json1_1InvalidStageDeclarationExceptionResponse(parsedOutput, context)];
|
|
750
|
-
case 9:
|
|
751
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_p.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
752
|
-
return [3, 23];
|
|
753
|
-
case 10:
|
|
754
|
-
_g = [{}];
|
|
755
|
-
return [4, deserializeAws_json1_1InvalidStructureExceptionResponse(parsedOutput, context)];
|
|
756
|
-
case 11:
|
|
757
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_p.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
758
|
-
return [3, 23];
|
|
759
|
-
case 12:
|
|
760
|
-
_h = [{}];
|
|
761
|
-
return [4, deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context)];
|
|
762
|
-
case 13:
|
|
763
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_p.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
764
|
-
return [3, 23];
|
|
765
|
-
case 14:
|
|
766
|
-
_j = [{}];
|
|
767
|
-
return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
|
|
768
|
-
case 15:
|
|
769
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_p.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
770
|
-
return [3, 23];
|
|
771
|
-
case 16:
|
|
772
|
-
_k = [{}];
|
|
773
|
-
return [4, deserializeAws_json1_1PipelineNameInUseExceptionResponse(parsedOutput, context)];
|
|
774
|
-
case 17:
|
|
775
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _k.concat([(_p.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
776
|
-
return [3, 23];
|
|
777
|
-
case 18:
|
|
778
|
-
_l = [{}];
|
|
779
|
-
return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
780
|
-
case 19:
|
|
781
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _l.concat([(_p.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
782
|
-
return [3, 23];
|
|
783
|
-
case 20:
|
|
784
|
-
_m = [{}];
|
|
785
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
786
|
-
case 21:
|
|
787
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _m.concat([(_p.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
788
|
-
return [3, 23];
|
|
677
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
678
|
+
case 3: throw _d.sent();
|
|
679
|
+
case 4: return [4, deserializeAws_json1_1InvalidActionDeclarationExceptionResponse(parsedOutput, context)];
|
|
680
|
+
case 5: throw _d.sent();
|
|
681
|
+
case 6: return [4, deserializeAws_json1_1InvalidBlockerDeclarationExceptionResponse(parsedOutput, context)];
|
|
682
|
+
case 7: throw _d.sent();
|
|
683
|
+
case 8: return [4, deserializeAws_json1_1InvalidStageDeclarationExceptionResponse(parsedOutput, context)];
|
|
684
|
+
case 9: throw _d.sent();
|
|
685
|
+
case 10: return [4, deserializeAws_json1_1InvalidStructureExceptionResponse(parsedOutput, context)];
|
|
686
|
+
case 11: throw _d.sent();
|
|
687
|
+
case 12: return [4, deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context)];
|
|
688
|
+
case 13: throw _d.sent();
|
|
689
|
+
case 14: return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
|
|
690
|
+
case 15: throw _d.sent();
|
|
691
|
+
case 16: return [4, deserializeAws_json1_1PipelineNameInUseExceptionResponse(parsedOutput, context)];
|
|
692
|
+
case 17: throw _d.sent();
|
|
693
|
+
case 18: return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
694
|
+
case 19: throw _d.sent();
|
|
695
|
+
case 20: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
696
|
+
case 21: throw _d.sent();
|
|
789
697
|
case 22:
|
|
790
698
|
parsedBody = parsedOutput.body;
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
response
|
|
797
|
-
delete response.Message;
|
|
798
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
699
|
+
response = new __BaseException({
|
|
700
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
701
|
+
$fault: "client",
|
|
702
|
+
$metadata: deserializeMetadata(output),
|
|
703
|
+
});
|
|
704
|
+
throw __decorateServiceException(response, parsedBody);
|
|
799
705
|
}
|
|
800
706
|
});
|
|
801
707
|
}); };
|
|
@@ -818,16 +724,16 @@ export var deserializeAws_json1_1DeleteCustomActionTypeCommand = function (outpu
|
|
|
818
724
|
});
|
|
819
725
|
}); };
|
|
820
726
|
var deserializeAws_json1_1DeleteCustomActionTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
821
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
822
|
-
var
|
|
823
|
-
return __generator(this, function (
|
|
824
|
-
switch (
|
|
727
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
728
|
+
var _c;
|
|
729
|
+
return __generator(this, function (_d) {
|
|
730
|
+
switch (_d.label) {
|
|
825
731
|
case 0:
|
|
826
732
|
_a = [__assign({}, output)];
|
|
827
|
-
|
|
733
|
+
_c = {};
|
|
828
734
|
return [4, parseBody(output.body, context)];
|
|
829
735
|
case 1:
|
|
830
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
736
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
831
737
|
errorCode = "UnknownError";
|
|
832
738
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
833
739
|
_b = errorCode;
|
|
@@ -838,28 +744,18 @@ var deserializeAws_json1_1DeleteCustomActionTypeCommandError = function (output,
|
|
|
838
744
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
839
745
|
}
|
|
840
746
|
return [3, 6];
|
|
841
|
-
case 2:
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
case
|
|
845
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
846
|
-
return [3, 7];
|
|
847
|
-
case 4:
|
|
848
|
-
_d = [{}];
|
|
849
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
850
|
-
case 5:
|
|
851
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
852
|
-
return [3, 7];
|
|
747
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
748
|
+
case 3: throw _d.sent();
|
|
749
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
750
|
+
case 5: throw _d.sent();
|
|
853
751
|
case 6:
|
|
854
752
|
parsedBody = parsedOutput.body;
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
response
|
|
861
|
-
delete response.Message;
|
|
862
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
753
|
+
response = new __BaseException({
|
|
754
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
755
|
+
$fault: "client",
|
|
756
|
+
$metadata: deserializeMetadata(output),
|
|
757
|
+
});
|
|
758
|
+
throw __decorateServiceException(response, parsedBody);
|
|
863
759
|
}
|
|
864
760
|
});
|
|
865
761
|
}); };
|
|
@@ -882,16 +778,16 @@ export var deserializeAws_json1_1DeletePipelineCommand = function (output, conte
|
|
|
882
778
|
});
|
|
883
779
|
}); };
|
|
884
780
|
var deserializeAws_json1_1DeletePipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
885
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
886
|
-
var
|
|
887
|
-
return __generator(this, function (
|
|
888
|
-
switch (
|
|
781
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
782
|
+
var _c;
|
|
783
|
+
return __generator(this, function (_d) {
|
|
784
|
+
switch (_d.label) {
|
|
889
785
|
case 0:
|
|
890
786
|
_a = [__assign({}, output)];
|
|
891
|
-
|
|
787
|
+
_c = {};
|
|
892
788
|
return [4, parseBody(output.body, context)];
|
|
893
789
|
case 1:
|
|
894
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
790
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
895
791
|
errorCode = "UnknownError";
|
|
896
792
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
897
793
|
_b = errorCode;
|
|
@@ -902,28 +798,18 @@ var deserializeAws_json1_1DeletePipelineCommandError = function (output, context
|
|
|
902
798
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
903
799
|
}
|
|
904
800
|
return [3, 6];
|
|
905
|
-
case 2:
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
case
|
|
909
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
910
|
-
return [3, 7];
|
|
911
|
-
case 4:
|
|
912
|
-
_d = [{}];
|
|
913
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
914
|
-
case 5:
|
|
915
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
916
|
-
return [3, 7];
|
|
801
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
802
|
+
case 3: throw _d.sent();
|
|
803
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
804
|
+
case 5: throw _d.sent();
|
|
917
805
|
case 6:
|
|
918
806
|
parsedBody = parsedOutput.body;
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
response
|
|
925
|
-
delete response.Message;
|
|
926
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
807
|
+
response = new __BaseException({
|
|
808
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
809
|
+
$fault: "client",
|
|
810
|
+
$metadata: deserializeMetadata(output),
|
|
811
|
+
});
|
|
812
|
+
throw __decorateServiceException(response, parsedBody);
|
|
927
813
|
}
|
|
928
814
|
});
|
|
929
815
|
}); };
|
|
@@ -946,16 +832,16 @@ export var deserializeAws_json1_1DeleteWebhookCommand = function (output, contex
|
|
|
946
832
|
});
|
|
947
833
|
}); };
|
|
948
834
|
var deserializeAws_json1_1DeleteWebhookCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
949
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
950
|
-
var
|
|
951
|
-
return __generator(this, function (
|
|
952
|
-
switch (
|
|
835
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
836
|
+
var _c;
|
|
837
|
+
return __generator(this, function (_d) {
|
|
838
|
+
switch (_d.label) {
|
|
953
839
|
case 0:
|
|
954
840
|
_a = [__assign({}, output)];
|
|
955
|
-
|
|
841
|
+
_c = {};
|
|
956
842
|
return [4, parseBody(output.body, context)];
|
|
957
843
|
case 1:
|
|
958
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
844
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
959
845
|
errorCode = "UnknownError";
|
|
960
846
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
961
847
|
_b = errorCode;
|
|
@@ -966,28 +852,18 @@ var deserializeAws_json1_1DeleteWebhookCommandError = function (output, context)
|
|
|
966
852
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
967
853
|
}
|
|
968
854
|
return [3, 6];
|
|
969
|
-
case 2:
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
case
|
|
973
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
974
|
-
return [3, 7];
|
|
975
|
-
case 4:
|
|
976
|
-
_d = [{}];
|
|
977
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
978
|
-
case 5:
|
|
979
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
980
|
-
return [3, 7];
|
|
855
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
856
|
+
case 3: throw _d.sent();
|
|
857
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
858
|
+
case 5: throw _d.sent();
|
|
981
859
|
case 6:
|
|
982
860
|
parsedBody = parsedOutput.body;
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
response
|
|
989
|
-
delete response.Message;
|
|
990
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
861
|
+
response = new __BaseException({
|
|
862
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
863
|
+
$fault: "client",
|
|
864
|
+
$metadata: deserializeMetadata(output),
|
|
865
|
+
});
|
|
866
|
+
throw __decorateServiceException(response, parsedBody);
|
|
991
867
|
}
|
|
992
868
|
});
|
|
993
869
|
}); };
|
|
@@ -1010,16 +886,16 @@ export var deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommand = functi
|
|
|
1010
886
|
});
|
|
1011
887
|
}); };
|
|
1012
888
|
var deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1013
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1014
|
-
var
|
|
1015
|
-
return __generator(this, function (
|
|
1016
|
-
switch (
|
|
889
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
890
|
+
var _c;
|
|
891
|
+
return __generator(this, function (_d) {
|
|
892
|
+
switch (_d.label) {
|
|
1017
893
|
case 0:
|
|
1018
894
|
_a = [__assign({}, output)];
|
|
1019
|
-
|
|
895
|
+
_c = {};
|
|
1020
896
|
return [4, parseBody(output.body, context)];
|
|
1021
897
|
case 1:
|
|
1022
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
898
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1023
899
|
errorCode = "UnknownError";
|
|
1024
900
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1025
901
|
_b = errorCode;
|
|
@@ -1030,28 +906,18 @@ var deserializeAws_json1_1DeregisterWebhookWithThirdPartyCommandError = function
|
|
|
1030
906
|
case "com.amazonaws.codepipeline#WebhookNotFoundException": return [3, 4];
|
|
1031
907
|
}
|
|
1032
908
|
return [3, 6];
|
|
1033
|
-
case 2:
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
case
|
|
1037
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1038
|
-
return [3, 7];
|
|
1039
|
-
case 4:
|
|
1040
|
-
_d = [{}];
|
|
1041
|
-
return [4, deserializeAws_json1_1WebhookNotFoundExceptionResponse(parsedOutput, context)];
|
|
1042
|
-
case 5:
|
|
1043
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1044
|
-
return [3, 7];
|
|
909
|
+
case 2: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
910
|
+
case 3: throw _d.sent();
|
|
911
|
+
case 4: return [4, deserializeAws_json1_1WebhookNotFoundExceptionResponse(parsedOutput, context)];
|
|
912
|
+
case 5: throw _d.sent();
|
|
1045
913
|
case 6:
|
|
1046
914
|
parsedBody = parsedOutput.body;
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
response
|
|
1053
|
-
delete response.Message;
|
|
1054
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
915
|
+
response = new __BaseException({
|
|
916
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
917
|
+
$fault: "client",
|
|
918
|
+
$metadata: deserializeMetadata(output),
|
|
919
|
+
});
|
|
920
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1055
921
|
}
|
|
1056
922
|
});
|
|
1057
923
|
}); };
|
|
@@ -1074,16 +940,16 @@ export var deserializeAws_json1_1DisableStageTransitionCommand = function (outpu
|
|
|
1074
940
|
});
|
|
1075
941
|
}); };
|
|
1076
942
|
var deserializeAws_json1_1DisableStageTransitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1077
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1078
|
-
var
|
|
1079
|
-
return __generator(this, function (
|
|
1080
|
-
switch (
|
|
943
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
944
|
+
var _c;
|
|
945
|
+
return __generator(this, function (_d) {
|
|
946
|
+
switch (_d.label) {
|
|
1081
947
|
case 0:
|
|
1082
948
|
_a = [__assign({}, output)];
|
|
1083
|
-
|
|
949
|
+
_c = {};
|
|
1084
950
|
return [4, parseBody(output.body, context)];
|
|
1085
951
|
case 1:
|
|
1086
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
952
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1087
953
|
errorCode = "UnknownError";
|
|
1088
954
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1089
955
|
_b = errorCode;
|
|
@@ -1096,34 +962,20 @@ var deserializeAws_json1_1DisableStageTransitionCommandError = function (output,
|
|
|
1096
962
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 6];
|
|
1097
963
|
}
|
|
1098
964
|
return [3, 8];
|
|
1099
|
-
case 2:
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
case
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
case 4:
|
|
1106
|
-
_d = [{}];
|
|
1107
|
-
return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
1108
|
-
case 5:
|
|
1109
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1110
|
-
return [3, 9];
|
|
1111
|
-
case 6:
|
|
1112
|
-
_e = [{}];
|
|
1113
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1114
|
-
case 7:
|
|
1115
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1116
|
-
return [3, 9];
|
|
965
|
+
case 2: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
966
|
+
case 3: throw _d.sent();
|
|
967
|
+
case 4: return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
968
|
+
case 5: throw _d.sent();
|
|
969
|
+
case 6: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
970
|
+
case 7: throw _d.sent();
|
|
1117
971
|
case 8:
|
|
1118
972
|
parsedBody = parsedOutput.body;
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
response
|
|
1125
|
-
delete response.Message;
|
|
1126
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
973
|
+
response = new __BaseException({
|
|
974
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
975
|
+
$fault: "client",
|
|
976
|
+
$metadata: deserializeMetadata(output),
|
|
977
|
+
});
|
|
978
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1127
979
|
}
|
|
1128
980
|
});
|
|
1129
981
|
}); };
|
|
@@ -1146,16 +998,16 @@ export var deserializeAws_json1_1EnableStageTransitionCommand = function (output
|
|
|
1146
998
|
});
|
|
1147
999
|
}); };
|
|
1148
1000
|
var deserializeAws_json1_1EnableStageTransitionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1149
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1150
|
-
var
|
|
1151
|
-
return __generator(this, function (
|
|
1152
|
-
switch (
|
|
1001
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1002
|
+
var _c;
|
|
1003
|
+
return __generator(this, function (_d) {
|
|
1004
|
+
switch (_d.label) {
|
|
1153
1005
|
case 0:
|
|
1154
1006
|
_a = [__assign({}, output)];
|
|
1155
|
-
|
|
1007
|
+
_c = {};
|
|
1156
1008
|
return [4, parseBody(output.body, context)];
|
|
1157
1009
|
case 1:
|
|
1158
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1010
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1159
1011
|
errorCode = "UnknownError";
|
|
1160
1012
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1161
1013
|
_b = errorCode;
|
|
@@ -1168,34 +1020,20 @@ var deserializeAws_json1_1EnableStageTransitionCommandError = function (output,
|
|
|
1168
1020
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 6];
|
|
1169
1021
|
}
|
|
1170
1022
|
return [3, 8];
|
|
1171
|
-
case 2:
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
case
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
case 4:
|
|
1178
|
-
_d = [{}];
|
|
1179
|
-
return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
1180
|
-
case 5:
|
|
1181
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1182
|
-
return [3, 9];
|
|
1183
|
-
case 6:
|
|
1184
|
-
_e = [{}];
|
|
1185
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1186
|
-
case 7:
|
|
1187
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1188
|
-
return [3, 9];
|
|
1023
|
+
case 2: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1024
|
+
case 3: throw _d.sent();
|
|
1025
|
+
case 4: return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
1026
|
+
case 5: throw _d.sent();
|
|
1027
|
+
case 6: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1028
|
+
case 7: throw _d.sent();
|
|
1189
1029
|
case 8:
|
|
1190
1030
|
parsedBody = parsedOutput.body;
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
response
|
|
1197
|
-
delete response.Message;
|
|
1198
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1031
|
+
response = new __BaseException({
|
|
1032
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1033
|
+
$fault: "client",
|
|
1034
|
+
$metadata: deserializeMetadata(output),
|
|
1035
|
+
});
|
|
1036
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1199
1037
|
}
|
|
1200
1038
|
});
|
|
1201
1039
|
}); };
|
|
@@ -1218,16 +1056,16 @@ export var deserializeAws_json1_1GetActionTypeCommand = function (output, contex
|
|
|
1218
1056
|
});
|
|
1219
1057
|
}); };
|
|
1220
1058
|
var deserializeAws_json1_1GetActionTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1221
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1222
|
-
var
|
|
1223
|
-
return __generator(this, function (
|
|
1224
|
-
switch (
|
|
1059
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1060
|
+
var _c;
|
|
1061
|
+
return __generator(this, function (_d) {
|
|
1062
|
+
switch (_d.label) {
|
|
1225
1063
|
case 0:
|
|
1226
1064
|
_a = [__assign({}, output)];
|
|
1227
|
-
|
|
1065
|
+
_c = {};
|
|
1228
1066
|
return [4, parseBody(output.body, context)];
|
|
1229
1067
|
case 1:
|
|
1230
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1068
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1231
1069
|
errorCode = "UnknownError";
|
|
1232
1070
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1233
1071
|
_b = errorCode;
|
|
@@ -1238,28 +1076,18 @@ var deserializeAws_json1_1GetActionTypeCommandError = function (output, context)
|
|
|
1238
1076
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
1239
1077
|
}
|
|
1240
1078
|
return [3, 6];
|
|
1241
|
-
case 2:
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
case
|
|
1245
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1246
|
-
return [3, 7];
|
|
1247
|
-
case 4:
|
|
1248
|
-
_d = [{}];
|
|
1249
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1250
|
-
case 5:
|
|
1251
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1252
|
-
return [3, 7];
|
|
1079
|
+
case 2: return [4, deserializeAws_json1_1ActionTypeNotFoundExceptionResponse(parsedOutput, context)];
|
|
1080
|
+
case 3: throw _d.sent();
|
|
1081
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1082
|
+
case 5: throw _d.sent();
|
|
1253
1083
|
case 6:
|
|
1254
1084
|
parsedBody = parsedOutput.body;
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
response
|
|
1261
|
-
delete response.Message;
|
|
1262
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1085
|
+
response = new __BaseException({
|
|
1086
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1087
|
+
$fault: "client",
|
|
1088
|
+
$metadata: deserializeMetadata(output),
|
|
1089
|
+
});
|
|
1090
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1263
1091
|
}
|
|
1264
1092
|
});
|
|
1265
1093
|
}); };
|
|
@@ -1282,16 +1110,16 @@ export var deserializeAws_json1_1GetJobDetailsCommand = function (output, contex
|
|
|
1282
1110
|
});
|
|
1283
1111
|
}); };
|
|
1284
1112
|
var deserializeAws_json1_1GetJobDetailsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1285
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1286
|
-
var
|
|
1287
|
-
return __generator(this, function (
|
|
1288
|
-
switch (
|
|
1113
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1114
|
+
var _c;
|
|
1115
|
+
return __generator(this, function (_d) {
|
|
1116
|
+
switch (_d.label) {
|
|
1289
1117
|
case 0:
|
|
1290
1118
|
_a = [__assign({}, output)];
|
|
1291
|
-
|
|
1119
|
+
_c = {};
|
|
1292
1120
|
return [4, parseBody(output.body, context)];
|
|
1293
1121
|
case 1:
|
|
1294
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1122
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1295
1123
|
errorCode = "UnknownError";
|
|
1296
1124
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1297
1125
|
_b = errorCode;
|
|
@@ -1302,28 +1130,18 @@ var deserializeAws_json1_1GetJobDetailsCommandError = function (output, context)
|
|
|
1302
1130
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
1303
1131
|
}
|
|
1304
1132
|
return [3, 6];
|
|
1305
|
-
case 2:
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
case
|
|
1309
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1310
|
-
return [3, 7];
|
|
1311
|
-
case 4:
|
|
1312
|
-
_d = [{}];
|
|
1313
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1314
|
-
case 5:
|
|
1315
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1316
|
-
return [3, 7];
|
|
1133
|
+
case 2: return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
1134
|
+
case 3: throw _d.sent();
|
|
1135
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1136
|
+
case 5: throw _d.sent();
|
|
1317
1137
|
case 6:
|
|
1318
1138
|
parsedBody = parsedOutput.body;
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
response
|
|
1325
|
-
delete response.Message;
|
|
1326
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1139
|
+
response = new __BaseException({
|
|
1140
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1141
|
+
$fault: "client",
|
|
1142
|
+
$metadata: deserializeMetadata(output),
|
|
1143
|
+
});
|
|
1144
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1327
1145
|
}
|
|
1328
1146
|
});
|
|
1329
1147
|
}); };
|
|
@@ -1346,16 +1164,16 @@ export var deserializeAws_json1_1GetPipelineCommand = function (output, context)
|
|
|
1346
1164
|
});
|
|
1347
1165
|
}); };
|
|
1348
1166
|
var deserializeAws_json1_1GetPipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1349
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1350
|
-
var
|
|
1351
|
-
return __generator(this, function (
|
|
1352
|
-
switch (
|
|
1167
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1168
|
+
var _c;
|
|
1169
|
+
return __generator(this, function (_d) {
|
|
1170
|
+
switch (_d.label) {
|
|
1353
1171
|
case 0:
|
|
1354
1172
|
_a = [__assign({}, output)];
|
|
1355
|
-
|
|
1173
|
+
_c = {};
|
|
1356
1174
|
return [4, parseBody(output.body, context)];
|
|
1357
1175
|
case 1:
|
|
1358
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1176
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1359
1177
|
errorCode = "UnknownError";
|
|
1360
1178
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1361
1179
|
_b = errorCode;
|
|
@@ -1368,34 +1186,20 @@ var deserializeAws_json1_1GetPipelineCommandError = function (output, context) {
|
|
|
1368
1186
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 6];
|
|
1369
1187
|
}
|
|
1370
1188
|
return [3, 8];
|
|
1371
|
-
case 2:
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
case
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
case 4:
|
|
1378
|
-
_d = [{}];
|
|
1379
|
-
return [4, deserializeAws_json1_1PipelineVersionNotFoundExceptionResponse(parsedOutput, context)];
|
|
1380
|
-
case 5:
|
|
1381
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1382
|
-
return [3, 9];
|
|
1383
|
-
case 6:
|
|
1384
|
-
_e = [{}];
|
|
1385
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1386
|
-
case 7:
|
|
1387
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1388
|
-
return [3, 9];
|
|
1189
|
+
case 2: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1190
|
+
case 3: throw _d.sent();
|
|
1191
|
+
case 4: return [4, deserializeAws_json1_1PipelineVersionNotFoundExceptionResponse(parsedOutput, context)];
|
|
1192
|
+
case 5: throw _d.sent();
|
|
1193
|
+
case 6: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1194
|
+
case 7: throw _d.sent();
|
|
1389
1195
|
case 8:
|
|
1390
1196
|
parsedBody = parsedOutput.body;
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
response
|
|
1397
|
-
delete response.Message;
|
|
1398
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1197
|
+
response = new __BaseException({
|
|
1198
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1199
|
+
$fault: "client",
|
|
1200
|
+
$metadata: deserializeMetadata(output),
|
|
1201
|
+
});
|
|
1202
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1399
1203
|
}
|
|
1400
1204
|
});
|
|
1401
1205
|
}); };
|
|
@@ -1418,16 +1222,16 @@ export var deserializeAws_json1_1GetPipelineExecutionCommand = function (output,
|
|
|
1418
1222
|
});
|
|
1419
1223
|
}); };
|
|
1420
1224
|
var deserializeAws_json1_1GetPipelineExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1421
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1422
|
-
var
|
|
1423
|
-
return __generator(this, function (
|
|
1424
|
-
switch (
|
|
1225
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1226
|
+
var _c;
|
|
1227
|
+
return __generator(this, function (_d) {
|
|
1228
|
+
switch (_d.label) {
|
|
1425
1229
|
case 0:
|
|
1426
1230
|
_a = [__assign({}, output)];
|
|
1427
|
-
|
|
1231
|
+
_c = {};
|
|
1428
1232
|
return [4, parseBody(output.body, context)];
|
|
1429
1233
|
case 1:
|
|
1430
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1234
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1431
1235
|
errorCode = "UnknownError";
|
|
1432
1236
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1433
1237
|
_b = errorCode;
|
|
@@ -1440,34 +1244,20 @@ var deserializeAws_json1_1GetPipelineExecutionCommandError = function (output, c
|
|
|
1440
1244
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 6];
|
|
1441
1245
|
}
|
|
1442
1246
|
return [3, 8];
|
|
1443
|
-
case 2:
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
case
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
case 4:
|
|
1450
|
-
_d = [{}];
|
|
1451
|
-
return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1452
|
-
case 5:
|
|
1453
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1454
|
-
return [3, 9];
|
|
1455
|
-
case 6:
|
|
1456
|
-
_e = [{}];
|
|
1457
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1458
|
-
case 7:
|
|
1459
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1460
|
-
return [3, 9];
|
|
1247
|
+
case 2: return [4, deserializeAws_json1_1PipelineExecutionNotFoundExceptionResponse(parsedOutput, context)];
|
|
1248
|
+
case 3: throw _d.sent();
|
|
1249
|
+
case 4: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1250
|
+
case 5: throw _d.sent();
|
|
1251
|
+
case 6: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1252
|
+
case 7: throw _d.sent();
|
|
1461
1253
|
case 8:
|
|
1462
1254
|
parsedBody = parsedOutput.body;
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
response
|
|
1469
|
-
delete response.Message;
|
|
1470
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1255
|
+
response = new __BaseException({
|
|
1256
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1257
|
+
$fault: "client",
|
|
1258
|
+
$metadata: deserializeMetadata(output),
|
|
1259
|
+
});
|
|
1260
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1471
1261
|
}
|
|
1472
1262
|
});
|
|
1473
1263
|
}); };
|
|
@@ -1490,16 +1280,16 @@ export var deserializeAws_json1_1GetPipelineStateCommand = function (output, con
|
|
|
1490
1280
|
});
|
|
1491
1281
|
}); };
|
|
1492
1282
|
var deserializeAws_json1_1GetPipelineStateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1493
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1494
|
-
var
|
|
1495
|
-
return __generator(this, function (
|
|
1496
|
-
switch (
|
|
1283
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1284
|
+
var _c;
|
|
1285
|
+
return __generator(this, function (_d) {
|
|
1286
|
+
switch (_d.label) {
|
|
1497
1287
|
case 0:
|
|
1498
1288
|
_a = [__assign({}, output)];
|
|
1499
|
-
|
|
1289
|
+
_c = {};
|
|
1500
1290
|
return [4, parseBody(output.body, context)];
|
|
1501
1291
|
case 1:
|
|
1502
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1292
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1503
1293
|
errorCode = "UnknownError";
|
|
1504
1294
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1505
1295
|
_b = errorCode;
|
|
@@ -1510,28 +1300,18 @@ var deserializeAws_json1_1GetPipelineStateCommandError = function (output, conte
|
|
|
1510
1300
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
1511
1301
|
}
|
|
1512
1302
|
return [3, 6];
|
|
1513
|
-
case 2:
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
case
|
|
1517
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1518
|
-
return [3, 7];
|
|
1519
|
-
case 4:
|
|
1520
|
-
_d = [{}];
|
|
1521
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1522
|
-
case 5:
|
|
1523
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1524
|
-
return [3, 7];
|
|
1303
|
+
case 2: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1304
|
+
case 3: throw _d.sent();
|
|
1305
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1306
|
+
case 5: throw _d.sent();
|
|
1525
1307
|
case 6:
|
|
1526
1308
|
parsedBody = parsedOutput.body;
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
response
|
|
1533
|
-
delete response.Message;
|
|
1534
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1309
|
+
response = new __BaseException({
|
|
1310
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1311
|
+
$fault: "client",
|
|
1312
|
+
$metadata: deserializeMetadata(output),
|
|
1313
|
+
});
|
|
1314
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1535
1315
|
}
|
|
1536
1316
|
});
|
|
1537
1317
|
}); };
|
|
@@ -1554,16 +1334,16 @@ export var deserializeAws_json1_1GetThirdPartyJobDetailsCommand = function (outp
|
|
|
1554
1334
|
});
|
|
1555
1335
|
}); };
|
|
1556
1336
|
var deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1557
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1558
|
-
var
|
|
1559
|
-
return __generator(this, function (
|
|
1560
|
-
switch (
|
|
1337
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1338
|
+
var _c;
|
|
1339
|
+
return __generator(this, function (_d) {
|
|
1340
|
+
switch (_d.label) {
|
|
1561
1341
|
case 0:
|
|
1562
1342
|
_a = [__assign({}, output)];
|
|
1563
|
-
|
|
1343
|
+
_c = {};
|
|
1564
1344
|
return [4, parseBody(output.body, context)];
|
|
1565
1345
|
case 1:
|
|
1566
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1346
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1567
1347
|
errorCode = "UnknownError";
|
|
1568
1348
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1569
1349
|
_b = errorCode;
|
|
@@ -1578,40 +1358,22 @@ var deserializeAws_json1_1GetThirdPartyJobDetailsCommandError = function (output
|
|
|
1578
1358
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 8];
|
|
1579
1359
|
}
|
|
1580
1360
|
return [3, 10];
|
|
1581
|
-
case 2:
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
case
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
case 4
|
|
1588
|
-
|
|
1589
|
-
return [4, deserializeAws_json1_1InvalidJobExceptionResponse(parsedOutput, context)];
|
|
1590
|
-
case 5:
|
|
1591
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1592
|
-
return [3, 11];
|
|
1593
|
-
case 6:
|
|
1594
|
-
_e = [{}];
|
|
1595
|
-
return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
1596
|
-
case 7:
|
|
1597
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1598
|
-
return [3, 11];
|
|
1599
|
-
case 8:
|
|
1600
|
-
_f = [{}];
|
|
1601
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1602
|
-
case 9:
|
|
1603
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1604
|
-
return [3, 11];
|
|
1361
|
+
case 2: return [4, deserializeAws_json1_1InvalidClientTokenExceptionResponse(parsedOutput, context)];
|
|
1362
|
+
case 3: throw _d.sent();
|
|
1363
|
+
case 4: return [4, deserializeAws_json1_1InvalidJobExceptionResponse(parsedOutput, context)];
|
|
1364
|
+
case 5: throw _d.sent();
|
|
1365
|
+
case 6: return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
1366
|
+
case 7: throw _d.sent();
|
|
1367
|
+
case 8: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1368
|
+
case 9: throw _d.sent();
|
|
1605
1369
|
case 10:
|
|
1606
1370
|
parsedBody = parsedOutput.body;
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
response
|
|
1613
|
-
delete response.Message;
|
|
1614
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1371
|
+
response = new __BaseException({
|
|
1372
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1373
|
+
$fault: "client",
|
|
1374
|
+
$metadata: deserializeMetadata(output),
|
|
1375
|
+
});
|
|
1376
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1615
1377
|
}
|
|
1616
1378
|
});
|
|
1617
1379
|
}); };
|
|
@@ -1634,16 +1396,16 @@ export var deserializeAws_json1_1ListActionExecutionsCommand = function (output,
|
|
|
1634
1396
|
});
|
|
1635
1397
|
}); };
|
|
1636
1398
|
var deserializeAws_json1_1ListActionExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1637
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1638
|
-
var
|
|
1639
|
-
return __generator(this, function (
|
|
1640
|
-
switch (
|
|
1399
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1400
|
+
var _c;
|
|
1401
|
+
return __generator(this, function (_d) {
|
|
1402
|
+
switch (_d.label) {
|
|
1641
1403
|
case 0:
|
|
1642
1404
|
_a = [__assign({}, output)];
|
|
1643
|
-
|
|
1405
|
+
_c = {};
|
|
1644
1406
|
return [4, parseBody(output.body, context)];
|
|
1645
1407
|
case 1:
|
|
1646
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1408
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1647
1409
|
errorCode = "UnknownError";
|
|
1648
1410
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1649
1411
|
_b = errorCode;
|
|
@@ -1658,40 +1420,22 @@ var deserializeAws_json1_1ListActionExecutionsCommandError = function (output, c
|
|
|
1658
1420
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 8];
|
|
1659
1421
|
}
|
|
1660
1422
|
return [3, 10];
|
|
1661
|
-
case 2:
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
case
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
case 4
|
|
1668
|
-
|
|
1669
|
-
return [4, deserializeAws_json1_1PipelineExecutionNotFoundExceptionResponse(parsedOutput, context)];
|
|
1670
|
-
case 5:
|
|
1671
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1672
|
-
return [3, 11];
|
|
1673
|
-
case 6:
|
|
1674
|
-
_e = [{}];
|
|
1675
|
-
return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1676
|
-
case 7:
|
|
1677
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1678
|
-
return [3, 11];
|
|
1679
|
-
case 8:
|
|
1680
|
-
_f = [{}];
|
|
1681
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1682
|
-
case 9:
|
|
1683
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1684
|
-
return [3, 11];
|
|
1423
|
+
case 2: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
1424
|
+
case 3: throw _d.sent();
|
|
1425
|
+
case 4: return [4, deserializeAws_json1_1PipelineExecutionNotFoundExceptionResponse(parsedOutput, context)];
|
|
1426
|
+
case 5: throw _d.sent();
|
|
1427
|
+
case 6: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1428
|
+
case 7: throw _d.sent();
|
|
1429
|
+
case 8: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1430
|
+
case 9: throw _d.sent();
|
|
1685
1431
|
case 10:
|
|
1686
1432
|
parsedBody = parsedOutput.body;
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
response
|
|
1693
|
-
delete response.Message;
|
|
1694
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1433
|
+
response = new __BaseException({
|
|
1434
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1435
|
+
$fault: "client",
|
|
1436
|
+
$metadata: deserializeMetadata(output),
|
|
1437
|
+
});
|
|
1438
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1695
1439
|
}
|
|
1696
1440
|
});
|
|
1697
1441
|
}); };
|
|
@@ -1714,16 +1458,16 @@ export var deserializeAws_json1_1ListActionTypesCommand = function (output, cont
|
|
|
1714
1458
|
});
|
|
1715
1459
|
}); };
|
|
1716
1460
|
var deserializeAws_json1_1ListActionTypesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1717
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1718
|
-
var
|
|
1719
|
-
return __generator(this, function (
|
|
1720
|
-
switch (
|
|
1461
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1462
|
+
var _c;
|
|
1463
|
+
return __generator(this, function (_d) {
|
|
1464
|
+
switch (_d.label) {
|
|
1721
1465
|
case 0:
|
|
1722
1466
|
_a = [__assign({}, output)];
|
|
1723
|
-
|
|
1467
|
+
_c = {};
|
|
1724
1468
|
return [4, parseBody(output.body, context)];
|
|
1725
1469
|
case 1:
|
|
1726
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1470
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1727
1471
|
errorCode = "UnknownError";
|
|
1728
1472
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1729
1473
|
_b = errorCode;
|
|
@@ -1734,28 +1478,18 @@ var deserializeAws_json1_1ListActionTypesCommandError = function (output, contex
|
|
|
1734
1478
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
1735
1479
|
}
|
|
1736
1480
|
return [3, 6];
|
|
1737
|
-
case 2:
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
case
|
|
1741
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1742
|
-
return [3, 7];
|
|
1743
|
-
case 4:
|
|
1744
|
-
_d = [{}];
|
|
1745
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1746
|
-
case 5:
|
|
1747
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1748
|
-
return [3, 7];
|
|
1481
|
+
case 2: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
1482
|
+
case 3: throw _d.sent();
|
|
1483
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1484
|
+
case 5: throw _d.sent();
|
|
1749
1485
|
case 6:
|
|
1750
1486
|
parsedBody = parsedOutput.body;
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
response
|
|
1757
|
-
delete response.Message;
|
|
1758
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1487
|
+
response = new __BaseException({
|
|
1488
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1489
|
+
$fault: "client",
|
|
1490
|
+
$metadata: deserializeMetadata(output),
|
|
1491
|
+
});
|
|
1492
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1759
1493
|
}
|
|
1760
1494
|
});
|
|
1761
1495
|
}); };
|
|
@@ -1778,16 +1512,16 @@ export var deserializeAws_json1_1ListPipelineExecutionsCommand = function (outpu
|
|
|
1778
1512
|
});
|
|
1779
1513
|
}); };
|
|
1780
1514
|
var deserializeAws_json1_1ListPipelineExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1781
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1782
|
-
var
|
|
1783
|
-
return __generator(this, function (
|
|
1784
|
-
switch (
|
|
1515
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1516
|
+
var _c;
|
|
1517
|
+
return __generator(this, function (_d) {
|
|
1518
|
+
switch (_d.label) {
|
|
1785
1519
|
case 0:
|
|
1786
1520
|
_a = [__assign({}, output)];
|
|
1787
|
-
|
|
1521
|
+
_c = {};
|
|
1788
1522
|
return [4, parseBody(output.body, context)];
|
|
1789
1523
|
case 1:
|
|
1790
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1524
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1791
1525
|
errorCode = "UnknownError";
|
|
1792
1526
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1793
1527
|
_b = errorCode;
|
|
@@ -1800,34 +1534,20 @@ var deserializeAws_json1_1ListPipelineExecutionsCommandError = function (output,
|
|
|
1800
1534
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 6];
|
|
1801
1535
|
}
|
|
1802
1536
|
return [3, 8];
|
|
1803
|
-
case 2:
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
case
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
case 4:
|
|
1810
|
-
_d = [{}];
|
|
1811
|
-
return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1812
|
-
case 5:
|
|
1813
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1814
|
-
return [3, 9];
|
|
1815
|
-
case 6:
|
|
1816
|
-
_e = [{}];
|
|
1817
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1818
|
-
case 7:
|
|
1819
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1820
|
-
return [3, 9];
|
|
1537
|
+
case 2: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
1538
|
+
case 3: throw _d.sent();
|
|
1539
|
+
case 4: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1540
|
+
case 5: throw _d.sent();
|
|
1541
|
+
case 6: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1542
|
+
case 7: throw _d.sent();
|
|
1821
1543
|
case 8:
|
|
1822
1544
|
parsedBody = parsedOutput.body;
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
response
|
|
1829
|
-
delete response.Message;
|
|
1830
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1545
|
+
response = new __BaseException({
|
|
1546
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1547
|
+
$fault: "client",
|
|
1548
|
+
$metadata: deserializeMetadata(output),
|
|
1549
|
+
});
|
|
1550
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1831
1551
|
}
|
|
1832
1552
|
});
|
|
1833
1553
|
}); };
|
|
@@ -1850,16 +1570,16 @@ export var deserializeAws_json1_1ListPipelinesCommand = function (output, contex
|
|
|
1850
1570
|
});
|
|
1851
1571
|
}); };
|
|
1852
1572
|
var deserializeAws_json1_1ListPipelinesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1853
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1854
|
-
var
|
|
1855
|
-
return __generator(this, function (
|
|
1856
|
-
switch (
|
|
1573
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1574
|
+
var _c;
|
|
1575
|
+
return __generator(this, function (_d) {
|
|
1576
|
+
switch (_d.label) {
|
|
1857
1577
|
case 0:
|
|
1858
1578
|
_a = [__assign({}, output)];
|
|
1859
|
-
|
|
1579
|
+
_c = {};
|
|
1860
1580
|
return [4, parseBody(output.body, context)];
|
|
1861
1581
|
case 1:
|
|
1862
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1582
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1863
1583
|
errorCode = "UnknownError";
|
|
1864
1584
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1865
1585
|
_b = errorCode;
|
|
@@ -1870,28 +1590,18 @@ var deserializeAws_json1_1ListPipelinesCommandError = function (output, context)
|
|
|
1870
1590
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
1871
1591
|
}
|
|
1872
1592
|
return [3, 6];
|
|
1873
|
-
case 2:
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
case
|
|
1877
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1878
|
-
return [3, 7];
|
|
1879
|
-
case 4:
|
|
1880
|
-
_d = [{}];
|
|
1881
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1882
|
-
case 5:
|
|
1883
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1884
|
-
return [3, 7];
|
|
1593
|
+
case 2: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
1594
|
+
case 3: throw _d.sent();
|
|
1595
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1596
|
+
case 5: throw _d.sent();
|
|
1885
1597
|
case 6:
|
|
1886
1598
|
parsedBody = parsedOutput.body;
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
response
|
|
1893
|
-
delete response.Message;
|
|
1894
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1599
|
+
response = new __BaseException({
|
|
1600
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1601
|
+
$fault: "client",
|
|
1602
|
+
$metadata: deserializeMetadata(output),
|
|
1603
|
+
});
|
|
1604
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1895
1605
|
}
|
|
1896
1606
|
});
|
|
1897
1607
|
}); };
|
|
@@ -1914,16 +1624,16 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
1914
1624
|
});
|
|
1915
1625
|
}); };
|
|
1916
1626
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1917
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1918
|
-
var
|
|
1919
|
-
return __generator(this, function (
|
|
1920
|
-
switch (
|
|
1627
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1628
|
+
var _c;
|
|
1629
|
+
return __generator(this, function (_d) {
|
|
1630
|
+
switch (_d.label) {
|
|
1921
1631
|
case 0:
|
|
1922
1632
|
_a = [__assign({}, output)];
|
|
1923
|
-
|
|
1633
|
+
_c = {};
|
|
1924
1634
|
return [4, parseBody(output.body, context)];
|
|
1925
1635
|
case 1:
|
|
1926
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1636
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1927
1637
|
errorCode = "UnknownError";
|
|
1928
1638
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1929
1639
|
_b = errorCode;
|
|
@@ -1938,40 +1648,22 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1938
1648
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 8];
|
|
1939
1649
|
}
|
|
1940
1650
|
return [3, 10];
|
|
1941
|
-
case 2:
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
case
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
case 4
|
|
1948
|
-
|
|
1949
|
-
return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
1950
|
-
case 5:
|
|
1951
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1952
|
-
return [3, 11];
|
|
1953
|
-
case 6:
|
|
1954
|
-
_e = [{}];
|
|
1955
|
-
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1956
|
-
case 7:
|
|
1957
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1958
|
-
return [3, 11];
|
|
1959
|
-
case 8:
|
|
1960
|
-
_f = [{}];
|
|
1961
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1962
|
-
case 9:
|
|
1963
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1964
|
-
return [3, 11];
|
|
1651
|
+
case 2: return [4, deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context)];
|
|
1652
|
+
case 3: throw _d.sent();
|
|
1653
|
+
case 4: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
1654
|
+
case 5: throw _d.sent();
|
|
1655
|
+
case 6: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1656
|
+
case 7: throw _d.sent();
|
|
1657
|
+
case 8: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1658
|
+
case 9: throw _d.sent();
|
|
1965
1659
|
case 10:
|
|
1966
1660
|
parsedBody = parsedOutput.body;
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
response
|
|
1973
|
-
delete response.Message;
|
|
1974
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1661
|
+
response = new __BaseException({
|
|
1662
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1663
|
+
$fault: "client",
|
|
1664
|
+
$metadata: deserializeMetadata(output),
|
|
1665
|
+
});
|
|
1666
|
+
throw __decorateServiceException(response, parsedBody);
|
|
1975
1667
|
}
|
|
1976
1668
|
});
|
|
1977
1669
|
}); };
|
|
@@ -1994,16 +1686,16 @@ export var deserializeAws_json1_1ListWebhooksCommand = function (output, context
|
|
|
1994
1686
|
});
|
|
1995
1687
|
}); };
|
|
1996
1688
|
var deserializeAws_json1_1ListWebhooksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1997
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
1998
|
-
var
|
|
1999
|
-
return __generator(this, function (
|
|
2000
|
-
switch (
|
|
1689
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1690
|
+
var _c;
|
|
1691
|
+
return __generator(this, function (_d) {
|
|
1692
|
+
switch (_d.label) {
|
|
2001
1693
|
case 0:
|
|
2002
1694
|
_a = [__assign({}, output)];
|
|
2003
|
-
|
|
1695
|
+
_c = {};
|
|
2004
1696
|
return [4, parseBody(output.body, context)];
|
|
2005
1697
|
case 1:
|
|
2006
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1698
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2007
1699
|
errorCode = "UnknownError";
|
|
2008
1700
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2009
1701
|
_b = errorCode;
|
|
@@ -2014,28 +1706,18 @@ var deserializeAws_json1_1ListWebhooksCommandError = function (output, context)
|
|
|
2014
1706
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
2015
1707
|
}
|
|
2016
1708
|
return [3, 6];
|
|
2017
|
-
case 2:
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
case
|
|
2021
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2022
|
-
return [3, 7];
|
|
2023
|
-
case 4:
|
|
2024
|
-
_d = [{}];
|
|
2025
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2026
|
-
case 5:
|
|
2027
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2028
|
-
return [3, 7];
|
|
1709
|
+
case 2: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
1710
|
+
case 3: throw _d.sent();
|
|
1711
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1712
|
+
case 5: throw _d.sent();
|
|
2029
1713
|
case 6:
|
|
2030
1714
|
parsedBody = parsedOutput.body;
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
response
|
|
2037
|
-
delete response.Message;
|
|
2038
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1715
|
+
response = new __BaseException({
|
|
1716
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1717
|
+
$fault: "client",
|
|
1718
|
+
$metadata: deserializeMetadata(output),
|
|
1719
|
+
});
|
|
1720
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2039
1721
|
}
|
|
2040
1722
|
});
|
|
2041
1723
|
}); };
|
|
@@ -2058,16 +1740,16 @@ export var deserializeAws_json1_1PollForJobsCommand = function (output, context)
|
|
|
2058
1740
|
});
|
|
2059
1741
|
}); };
|
|
2060
1742
|
var deserializeAws_json1_1PollForJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2061
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2062
|
-
var
|
|
2063
|
-
return __generator(this, function (
|
|
2064
|
-
switch (
|
|
1743
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1744
|
+
var _c;
|
|
1745
|
+
return __generator(this, function (_d) {
|
|
1746
|
+
switch (_d.label) {
|
|
2065
1747
|
case 0:
|
|
2066
1748
|
_a = [__assign({}, output)];
|
|
2067
|
-
|
|
1749
|
+
_c = {};
|
|
2068
1750
|
return [4, parseBody(output.body, context)];
|
|
2069
1751
|
case 1:
|
|
2070
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1752
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2071
1753
|
errorCode = "UnknownError";
|
|
2072
1754
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2073
1755
|
_b = errorCode;
|
|
@@ -2078,28 +1760,18 @@ var deserializeAws_json1_1PollForJobsCommandError = function (output, context) {
|
|
|
2078
1760
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
2079
1761
|
}
|
|
2080
1762
|
return [3, 6];
|
|
2081
|
-
case 2:
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
case
|
|
2085
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2086
|
-
return [3, 7];
|
|
2087
|
-
case 4:
|
|
2088
|
-
_d = [{}];
|
|
2089
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2090
|
-
case 5:
|
|
2091
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2092
|
-
return [3, 7];
|
|
1763
|
+
case 2: return [4, deserializeAws_json1_1ActionTypeNotFoundExceptionResponse(parsedOutput, context)];
|
|
1764
|
+
case 3: throw _d.sent();
|
|
1765
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1766
|
+
case 5: throw _d.sent();
|
|
2093
1767
|
case 6:
|
|
2094
1768
|
parsedBody = parsedOutput.body;
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
response
|
|
2101
|
-
delete response.Message;
|
|
2102
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1769
|
+
response = new __BaseException({
|
|
1770
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1771
|
+
$fault: "client",
|
|
1772
|
+
$metadata: deserializeMetadata(output),
|
|
1773
|
+
});
|
|
1774
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2103
1775
|
}
|
|
2104
1776
|
});
|
|
2105
1777
|
}); };
|
|
@@ -2122,16 +1794,16 @@ export var deserializeAws_json1_1PollForThirdPartyJobsCommand = function (output
|
|
|
2122
1794
|
});
|
|
2123
1795
|
}); };
|
|
2124
1796
|
var deserializeAws_json1_1PollForThirdPartyJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2125
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2126
|
-
var
|
|
2127
|
-
return __generator(this, function (
|
|
2128
|
-
switch (
|
|
1797
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1798
|
+
var _c;
|
|
1799
|
+
return __generator(this, function (_d) {
|
|
1800
|
+
switch (_d.label) {
|
|
2129
1801
|
case 0:
|
|
2130
1802
|
_a = [__assign({}, output)];
|
|
2131
|
-
|
|
1803
|
+
_c = {};
|
|
2132
1804
|
return [4, parseBody(output.body, context)];
|
|
2133
1805
|
case 1:
|
|
2134
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1806
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2135
1807
|
errorCode = "UnknownError";
|
|
2136
1808
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2137
1809
|
_b = errorCode;
|
|
@@ -2142,28 +1814,18 @@ var deserializeAws_json1_1PollForThirdPartyJobsCommandError = function (output,
|
|
|
2142
1814
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 4];
|
|
2143
1815
|
}
|
|
2144
1816
|
return [3, 6];
|
|
2145
|
-
case 2:
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
case
|
|
2149
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2150
|
-
return [3, 7];
|
|
2151
|
-
case 4:
|
|
2152
|
-
_d = [{}];
|
|
2153
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2154
|
-
case 5:
|
|
2155
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2156
|
-
return [3, 7];
|
|
1817
|
+
case 2: return [4, deserializeAws_json1_1ActionTypeNotFoundExceptionResponse(parsedOutput, context)];
|
|
1818
|
+
case 3: throw _d.sent();
|
|
1819
|
+
case 4: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1820
|
+
case 5: throw _d.sent();
|
|
2157
1821
|
case 6:
|
|
2158
1822
|
parsedBody = parsedOutput.body;
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
response
|
|
2165
|
-
delete response.Message;
|
|
2166
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1823
|
+
response = new __BaseException({
|
|
1824
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1825
|
+
$fault: "client",
|
|
1826
|
+
$metadata: deserializeMetadata(output),
|
|
1827
|
+
});
|
|
1828
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2167
1829
|
}
|
|
2168
1830
|
});
|
|
2169
1831
|
}); };
|
|
@@ -2186,16 +1848,16 @@ export var deserializeAws_json1_1PutActionRevisionCommand = function (output, co
|
|
|
2186
1848
|
});
|
|
2187
1849
|
}); };
|
|
2188
1850
|
var deserializeAws_json1_1PutActionRevisionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2189
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2190
|
-
var
|
|
2191
|
-
return __generator(this, function (
|
|
2192
|
-
switch (
|
|
1851
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1852
|
+
var _c;
|
|
1853
|
+
return __generator(this, function (_d) {
|
|
1854
|
+
switch (_d.label) {
|
|
2193
1855
|
case 0:
|
|
2194
1856
|
_a = [__assign({}, output)];
|
|
2195
|
-
|
|
1857
|
+
_c = {};
|
|
2196
1858
|
return [4, parseBody(output.body, context)];
|
|
2197
1859
|
case 1:
|
|
2198
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1860
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2199
1861
|
errorCode = "UnknownError";
|
|
2200
1862
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2201
1863
|
_b = errorCode;
|
|
@@ -2210,40 +1872,22 @@ var deserializeAws_json1_1PutActionRevisionCommandError = function (output, cont
|
|
|
2210
1872
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 8];
|
|
2211
1873
|
}
|
|
2212
1874
|
return [3, 10];
|
|
2213
|
-
case 2:
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
case
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
case 4
|
|
2220
|
-
|
|
2221
|
-
return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
2222
|
-
case 5:
|
|
2223
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2224
|
-
return [3, 11];
|
|
2225
|
-
case 6:
|
|
2226
|
-
_e = [{}];
|
|
2227
|
-
return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
2228
|
-
case 7:
|
|
2229
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2230
|
-
return [3, 11];
|
|
2231
|
-
case 8:
|
|
2232
|
-
_f = [{}];
|
|
2233
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2234
|
-
case 9:
|
|
2235
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2236
|
-
return [3, 11];
|
|
1875
|
+
case 2: return [4, deserializeAws_json1_1ActionNotFoundExceptionResponse(parsedOutput, context)];
|
|
1876
|
+
case 3: throw _d.sent();
|
|
1877
|
+
case 4: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1878
|
+
case 5: throw _d.sent();
|
|
1879
|
+
case 6: return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
1880
|
+
case 7: throw _d.sent();
|
|
1881
|
+
case 8: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1882
|
+
case 9: throw _d.sent();
|
|
2237
1883
|
case 10:
|
|
2238
1884
|
parsedBody = parsedOutput.body;
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
response
|
|
2245
|
-
delete response.Message;
|
|
2246
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1885
|
+
response = new __BaseException({
|
|
1886
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1887
|
+
$fault: "client",
|
|
1888
|
+
$metadata: deserializeMetadata(output),
|
|
1889
|
+
});
|
|
1890
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2247
1891
|
}
|
|
2248
1892
|
});
|
|
2249
1893
|
}); };
|
|
@@ -2266,16 +1910,16 @@ export var deserializeAws_json1_1PutApprovalResultCommand = function (output, co
|
|
|
2266
1910
|
});
|
|
2267
1911
|
}); };
|
|
2268
1912
|
var deserializeAws_json1_1PutApprovalResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2269
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2270
|
-
var
|
|
2271
|
-
return __generator(this, function (
|
|
2272
|
-
switch (
|
|
1913
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1914
|
+
var _c;
|
|
1915
|
+
return __generator(this, function (_d) {
|
|
1916
|
+
switch (_d.label) {
|
|
2273
1917
|
case 0:
|
|
2274
1918
|
_a = [__assign({}, output)];
|
|
2275
|
-
|
|
1919
|
+
_c = {};
|
|
2276
1920
|
return [4, parseBody(output.body, context)];
|
|
2277
1921
|
case 1:
|
|
2278
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1922
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2279
1923
|
errorCode = "UnknownError";
|
|
2280
1924
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2281
1925
|
_b = errorCode;
|
|
@@ -2294,52 +1938,26 @@ var deserializeAws_json1_1PutApprovalResultCommandError = function (output, cont
|
|
|
2294
1938
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 12];
|
|
2295
1939
|
}
|
|
2296
1940
|
return [3, 14];
|
|
2297
|
-
case 2:
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
case
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
case 4
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
case
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
case 6:
|
|
2310
|
-
_e = [{}];
|
|
2311
|
-
return [4, deserializeAws_json1_1InvalidApprovalTokenExceptionResponse(parsedOutput, context)];
|
|
2312
|
-
case 7:
|
|
2313
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2314
|
-
return [3, 15];
|
|
2315
|
-
case 8:
|
|
2316
|
-
_f = [{}];
|
|
2317
|
-
return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
2318
|
-
case 9:
|
|
2319
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2320
|
-
return [3, 15];
|
|
2321
|
-
case 10:
|
|
2322
|
-
_g = [{}];
|
|
2323
|
-
return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
2324
|
-
case 11:
|
|
2325
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2326
|
-
return [3, 15];
|
|
2327
|
-
case 12:
|
|
2328
|
-
_h = [{}];
|
|
2329
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2330
|
-
case 13:
|
|
2331
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2332
|
-
return [3, 15];
|
|
1941
|
+
case 2: return [4, deserializeAws_json1_1ActionNotFoundExceptionResponse(parsedOutput, context)];
|
|
1942
|
+
case 3: throw _d.sent();
|
|
1943
|
+
case 4: return [4, deserializeAws_json1_1ApprovalAlreadyCompletedExceptionResponse(parsedOutput, context)];
|
|
1944
|
+
case 5: throw _d.sent();
|
|
1945
|
+
case 6: return [4, deserializeAws_json1_1InvalidApprovalTokenExceptionResponse(parsedOutput, context)];
|
|
1946
|
+
case 7: throw _d.sent();
|
|
1947
|
+
case 8: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
1948
|
+
case 9: throw _d.sent();
|
|
1949
|
+
case 10: return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
1950
|
+
case 11: throw _d.sent();
|
|
1951
|
+
case 12: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
1952
|
+
case 13: throw _d.sent();
|
|
2333
1953
|
case 14:
|
|
2334
1954
|
parsedBody = parsedOutput.body;
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
response
|
|
2341
|
-
delete response.Message;
|
|
2342
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1955
|
+
response = new __BaseException({
|
|
1956
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1957
|
+
$fault: "client",
|
|
1958
|
+
$metadata: deserializeMetadata(output),
|
|
1959
|
+
});
|
|
1960
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2343
1961
|
}
|
|
2344
1962
|
});
|
|
2345
1963
|
}); };
|
|
@@ -2362,16 +1980,16 @@ export var deserializeAws_json1_1PutJobFailureResultCommand = function (output,
|
|
|
2362
1980
|
});
|
|
2363
1981
|
}); };
|
|
2364
1982
|
var deserializeAws_json1_1PutJobFailureResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2365
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2366
|
-
var
|
|
2367
|
-
return __generator(this, function (
|
|
2368
|
-
switch (
|
|
1983
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1984
|
+
var _c;
|
|
1985
|
+
return __generator(this, function (_d) {
|
|
1986
|
+
switch (_d.label) {
|
|
2369
1987
|
case 0:
|
|
2370
1988
|
_a = [__assign({}, output)];
|
|
2371
|
-
|
|
1989
|
+
_c = {};
|
|
2372
1990
|
return [4, parseBody(output.body, context)];
|
|
2373
1991
|
case 1:
|
|
2374
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
1992
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2375
1993
|
errorCode = "UnknownError";
|
|
2376
1994
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2377
1995
|
_b = errorCode;
|
|
@@ -2384,34 +2002,20 @@ var deserializeAws_json1_1PutJobFailureResultCommandError = function (output, co
|
|
|
2384
2002
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 6];
|
|
2385
2003
|
}
|
|
2386
2004
|
return [3, 8];
|
|
2387
|
-
case 2:
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
case
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
case 4:
|
|
2394
|
-
_d = [{}];
|
|
2395
|
-
return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
2396
|
-
case 5:
|
|
2397
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2398
|
-
return [3, 9];
|
|
2399
|
-
case 6:
|
|
2400
|
-
_e = [{}];
|
|
2401
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2402
|
-
case 7:
|
|
2403
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2404
|
-
return [3, 9];
|
|
2005
|
+
case 2: return [4, deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context)];
|
|
2006
|
+
case 3: throw _d.sent();
|
|
2007
|
+
case 4: return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
2008
|
+
case 5: throw _d.sent();
|
|
2009
|
+
case 6: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2010
|
+
case 7: throw _d.sent();
|
|
2405
2011
|
case 8:
|
|
2406
2012
|
parsedBody = parsedOutput.body;
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
response
|
|
2413
|
-
delete response.Message;
|
|
2414
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2013
|
+
response = new __BaseException({
|
|
2014
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2015
|
+
$fault: "client",
|
|
2016
|
+
$metadata: deserializeMetadata(output),
|
|
2017
|
+
});
|
|
2018
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2415
2019
|
}
|
|
2416
2020
|
});
|
|
2417
2021
|
}); };
|
|
@@ -2434,16 +2038,16 @@ export var deserializeAws_json1_1PutJobSuccessResultCommand = function (output,
|
|
|
2434
2038
|
});
|
|
2435
2039
|
}); };
|
|
2436
2040
|
var deserializeAws_json1_1PutJobSuccessResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2437
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2438
|
-
var
|
|
2439
|
-
return __generator(this, function (
|
|
2440
|
-
switch (
|
|
2041
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2042
|
+
var _c;
|
|
2043
|
+
return __generator(this, function (_d) {
|
|
2044
|
+
switch (_d.label) {
|
|
2441
2045
|
case 0:
|
|
2442
2046
|
_a = [__assign({}, output)];
|
|
2443
|
-
|
|
2047
|
+
_c = {};
|
|
2444
2048
|
return [4, parseBody(output.body, context)];
|
|
2445
2049
|
case 1:
|
|
2446
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2050
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2447
2051
|
errorCode = "UnknownError";
|
|
2448
2052
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2449
2053
|
_b = errorCode;
|
|
@@ -2458,40 +2062,22 @@ var deserializeAws_json1_1PutJobSuccessResultCommandError = function (output, co
|
|
|
2458
2062
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 8];
|
|
2459
2063
|
}
|
|
2460
2064
|
return [3, 10];
|
|
2461
|
-
case 2:
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
case
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
case 4
|
|
2468
|
-
|
|
2469
|
-
return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
2470
|
-
case 5:
|
|
2471
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2472
|
-
return [3, 11];
|
|
2473
|
-
case 6:
|
|
2474
|
-
_e = [{}];
|
|
2475
|
-
return [4, deserializeAws_json1_1OutputVariablesSizeExceededExceptionResponse(parsedOutput, context)];
|
|
2476
|
-
case 7:
|
|
2477
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2478
|
-
return [3, 11];
|
|
2479
|
-
case 8:
|
|
2480
|
-
_f = [{}];
|
|
2481
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2482
|
-
case 9:
|
|
2483
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2484
|
-
return [3, 11];
|
|
2065
|
+
case 2: return [4, deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context)];
|
|
2066
|
+
case 3: throw _d.sent();
|
|
2067
|
+
case 4: return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
2068
|
+
case 5: throw _d.sent();
|
|
2069
|
+
case 6: return [4, deserializeAws_json1_1OutputVariablesSizeExceededExceptionResponse(parsedOutput, context)];
|
|
2070
|
+
case 7: throw _d.sent();
|
|
2071
|
+
case 8: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2072
|
+
case 9: throw _d.sent();
|
|
2485
2073
|
case 10:
|
|
2486
2074
|
parsedBody = parsedOutput.body;
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
response
|
|
2493
|
-
delete response.Message;
|
|
2494
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2075
|
+
response = new __BaseException({
|
|
2076
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2077
|
+
$fault: "client",
|
|
2078
|
+
$metadata: deserializeMetadata(output),
|
|
2079
|
+
});
|
|
2080
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2495
2081
|
}
|
|
2496
2082
|
});
|
|
2497
2083
|
}); };
|
|
@@ -2514,16 +2100,16 @@ export var deserializeAws_json1_1PutThirdPartyJobFailureResultCommand = function
|
|
|
2514
2100
|
});
|
|
2515
2101
|
}); };
|
|
2516
2102
|
var deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2517
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2518
|
-
var
|
|
2519
|
-
return __generator(this, function (
|
|
2520
|
-
switch (
|
|
2103
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2104
|
+
var _c;
|
|
2105
|
+
return __generator(this, function (_d) {
|
|
2106
|
+
switch (_d.label) {
|
|
2521
2107
|
case 0:
|
|
2522
2108
|
_a = [__assign({}, output)];
|
|
2523
|
-
|
|
2109
|
+
_c = {};
|
|
2524
2110
|
return [4, parseBody(output.body, context)];
|
|
2525
2111
|
case 1:
|
|
2526
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2112
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2527
2113
|
errorCode = "UnknownError";
|
|
2528
2114
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2529
2115
|
_b = errorCode;
|
|
@@ -2538,40 +2124,22 @@ var deserializeAws_json1_1PutThirdPartyJobFailureResultCommandError = function (
|
|
|
2538
2124
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 8];
|
|
2539
2125
|
}
|
|
2540
2126
|
return [3, 10];
|
|
2541
|
-
case 2:
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
case
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
case 4
|
|
2548
|
-
|
|
2549
|
-
return [4, deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context)];
|
|
2550
|
-
case 5:
|
|
2551
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2552
|
-
return [3, 11];
|
|
2553
|
-
case 6:
|
|
2554
|
-
_e = [{}];
|
|
2555
|
-
return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
2556
|
-
case 7:
|
|
2557
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2558
|
-
return [3, 11];
|
|
2559
|
-
case 8:
|
|
2560
|
-
_f = [{}];
|
|
2561
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2562
|
-
case 9:
|
|
2563
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2564
|
-
return [3, 11];
|
|
2127
|
+
case 2: return [4, deserializeAws_json1_1InvalidClientTokenExceptionResponse(parsedOutput, context)];
|
|
2128
|
+
case 3: throw _d.sent();
|
|
2129
|
+
case 4: return [4, deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context)];
|
|
2130
|
+
case 5: throw _d.sent();
|
|
2131
|
+
case 6: return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
2132
|
+
case 7: throw _d.sent();
|
|
2133
|
+
case 8: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2134
|
+
case 9: throw _d.sent();
|
|
2565
2135
|
case 10:
|
|
2566
2136
|
parsedBody = parsedOutput.body;
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
response
|
|
2573
|
-
delete response.Message;
|
|
2574
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2137
|
+
response = new __BaseException({
|
|
2138
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2139
|
+
$fault: "client",
|
|
2140
|
+
$metadata: deserializeMetadata(output),
|
|
2141
|
+
});
|
|
2142
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2575
2143
|
}
|
|
2576
2144
|
});
|
|
2577
2145
|
}); };
|
|
@@ -2594,16 +2162,16 @@ export var deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand = function
|
|
|
2594
2162
|
});
|
|
2595
2163
|
}); };
|
|
2596
2164
|
var deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2597
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2598
|
-
var
|
|
2599
|
-
return __generator(this, function (
|
|
2600
|
-
switch (
|
|
2165
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2166
|
+
var _c;
|
|
2167
|
+
return __generator(this, function (_d) {
|
|
2168
|
+
switch (_d.label) {
|
|
2601
2169
|
case 0:
|
|
2602
2170
|
_a = [__assign({}, output)];
|
|
2603
|
-
|
|
2171
|
+
_c = {};
|
|
2604
2172
|
return [4, parseBody(output.body, context)];
|
|
2605
2173
|
case 1:
|
|
2606
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2174
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2607
2175
|
errorCode = "UnknownError";
|
|
2608
2176
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2609
2177
|
_b = errorCode;
|
|
@@ -2618,40 +2186,22 @@ var deserializeAws_json1_1PutThirdPartyJobSuccessResultCommandError = function (
|
|
|
2618
2186
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 8];
|
|
2619
2187
|
}
|
|
2620
2188
|
return [3, 10];
|
|
2621
|
-
case 2:
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
case
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
case 4
|
|
2628
|
-
|
|
2629
|
-
return [4, deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context)];
|
|
2630
|
-
case 5:
|
|
2631
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2632
|
-
return [3, 11];
|
|
2633
|
-
case 6:
|
|
2634
|
-
_e = [{}];
|
|
2635
|
-
return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
2636
|
-
case 7:
|
|
2637
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2638
|
-
return [3, 11];
|
|
2639
|
-
case 8:
|
|
2640
|
-
_f = [{}];
|
|
2641
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2642
|
-
case 9:
|
|
2643
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_h.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2644
|
-
return [3, 11];
|
|
2189
|
+
case 2: return [4, deserializeAws_json1_1InvalidClientTokenExceptionResponse(parsedOutput, context)];
|
|
2190
|
+
case 3: throw _d.sent();
|
|
2191
|
+
case 4: return [4, deserializeAws_json1_1InvalidJobStateExceptionResponse(parsedOutput, context)];
|
|
2192
|
+
case 5: throw _d.sent();
|
|
2193
|
+
case 6: return [4, deserializeAws_json1_1JobNotFoundExceptionResponse(parsedOutput, context)];
|
|
2194
|
+
case 7: throw _d.sent();
|
|
2195
|
+
case 8: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2196
|
+
case 9: throw _d.sent();
|
|
2645
2197
|
case 10:
|
|
2646
2198
|
parsedBody = parsedOutput.body;
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
response
|
|
2653
|
-
delete response.Message;
|
|
2654
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2199
|
+
response = new __BaseException({
|
|
2200
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2201
|
+
$fault: "client",
|
|
2202
|
+
$metadata: deserializeMetadata(output),
|
|
2203
|
+
});
|
|
2204
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2655
2205
|
}
|
|
2656
2206
|
});
|
|
2657
2207
|
}); };
|
|
@@ -2674,16 +2224,16 @@ export var deserializeAws_json1_1PutWebhookCommand = function (output, context)
|
|
|
2674
2224
|
});
|
|
2675
2225
|
}); };
|
|
2676
2226
|
var deserializeAws_json1_1PutWebhookCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2677
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2678
|
-
var
|
|
2679
|
-
return __generator(this, function (
|
|
2680
|
-
switch (
|
|
2227
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2228
|
+
var _c;
|
|
2229
|
+
return __generator(this, function (_d) {
|
|
2230
|
+
switch (_d.label) {
|
|
2681
2231
|
case 0:
|
|
2682
2232
|
_a = [__assign({}, output)];
|
|
2683
|
-
|
|
2233
|
+
_c = {};
|
|
2684
2234
|
return [4, parseBody(output.body, context)];
|
|
2685
2235
|
case 1:
|
|
2686
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2236
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2687
2237
|
errorCode = "UnknownError";
|
|
2688
2238
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2689
2239
|
_b = errorCode;
|
|
@@ -2706,64 +2256,30 @@ var deserializeAws_json1_1PutWebhookCommandError = function (output, context) {
|
|
|
2706
2256
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 16];
|
|
2707
2257
|
}
|
|
2708
2258
|
return [3, 18];
|
|
2709
|
-
case 2:
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
case
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
case 4
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
case
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
case
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
case
|
|
2725
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2726
|
-
return [3, 19];
|
|
2727
|
-
case 8:
|
|
2728
|
-
_f = [{}];
|
|
2729
|
-
return [4, deserializeAws_json1_1InvalidWebhookFilterPatternExceptionResponse(parsedOutput, context)];
|
|
2730
|
-
case 9:
|
|
2731
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2732
|
-
return [3, 19];
|
|
2733
|
-
case 10:
|
|
2734
|
-
_g = [{}];
|
|
2735
|
-
return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
|
|
2736
|
-
case 11:
|
|
2737
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2738
|
-
return [3, 19];
|
|
2739
|
-
case 12:
|
|
2740
|
-
_h = [{}];
|
|
2741
|
-
return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
2742
|
-
case 13:
|
|
2743
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2744
|
-
return [3, 19];
|
|
2745
|
-
case 14:
|
|
2746
|
-
_j = [{}];
|
|
2747
|
-
return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
2748
|
-
case 15:
|
|
2749
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _j.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2750
|
-
return [3, 19];
|
|
2751
|
-
case 16:
|
|
2752
|
-
_k = [{}];
|
|
2753
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2754
|
-
case 17:
|
|
2755
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _k.concat([(_m.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2756
|
-
return [3, 19];
|
|
2259
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
2260
|
+
case 3: throw _d.sent();
|
|
2261
|
+
case 4: return [4, deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context)];
|
|
2262
|
+
case 5: throw _d.sent();
|
|
2263
|
+
case 6: return [4, deserializeAws_json1_1InvalidWebhookAuthenticationParametersExceptionResponse(parsedOutput, context)];
|
|
2264
|
+
case 7: throw _d.sent();
|
|
2265
|
+
case 8: return [4, deserializeAws_json1_1InvalidWebhookFilterPatternExceptionResponse(parsedOutput, context)];
|
|
2266
|
+
case 9: throw _d.sent();
|
|
2267
|
+
case 10: return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
|
|
2268
|
+
case 11: throw _d.sent();
|
|
2269
|
+
case 12: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
2270
|
+
case 13: throw _d.sent();
|
|
2271
|
+
case 14: return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
2272
|
+
case 15: throw _d.sent();
|
|
2273
|
+
case 16: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2274
|
+
case 17: throw _d.sent();
|
|
2757
2275
|
case 18:
|
|
2758
2276
|
parsedBody = parsedOutput.body;
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
response
|
|
2765
|
-
delete response.Message;
|
|
2766
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2277
|
+
response = new __BaseException({
|
|
2278
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2279
|
+
$fault: "client",
|
|
2280
|
+
$metadata: deserializeMetadata(output),
|
|
2281
|
+
});
|
|
2282
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2767
2283
|
}
|
|
2768
2284
|
});
|
|
2769
2285
|
}); };
|
|
@@ -2786,16 +2302,16 @@ export var deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand = function
|
|
|
2786
2302
|
});
|
|
2787
2303
|
}); };
|
|
2788
2304
|
var deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2789
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2790
|
-
var
|
|
2791
|
-
return __generator(this, function (
|
|
2792
|
-
switch (
|
|
2305
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2306
|
+
var _c;
|
|
2307
|
+
return __generator(this, function (_d) {
|
|
2308
|
+
switch (_d.label) {
|
|
2793
2309
|
case 0:
|
|
2794
2310
|
_a = [__assign({}, output)];
|
|
2795
|
-
|
|
2311
|
+
_c = {};
|
|
2796
2312
|
return [4, parseBody(output.body, context)];
|
|
2797
2313
|
case 1:
|
|
2798
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2314
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2799
2315
|
errorCode = "UnknownError";
|
|
2800
2316
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2801
2317
|
_b = errorCode;
|
|
@@ -2806,28 +2322,18 @@ var deserializeAws_json1_1RegisterWebhookWithThirdPartyCommandError = function (
|
|
|
2806
2322
|
case "com.amazonaws.codepipeline#WebhookNotFoundException": return [3, 4];
|
|
2807
2323
|
}
|
|
2808
2324
|
return [3, 6];
|
|
2809
|
-
case 2:
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
case
|
|
2813
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2814
|
-
return [3, 7];
|
|
2815
|
-
case 4:
|
|
2816
|
-
_d = [{}];
|
|
2817
|
-
return [4, deserializeAws_json1_1WebhookNotFoundExceptionResponse(parsedOutput, context)];
|
|
2818
|
-
case 5:
|
|
2819
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2820
|
-
return [3, 7];
|
|
2325
|
+
case 2: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2326
|
+
case 3: throw _d.sent();
|
|
2327
|
+
case 4: return [4, deserializeAws_json1_1WebhookNotFoundExceptionResponse(parsedOutput, context)];
|
|
2328
|
+
case 5: throw _d.sent();
|
|
2821
2329
|
case 6:
|
|
2822
2330
|
parsedBody = parsedOutput.body;
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
response
|
|
2829
|
-
delete response.Message;
|
|
2830
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2331
|
+
response = new __BaseException({
|
|
2332
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2333
|
+
$fault: "client",
|
|
2334
|
+
$metadata: deserializeMetadata(output),
|
|
2335
|
+
});
|
|
2336
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2831
2337
|
}
|
|
2832
2338
|
});
|
|
2833
2339
|
}); };
|
|
@@ -2850,16 +2356,16 @@ export var deserializeAws_json1_1RetryStageExecutionCommand = function (output,
|
|
|
2850
2356
|
});
|
|
2851
2357
|
}); };
|
|
2852
2358
|
var deserializeAws_json1_1RetryStageExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2853
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2854
|
-
var
|
|
2855
|
-
return __generator(this, function (
|
|
2856
|
-
switch (
|
|
2359
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2360
|
+
var _c;
|
|
2361
|
+
return __generator(this, function (_d) {
|
|
2362
|
+
switch (_d.label) {
|
|
2857
2363
|
case 0:
|
|
2858
2364
|
_a = [__assign({}, output)];
|
|
2859
|
-
|
|
2365
|
+
_c = {};
|
|
2860
2366
|
return [4, parseBody(output.body, context)];
|
|
2861
2367
|
case 1:
|
|
2862
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2368
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2863
2369
|
errorCode = "UnknownError";
|
|
2864
2370
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2865
2371
|
_b = errorCode;
|
|
@@ -2878,52 +2384,26 @@ var deserializeAws_json1_1RetryStageExecutionCommandError = function (output, co
|
|
|
2878
2384
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 12];
|
|
2879
2385
|
}
|
|
2880
2386
|
return [3, 14];
|
|
2881
|
-
case 2:
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
case
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
case 4
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
case
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
case 6:
|
|
2894
|
-
_e = [{}];
|
|
2895
|
-
return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
2896
|
-
case 7:
|
|
2897
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2898
|
-
return [3, 15];
|
|
2899
|
-
case 8:
|
|
2900
|
-
_f = [{}];
|
|
2901
|
-
return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
2902
|
-
case 9:
|
|
2903
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2904
|
-
return [3, 15];
|
|
2905
|
-
case 10:
|
|
2906
|
-
_g = [{}];
|
|
2907
|
-
return [4, deserializeAws_json1_1StageNotRetryableExceptionResponse(parsedOutput, context)];
|
|
2908
|
-
case 11:
|
|
2909
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2910
|
-
return [3, 15];
|
|
2911
|
-
case 12:
|
|
2912
|
-
_h = [{}];
|
|
2913
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2914
|
-
case 13:
|
|
2915
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2916
|
-
return [3, 15];
|
|
2387
|
+
case 2: return [4, deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)];
|
|
2388
|
+
case 3: throw _d.sent();
|
|
2389
|
+
case 4: return [4, deserializeAws_json1_1NotLatestPipelineExecutionExceptionResponse(parsedOutput, context)];
|
|
2390
|
+
case 5: throw _d.sent();
|
|
2391
|
+
case 6: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
2392
|
+
case 7: throw _d.sent();
|
|
2393
|
+
case 8: return [4, deserializeAws_json1_1StageNotFoundExceptionResponse(parsedOutput, context)];
|
|
2394
|
+
case 9: throw _d.sent();
|
|
2395
|
+
case 10: return [4, deserializeAws_json1_1StageNotRetryableExceptionResponse(parsedOutput, context)];
|
|
2396
|
+
case 11: throw _d.sent();
|
|
2397
|
+
case 12: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2398
|
+
case 13: throw _d.sent();
|
|
2917
2399
|
case 14:
|
|
2918
2400
|
parsedBody = parsedOutput.body;
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
response
|
|
2925
|
-
delete response.Message;
|
|
2926
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2401
|
+
response = new __BaseException({
|
|
2402
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2403
|
+
$fault: "client",
|
|
2404
|
+
$metadata: deserializeMetadata(output),
|
|
2405
|
+
});
|
|
2406
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2927
2407
|
}
|
|
2928
2408
|
});
|
|
2929
2409
|
}); };
|
|
@@ -2946,16 +2426,16 @@ export var deserializeAws_json1_1StartPipelineExecutionCommand = function (outpu
|
|
|
2946
2426
|
});
|
|
2947
2427
|
}); };
|
|
2948
2428
|
var deserializeAws_json1_1StartPipelineExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2949
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
2950
|
-
var
|
|
2951
|
-
return __generator(this, function (
|
|
2952
|
-
switch (
|
|
2429
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2430
|
+
var _c;
|
|
2431
|
+
return __generator(this, function (_d) {
|
|
2432
|
+
switch (_d.label) {
|
|
2953
2433
|
case 0:
|
|
2954
2434
|
_a = [__assign({}, output)];
|
|
2955
|
-
|
|
2435
|
+
_c = {};
|
|
2956
2436
|
return [4, parseBody(output.body, context)];
|
|
2957
2437
|
case 1:
|
|
2958
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2438
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2959
2439
|
errorCode = "UnknownError";
|
|
2960
2440
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2961
2441
|
_b = errorCode;
|
|
@@ -2968,34 +2448,20 @@ var deserializeAws_json1_1StartPipelineExecutionCommandError = function (output,
|
|
|
2968
2448
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 6];
|
|
2969
2449
|
}
|
|
2970
2450
|
return [3, 8];
|
|
2971
|
-
case 2:
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
case
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
case 4:
|
|
2978
|
-
_d = [{}];
|
|
2979
|
-
return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
2980
|
-
case 5:
|
|
2981
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2982
|
-
return [3, 9];
|
|
2983
|
-
case 6:
|
|
2984
|
-
_e = [{}];
|
|
2985
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2986
|
-
case 7:
|
|
2987
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2988
|
-
return [3, 9];
|
|
2451
|
+
case 2: return [4, deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)];
|
|
2452
|
+
case 3: throw _d.sent();
|
|
2453
|
+
case 4: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
2454
|
+
case 5: throw _d.sent();
|
|
2455
|
+
case 6: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2456
|
+
case 7: throw _d.sent();
|
|
2989
2457
|
case 8:
|
|
2990
2458
|
parsedBody = parsedOutput.body;
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
response
|
|
2997
|
-
delete response.Message;
|
|
2998
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2459
|
+
response = new __BaseException({
|
|
2460
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2461
|
+
$fault: "client",
|
|
2462
|
+
$metadata: deserializeMetadata(output),
|
|
2463
|
+
});
|
|
2464
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2999
2465
|
}
|
|
3000
2466
|
});
|
|
3001
2467
|
}); };
|
|
@@ -3018,16 +2484,16 @@ export var deserializeAws_json1_1StopPipelineExecutionCommand = function (output
|
|
|
3018
2484
|
});
|
|
3019
2485
|
}); };
|
|
3020
2486
|
var deserializeAws_json1_1StopPipelineExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3021
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
3022
|
-
var
|
|
3023
|
-
return __generator(this, function (
|
|
3024
|
-
switch (
|
|
2487
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2488
|
+
var _c;
|
|
2489
|
+
return __generator(this, function (_d) {
|
|
2490
|
+
switch (_d.label) {
|
|
3025
2491
|
case 0:
|
|
3026
2492
|
_a = [__assign({}, output)];
|
|
3027
|
-
|
|
2493
|
+
_c = {};
|
|
3028
2494
|
return [4, parseBody(output.body, context)];
|
|
3029
2495
|
case 1:
|
|
3030
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2496
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3031
2497
|
errorCode = "UnknownError";
|
|
3032
2498
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3033
2499
|
_b = errorCode;
|
|
@@ -3044,46 +2510,24 @@ var deserializeAws_json1_1StopPipelineExecutionCommandError = function (output,
|
|
|
3044
2510
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 10];
|
|
3045
2511
|
}
|
|
3046
2512
|
return [3, 12];
|
|
3047
|
-
case 2:
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
case
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
case 4
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
case
|
|
3057
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3058
|
-
return [3, 13];
|
|
3059
|
-
case 6:
|
|
3060
|
-
_e = [{}];
|
|
3061
|
-
return [4, deserializeAws_json1_1PipelineExecutionNotStoppableExceptionResponse(parsedOutput, context)];
|
|
3062
|
-
case 7:
|
|
3063
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3064
|
-
return [3, 13];
|
|
3065
|
-
case 8:
|
|
3066
|
-
_f = [{}];
|
|
3067
|
-
return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
3068
|
-
case 9:
|
|
3069
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3070
|
-
return [3, 13];
|
|
3071
|
-
case 10:
|
|
3072
|
-
_g = [{}];
|
|
3073
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
3074
|
-
case 11:
|
|
3075
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3076
|
-
return [3, 13];
|
|
2513
|
+
case 2: return [4, deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)];
|
|
2514
|
+
case 3: throw _d.sent();
|
|
2515
|
+
case 4: return [4, deserializeAws_json1_1DuplicatedStopRequestExceptionResponse(parsedOutput, context)];
|
|
2516
|
+
case 5: throw _d.sent();
|
|
2517
|
+
case 6: return [4, deserializeAws_json1_1PipelineExecutionNotStoppableExceptionResponse(parsedOutput, context)];
|
|
2518
|
+
case 7: throw _d.sent();
|
|
2519
|
+
case 8: return [4, deserializeAws_json1_1PipelineNotFoundExceptionResponse(parsedOutput, context)];
|
|
2520
|
+
case 9: throw _d.sent();
|
|
2521
|
+
case 10: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2522
|
+
case 11: throw _d.sent();
|
|
3077
2523
|
case 12:
|
|
3078
2524
|
parsedBody = parsedOutput.body;
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
response
|
|
3085
|
-
delete response.Message;
|
|
3086
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2525
|
+
response = new __BaseException({
|
|
2526
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2527
|
+
$fault: "client",
|
|
2528
|
+
$metadata: deserializeMetadata(output),
|
|
2529
|
+
});
|
|
2530
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3087
2531
|
}
|
|
3088
2532
|
});
|
|
3089
2533
|
}); };
|
|
@@ -3106,16 +2550,16 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
3106
2550
|
});
|
|
3107
2551
|
}); };
|
|
3108
2552
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3109
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
3110
|
-
var
|
|
3111
|
-
return __generator(this, function (
|
|
3112
|
-
switch (
|
|
2553
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2554
|
+
var _c;
|
|
2555
|
+
return __generator(this, function (_d) {
|
|
2556
|
+
switch (_d.label) {
|
|
3113
2557
|
case 0:
|
|
3114
2558
|
_a = [__assign({}, output)];
|
|
3115
|
-
|
|
2559
|
+
_c = {};
|
|
3116
2560
|
return [4, parseBody(output.body, context)];
|
|
3117
2561
|
case 1:
|
|
3118
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2562
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3119
2563
|
errorCode = "UnknownError";
|
|
3120
2564
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3121
2565
|
_b = errorCode;
|
|
@@ -3134,52 +2578,26 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
3134
2578
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 12];
|
|
3135
2579
|
}
|
|
3136
2580
|
return [3, 14];
|
|
3137
|
-
case 2:
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
case
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
case 4
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
case
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
case 6:
|
|
3150
|
-
_e = [{}];
|
|
3151
|
-
return [4, deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context)];
|
|
3152
|
-
case 7:
|
|
3153
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3154
|
-
return [3, 15];
|
|
3155
|
-
case 8:
|
|
3156
|
-
_f = [{}];
|
|
3157
|
-
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
3158
|
-
case 9:
|
|
3159
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3160
|
-
return [3, 15];
|
|
3161
|
-
case 10:
|
|
3162
|
-
_g = [{}];
|
|
3163
|
-
return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
3164
|
-
case 11:
|
|
3165
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3166
|
-
return [3, 15];
|
|
3167
|
-
case 12:
|
|
3168
|
-
_h = [{}];
|
|
3169
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
3170
|
-
case 13:
|
|
3171
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3172
|
-
return [3, 15];
|
|
2581
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
2582
|
+
case 3: throw _d.sent();
|
|
2583
|
+
case 4: return [4, deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context)];
|
|
2584
|
+
case 5: throw _d.sent();
|
|
2585
|
+
case 6: return [4, deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context)];
|
|
2586
|
+
case 7: throw _d.sent();
|
|
2587
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2588
|
+
case 9: throw _d.sent();
|
|
2589
|
+
case 10: return [4, deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context)];
|
|
2590
|
+
case 11: throw _d.sent();
|
|
2591
|
+
case 12: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2592
|
+
case 13: throw _d.sent();
|
|
3173
2593
|
case 14:
|
|
3174
2594
|
parsedBody = parsedOutput.body;
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
response
|
|
3181
|
-
delete response.Message;
|
|
3182
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2595
|
+
response = new __BaseException({
|
|
2596
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2597
|
+
$fault: "client",
|
|
2598
|
+
$metadata: deserializeMetadata(output),
|
|
2599
|
+
});
|
|
2600
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3183
2601
|
}
|
|
3184
2602
|
});
|
|
3185
2603
|
}); };
|
|
@@ -3202,16 +2620,16 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
3202
2620
|
});
|
|
3203
2621
|
}); };
|
|
3204
2622
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3205
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
3206
|
-
var
|
|
3207
|
-
return __generator(this, function (
|
|
3208
|
-
switch (
|
|
2623
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2624
|
+
var _c;
|
|
2625
|
+
return __generator(this, function (_d) {
|
|
2626
|
+
switch (_d.label) {
|
|
3209
2627
|
case 0:
|
|
3210
2628
|
_a = [__assign({}, output)];
|
|
3211
|
-
|
|
2629
|
+
_c = {};
|
|
3212
2630
|
return [4, parseBody(output.body, context)];
|
|
3213
2631
|
case 1:
|
|
3214
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2632
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3215
2633
|
errorCode = "UnknownError";
|
|
3216
2634
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3217
2635
|
_b = errorCode;
|
|
@@ -3228,46 +2646,24 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
3228
2646
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 10];
|
|
3229
2647
|
}
|
|
3230
2648
|
return [3, 12];
|
|
3231
|
-
case 2:
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
case
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
case 4
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
case
|
|
3241
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3242
|
-
return [3, 13];
|
|
3243
|
-
case 6:
|
|
3244
|
-
_e = [{}];
|
|
3245
|
-
return [4, deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context)];
|
|
3246
|
-
case 7:
|
|
3247
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3248
|
-
return [3, 13];
|
|
3249
|
-
case 8:
|
|
3250
|
-
_f = [{}];
|
|
3251
|
-
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
3252
|
-
case 9:
|
|
3253
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3254
|
-
return [3, 13];
|
|
3255
|
-
case 10:
|
|
3256
|
-
_g = [{}];
|
|
3257
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
3258
|
-
case 11:
|
|
3259
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3260
|
-
return [3, 13];
|
|
2649
|
+
case 2: return [4, deserializeAws_json1_1ConcurrentModificationExceptionResponse(parsedOutput, context)];
|
|
2650
|
+
case 3: throw _d.sent();
|
|
2651
|
+
case 4: return [4, deserializeAws_json1_1InvalidArnExceptionResponse(parsedOutput, context)];
|
|
2652
|
+
case 5: throw _d.sent();
|
|
2653
|
+
case 6: return [4, deserializeAws_json1_1InvalidTagsExceptionResponse(parsedOutput, context)];
|
|
2654
|
+
case 7: throw _d.sent();
|
|
2655
|
+
case 8: return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2656
|
+
case 9: throw _d.sent();
|
|
2657
|
+
case 10: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2658
|
+
case 11: throw _d.sent();
|
|
3261
2659
|
case 12:
|
|
3262
2660
|
parsedBody = parsedOutput.body;
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
response
|
|
3269
|
-
delete response.Message;
|
|
3270
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2661
|
+
response = new __BaseException({
|
|
2662
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2663
|
+
$fault: "client",
|
|
2664
|
+
$metadata: deserializeMetadata(output),
|
|
2665
|
+
});
|
|
2666
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3271
2667
|
}
|
|
3272
2668
|
});
|
|
3273
2669
|
}); };
|
|
@@ -3290,16 +2686,16 @@ export var deserializeAws_json1_1UpdateActionTypeCommand = function (output, con
|
|
|
3290
2686
|
});
|
|
3291
2687
|
}); };
|
|
3292
2688
|
var deserializeAws_json1_1UpdateActionTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3293
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
3294
|
-
var
|
|
3295
|
-
return __generator(this, function (
|
|
3296
|
-
switch (
|
|
2689
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2690
|
+
var _c;
|
|
2691
|
+
return __generator(this, function (_d) {
|
|
2692
|
+
switch (_d.label) {
|
|
3297
2693
|
case 0:
|
|
3298
2694
|
_a = [__assign({}, output)];
|
|
3299
|
-
|
|
2695
|
+
_c = {};
|
|
3300
2696
|
return [4, parseBody(output.body, context)];
|
|
3301
2697
|
case 1:
|
|
3302
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2698
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3303
2699
|
errorCode = "UnknownError";
|
|
3304
2700
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3305
2701
|
_b = errorCode;
|
|
@@ -3312,34 +2708,20 @@ var deserializeAws_json1_1UpdateActionTypeCommandError = function (output, conte
|
|
|
3312
2708
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 6];
|
|
3313
2709
|
}
|
|
3314
2710
|
return [3, 8];
|
|
3315
|
-
case 2:
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
case
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
case 4:
|
|
3322
|
-
_d = [{}];
|
|
3323
|
-
return [4, deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context)];
|
|
3324
|
-
case 5:
|
|
3325
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3326
|
-
return [3, 9];
|
|
3327
|
-
case 6:
|
|
3328
|
-
_e = [{}];
|
|
3329
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
3330
|
-
case 7:
|
|
3331
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3332
|
-
return [3, 9];
|
|
2711
|
+
case 2: return [4, deserializeAws_json1_1ActionTypeNotFoundExceptionResponse(parsedOutput, context)];
|
|
2712
|
+
case 3: throw _d.sent();
|
|
2713
|
+
case 4: return [4, deserializeAws_json1_1RequestFailedExceptionResponse(parsedOutput, context)];
|
|
2714
|
+
case 5: throw _d.sent();
|
|
2715
|
+
case 6: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2716
|
+
case 7: throw _d.sent();
|
|
3333
2717
|
case 8:
|
|
3334
2718
|
parsedBody = parsedOutput.body;
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
response
|
|
3341
|
-
delete response.Message;
|
|
3342
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2719
|
+
response = new __BaseException({
|
|
2720
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2721
|
+
$fault: "client",
|
|
2722
|
+
$metadata: deserializeMetadata(output),
|
|
2723
|
+
});
|
|
2724
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3343
2725
|
}
|
|
3344
2726
|
});
|
|
3345
2727
|
}); };
|
|
@@ -3362,16 +2744,16 @@ export var deserializeAws_json1_1UpdatePipelineCommand = function (output, conte
|
|
|
3362
2744
|
});
|
|
3363
2745
|
}); };
|
|
3364
2746
|
var deserializeAws_json1_1UpdatePipelineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3365
|
-
var parsedOutput, _a, response, errorCode, _b,
|
|
3366
|
-
var
|
|
3367
|
-
return __generator(this, function (
|
|
3368
|
-
switch (
|
|
2747
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2748
|
+
var _c;
|
|
2749
|
+
return __generator(this, function (_d) {
|
|
2750
|
+
switch (_d.label) {
|
|
3369
2751
|
case 0:
|
|
3370
2752
|
_a = [__assign({}, output)];
|
|
3371
|
-
|
|
2753
|
+
_c = {};
|
|
3372
2754
|
return [4, parseBody(output.body, context)];
|
|
3373
2755
|
case 1:
|
|
3374
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2756
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
3375
2757
|
errorCode = "UnknownError";
|
|
3376
2758
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3377
2759
|
_b = errorCode;
|
|
@@ -3390,377 +2772,351 @@ var deserializeAws_json1_1UpdatePipelineCommandError = function (output, context
|
|
|
3390
2772
|
case "com.amazonaws.codepipeline#ValidationException": return [3, 12];
|
|
3391
2773
|
}
|
|
3392
2774
|
return [3, 14];
|
|
3393
|
-
case 2:
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
case
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
case 4
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
case
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
case 6:
|
|
3406
|
-
_e = [{}];
|
|
3407
|
-
return [4, deserializeAws_json1_1InvalidStageDeclarationExceptionResponse(parsedOutput, context)];
|
|
3408
|
-
case 7:
|
|
3409
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3410
|
-
return [3, 15];
|
|
3411
|
-
case 8:
|
|
3412
|
-
_f = [{}];
|
|
3413
|
-
return [4, deserializeAws_json1_1InvalidStructureExceptionResponse(parsedOutput, context)];
|
|
3414
|
-
case 9:
|
|
3415
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3416
|
-
return [3, 15];
|
|
3417
|
-
case 10:
|
|
3418
|
-
_g = [{}];
|
|
3419
|
-
return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
|
|
3420
|
-
case 11:
|
|
3421
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3422
|
-
return [3, 15];
|
|
3423
|
-
case 12:
|
|
3424
|
-
_h = [{}];
|
|
3425
|
-
return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
3426
|
-
case 13:
|
|
3427
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
3428
|
-
return [3, 15];
|
|
2775
|
+
case 2: return [4, deserializeAws_json1_1InvalidActionDeclarationExceptionResponse(parsedOutput, context)];
|
|
2776
|
+
case 3: throw _d.sent();
|
|
2777
|
+
case 4: return [4, deserializeAws_json1_1InvalidBlockerDeclarationExceptionResponse(parsedOutput, context)];
|
|
2778
|
+
case 5: throw _d.sent();
|
|
2779
|
+
case 6: return [4, deserializeAws_json1_1InvalidStageDeclarationExceptionResponse(parsedOutput, context)];
|
|
2780
|
+
case 7: throw _d.sent();
|
|
2781
|
+
case 8: return [4, deserializeAws_json1_1InvalidStructureExceptionResponse(parsedOutput, context)];
|
|
2782
|
+
case 9: throw _d.sent();
|
|
2783
|
+
case 10: return [4, deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)];
|
|
2784
|
+
case 11: throw _d.sent();
|
|
2785
|
+
case 12: return [4, deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)];
|
|
2786
|
+
case 13: throw _d.sent();
|
|
3429
2787
|
case 14:
|
|
3430
2788
|
parsedBody = parsedOutput.body;
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
response
|
|
3437
|
-
delete response.Message;
|
|
3438
|
-
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2789
|
+
response = new __BaseException({
|
|
2790
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2791
|
+
$fault: "client",
|
|
2792
|
+
$metadata: deserializeMetadata(output),
|
|
2793
|
+
});
|
|
2794
|
+
throw __decorateServiceException(response, parsedBody);
|
|
3439
2795
|
}
|
|
3440
2796
|
});
|
|
3441
2797
|
}); };
|
|
3442
2798
|
var deserializeAws_json1_1ActionNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3443
|
-
var body, deserialized,
|
|
2799
|
+
var body, deserialized, exception;
|
|
3444
2800
|
return __generator(this, function (_a) {
|
|
3445
2801
|
body = parsedOutput.body;
|
|
3446
2802
|
deserialized = deserializeAws_json1_1ActionNotFoundException(body, context);
|
|
3447
|
-
|
|
3448
|
-
return [2,
|
|
2803
|
+
exception = new ActionNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2804
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3449
2805
|
});
|
|
3450
2806
|
}); };
|
|
3451
2807
|
var deserializeAws_json1_1ActionTypeNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3452
|
-
var body, deserialized,
|
|
2808
|
+
var body, deserialized, exception;
|
|
3453
2809
|
return __generator(this, function (_a) {
|
|
3454
2810
|
body = parsedOutput.body;
|
|
3455
2811
|
deserialized = deserializeAws_json1_1ActionTypeNotFoundException(body, context);
|
|
3456
|
-
|
|
3457
|
-
return [2,
|
|
2812
|
+
exception = new ActionTypeNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2813
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3458
2814
|
});
|
|
3459
2815
|
}); };
|
|
3460
2816
|
var deserializeAws_json1_1ApprovalAlreadyCompletedExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3461
|
-
var body, deserialized,
|
|
2817
|
+
var body, deserialized, exception;
|
|
3462
2818
|
return __generator(this, function (_a) {
|
|
3463
2819
|
body = parsedOutput.body;
|
|
3464
2820
|
deserialized = deserializeAws_json1_1ApprovalAlreadyCompletedException(body, context);
|
|
3465
|
-
|
|
3466
|
-
return [2,
|
|
2821
|
+
exception = new ApprovalAlreadyCompletedException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2822
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3467
2823
|
});
|
|
3468
2824
|
}); };
|
|
3469
2825
|
var deserializeAws_json1_1ConcurrentModificationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3470
|
-
var body, deserialized,
|
|
2826
|
+
var body, deserialized, exception;
|
|
3471
2827
|
return __generator(this, function (_a) {
|
|
3472
2828
|
body = parsedOutput.body;
|
|
3473
2829
|
deserialized = deserializeAws_json1_1ConcurrentModificationException(body, context);
|
|
3474
|
-
|
|
3475
|
-
return [2,
|
|
2830
|
+
exception = new ConcurrentModificationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2831
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3476
2832
|
});
|
|
3477
2833
|
}); };
|
|
3478
2834
|
var deserializeAws_json1_1ConflictExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3479
|
-
var body, deserialized,
|
|
2835
|
+
var body, deserialized, exception;
|
|
3480
2836
|
return __generator(this, function (_a) {
|
|
3481
2837
|
body = parsedOutput.body;
|
|
3482
2838
|
deserialized = deserializeAws_json1_1ConflictException(body, context);
|
|
3483
|
-
|
|
3484
|
-
return [2,
|
|
2839
|
+
exception = new ConflictException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2840
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3485
2841
|
});
|
|
3486
2842
|
}); };
|
|
3487
2843
|
var deserializeAws_json1_1DuplicatedStopRequestExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3488
|
-
var body, deserialized,
|
|
2844
|
+
var body, deserialized, exception;
|
|
3489
2845
|
return __generator(this, function (_a) {
|
|
3490
2846
|
body = parsedOutput.body;
|
|
3491
2847
|
deserialized = deserializeAws_json1_1DuplicatedStopRequestException(body, context);
|
|
3492
|
-
|
|
3493
|
-
return [2,
|
|
2848
|
+
exception = new DuplicatedStopRequestException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2849
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3494
2850
|
});
|
|
3495
2851
|
}); };
|
|
3496
2852
|
var deserializeAws_json1_1InvalidActionDeclarationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3497
|
-
var body, deserialized,
|
|
2853
|
+
var body, deserialized, exception;
|
|
3498
2854
|
return __generator(this, function (_a) {
|
|
3499
2855
|
body = parsedOutput.body;
|
|
3500
2856
|
deserialized = deserializeAws_json1_1InvalidActionDeclarationException(body, context);
|
|
3501
|
-
|
|
3502
|
-
return [2,
|
|
2857
|
+
exception = new InvalidActionDeclarationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2858
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3503
2859
|
});
|
|
3504
2860
|
}); };
|
|
3505
2861
|
var deserializeAws_json1_1InvalidApprovalTokenExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3506
|
-
var body, deserialized,
|
|
2862
|
+
var body, deserialized, exception;
|
|
3507
2863
|
return __generator(this, function (_a) {
|
|
3508
2864
|
body = parsedOutput.body;
|
|
3509
2865
|
deserialized = deserializeAws_json1_1InvalidApprovalTokenException(body, context);
|
|
3510
|
-
|
|
3511
|
-
return [2,
|
|
2866
|
+
exception = new InvalidApprovalTokenException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2867
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3512
2868
|
});
|
|
3513
2869
|
}); };
|
|
3514
2870
|
var deserializeAws_json1_1InvalidArnExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3515
|
-
var body, deserialized,
|
|
2871
|
+
var body, deserialized, exception;
|
|
3516
2872
|
return __generator(this, function (_a) {
|
|
3517
2873
|
body = parsedOutput.body;
|
|
3518
2874
|
deserialized = deserializeAws_json1_1InvalidArnException(body, context);
|
|
3519
|
-
|
|
3520
|
-
return [2,
|
|
2875
|
+
exception = new InvalidArnException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2876
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3521
2877
|
});
|
|
3522
2878
|
}); };
|
|
3523
2879
|
var deserializeAws_json1_1InvalidBlockerDeclarationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3524
|
-
var body, deserialized,
|
|
2880
|
+
var body, deserialized, exception;
|
|
3525
2881
|
return __generator(this, function (_a) {
|
|
3526
2882
|
body = parsedOutput.body;
|
|
3527
2883
|
deserialized = deserializeAws_json1_1InvalidBlockerDeclarationException(body, context);
|
|
3528
|
-
|
|
3529
|
-
return [2,
|
|
2884
|
+
exception = new InvalidBlockerDeclarationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2885
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3530
2886
|
});
|
|
3531
2887
|
}); };
|
|
3532
2888
|
var deserializeAws_json1_1InvalidClientTokenExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3533
|
-
var body, deserialized,
|
|
2889
|
+
var body, deserialized, exception;
|
|
3534
2890
|
return __generator(this, function (_a) {
|
|
3535
2891
|
body = parsedOutput.body;
|
|
3536
2892
|
deserialized = deserializeAws_json1_1InvalidClientTokenException(body, context);
|
|
3537
|
-
|
|
3538
|
-
return [2,
|
|
2893
|
+
exception = new InvalidClientTokenException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2894
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3539
2895
|
});
|
|
3540
2896
|
}); };
|
|
3541
2897
|
var deserializeAws_json1_1InvalidJobExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3542
|
-
var body, deserialized,
|
|
2898
|
+
var body, deserialized, exception;
|
|
3543
2899
|
return __generator(this, function (_a) {
|
|
3544
2900
|
body = parsedOutput.body;
|
|
3545
2901
|
deserialized = deserializeAws_json1_1InvalidJobException(body, context);
|
|
3546
|
-
|
|
3547
|
-
return [2,
|
|
2902
|
+
exception = new InvalidJobException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2903
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3548
2904
|
});
|
|
3549
2905
|
}); };
|
|
3550
2906
|
var deserializeAws_json1_1InvalidJobStateExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3551
|
-
var body, deserialized,
|
|
2907
|
+
var body, deserialized, exception;
|
|
3552
2908
|
return __generator(this, function (_a) {
|
|
3553
2909
|
body = parsedOutput.body;
|
|
3554
2910
|
deserialized = deserializeAws_json1_1InvalidJobStateException(body, context);
|
|
3555
|
-
|
|
3556
|
-
return [2,
|
|
2911
|
+
exception = new InvalidJobStateException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2912
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3557
2913
|
});
|
|
3558
2914
|
}); };
|
|
3559
2915
|
var deserializeAws_json1_1InvalidNextTokenExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3560
|
-
var body, deserialized,
|
|
2916
|
+
var body, deserialized, exception;
|
|
3561
2917
|
return __generator(this, function (_a) {
|
|
3562
2918
|
body = parsedOutput.body;
|
|
3563
2919
|
deserialized = deserializeAws_json1_1InvalidNextTokenException(body, context);
|
|
3564
|
-
|
|
3565
|
-
return [2,
|
|
2920
|
+
exception = new InvalidNextTokenException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2921
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3566
2922
|
});
|
|
3567
2923
|
}); };
|
|
3568
2924
|
var deserializeAws_json1_1InvalidNonceExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3569
|
-
var body, deserialized,
|
|
2925
|
+
var body, deserialized, exception;
|
|
3570
2926
|
return __generator(this, function (_a) {
|
|
3571
2927
|
body = parsedOutput.body;
|
|
3572
2928
|
deserialized = deserializeAws_json1_1InvalidNonceException(body, context);
|
|
3573
|
-
|
|
3574
|
-
return [2,
|
|
2929
|
+
exception = new InvalidNonceException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2930
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3575
2931
|
});
|
|
3576
2932
|
}); };
|
|
3577
2933
|
var deserializeAws_json1_1InvalidStageDeclarationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3578
|
-
var body, deserialized,
|
|
2934
|
+
var body, deserialized, exception;
|
|
3579
2935
|
return __generator(this, function (_a) {
|
|
3580
2936
|
body = parsedOutput.body;
|
|
3581
2937
|
deserialized = deserializeAws_json1_1InvalidStageDeclarationException(body, context);
|
|
3582
|
-
|
|
3583
|
-
return [2,
|
|
2938
|
+
exception = new InvalidStageDeclarationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2939
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3584
2940
|
});
|
|
3585
2941
|
}); };
|
|
3586
2942
|
var deserializeAws_json1_1InvalidStructureExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3587
|
-
var body, deserialized,
|
|
2943
|
+
var body, deserialized, exception;
|
|
3588
2944
|
return __generator(this, function (_a) {
|
|
3589
2945
|
body = parsedOutput.body;
|
|
3590
2946
|
deserialized = deserializeAws_json1_1InvalidStructureException(body, context);
|
|
3591
|
-
|
|
3592
|
-
return [2,
|
|
2947
|
+
exception = new InvalidStructureException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2948
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3593
2949
|
});
|
|
3594
2950
|
}); };
|
|
3595
2951
|
var deserializeAws_json1_1InvalidTagsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3596
|
-
var body, deserialized,
|
|
2952
|
+
var body, deserialized, exception;
|
|
3597
2953
|
return __generator(this, function (_a) {
|
|
3598
2954
|
body = parsedOutput.body;
|
|
3599
2955
|
deserialized = deserializeAws_json1_1InvalidTagsException(body, context);
|
|
3600
|
-
|
|
3601
|
-
return [2,
|
|
2956
|
+
exception = new InvalidTagsException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2957
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3602
2958
|
});
|
|
3603
2959
|
}); };
|
|
3604
2960
|
var deserializeAws_json1_1InvalidWebhookAuthenticationParametersExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3605
|
-
var body, deserialized,
|
|
2961
|
+
var body, deserialized, exception;
|
|
3606
2962
|
return __generator(this, function (_a) {
|
|
3607
2963
|
body = parsedOutput.body;
|
|
3608
2964
|
deserialized = deserializeAws_json1_1InvalidWebhookAuthenticationParametersException(body, context);
|
|
3609
|
-
|
|
3610
|
-
return [2,
|
|
2965
|
+
exception = new InvalidWebhookAuthenticationParametersException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2966
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3611
2967
|
});
|
|
3612
2968
|
}); };
|
|
3613
2969
|
var deserializeAws_json1_1InvalidWebhookFilterPatternExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3614
|
-
var body, deserialized,
|
|
2970
|
+
var body, deserialized, exception;
|
|
3615
2971
|
return __generator(this, function (_a) {
|
|
3616
2972
|
body = parsedOutput.body;
|
|
3617
2973
|
deserialized = deserializeAws_json1_1InvalidWebhookFilterPatternException(body, context);
|
|
3618
|
-
|
|
3619
|
-
return [2,
|
|
2974
|
+
exception = new InvalidWebhookFilterPatternException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2975
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3620
2976
|
});
|
|
3621
2977
|
}); };
|
|
3622
2978
|
var deserializeAws_json1_1JobNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3623
|
-
var body, deserialized,
|
|
2979
|
+
var body, deserialized, exception;
|
|
3624
2980
|
return __generator(this, function (_a) {
|
|
3625
2981
|
body = parsedOutput.body;
|
|
3626
2982
|
deserialized = deserializeAws_json1_1JobNotFoundException(body, context);
|
|
3627
|
-
|
|
3628
|
-
return [2,
|
|
2983
|
+
exception = new JobNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2984
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3629
2985
|
});
|
|
3630
2986
|
}); };
|
|
3631
2987
|
var deserializeAws_json1_1LimitExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3632
|
-
var body, deserialized,
|
|
2988
|
+
var body, deserialized, exception;
|
|
3633
2989
|
return __generator(this, function (_a) {
|
|
3634
2990
|
body = parsedOutput.body;
|
|
3635
2991
|
deserialized = deserializeAws_json1_1LimitExceededException(body, context);
|
|
3636
|
-
|
|
3637
|
-
return [2,
|
|
2992
|
+
exception = new LimitExceededException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
2993
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3638
2994
|
});
|
|
3639
2995
|
}); };
|
|
3640
2996
|
var deserializeAws_json1_1NotLatestPipelineExecutionExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3641
|
-
var body, deserialized,
|
|
2997
|
+
var body, deserialized, exception;
|
|
3642
2998
|
return __generator(this, function (_a) {
|
|
3643
2999
|
body = parsedOutput.body;
|
|
3644
3000
|
deserialized = deserializeAws_json1_1NotLatestPipelineExecutionException(body, context);
|
|
3645
|
-
|
|
3646
|
-
return [2,
|
|
3001
|
+
exception = new NotLatestPipelineExecutionException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3002
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3647
3003
|
});
|
|
3648
3004
|
}); };
|
|
3649
3005
|
var deserializeAws_json1_1OutputVariablesSizeExceededExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3650
|
-
var body, deserialized,
|
|
3006
|
+
var body, deserialized, exception;
|
|
3651
3007
|
return __generator(this, function (_a) {
|
|
3652
3008
|
body = parsedOutput.body;
|
|
3653
3009
|
deserialized = deserializeAws_json1_1OutputVariablesSizeExceededException(body, context);
|
|
3654
|
-
|
|
3655
|
-
return [2,
|
|
3010
|
+
exception = new OutputVariablesSizeExceededException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3011
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3656
3012
|
});
|
|
3657
3013
|
}); };
|
|
3658
3014
|
var deserializeAws_json1_1PipelineExecutionNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3659
|
-
var body, deserialized,
|
|
3015
|
+
var body, deserialized, exception;
|
|
3660
3016
|
return __generator(this, function (_a) {
|
|
3661
3017
|
body = parsedOutput.body;
|
|
3662
3018
|
deserialized = deserializeAws_json1_1PipelineExecutionNotFoundException(body, context);
|
|
3663
|
-
|
|
3664
|
-
return [2,
|
|
3019
|
+
exception = new PipelineExecutionNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3020
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3665
3021
|
});
|
|
3666
3022
|
}); };
|
|
3667
3023
|
var deserializeAws_json1_1PipelineExecutionNotStoppableExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3668
|
-
var body, deserialized,
|
|
3024
|
+
var body, deserialized, exception;
|
|
3669
3025
|
return __generator(this, function (_a) {
|
|
3670
3026
|
body = parsedOutput.body;
|
|
3671
3027
|
deserialized = deserializeAws_json1_1PipelineExecutionNotStoppableException(body, context);
|
|
3672
|
-
|
|
3673
|
-
return [2,
|
|
3028
|
+
exception = new PipelineExecutionNotStoppableException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3029
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3674
3030
|
});
|
|
3675
3031
|
}); };
|
|
3676
3032
|
var deserializeAws_json1_1PipelineNameInUseExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3677
|
-
var body, deserialized,
|
|
3033
|
+
var body, deserialized, exception;
|
|
3678
3034
|
return __generator(this, function (_a) {
|
|
3679
3035
|
body = parsedOutput.body;
|
|
3680
3036
|
deserialized = deserializeAws_json1_1PipelineNameInUseException(body, context);
|
|
3681
|
-
|
|
3682
|
-
return [2,
|
|
3037
|
+
exception = new PipelineNameInUseException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3038
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3683
3039
|
});
|
|
3684
3040
|
}); };
|
|
3685
3041
|
var deserializeAws_json1_1PipelineNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3686
|
-
var body, deserialized,
|
|
3042
|
+
var body, deserialized, exception;
|
|
3687
3043
|
return __generator(this, function (_a) {
|
|
3688
3044
|
body = parsedOutput.body;
|
|
3689
3045
|
deserialized = deserializeAws_json1_1PipelineNotFoundException(body, context);
|
|
3690
|
-
|
|
3691
|
-
return [2,
|
|
3046
|
+
exception = new PipelineNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3047
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3692
3048
|
});
|
|
3693
3049
|
}); };
|
|
3694
3050
|
var deserializeAws_json1_1PipelineVersionNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3695
|
-
var body, deserialized,
|
|
3051
|
+
var body, deserialized, exception;
|
|
3696
3052
|
return __generator(this, function (_a) {
|
|
3697
3053
|
body = parsedOutput.body;
|
|
3698
3054
|
deserialized = deserializeAws_json1_1PipelineVersionNotFoundException(body, context);
|
|
3699
|
-
|
|
3700
|
-
return [2,
|
|
3055
|
+
exception = new PipelineVersionNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3056
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3701
3057
|
});
|
|
3702
3058
|
}); };
|
|
3703
3059
|
var deserializeAws_json1_1RequestFailedExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3704
|
-
var body, deserialized,
|
|
3060
|
+
var body, deserialized, exception;
|
|
3705
3061
|
return __generator(this, function (_a) {
|
|
3706
3062
|
body = parsedOutput.body;
|
|
3707
3063
|
deserialized = deserializeAws_json1_1RequestFailedException(body, context);
|
|
3708
|
-
|
|
3709
|
-
return [2,
|
|
3064
|
+
exception = new RequestFailedException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3065
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3710
3066
|
});
|
|
3711
3067
|
}); };
|
|
3712
3068
|
var deserializeAws_json1_1ResourceNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3713
|
-
var body, deserialized,
|
|
3069
|
+
var body, deserialized, exception;
|
|
3714
3070
|
return __generator(this, function (_a) {
|
|
3715
3071
|
body = parsedOutput.body;
|
|
3716
3072
|
deserialized = deserializeAws_json1_1ResourceNotFoundException(body, context);
|
|
3717
|
-
|
|
3718
|
-
return [2,
|
|
3073
|
+
exception = new ResourceNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3074
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3719
3075
|
});
|
|
3720
3076
|
}); };
|
|
3721
3077
|
var deserializeAws_json1_1StageNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3722
|
-
var body, deserialized,
|
|
3078
|
+
var body, deserialized, exception;
|
|
3723
3079
|
return __generator(this, function (_a) {
|
|
3724
3080
|
body = parsedOutput.body;
|
|
3725
3081
|
deserialized = deserializeAws_json1_1StageNotFoundException(body, context);
|
|
3726
|
-
|
|
3727
|
-
return [2,
|
|
3082
|
+
exception = new StageNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3083
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3728
3084
|
});
|
|
3729
3085
|
}); };
|
|
3730
3086
|
var deserializeAws_json1_1StageNotRetryableExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3731
|
-
var body, deserialized,
|
|
3087
|
+
var body, deserialized, exception;
|
|
3732
3088
|
return __generator(this, function (_a) {
|
|
3733
3089
|
body = parsedOutput.body;
|
|
3734
3090
|
deserialized = deserializeAws_json1_1StageNotRetryableException(body, context);
|
|
3735
|
-
|
|
3736
|
-
return [2,
|
|
3091
|
+
exception = new StageNotRetryableException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3092
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3737
3093
|
});
|
|
3738
3094
|
}); };
|
|
3739
3095
|
var deserializeAws_json1_1TooManyTagsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3740
|
-
var body, deserialized,
|
|
3096
|
+
var body, deserialized, exception;
|
|
3741
3097
|
return __generator(this, function (_a) {
|
|
3742
3098
|
body = parsedOutput.body;
|
|
3743
3099
|
deserialized = deserializeAws_json1_1TooManyTagsException(body, context);
|
|
3744
|
-
|
|
3745
|
-
return [2,
|
|
3100
|
+
exception = new TooManyTagsException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3101
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3746
3102
|
});
|
|
3747
3103
|
}); };
|
|
3748
3104
|
var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3749
|
-
var body, deserialized,
|
|
3105
|
+
var body, deserialized, exception;
|
|
3750
3106
|
return __generator(this, function (_a) {
|
|
3751
3107
|
body = parsedOutput.body;
|
|
3752
3108
|
deserialized = deserializeAws_json1_1ValidationException(body, context);
|
|
3753
|
-
|
|
3754
|
-
return [2,
|
|
3109
|
+
exception = new ValidationException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3110
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3755
3111
|
});
|
|
3756
3112
|
}); };
|
|
3757
3113
|
var deserializeAws_json1_1WebhookNotFoundExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
3758
|
-
var body, deserialized,
|
|
3114
|
+
var body, deserialized, exception;
|
|
3759
3115
|
return __generator(this, function (_a) {
|
|
3760
3116
|
body = parsedOutput.body;
|
|
3761
3117
|
deserialized = deserializeAws_json1_1WebhookNotFoundException(body, context);
|
|
3762
|
-
|
|
3763
|
-
return [2,
|
|
3118
|
+
exception = new WebhookNotFoundException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
3119
|
+
return [2, __decorateServiceException(exception, body)];
|
|
3764
3120
|
});
|
|
3765
3121
|
}); };
|
|
3766
3122
|
var serializeAws_json1_1AcknowledgeJobInput = function (input, context) {
|
|
@@ -4321,7 +3677,7 @@ var deserializeAws_json1_1ActionConfigurationProperty = function (output, contex
|
|
|
4321
3677
|
};
|
|
4322
3678
|
};
|
|
4323
3679
|
var deserializeAws_json1_1ActionConfigurationPropertyList = function (output, context) {
|
|
4324
|
-
|
|
3680
|
+
var retVal = (output || [])
|
|
4325
3681
|
.filter(function (e) { return e != null; })
|
|
4326
3682
|
.map(function (entry) {
|
|
4327
3683
|
if (entry === null) {
|
|
@@ -4329,6 +3685,7 @@ var deserializeAws_json1_1ActionConfigurationPropertyList = function (output, co
|
|
|
4329
3685
|
}
|
|
4330
3686
|
return deserializeAws_json1_1ActionConfigurationProperty(entry, context);
|
|
4331
3687
|
});
|
|
3688
|
+
return retVal;
|
|
4332
3689
|
};
|
|
4333
3690
|
var deserializeAws_json1_1ActionContext = function (output, context) {
|
|
4334
3691
|
return {
|
|
@@ -4398,7 +3755,7 @@ var deserializeAws_json1_1ActionExecutionDetail = function (output, context) {
|
|
|
4398
3755
|
};
|
|
4399
3756
|
};
|
|
4400
3757
|
var deserializeAws_json1_1ActionExecutionDetailList = function (output, context) {
|
|
4401
|
-
|
|
3758
|
+
var retVal = (output || [])
|
|
4402
3759
|
.filter(function (e) { return e != null; })
|
|
4403
3760
|
.map(function (entry) {
|
|
4404
3761
|
if (entry === null) {
|
|
@@ -4406,6 +3763,7 @@ var deserializeAws_json1_1ActionExecutionDetailList = function (output, context)
|
|
|
4406
3763
|
}
|
|
4407
3764
|
return deserializeAws_json1_1ActionExecutionDetail(entry, context);
|
|
4408
3765
|
});
|
|
3766
|
+
return retVal;
|
|
4409
3767
|
};
|
|
4410
3768
|
var deserializeAws_json1_1ActionExecutionInput = function (output, context) {
|
|
4411
3769
|
return {
|
|
@@ -4474,7 +3832,7 @@ var deserializeAws_json1_1ActionState = function (output, context) {
|
|
|
4474
3832
|
};
|
|
4475
3833
|
};
|
|
4476
3834
|
var deserializeAws_json1_1ActionStateList = function (output, context) {
|
|
4477
|
-
|
|
3835
|
+
var retVal = (output || [])
|
|
4478
3836
|
.filter(function (e) { return e != null; })
|
|
4479
3837
|
.map(function (entry) {
|
|
4480
3838
|
if (entry === null) {
|
|
@@ -4482,6 +3840,7 @@ var deserializeAws_json1_1ActionStateList = function (output, context) {
|
|
|
4482
3840
|
}
|
|
4483
3841
|
return deserializeAws_json1_1ActionState(entry, context);
|
|
4484
3842
|
});
|
|
3843
|
+
return retVal;
|
|
4485
3844
|
};
|
|
4486
3845
|
var deserializeAws_json1_1ActionType = function (output, context) {
|
|
4487
3846
|
return {
|
|
@@ -4561,7 +3920,7 @@ var deserializeAws_json1_1ActionTypeIdentifier = function (output, context) {
|
|
|
4561
3920
|
};
|
|
4562
3921
|
};
|
|
4563
3922
|
var deserializeAws_json1_1ActionTypeList = function (output, context) {
|
|
4564
|
-
|
|
3923
|
+
var retVal = (output || [])
|
|
4565
3924
|
.filter(function (e) { return e != null; })
|
|
4566
3925
|
.map(function (entry) {
|
|
4567
3926
|
if (entry === null) {
|
|
@@ -4569,6 +3928,7 @@ var deserializeAws_json1_1ActionTypeList = function (output, context) {
|
|
|
4569
3928
|
}
|
|
4570
3929
|
return deserializeAws_json1_1ActionType(entry, context);
|
|
4571
3930
|
});
|
|
3931
|
+
return retVal;
|
|
4572
3932
|
};
|
|
4573
3933
|
var deserializeAws_json1_1ActionTypeNotFoundException = function (output, context) {
|
|
4574
3934
|
return {
|
|
@@ -4583,7 +3943,7 @@ var deserializeAws_json1_1ActionTypePermissions = function (output, context) {
|
|
|
4583
3943
|
};
|
|
4584
3944
|
};
|
|
4585
3945
|
var deserializeAws_json1_1ActionTypeProperties = function (output, context) {
|
|
4586
|
-
|
|
3946
|
+
var retVal = (output || [])
|
|
4587
3947
|
.filter(function (e) { return e != null; })
|
|
4588
3948
|
.map(function (entry) {
|
|
4589
3949
|
if (entry === null) {
|
|
@@ -4591,6 +3951,7 @@ var deserializeAws_json1_1ActionTypeProperties = function (output, context) {
|
|
|
4591
3951
|
}
|
|
4592
3952
|
return deserializeAws_json1_1ActionTypeProperty(entry, context);
|
|
4593
3953
|
});
|
|
3954
|
+
return retVal;
|
|
4594
3955
|
};
|
|
4595
3956
|
var deserializeAws_json1_1ActionTypeProperty = function (output, context) {
|
|
4596
3957
|
return {
|
|
@@ -4619,7 +3980,7 @@ var deserializeAws_json1_1ActionTypeUrls = function (output, context) {
|
|
|
4619
3980
|
};
|
|
4620
3981
|
};
|
|
4621
3982
|
var deserializeAws_json1_1AllowedAccounts = function (output, context) {
|
|
4622
|
-
|
|
3983
|
+
var retVal = (output || [])
|
|
4623
3984
|
.filter(function (e) { return e != null; })
|
|
4624
3985
|
.map(function (entry) {
|
|
4625
3986
|
if (entry === null) {
|
|
@@ -4627,6 +3988,7 @@ var deserializeAws_json1_1AllowedAccounts = function (output, context) {
|
|
|
4627
3988
|
}
|
|
4628
3989
|
return __expectString(entry);
|
|
4629
3990
|
});
|
|
3991
|
+
return retVal;
|
|
4630
3992
|
};
|
|
4631
3993
|
var deserializeAws_json1_1ApprovalAlreadyCompletedException = function (output, context) {
|
|
4632
3994
|
return {
|
|
@@ -4651,7 +4013,7 @@ var deserializeAws_json1_1ArtifactDetail = function (output, context) {
|
|
|
4651
4013
|
};
|
|
4652
4014
|
};
|
|
4653
4015
|
var deserializeAws_json1_1ArtifactDetailList = function (output, context) {
|
|
4654
|
-
|
|
4016
|
+
var retVal = (output || [])
|
|
4655
4017
|
.filter(function (e) { return e != null; })
|
|
4656
4018
|
.map(function (entry) {
|
|
4657
4019
|
if (entry === null) {
|
|
@@ -4659,6 +4021,7 @@ var deserializeAws_json1_1ArtifactDetailList = function (output, context) {
|
|
|
4659
4021
|
}
|
|
4660
4022
|
return deserializeAws_json1_1ArtifactDetail(entry, context);
|
|
4661
4023
|
});
|
|
4024
|
+
return retVal;
|
|
4662
4025
|
};
|
|
4663
4026
|
var deserializeAws_json1_1ArtifactDetails = function (output, context) {
|
|
4664
4027
|
return {
|
|
@@ -4667,7 +4030,7 @@ var deserializeAws_json1_1ArtifactDetails = function (output, context) {
|
|
|
4667
4030
|
};
|
|
4668
4031
|
};
|
|
4669
4032
|
var deserializeAws_json1_1ArtifactList = function (output, context) {
|
|
4670
|
-
|
|
4033
|
+
var retVal = (output || [])
|
|
4671
4034
|
.filter(function (e) { return e != null; })
|
|
4672
4035
|
.map(function (entry) {
|
|
4673
4036
|
if (entry === null) {
|
|
@@ -4675,6 +4038,7 @@ var deserializeAws_json1_1ArtifactList = function (output, context) {
|
|
|
4675
4038
|
}
|
|
4676
4039
|
return deserializeAws_json1_1Artifact(entry, context);
|
|
4677
4040
|
});
|
|
4041
|
+
return retVal;
|
|
4678
4042
|
};
|
|
4679
4043
|
var deserializeAws_json1_1ArtifactLocation = function (output, context) {
|
|
4680
4044
|
return {
|
|
@@ -4697,7 +4061,7 @@ var deserializeAws_json1_1ArtifactRevision = function (output, context) {
|
|
|
4697
4061
|
};
|
|
4698
4062
|
};
|
|
4699
4063
|
var deserializeAws_json1_1ArtifactRevisionList = function (output, context) {
|
|
4700
|
-
|
|
4064
|
+
var retVal = (output || [])
|
|
4701
4065
|
.filter(function (e) { return e != null; })
|
|
4702
4066
|
.map(function (entry) {
|
|
4703
4067
|
if (entry === null) {
|
|
@@ -4705,6 +4069,7 @@ var deserializeAws_json1_1ArtifactRevisionList = function (output, context) {
|
|
|
4705
4069
|
}
|
|
4706
4070
|
return deserializeAws_json1_1ArtifactRevision(entry, context);
|
|
4707
4071
|
});
|
|
4072
|
+
return retVal;
|
|
4708
4073
|
};
|
|
4709
4074
|
var deserializeAws_json1_1ArtifactStore = function (output, context) {
|
|
4710
4075
|
return {
|
|
@@ -4866,7 +4231,7 @@ var deserializeAws_json1_1InputArtifact = function (output, context) {
|
|
|
4866
4231
|
};
|
|
4867
4232
|
};
|
|
4868
4233
|
var deserializeAws_json1_1InputArtifactList = function (output, context) {
|
|
4869
|
-
|
|
4234
|
+
var retVal = (output || [])
|
|
4870
4235
|
.filter(function (e) { return e != null; })
|
|
4871
4236
|
.map(function (entry) {
|
|
4872
4237
|
if (entry === null) {
|
|
@@ -4874,6 +4239,7 @@ var deserializeAws_json1_1InputArtifactList = function (output, context) {
|
|
|
4874
4239
|
}
|
|
4875
4240
|
return deserializeAws_json1_1InputArtifact(entry, context);
|
|
4876
4241
|
});
|
|
4242
|
+
return retVal;
|
|
4877
4243
|
};
|
|
4878
4244
|
var deserializeAws_json1_1InvalidActionDeclarationException = function (output, context) {
|
|
4879
4245
|
return {
|
|
@@ -4991,7 +4357,7 @@ var deserializeAws_json1_1JobDetails = function (output, context) {
|
|
|
4991
4357
|
};
|
|
4992
4358
|
};
|
|
4993
4359
|
var deserializeAws_json1_1JobList = function (output, context) {
|
|
4994
|
-
|
|
4360
|
+
var retVal = (output || [])
|
|
4995
4361
|
.filter(function (e) { return e != null; })
|
|
4996
4362
|
.map(function (entry) {
|
|
4997
4363
|
if (entry === null) {
|
|
@@ -4999,6 +4365,7 @@ var deserializeAws_json1_1JobList = function (output, context) {
|
|
|
4999
4365
|
}
|
|
5000
4366
|
return deserializeAws_json1_1Job(entry, context);
|
|
5001
4367
|
});
|
|
4368
|
+
return retVal;
|
|
5002
4369
|
};
|
|
5003
4370
|
var deserializeAws_json1_1JobNotFoundException = function (output, context) {
|
|
5004
4371
|
return {
|
|
@@ -5101,7 +4468,7 @@ var deserializeAws_json1_1OutputArtifact = function (output, context) {
|
|
|
5101
4468
|
};
|
|
5102
4469
|
};
|
|
5103
4470
|
var deserializeAws_json1_1OutputArtifactList = function (output, context) {
|
|
5104
|
-
|
|
4471
|
+
var retVal = (output || [])
|
|
5105
4472
|
.filter(function (e) { return e != null; })
|
|
5106
4473
|
.map(function (entry) {
|
|
5107
4474
|
if (entry === null) {
|
|
@@ -5109,6 +4476,7 @@ var deserializeAws_json1_1OutputArtifactList = function (output, context) {
|
|
|
5109
4476
|
}
|
|
5110
4477
|
return deserializeAws_json1_1OutputArtifact(entry, context);
|
|
5111
4478
|
});
|
|
4479
|
+
return retVal;
|
|
5112
4480
|
};
|
|
5113
4481
|
var deserializeAws_json1_1OutputVariablesMap = function (output, context) {
|
|
5114
4482
|
return Object.entries(output).reduce(function (acc, _a) {
|
|
@@ -5198,7 +4566,7 @@ var deserializeAws_json1_1PipelineExecutionSummary = function (output, context)
|
|
|
5198
4566
|
};
|
|
5199
4567
|
};
|
|
5200
4568
|
var deserializeAws_json1_1PipelineExecutionSummaryList = function (output, context) {
|
|
5201
|
-
|
|
4569
|
+
var retVal = (output || [])
|
|
5202
4570
|
.filter(function (e) { return e != null; })
|
|
5203
4571
|
.map(function (entry) {
|
|
5204
4572
|
if (entry === null) {
|
|
@@ -5206,9 +4574,10 @@ var deserializeAws_json1_1PipelineExecutionSummaryList = function (output, conte
|
|
|
5206
4574
|
}
|
|
5207
4575
|
return deserializeAws_json1_1PipelineExecutionSummary(entry, context);
|
|
5208
4576
|
});
|
|
4577
|
+
return retVal;
|
|
5209
4578
|
};
|
|
5210
4579
|
var deserializeAws_json1_1PipelineList = function (output, context) {
|
|
5211
|
-
|
|
4580
|
+
var retVal = (output || [])
|
|
5212
4581
|
.filter(function (e) { return e != null; })
|
|
5213
4582
|
.map(function (entry) {
|
|
5214
4583
|
if (entry === null) {
|
|
@@ -5216,6 +4585,7 @@ var deserializeAws_json1_1PipelineList = function (output, context) {
|
|
|
5216
4585
|
}
|
|
5217
4586
|
return deserializeAws_json1_1PipelineSummary(entry, context);
|
|
5218
4587
|
});
|
|
4588
|
+
return retVal;
|
|
5219
4589
|
};
|
|
5220
4590
|
var deserializeAws_json1_1PipelineMetadata = function (output, context) {
|
|
5221
4591
|
return {
|
|
@@ -5239,7 +4609,7 @@ var deserializeAws_json1_1PipelineNotFoundException = function (output, context)
|
|
|
5239
4609
|
};
|
|
5240
4610
|
};
|
|
5241
4611
|
var deserializeAws_json1_1PipelineStageDeclarationList = function (output, context) {
|
|
5242
|
-
|
|
4612
|
+
var retVal = (output || [])
|
|
5243
4613
|
.filter(function (e) { return e != null; })
|
|
5244
4614
|
.map(function (entry) {
|
|
5245
4615
|
if (entry === null) {
|
|
@@ -5247,6 +4617,7 @@ var deserializeAws_json1_1PipelineStageDeclarationList = function (output, conte
|
|
|
5247
4617
|
}
|
|
5248
4618
|
return deserializeAws_json1_1StageDeclaration(entry, context);
|
|
5249
4619
|
});
|
|
4620
|
+
return retVal;
|
|
5250
4621
|
};
|
|
5251
4622
|
var deserializeAws_json1_1PipelineSummary = function (output, context) {
|
|
5252
4623
|
return {
|
|
@@ -5280,7 +4651,7 @@ var deserializeAws_json1_1PollForThirdPartyJobsOutput = function (output, contex
|
|
|
5280
4651
|
};
|
|
5281
4652
|
};
|
|
5282
4653
|
var deserializeAws_json1_1PollingAccountList = function (output, context) {
|
|
5283
|
-
|
|
4654
|
+
var retVal = (output || [])
|
|
5284
4655
|
.filter(function (e) { return e != null; })
|
|
5285
4656
|
.map(function (entry) {
|
|
5286
4657
|
if (entry === null) {
|
|
@@ -5288,9 +4659,10 @@ var deserializeAws_json1_1PollingAccountList = function (output, context) {
|
|
|
5288
4659
|
}
|
|
5289
4660
|
return __expectString(entry);
|
|
5290
4661
|
});
|
|
4662
|
+
return retVal;
|
|
5291
4663
|
};
|
|
5292
4664
|
var deserializeAws_json1_1PollingServicePrincipalList = function (output, context) {
|
|
5293
|
-
|
|
4665
|
+
var retVal = (output || [])
|
|
5294
4666
|
.filter(function (e) { return e != null; })
|
|
5295
4667
|
.map(function (entry) {
|
|
5296
4668
|
if (entry === null) {
|
|
@@ -5298,6 +4670,7 @@ var deserializeAws_json1_1PollingServicePrincipalList = function (output, contex
|
|
|
5298
4670
|
}
|
|
5299
4671
|
return __expectString(entry);
|
|
5300
4672
|
});
|
|
4673
|
+
return retVal;
|
|
5301
4674
|
};
|
|
5302
4675
|
var deserializeAws_json1_1PutActionRevisionOutput = function (output, context) {
|
|
5303
4676
|
return {
|
|
@@ -5368,7 +4741,7 @@ var deserializeAws_json1_1SourceRevision = function (output, context) {
|
|
|
5368
4741
|
};
|
|
5369
4742
|
};
|
|
5370
4743
|
var deserializeAws_json1_1SourceRevisionList = function (output, context) {
|
|
5371
|
-
|
|
4744
|
+
var retVal = (output || [])
|
|
5372
4745
|
.filter(function (e) { return e != null; })
|
|
5373
4746
|
.map(function (entry) {
|
|
5374
4747
|
if (entry === null) {
|
|
@@ -5376,9 +4749,10 @@ var deserializeAws_json1_1SourceRevisionList = function (output, context) {
|
|
|
5376
4749
|
}
|
|
5377
4750
|
return deserializeAws_json1_1SourceRevision(entry, context);
|
|
5378
4751
|
});
|
|
4752
|
+
return retVal;
|
|
5379
4753
|
};
|
|
5380
4754
|
var deserializeAws_json1_1StageActionDeclarationList = function (output, context) {
|
|
5381
|
-
|
|
4755
|
+
var retVal = (output || [])
|
|
5382
4756
|
.filter(function (e) { return e != null; })
|
|
5383
4757
|
.map(function (entry) {
|
|
5384
4758
|
if (entry === null) {
|
|
@@ -5386,9 +4760,10 @@ var deserializeAws_json1_1StageActionDeclarationList = function (output, context
|
|
|
5386
4760
|
}
|
|
5387
4761
|
return deserializeAws_json1_1ActionDeclaration(entry, context);
|
|
5388
4762
|
});
|
|
4763
|
+
return retVal;
|
|
5389
4764
|
};
|
|
5390
4765
|
var deserializeAws_json1_1StageBlockerDeclarationList = function (output, context) {
|
|
5391
|
-
|
|
4766
|
+
var retVal = (output || [])
|
|
5392
4767
|
.filter(function (e) { return e != null; })
|
|
5393
4768
|
.map(function (entry) {
|
|
5394
4769
|
if (entry === null) {
|
|
@@ -5396,6 +4771,7 @@ var deserializeAws_json1_1StageBlockerDeclarationList = function (output, contex
|
|
|
5396
4771
|
}
|
|
5397
4772
|
return deserializeAws_json1_1BlockerDeclaration(entry, context);
|
|
5398
4773
|
});
|
|
4774
|
+
return retVal;
|
|
5399
4775
|
};
|
|
5400
4776
|
var deserializeAws_json1_1StageContext = function (output, context) {
|
|
5401
4777
|
return {
|
|
@@ -5447,7 +4823,7 @@ var deserializeAws_json1_1StageState = function (output, context) {
|
|
|
5447
4823
|
};
|
|
5448
4824
|
};
|
|
5449
4825
|
var deserializeAws_json1_1StageStateList = function (output, context) {
|
|
5450
|
-
|
|
4826
|
+
var retVal = (output || [])
|
|
5451
4827
|
.filter(function (e) { return e != null; })
|
|
5452
4828
|
.map(function (entry) {
|
|
5453
4829
|
if (entry === null) {
|
|
@@ -5455,6 +4831,7 @@ var deserializeAws_json1_1StageStateList = function (output, context) {
|
|
|
5455
4831
|
}
|
|
5456
4832
|
return deserializeAws_json1_1StageState(entry, context);
|
|
5457
4833
|
});
|
|
4834
|
+
return retVal;
|
|
5458
4835
|
};
|
|
5459
4836
|
var deserializeAws_json1_1StartPipelineExecutionOutput = function (output, context) {
|
|
5460
4837
|
return {
|
|
@@ -5478,7 +4855,7 @@ var deserializeAws_json1_1Tag = function (output, context) {
|
|
|
5478
4855
|
};
|
|
5479
4856
|
};
|
|
5480
4857
|
var deserializeAws_json1_1TagList = function (output, context) {
|
|
5481
|
-
|
|
4858
|
+
var retVal = (output || [])
|
|
5482
4859
|
.filter(function (e) { return e != null; })
|
|
5483
4860
|
.map(function (entry) {
|
|
5484
4861
|
if (entry === null) {
|
|
@@ -5486,6 +4863,7 @@ var deserializeAws_json1_1TagList = function (output, context) {
|
|
|
5486
4863
|
}
|
|
5487
4864
|
return deserializeAws_json1_1Tag(entry, context);
|
|
5488
4865
|
});
|
|
4866
|
+
return retVal;
|
|
5489
4867
|
};
|
|
5490
4868
|
var deserializeAws_json1_1TagResourceOutput = function (output, context) {
|
|
5491
4869
|
return {};
|
|
@@ -5532,7 +4910,7 @@ var deserializeAws_json1_1ThirdPartyJobDetails = function (output, context) {
|
|
|
5532
4910
|
};
|
|
5533
4911
|
};
|
|
5534
4912
|
var deserializeAws_json1_1ThirdPartyJobList = function (output, context) {
|
|
5535
|
-
|
|
4913
|
+
var retVal = (output || [])
|
|
5536
4914
|
.filter(function (e) { return e != null; })
|
|
5537
4915
|
.map(function (entry) {
|
|
5538
4916
|
if (entry === null) {
|
|
@@ -5540,6 +4918,7 @@ var deserializeAws_json1_1ThirdPartyJobList = function (output, context) {
|
|
|
5540
4918
|
}
|
|
5541
4919
|
return deserializeAws_json1_1ThirdPartyJob(entry, context);
|
|
5542
4920
|
});
|
|
4921
|
+
return retVal;
|
|
5543
4922
|
};
|
|
5544
4923
|
var deserializeAws_json1_1TooManyTagsException = function (output, context) {
|
|
5545
4924
|
return {
|
|
@@ -5598,7 +4977,7 @@ var deserializeAws_json1_1WebhookFilterRule = function (output, context) {
|
|
|
5598
4977
|
};
|
|
5599
4978
|
};
|
|
5600
4979
|
var deserializeAws_json1_1WebhookFilters = function (output, context) {
|
|
5601
|
-
|
|
4980
|
+
var retVal = (output || [])
|
|
5602
4981
|
.filter(function (e) { return e != null; })
|
|
5603
4982
|
.map(function (entry) {
|
|
5604
4983
|
if (entry === null) {
|
|
@@ -5606,9 +4985,10 @@ var deserializeAws_json1_1WebhookFilters = function (output, context) {
|
|
|
5606
4985
|
}
|
|
5607
4986
|
return deserializeAws_json1_1WebhookFilterRule(entry, context);
|
|
5608
4987
|
});
|
|
4988
|
+
return retVal;
|
|
5609
4989
|
};
|
|
5610
4990
|
var deserializeAws_json1_1WebhookList = function (output, context) {
|
|
5611
|
-
|
|
4991
|
+
var retVal = (output || [])
|
|
5612
4992
|
.filter(function (e) { return e != null; })
|
|
5613
4993
|
.map(function (entry) {
|
|
5614
4994
|
if (entry === null) {
|
|
@@ -5616,6 +4996,7 @@ var deserializeAws_json1_1WebhookList = function (output, context) {
|
|
|
5616
4996
|
}
|
|
5617
4997
|
return deserializeAws_json1_1ListWebhookItem(entry, context);
|
|
5618
4998
|
});
|
|
4999
|
+
return retVal;
|
|
5619
5000
|
};
|
|
5620
5001
|
var deserializeAws_json1_1WebhookNotFoundException = function (output, context) {
|
|
5621
5002
|
return {};
|