@aws-sdk/client-swf 3.118.1 → 3.128.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/protocols/Aws_json1_0.js +540 -715
- package/dist-es/protocols/Aws_json1_0.js +404 -579
- package/package.json +26 -26
|
@@ -429,7 +429,7 @@ export var deserializeAws_json1_0CountClosedWorkflowExecutionsCommand = function
|
|
|
429
429
|
});
|
|
430
430
|
}); };
|
|
431
431
|
var deserializeAws_json1_0CountClosedWorkflowExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
432
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
432
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
433
433
|
var _c;
|
|
434
434
|
return __generator(this, function (_d) {
|
|
435
435
|
switch (_d.label) {
|
|
@@ -439,7 +439,6 @@ var deserializeAws_json1_0CountClosedWorkflowExecutionsCommandError = function (
|
|
|
439
439
|
return [4, parseBody(output.body, context)];
|
|
440
440
|
case 1:
|
|
441
441
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
442
|
-
errorCode = "UnknownError";
|
|
443
442
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
444
443
|
_b = errorCode;
|
|
445
444
|
switch (_b) {
|
|
@@ -455,10 +454,12 @@ var deserializeAws_json1_0CountClosedWorkflowExecutionsCommandError = function (
|
|
|
455
454
|
case 5: throw _d.sent();
|
|
456
455
|
case 6:
|
|
457
456
|
parsedBody = parsedOutput.body;
|
|
457
|
+
$metadata = deserializeMetadata(output);
|
|
458
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
458
459
|
response = new __BaseException({
|
|
459
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
460
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
460
461
|
$fault: "client",
|
|
461
|
-
$metadata:
|
|
462
|
+
$metadata: $metadata,
|
|
462
463
|
});
|
|
463
464
|
throw __decorateServiceException(response, parsedBody);
|
|
464
465
|
}
|
|
@@ -483,7 +484,7 @@ export var deserializeAws_json1_0CountOpenWorkflowExecutionsCommand = function (
|
|
|
483
484
|
});
|
|
484
485
|
}); };
|
|
485
486
|
var deserializeAws_json1_0CountOpenWorkflowExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
486
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
487
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
487
488
|
var _c;
|
|
488
489
|
return __generator(this, function (_d) {
|
|
489
490
|
switch (_d.label) {
|
|
@@ -493,7 +494,6 @@ var deserializeAws_json1_0CountOpenWorkflowExecutionsCommandError = function (ou
|
|
|
493
494
|
return [4, parseBody(output.body, context)];
|
|
494
495
|
case 1:
|
|
495
496
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
496
|
-
errorCode = "UnknownError";
|
|
497
497
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
498
498
|
_b = errorCode;
|
|
499
499
|
switch (_b) {
|
|
@@ -509,10 +509,12 @@ var deserializeAws_json1_0CountOpenWorkflowExecutionsCommandError = function (ou
|
|
|
509
509
|
case 5: throw _d.sent();
|
|
510
510
|
case 6:
|
|
511
511
|
parsedBody = parsedOutput.body;
|
|
512
|
+
$metadata = deserializeMetadata(output);
|
|
513
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
512
514
|
response = new __BaseException({
|
|
513
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
515
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
514
516
|
$fault: "client",
|
|
515
|
-
$metadata:
|
|
517
|
+
$metadata: $metadata,
|
|
516
518
|
});
|
|
517
519
|
throw __decorateServiceException(response, parsedBody);
|
|
518
520
|
}
|
|
@@ -537,7 +539,7 @@ export var deserializeAws_json1_0CountPendingActivityTasksCommand = function (ou
|
|
|
537
539
|
});
|
|
538
540
|
}); };
|
|
539
541
|
var deserializeAws_json1_0CountPendingActivityTasksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
540
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
542
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
541
543
|
var _c;
|
|
542
544
|
return __generator(this, function (_d) {
|
|
543
545
|
switch (_d.label) {
|
|
@@ -547,7 +549,6 @@ var deserializeAws_json1_0CountPendingActivityTasksCommandError = function (outp
|
|
|
547
549
|
return [4, parseBody(output.body, context)];
|
|
548
550
|
case 1:
|
|
549
551
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
550
|
-
errorCode = "UnknownError";
|
|
551
552
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
552
553
|
_b = errorCode;
|
|
553
554
|
switch (_b) {
|
|
@@ -563,10 +564,12 @@ var deserializeAws_json1_0CountPendingActivityTasksCommandError = function (outp
|
|
|
563
564
|
case 5: throw _d.sent();
|
|
564
565
|
case 6:
|
|
565
566
|
parsedBody = parsedOutput.body;
|
|
567
|
+
$metadata = deserializeMetadata(output);
|
|
568
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
566
569
|
response = new __BaseException({
|
|
567
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
570
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
568
571
|
$fault: "client",
|
|
569
|
-
$metadata:
|
|
572
|
+
$metadata: $metadata,
|
|
570
573
|
});
|
|
571
574
|
throw __decorateServiceException(response, parsedBody);
|
|
572
575
|
}
|
|
@@ -591,7 +594,7 @@ export var deserializeAws_json1_0CountPendingDecisionTasksCommand = function (ou
|
|
|
591
594
|
});
|
|
592
595
|
}); };
|
|
593
596
|
var deserializeAws_json1_0CountPendingDecisionTasksCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
594
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
597
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
595
598
|
var _c;
|
|
596
599
|
return __generator(this, function (_d) {
|
|
597
600
|
switch (_d.label) {
|
|
@@ -601,7 +604,6 @@ var deserializeAws_json1_0CountPendingDecisionTasksCommandError = function (outp
|
|
|
601
604
|
return [4, parseBody(output.body, context)];
|
|
602
605
|
case 1:
|
|
603
606
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
604
|
-
errorCode = "UnknownError";
|
|
605
607
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
606
608
|
_b = errorCode;
|
|
607
609
|
switch (_b) {
|
|
@@ -617,10 +619,12 @@ var deserializeAws_json1_0CountPendingDecisionTasksCommandError = function (outp
|
|
|
617
619
|
case 5: throw _d.sent();
|
|
618
620
|
case 6:
|
|
619
621
|
parsedBody = parsedOutput.body;
|
|
622
|
+
$metadata = deserializeMetadata(output);
|
|
623
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
620
624
|
response = new __BaseException({
|
|
621
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
625
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
622
626
|
$fault: "client",
|
|
623
|
-
$metadata:
|
|
627
|
+
$metadata: $metadata,
|
|
624
628
|
});
|
|
625
629
|
throw __decorateServiceException(response, parsedBody);
|
|
626
630
|
}
|
|
@@ -645,7 +649,7 @@ export var deserializeAws_json1_0DeprecateActivityTypeCommand = function (output
|
|
|
645
649
|
});
|
|
646
650
|
}); };
|
|
647
651
|
var deserializeAws_json1_0DeprecateActivityTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
648
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
652
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
649
653
|
var _c;
|
|
650
654
|
return __generator(this, function (_d) {
|
|
651
655
|
switch (_d.label) {
|
|
@@ -655,7 +659,6 @@ var deserializeAws_json1_0DeprecateActivityTypeCommandError = function (output,
|
|
|
655
659
|
return [4, parseBody(output.body, context)];
|
|
656
660
|
case 1:
|
|
657
661
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
658
|
-
errorCode = "UnknownError";
|
|
659
662
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
660
663
|
_b = errorCode;
|
|
661
664
|
switch (_b) {
|
|
@@ -675,10 +678,12 @@ var deserializeAws_json1_0DeprecateActivityTypeCommandError = function (output,
|
|
|
675
678
|
case 7: throw _d.sent();
|
|
676
679
|
case 8:
|
|
677
680
|
parsedBody = parsedOutput.body;
|
|
681
|
+
$metadata = deserializeMetadata(output);
|
|
682
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
678
683
|
response = new __BaseException({
|
|
679
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
684
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
680
685
|
$fault: "client",
|
|
681
|
-
$metadata:
|
|
686
|
+
$metadata: $metadata,
|
|
682
687
|
});
|
|
683
688
|
throw __decorateServiceException(response, parsedBody);
|
|
684
689
|
}
|
|
@@ -703,7 +708,7 @@ export var deserializeAws_json1_0DeprecateDomainCommand = function (output, cont
|
|
|
703
708
|
});
|
|
704
709
|
}); };
|
|
705
710
|
var deserializeAws_json1_0DeprecateDomainCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
706
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
711
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
707
712
|
var _c;
|
|
708
713
|
return __generator(this, function (_d) {
|
|
709
714
|
switch (_d.label) {
|
|
@@ -713,7 +718,6 @@ var deserializeAws_json1_0DeprecateDomainCommandError = function (output, contex
|
|
|
713
718
|
return [4, parseBody(output.body, context)];
|
|
714
719
|
case 1:
|
|
715
720
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
716
|
-
errorCode = "UnknownError";
|
|
717
721
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
718
722
|
_b = errorCode;
|
|
719
723
|
switch (_b) {
|
|
@@ -733,10 +737,12 @@ var deserializeAws_json1_0DeprecateDomainCommandError = function (output, contex
|
|
|
733
737
|
case 7: throw _d.sent();
|
|
734
738
|
case 8:
|
|
735
739
|
parsedBody = parsedOutput.body;
|
|
740
|
+
$metadata = deserializeMetadata(output);
|
|
741
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
736
742
|
response = new __BaseException({
|
|
737
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
743
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
738
744
|
$fault: "client",
|
|
739
|
-
$metadata:
|
|
745
|
+
$metadata: $metadata,
|
|
740
746
|
});
|
|
741
747
|
throw __decorateServiceException(response, parsedBody);
|
|
742
748
|
}
|
|
@@ -761,7 +767,7 @@ export var deserializeAws_json1_0DeprecateWorkflowTypeCommand = function (output
|
|
|
761
767
|
});
|
|
762
768
|
}); };
|
|
763
769
|
var deserializeAws_json1_0DeprecateWorkflowTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
764
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
770
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
765
771
|
var _c;
|
|
766
772
|
return __generator(this, function (_d) {
|
|
767
773
|
switch (_d.label) {
|
|
@@ -771,7 +777,6 @@ var deserializeAws_json1_0DeprecateWorkflowTypeCommandError = function (output,
|
|
|
771
777
|
return [4, parseBody(output.body, context)];
|
|
772
778
|
case 1:
|
|
773
779
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
774
|
-
errorCode = "UnknownError";
|
|
775
780
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
776
781
|
_b = errorCode;
|
|
777
782
|
switch (_b) {
|
|
@@ -791,10 +796,12 @@ var deserializeAws_json1_0DeprecateWorkflowTypeCommandError = function (output,
|
|
|
791
796
|
case 7: throw _d.sent();
|
|
792
797
|
case 8:
|
|
793
798
|
parsedBody = parsedOutput.body;
|
|
799
|
+
$metadata = deserializeMetadata(output);
|
|
800
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
794
801
|
response = new __BaseException({
|
|
795
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
802
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
796
803
|
$fault: "client",
|
|
797
|
-
$metadata:
|
|
804
|
+
$metadata: $metadata,
|
|
798
805
|
});
|
|
799
806
|
throw __decorateServiceException(response, parsedBody);
|
|
800
807
|
}
|
|
@@ -819,7 +826,7 @@ export var deserializeAws_json1_0DescribeActivityTypeCommand = function (output,
|
|
|
819
826
|
});
|
|
820
827
|
}); };
|
|
821
828
|
var deserializeAws_json1_0DescribeActivityTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
822
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
829
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
823
830
|
var _c;
|
|
824
831
|
return __generator(this, function (_d) {
|
|
825
832
|
switch (_d.label) {
|
|
@@ -829,7 +836,6 @@ var deserializeAws_json1_0DescribeActivityTypeCommandError = function (output, c
|
|
|
829
836
|
return [4, parseBody(output.body, context)];
|
|
830
837
|
case 1:
|
|
831
838
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
832
|
-
errorCode = "UnknownError";
|
|
833
839
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
834
840
|
_b = errorCode;
|
|
835
841
|
switch (_b) {
|
|
@@ -845,10 +851,12 @@ var deserializeAws_json1_0DescribeActivityTypeCommandError = function (output, c
|
|
|
845
851
|
case 5: throw _d.sent();
|
|
846
852
|
case 6:
|
|
847
853
|
parsedBody = parsedOutput.body;
|
|
854
|
+
$metadata = deserializeMetadata(output);
|
|
855
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
848
856
|
response = new __BaseException({
|
|
849
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
857
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
850
858
|
$fault: "client",
|
|
851
|
-
$metadata:
|
|
859
|
+
$metadata: $metadata,
|
|
852
860
|
});
|
|
853
861
|
throw __decorateServiceException(response, parsedBody);
|
|
854
862
|
}
|
|
@@ -873,7 +881,7 @@ export var deserializeAws_json1_0DescribeDomainCommand = function (output, conte
|
|
|
873
881
|
});
|
|
874
882
|
}); };
|
|
875
883
|
var deserializeAws_json1_0DescribeDomainCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
876
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
884
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
877
885
|
var _c;
|
|
878
886
|
return __generator(this, function (_d) {
|
|
879
887
|
switch (_d.label) {
|
|
@@ -883,7 +891,6 @@ var deserializeAws_json1_0DescribeDomainCommandError = function (output, context
|
|
|
883
891
|
return [4, parseBody(output.body, context)];
|
|
884
892
|
case 1:
|
|
885
893
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
886
|
-
errorCode = "UnknownError";
|
|
887
894
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
888
895
|
_b = errorCode;
|
|
889
896
|
switch (_b) {
|
|
@@ -899,10 +906,12 @@ var deserializeAws_json1_0DescribeDomainCommandError = function (output, context
|
|
|
899
906
|
case 5: throw _d.sent();
|
|
900
907
|
case 6:
|
|
901
908
|
parsedBody = parsedOutput.body;
|
|
909
|
+
$metadata = deserializeMetadata(output);
|
|
910
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
902
911
|
response = new __BaseException({
|
|
903
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
912
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
904
913
|
$fault: "client",
|
|
905
|
-
$metadata:
|
|
914
|
+
$metadata: $metadata,
|
|
906
915
|
});
|
|
907
916
|
throw __decorateServiceException(response, parsedBody);
|
|
908
917
|
}
|
|
@@ -927,7 +936,7 @@ export var deserializeAws_json1_0DescribeWorkflowExecutionCommand = function (ou
|
|
|
927
936
|
});
|
|
928
937
|
}); };
|
|
929
938
|
var deserializeAws_json1_0DescribeWorkflowExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
930
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
939
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
931
940
|
var _c;
|
|
932
941
|
return __generator(this, function (_d) {
|
|
933
942
|
switch (_d.label) {
|
|
@@ -937,7 +946,6 @@ var deserializeAws_json1_0DescribeWorkflowExecutionCommandError = function (outp
|
|
|
937
946
|
return [4, parseBody(output.body, context)];
|
|
938
947
|
case 1:
|
|
939
948
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
940
|
-
errorCode = "UnknownError";
|
|
941
949
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
942
950
|
_b = errorCode;
|
|
943
951
|
switch (_b) {
|
|
@@ -953,10 +961,12 @@ var deserializeAws_json1_0DescribeWorkflowExecutionCommandError = function (outp
|
|
|
953
961
|
case 5: throw _d.sent();
|
|
954
962
|
case 6:
|
|
955
963
|
parsedBody = parsedOutput.body;
|
|
964
|
+
$metadata = deserializeMetadata(output);
|
|
965
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
956
966
|
response = new __BaseException({
|
|
957
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
967
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
958
968
|
$fault: "client",
|
|
959
|
-
$metadata:
|
|
969
|
+
$metadata: $metadata,
|
|
960
970
|
});
|
|
961
971
|
throw __decorateServiceException(response, parsedBody);
|
|
962
972
|
}
|
|
@@ -981,7 +991,7 @@ export var deserializeAws_json1_0DescribeWorkflowTypeCommand = function (output,
|
|
|
981
991
|
});
|
|
982
992
|
}); };
|
|
983
993
|
var deserializeAws_json1_0DescribeWorkflowTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
984
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
994
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
985
995
|
var _c;
|
|
986
996
|
return __generator(this, function (_d) {
|
|
987
997
|
switch (_d.label) {
|
|
@@ -991,7 +1001,6 @@ var deserializeAws_json1_0DescribeWorkflowTypeCommandError = function (output, c
|
|
|
991
1001
|
return [4, parseBody(output.body, context)];
|
|
992
1002
|
case 1:
|
|
993
1003
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
994
|
-
errorCode = "UnknownError";
|
|
995
1004
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
996
1005
|
_b = errorCode;
|
|
997
1006
|
switch (_b) {
|
|
@@ -1007,10 +1016,12 @@ var deserializeAws_json1_0DescribeWorkflowTypeCommandError = function (output, c
|
|
|
1007
1016
|
case 5: throw _d.sent();
|
|
1008
1017
|
case 6:
|
|
1009
1018
|
parsedBody = parsedOutput.body;
|
|
1019
|
+
$metadata = deserializeMetadata(output);
|
|
1020
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1010
1021
|
response = new __BaseException({
|
|
1011
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1022
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1012
1023
|
$fault: "client",
|
|
1013
|
-
$metadata:
|
|
1024
|
+
$metadata: $metadata,
|
|
1014
1025
|
});
|
|
1015
1026
|
throw __decorateServiceException(response, parsedBody);
|
|
1016
1027
|
}
|
|
@@ -1035,7 +1046,7 @@ export var deserializeAws_json1_0GetWorkflowExecutionHistoryCommand = function (
|
|
|
1035
1046
|
});
|
|
1036
1047
|
}); };
|
|
1037
1048
|
var deserializeAws_json1_0GetWorkflowExecutionHistoryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1038
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1049
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1039
1050
|
var _c;
|
|
1040
1051
|
return __generator(this, function (_d) {
|
|
1041
1052
|
switch (_d.label) {
|
|
@@ -1045,7 +1056,6 @@ var deserializeAws_json1_0GetWorkflowExecutionHistoryCommandError = function (ou
|
|
|
1045
1056
|
return [4, parseBody(output.body, context)];
|
|
1046
1057
|
case 1:
|
|
1047
1058
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1048
|
-
errorCode = "UnknownError";
|
|
1049
1059
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1050
1060
|
_b = errorCode;
|
|
1051
1061
|
switch (_b) {
|
|
@@ -1061,10 +1071,12 @@ var deserializeAws_json1_0GetWorkflowExecutionHistoryCommandError = function (ou
|
|
|
1061
1071
|
case 5: throw _d.sent();
|
|
1062
1072
|
case 6:
|
|
1063
1073
|
parsedBody = parsedOutput.body;
|
|
1074
|
+
$metadata = deserializeMetadata(output);
|
|
1075
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1064
1076
|
response = new __BaseException({
|
|
1065
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1077
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1066
1078
|
$fault: "client",
|
|
1067
|
-
$metadata:
|
|
1079
|
+
$metadata: $metadata,
|
|
1068
1080
|
});
|
|
1069
1081
|
throw __decorateServiceException(response, parsedBody);
|
|
1070
1082
|
}
|
|
@@ -1089,7 +1101,7 @@ export var deserializeAws_json1_0ListActivityTypesCommand = function (output, co
|
|
|
1089
1101
|
});
|
|
1090
1102
|
}); };
|
|
1091
1103
|
var deserializeAws_json1_0ListActivityTypesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1092
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1104
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1093
1105
|
var _c;
|
|
1094
1106
|
return __generator(this, function (_d) {
|
|
1095
1107
|
switch (_d.label) {
|
|
@@ -1099,7 +1111,6 @@ var deserializeAws_json1_0ListActivityTypesCommandError = function (output, cont
|
|
|
1099
1111
|
return [4, parseBody(output.body, context)];
|
|
1100
1112
|
case 1:
|
|
1101
1113
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1102
|
-
errorCode = "UnknownError";
|
|
1103
1114
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1104
1115
|
_b = errorCode;
|
|
1105
1116
|
switch (_b) {
|
|
@@ -1115,10 +1126,12 @@ var deserializeAws_json1_0ListActivityTypesCommandError = function (output, cont
|
|
|
1115
1126
|
case 5: throw _d.sent();
|
|
1116
1127
|
case 6:
|
|
1117
1128
|
parsedBody = parsedOutput.body;
|
|
1129
|
+
$metadata = deserializeMetadata(output);
|
|
1130
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1118
1131
|
response = new __BaseException({
|
|
1119
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1132
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1120
1133
|
$fault: "client",
|
|
1121
|
-
$metadata:
|
|
1134
|
+
$metadata: $metadata,
|
|
1122
1135
|
});
|
|
1123
1136
|
throw __decorateServiceException(response, parsedBody);
|
|
1124
1137
|
}
|
|
@@ -1143,7 +1156,7 @@ export var deserializeAws_json1_0ListClosedWorkflowExecutionsCommand = function
|
|
|
1143
1156
|
});
|
|
1144
1157
|
}); };
|
|
1145
1158
|
var deserializeAws_json1_0ListClosedWorkflowExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1146
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1159
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1147
1160
|
var _c;
|
|
1148
1161
|
return __generator(this, function (_d) {
|
|
1149
1162
|
switch (_d.label) {
|
|
@@ -1153,7 +1166,6 @@ var deserializeAws_json1_0ListClosedWorkflowExecutionsCommandError = function (o
|
|
|
1153
1166
|
return [4, parseBody(output.body, context)];
|
|
1154
1167
|
case 1:
|
|
1155
1168
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1156
|
-
errorCode = "UnknownError";
|
|
1157
1169
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1158
1170
|
_b = errorCode;
|
|
1159
1171
|
switch (_b) {
|
|
@@ -1169,10 +1181,12 @@ var deserializeAws_json1_0ListClosedWorkflowExecutionsCommandError = function (o
|
|
|
1169
1181
|
case 5: throw _d.sent();
|
|
1170
1182
|
case 6:
|
|
1171
1183
|
parsedBody = parsedOutput.body;
|
|
1184
|
+
$metadata = deserializeMetadata(output);
|
|
1185
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1172
1186
|
response = new __BaseException({
|
|
1173
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1187
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1174
1188
|
$fault: "client",
|
|
1175
|
-
$metadata:
|
|
1189
|
+
$metadata: $metadata,
|
|
1176
1190
|
});
|
|
1177
1191
|
throw __decorateServiceException(response, parsedBody);
|
|
1178
1192
|
}
|
|
@@ -1197,7 +1211,7 @@ export var deserializeAws_json1_0ListDomainsCommand = function (output, context)
|
|
|
1197
1211
|
});
|
|
1198
1212
|
}); };
|
|
1199
1213
|
var deserializeAws_json1_0ListDomainsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1200
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1214
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1201
1215
|
var _c;
|
|
1202
1216
|
return __generator(this, function (_d) {
|
|
1203
1217
|
switch (_d.label) {
|
|
@@ -1207,7 +1221,6 @@ var deserializeAws_json1_0ListDomainsCommandError = function (output, context) {
|
|
|
1207
1221
|
return [4, parseBody(output.body, context)];
|
|
1208
1222
|
case 1:
|
|
1209
1223
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1210
|
-
errorCode = "UnknownError";
|
|
1211
1224
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1212
1225
|
_b = errorCode;
|
|
1213
1226
|
switch (_b) {
|
|
@@ -1219,10 +1232,12 @@ var deserializeAws_json1_0ListDomainsCommandError = function (output, context) {
|
|
|
1219
1232
|
case 3: throw _d.sent();
|
|
1220
1233
|
case 4:
|
|
1221
1234
|
parsedBody = parsedOutput.body;
|
|
1235
|
+
$metadata = deserializeMetadata(output);
|
|
1236
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1222
1237
|
response = new __BaseException({
|
|
1223
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1238
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1224
1239
|
$fault: "client",
|
|
1225
|
-
$metadata:
|
|
1240
|
+
$metadata: $metadata,
|
|
1226
1241
|
});
|
|
1227
1242
|
throw __decorateServiceException(response, parsedBody);
|
|
1228
1243
|
}
|
|
@@ -1247,7 +1262,7 @@ export var deserializeAws_json1_0ListOpenWorkflowExecutionsCommand = function (o
|
|
|
1247
1262
|
});
|
|
1248
1263
|
}); };
|
|
1249
1264
|
var deserializeAws_json1_0ListOpenWorkflowExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1250
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1265
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1251
1266
|
var _c;
|
|
1252
1267
|
return __generator(this, function (_d) {
|
|
1253
1268
|
switch (_d.label) {
|
|
@@ -1257,7 +1272,6 @@ var deserializeAws_json1_0ListOpenWorkflowExecutionsCommandError = function (out
|
|
|
1257
1272
|
return [4, parseBody(output.body, context)];
|
|
1258
1273
|
case 1:
|
|
1259
1274
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1260
|
-
errorCode = "UnknownError";
|
|
1261
1275
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1262
1276
|
_b = errorCode;
|
|
1263
1277
|
switch (_b) {
|
|
@@ -1273,10 +1287,12 @@ var deserializeAws_json1_0ListOpenWorkflowExecutionsCommandError = function (out
|
|
|
1273
1287
|
case 5: throw _d.sent();
|
|
1274
1288
|
case 6:
|
|
1275
1289
|
parsedBody = parsedOutput.body;
|
|
1290
|
+
$metadata = deserializeMetadata(output);
|
|
1291
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1276
1292
|
response = new __BaseException({
|
|
1277
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1293
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1278
1294
|
$fault: "client",
|
|
1279
|
-
$metadata:
|
|
1295
|
+
$metadata: $metadata,
|
|
1280
1296
|
});
|
|
1281
1297
|
throw __decorateServiceException(response, parsedBody);
|
|
1282
1298
|
}
|
|
@@ -1301,7 +1317,7 @@ export var deserializeAws_json1_0ListTagsForResourceCommand = function (output,
|
|
|
1301
1317
|
});
|
|
1302
1318
|
}); };
|
|
1303
1319
|
var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1304
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1320
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1305
1321
|
var _c;
|
|
1306
1322
|
return __generator(this, function (_d) {
|
|
1307
1323
|
switch (_d.label) {
|
|
@@ -1311,7 +1327,6 @@ var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, co
|
|
|
1311
1327
|
return [4, parseBody(output.body, context)];
|
|
1312
1328
|
case 1:
|
|
1313
1329
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1314
|
-
errorCode = "UnknownError";
|
|
1315
1330
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1316
1331
|
_b = errorCode;
|
|
1317
1332
|
switch (_b) {
|
|
@@ -1331,10 +1346,12 @@ var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, co
|
|
|
1331
1346
|
case 7: throw _d.sent();
|
|
1332
1347
|
case 8:
|
|
1333
1348
|
parsedBody = parsedOutput.body;
|
|
1349
|
+
$metadata = deserializeMetadata(output);
|
|
1350
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1334
1351
|
response = new __BaseException({
|
|
1335
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1352
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1336
1353
|
$fault: "client",
|
|
1337
|
-
$metadata:
|
|
1354
|
+
$metadata: $metadata,
|
|
1338
1355
|
});
|
|
1339
1356
|
throw __decorateServiceException(response, parsedBody);
|
|
1340
1357
|
}
|
|
@@ -1359,7 +1376,7 @@ export var deserializeAws_json1_0ListWorkflowTypesCommand = function (output, co
|
|
|
1359
1376
|
});
|
|
1360
1377
|
}); };
|
|
1361
1378
|
var deserializeAws_json1_0ListWorkflowTypesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1362
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1379
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1363
1380
|
var _c;
|
|
1364
1381
|
return __generator(this, function (_d) {
|
|
1365
1382
|
switch (_d.label) {
|
|
@@ -1369,7 +1386,6 @@ var deserializeAws_json1_0ListWorkflowTypesCommandError = function (output, cont
|
|
|
1369
1386
|
return [4, parseBody(output.body, context)];
|
|
1370
1387
|
case 1:
|
|
1371
1388
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1372
|
-
errorCode = "UnknownError";
|
|
1373
1389
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1374
1390
|
_b = errorCode;
|
|
1375
1391
|
switch (_b) {
|
|
@@ -1385,10 +1401,12 @@ var deserializeAws_json1_0ListWorkflowTypesCommandError = function (output, cont
|
|
|
1385
1401
|
case 5: throw _d.sent();
|
|
1386
1402
|
case 6:
|
|
1387
1403
|
parsedBody = parsedOutput.body;
|
|
1404
|
+
$metadata = deserializeMetadata(output);
|
|
1405
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1388
1406
|
response = new __BaseException({
|
|
1389
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1407
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1390
1408
|
$fault: "client",
|
|
1391
|
-
$metadata:
|
|
1409
|
+
$metadata: $metadata,
|
|
1392
1410
|
});
|
|
1393
1411
|
throw __decorateServiceException(response, parsedBody);
|
|
1394
1412
|
}
|
|
@@ -1413,7 +1431,7 @@ export var deserializeAws_json1_0PollForActivityTaskCommand = function (output,
|
|
|
1413
1431
|
});
|
|
1414
1432
|
}); };
|
|
1415
1433
|
var deserializeAws_json1_0PollForActivityTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1416
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1434
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1417
1435
|
var _c;
|
|
1418
1436
|
return __generator(this, function (_d) {
|
|
1419
1437
|
switch (_d.label) {
|
|
@@ -1423,7 +1441,6 @@ var deserializeAws_json1_0PollForActivityTaskCommandError = function (output, co
|
|
|
1423
1441
|
return [4, parseBody(output.body, context)];
|
|
1424
1442
|
case 1:
|
|
1425
1443
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1426
|
-
errorCode = "UnknownError";
|
|
1427
1444
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1428
1445
|
_b = errorCode;
|
|
1429
1446
|
switch (_b) {
|
|
@@ -1443,10 +1460,12 @@ var deserializeAws_json1_0PollForActivityTaskCommandError = function (output, co
|
|
|
1443
1460
|
case 7: throw _d.sent();
|
|
1444
1461
|
case 8:
|
|
1445
1462
|
parsedBody = parsedOutput.body;
|
|
1463
|
+
$metadata = deserializeMetadata(output);
|
|
1464
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1446
1465
|
response = new __BaseException({
|
|
1447
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1466
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1448
1467
|
$fault: "client",
|
|
1449
|
-
$metadata:
|
|
1468
|
+
$metadata: $metadata,
|
|
1450
1469
|
});
|
|
1451
1470
|
throw __decorateServiceException(response, parsedBody);
|
|
1452
1471
|
}
|
|
@@ -1471,7 +1490,7 @@ export var deserializeAws_json1_0PollForDecisionTaskCommand = function (output,
|
|
|
1471
1490
|
});
|
|
1472
1491
|
}); };
|
|
1473
1492
|
var deserializeAws_json1_0PollForDecisionTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1474
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1493
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1475
1494
|
var _c;
|
|
1476
1495
|
return __generator(this, function (_d) {
|
|
1477
1496
|
switch (_d.label) {
|
|
@@ -1481,7 +1500,6 @@ var deserializeAws_json1_0PollForDecisionTaskCommandError = function (output, co
|
|
|
1481
1500
|
return [4, parseBody(output.body, context)];
|
|
1482
1501
|
case 1:
|
|
1483
1502
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1484
|
-
errorCode = "UnknownError";
|
|
1485
1503
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1486
1504
|
_b = errorCode;
|
|
1487
1505
|
switch (_b) {
|
|
@@ -1501,10 +1519,12 @@ var deserializeAws_json1_0PollForDecisionTaskCommandError = function (output, co
|
|
|
1501
1519
|
case 7: throw _d.sent();
|
|
1502
1520
|
case 8:
|
|
1503
1521
|
parsedBody = parsedOutput.body;
|
|
1522
|
+
$metadata = deserializeMetadata(output);
|
|
1523
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1504
1524
|
response = new __BaseException({
|
|
1505
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1525
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1506
1526
|
$fault: "client",
|
|
1507
|
-
$metadata:
|
|
1527
|
+
$metadata: $metadata,
|
|
1508
1528
|
});
|
|
1509
1529
|
throw __decorateServiceException(response, parsedBody);
|
|
1510
1530
|
}
|
|
@@ -1529,7 +1549,7 @@ export var deserializeAws_json1_0RecordActivityTaskHeartbeatCommand = function (
|
|
|
1529
1549
|
});
|
|
1530
1550
|
}); };
|
|
1531
1551
|
var deserializeAws_json1_0RecordActivityTaskHeartbeatCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1532
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1552
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1533
1553
|
var _c;
|
|
1534
1554
|
return __generator(this, function (_d) {
|
|
1535
1555
|
switch (_d.label) {
|
|
@@ -1539,7 +1559,6 @@ var deserializeAws_json1_0RecordActivityTaskHeartbeatCommandError = function (ou
|
|
|
1539
1559
|
return [4, parseBody(output.body, context)];
|
|
1540
1560
|
case 1:
|
|
1541
1561
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1542
|
-
errorCode = "UnknownError";
|
|
1543
1562
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1544
1563
|
_b = errorCode;
|
|
1545
1564
|
switch (_b) {
|
|
@@ -1555,10 +1574,12 @@ var deserializeAws_json1_0RecordActivityTaskHeartbeatCommandError = function (ou
|
|
|
1555
1574
|
case 5: throw _d.sent();
|
|
1556
1575
|
case 6:
|
|
1557
1576
|
parsedBody = parsedOutput.body;
|
|
1577
|
+
$metadata = deserializeMetadata(output);
|
|
1578
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1558
1579
|
response = new __BaseException({
|
|
1559
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1580
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1560
1581
|
$fault: "client",
|
|
1561
|
-
$metadata:
|
|
1582
|
+
$metadata: $metadata,
|
|
1562
1583
|
});
|
|
1563
1584
|
throw __decorateServiceException(response, parsedBody);
|
|
1564
1585
|
}
|
|
@@ -1583,7 +1604,7 @@ export var deserializeAws_json1_0RegisterActivityTypeCommand = function (output,
|
|
|
1583
1604
|
});
|
|
1584
1605
|
}); };
|
|
1585
1606
|
var deserializeAws_json1_0RegisterActivityTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1586
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1607
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1587
1608
|
var _c;
|
|
1588
1609
|
return __generator(this, function (_d) {
|
|
1589
1610
|
switch (_d.label) {
|
|
@@ -1593,7 +1614,6 @@ var deserializeAws_json1_0RegisterActivityTypeCommandError = function (output, c
|
|
|
1593
1614
|
return [4, parseBody(output.body, context)];
|
|
1594
1615
|
case 1:
|
|
1595
1616
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1596
|
-
errorCode = "UnknownError";
|
|
1597
1617
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1598
1618
|
_b = errorCode;
|
|
1599
1619
|
switch (_b) {
|
|
@@ -1617,10 +1637,12 @@ var deserializeAws_json1_0RegisterActivityTypeCommandError = function (output, c
|
|
|
1617
1637
|
case 9: throw _d.sent();
|
|
1618
1638
|
case 10:
|
|
1619
1639
|
parsedBody = parsedOutput.body;
|
|
1640
|
+
$metadata = deserializeMetadata(output);
|
|
1641
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1620
1642
|
response = new __BaseException({
|
|
1621
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1643
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1622
1644
|
$fault: "client",
|
|
1623
|
-
$metadata:
|
|
1645
|
+
$metadata: $metadata,
|
|
1624
1646
|
});
|
|
1625
1647
|
throw __decorateServiceException(response, parsedBody);
|
|
1626
1648
|
}
|
|
@@ -1645,7 +1667,7 @@ export var deserializeAws_json1_0RegisterDomainCommand = function (output, conte
|
|
|
1645
1667
|
});
|
|
1646
1668
|
}); };
|
|
1647
1669
|
var deserializeAws_json1_0RegisterDomainCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1648
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1670
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1649
1671
|
var _c;
|
|
1650
1672
|
return __generator(this, function (_d) {
|
|
1651
1673
|
switch (_d.label) {
|
|
@@ -1655,7 +1677,6 @@ var deserializeAws_json1_0RegisterDomainCommandError = function (output, context
|
|
|
1655
1677
|
return [4, parseBody(output.body, context)];
|
|
1656
1678
|
case 1:
|
|
1657
1679
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1658
|
-
errorCode = "UnknownError";
|
|
1659
1680
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1660
1681
|
_b = errorCode;
|
|
1661
1682
|
switch (_b) {
|
|
@@ -1679,10 +1700,12 @@ var deserializeAws_json1_0RegisterDomainCommandError = function (output, context
|
|
|
1679
1700
|
case 9: throw _d.sent();
|
|
1680
1701
|
case 10:
|
|
1681
1702
|
parsedBody = parsedOutput.body;
|
|
1703
|
+
$metadata = deserializeMetadata(output);
|
|
1704
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1682
1705
|
response = new __BaseException({
|
|
1683
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1706
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1684
1707
|
$fault: "client",
|
|
1685
|
-
$metadata:
|
|
1708
|
+
$metadata: $metadata,
|
|
1686
1709
|
});
|
|
1687
1710
|
throw __decorateServiceException(response, parsedBody);
|
|
1688
1711
|
}
|
|
@@ -1707,7 +1730,7 @@ export var deserializeAws_json1_0RegisterWorkflowTypeCommand = function (output,
|
|
|
1707
1730
|
});
|
|
1708
1731
|
}); };
|
|
1709
1732
|
var deserializeAws_json1_0RegisterWorkflowTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1710
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1733
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1711
1734
|
var _c;
|
|
1712
1735
|
return __generator(this, function (_d) {
|
|
1713
1736
|
switch (_d.label) {
|
|
@@ -1717,7 +1740,6 @@ var deserializeAws_json1_0RegisterWorkflowTypeCommandError = function (output, c
|
|
|
1717
1740
|
return [4, parseBody(output.body, context)];
|
|
1718
1741
|
case 1:
|
|
1719
1742
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1720
|
-
errorCode = "UnknownError";
|
|
1721
1743
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1722
1744
|
_b = errorCode;
|
|
1723
1745
|
switch (_b) {
|
|
@@ -1741,10 +1763,12 @@ var deserializeAws_json1_0RegisterWorkflowTypeCommandError = function (output, c
|
|
|
1741
1763
|
case 9: throw _d.sent();
|
|
1742
1764
|
case 10:
|
|
1743
1765
|
parsedBody = parsedOutput.body;
|
|
1766
|
+
$metadata = deserializeMetadata(output);
|
|
1767
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1744
1768
|
response = new __BaseException({
|
|
1745
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1769
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1746
1770
|
$fault: "client",
|
|
1747
|
-
$metadata:
|
|
1771
|
+
$metadata: $metadata,
|
|
1748
1772
|
});
|
|
1749
1773
|
throw __decorateServiceException(response, parsedBody);
|
|
1750
1774
|
}
|
|
@@ -1769,7 +1793,7 @@ export var deserializeAws_json1_0RequestCancelWorkflowExecutionCommand = functio
|
|
|
1769
1793
|
});
|
|
1770
1794
|
}); };
|
|
1771
1795
|
var deserializeAws_json1_0RequestCancelWorkflowExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1772
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1796
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1773
1797
|
var _c;
|
|
1774
1798
|
return __generator(this, function (_d) {
|
|
1775
1799
|
switch (_d.label) {
|
|
@@ -1779,7 +1803,6 @@ var deserializeAws_json1_0RequestCancelWorkflowExecutionCommandError = function
|
|
|
1779
1803
|
return [4, parseBody(output.body, context)];
|
|
1780
1804
|
case 1:
|
|
1781
1805
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1782
|
-
errorCode = "UnknownError";
|
|
1783
1806
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1784
1807
|
_b = errorCode;
|
|
1785
1808
|
switch (_b) {
|
|
@@ -1795,10 +1818,12 @@ var deserializeAws_json1_0RequestCancelWorkflowExecutionCommandError = function
|
|
|
1795
1818
|
case 5: throw _d.sent();
|
|
1796
1819
|
case 6:
|
|
1797
1820
|
parsedBody = parsedOutput.body;
|
|
1821
|
+
$metadata = deserializeMetadata(output);
|
|
1822
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1798
1823
|
response = new __BaseException({
|
|
1799
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1824
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1800
1825
|
$fault: "client",
|
|
1801
|
-
$metadata:
|
|
1826
|
+
$metadata: $metadata,
|
|
1802
1827
|
});
|
|
1803
1828
|
throw __decorateServiceException(response, parsedBody);
|
|
1804
1829
|
}
|
|
@@ -1823,7 +1848,7 @@ export var deserializeAws_json1_0RespondActivityTaskCanceledCommand = function (
|
|
|
1823
1848
|
});
|
|
1824
1849
|
}); };
|
|
1825
1850
|
var deserializeAws_json1_0RespondActivityTaskCanceledCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1826
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1851
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1827
1852
|
var _c;
|
|
1828
1853
|
return __generator(this, function (_d) {
|
|
1829
1854
|
switch (_d.label) {
|
|
@@ -1833,7 +1858,6 @@ var deserializeAws_json1_0RespondActivityTaskCanceledCommandError = function (ou
|
|
|
1833
1858
|
return [4, parseBody(output.body, context)];
|
|
1834
1859
|
case 1:
|
|
1835
1860
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1836
|
-
errorCode = "UnknownError";
|
|
1837
1861
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1838
1862
|
_b = errorCode;
|
|
1839
1863
|
switch (_b) {
|
|
@@ -1849,10 +1873,12 @@ var deserializeAws_json1_0RespondActivityTaskCanceledCommandError = function (ou
|
|
|
1849
1873
|
case 5: throw _d.sent();
|
|
1850
1874
|
case 6:
|
|
1851
1875
|
parsedBody = parsedOutput.body;
|
|
1876
|
+
$metadata = deserializeMetadata(output);
|
|
1877
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1852
1878
|
response = new __BaseException({
|
|
1853
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1879
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1854
1880
|
$fault: "client",
|
|
1855
|
-
$metadata:
|
|
1881
|
+
$metadata: $metadata,
|
|
1856
1882
|
});
|
|
1857
1883
|
throw __decorateServiceException(response, parsedBody);
|
|
1858
1884
|
}
|
|
@@ -1877,7 +1903,7 @@ export var deserializeAws_json1_0RespondActivityTaskCompletedCommand = function
|
|
|
1877
1903
|
});
|
|
1878
1904
|
}); };
|
|
1879
1905
|
var deserializeAws_json1_0RespondActivityTaskCompletedCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1880
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1906
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1881
1907
|
var _c;
|
|
1882
1908
|
return __generator(this, function (_d) {
|
|
1883
1909
|
switch (_d.label) {
|
|
@@ -1887,7 +1913,6 @@ var deserializeAws_json1_0RespondActivityTaskCompletedCommandError = function (o
|
|
|
1887
1913
|
return [4, parseBody(output.body, context)];
|
|
1888
1914
|
case 1:
|
|
1889
1915
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1890
|
-
errorCode = "UnknownError";
|
|
1891
1916
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1892
1917
|
_b = errorCode;
|
|
1893
1918
|
switch (_b) {
|
|
@@ -1903,10 +1928,12 @@ var deserializeAws_json1_0RespondActivityTaskCompletedCommandError = function (o
|
|
|
1903
1928
|
case 5: throw _d.sent();
|
|
1904
1929
|
case 6:
|
|
1905
1930
|
parsedBody = parsedOutput.body;
|
|
1931
|
+
$metadata = deserializeMetadata(output);
|
|
1932
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1906
1933
|
response = new __BaseException({
|
|
1907
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1934
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1908
1935
|
$fault: "client",
|
|
1909
|
-
$metadata:
|
|
1936
|
+
$metadata: $metadata,
|
|
1910
1937
|
});
|
|
1911
1938
|
throw __decorateServiceException(response, parsedBody);
|
|
1912
1939
|
}
|
|
@@ -1931,7 +1958,7 @@ export var deserializeAws_json1_0RespondActivityTaskFailedCommand = function (ou
|
|
|
1931
1958
|
});
|
|
1932
1959
|
}); };
|
|
1933
1960
|
var deserializeAws_json1_0RespondActivityTaskFailedCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1934
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1961
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1935
1962
|
var _c;
|
|
1936
1963
|
return __generator(this, function (_d) {
|
|
1937
1964
|
switch (_d.label) {
|
|
@@ -1941,7 +1968,6 @@ var deserializeAws_json1_0RespondActivityTaskFailedCommandError = function (outp
|
|
|
1941
1968
|
return [4, parseBody(output.body, context)];
|
|
1942
1969
|
case 1:
|
|
1943
1970
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1944
|
-
errorCode = "UnknownError";
|
|
1945
1971
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1946
1972
|
_b = errorCode;
|
|
1947
1973
|
switch (_b) {
|
|
@@ -1957,10 +1983,12 @@ var deserializeAws_json1_0RespondActivityTaskFailedCommandError = function (outp
|
|
|
1957
1983
|
case 5: throw _d.sent();
|
|
1958
1984
|
case 6:
|
|
1959
1985
|
parsedBody = parsedOutput.body;
|
|
1986
|
+
$metadata = deserializeMetadata(output);
|
|
1987
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1960
1988
|
response = new __BaseException({
|
|
1961
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1989
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1962
1990
|
$fault: "client",
|
|
1963
|
-
$metadata:
|
|
1991
|
+
$metadata: $metadata,
|
|
1964
1992
|
});
|
|
1965
1993
|
throw __decorateServiceException(response, parsedBody);
|
|
1966
1994
|
}
|
|
@@ -1985,7 +2013,7 @@ export var deserializeAws_json1_0RespondDecisionTaskCompletedCommand = function
|
|
|
1985
2013
|
});
|
|
1986
2014
|
}); };
|
|
1987
2015
|
var deserializeAws_json1_0RespondDecisionTaskCompletedCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1988
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2016
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1989
2017
|
var _c;
|
|
1990
2018
|
return __generator(this, function (_d) {
|
|
1991
2019
|
switch (_d.label) {
|
|
@@ -1995,7 +2023,6 @@ var deserializeAws_json1_0RespondDecisionTaskCompletedCommandError = function (o
|
|
|
1995
2023
|
return [4, parseBody(output.body, context)];
|
|
1996
2024
|
case 1:
|
|
1997
2025
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1998
|
-
errorCode = "UnknownError";
|
|
1999
2026
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2000
2027
|
_b = errorCode;
|
|
2001
2028
|
switch (_b) {
|
|
@@ -2011,10 +2038,12 @@ var deserializeAws_json1_0RespondDecisionTaskCompletedCommandError = function (o
|
|
|
2011
2038
|
case 5: throw _d.sent();
|
|
2012
2039
|
case 6:
|
|
2013
2040
|
parsedBody = parsedOutput.body;
|
|
2041
|
+
$metadata = deserializeMetadata(output);
|
|
2042
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2014
2043
|
response = new __BaseException({
|
|
2015
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2044
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2016
2045
|
$fault: "client",
|
|
2017
|
-
$metadata:
|
|
2046
|
+
$metadata: $metadata,
|
|
2018
2047
|
});
|
|
2019
2048
|
throw __decorateServiceException(response, parsedBody);
|
|
2020
2049
|
}
|
|
@@ -2039,7 +2068,7 @@ export var deserializeAws_json1_0SignalWorkflowExecutionCommand = function (outp
|
|
|
2039
2068
|
});
|
|
2040
2069
|
}); };
|
|
2041
2070
|
var deserializeAws_json1_0SignalWorkflowExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2042
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2071
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2043
2072
|
var _c;
|
|
2044
2073
|
return __generator(this, function (_d) {
|
|
2045
2074
|
switch (_d.label) {
|
|
@@ -2049,7 +2078,6 @@ var deserializeAws_json1_0SignalWorkflowExecutionCommandError = function (output
|
|
|
2049
2078
|
return [4, parseBody(output.body, context)];
|
|
2050
2079
|
case 1:
|
|
2051
2080
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2052
|
-
errorCode = "UnknownError";
|
|
2053
2081
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2054
2082
|
_b = errorCode;
|
|
2055
2083
|
switch (_b) {
|
|
@@ -2065,10 +2093,12 @@ var deserializeAws_json1_0SignalWorkflowExecutionCommandError = function (output
|
|
|
2065
2093
|
case 5: throw _d.sent();
|
|
2066
2094
|
case 6:
|
|
2067
2095
|
parsedBody = parsedOutput.body;
|
|
2096
|
+
$metadata = deserializeMetadata(output);
|
|
2097
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2068
2098
|
response = new __BaseException({
|
|
2069
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2099
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2070
2100
|
$fault: "client",
|
|
2071
|
-
$metadata:
|
|
2101
|
+
$metadata: $metadata,
|
|
2072
2102
|
});
|
|
2073
2103
|
throw __decorateServiceException(response, parsedBody);
|
|
2074
2104
|
}
|
|
@@ -2093,7 +2123,7 @@ export var deserializeAws_json1_0StartWorkflowExecutionCommand = function (outpu
|
|
|
2093
2123
|
});
|
|
2094
2124
|
}); };
|
|
2095
2125
|
var deserializeAws_json1_0StartWorkflowExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2096
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2126
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2097
2127
|
var _c;
|
|
2098
2128
|
return __generator(this, function (_d) {
|
|
2099
2129
|
switch (_d.label) {
|
|
@@ -2103,7 +2133,6 @@ var deserializeAws_json1_0StartWorkflowExecutionCommandError = function (output,
|
|
|
2103
2133
|
return [4, parseBody(output.body, context)];
|
|
2104
2134
|
case 1:
|
|
2105
2135
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2106
|
-
errorCode = "UnknownError";
|
|
2107
2136
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2108
2137
|
_b = errorCode;
|
|
2109
2138
|
switch (_b) {
|
|
@@ -2135,10 +2164,12 @@ var deserializeAws_json1_0StartWorkflowExecutionCommandError = function (output,
|
|
|
2135
2164
|
case 13: throw _d.sent();
|
|
2136
2165
|
case 14:
|
|
2137
2166
|
parsedBody = parsedOutput.body;
|
|
2167
|
+
$metadata = deserializeMetadata(output);
|
|
2168
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2138
2169
|
response = new __BaseException({
|
|
2139
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2170
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2140
2171
|
$fault: "client",
|
|
2141
|
-
$metadata:
|
|
2172
|
+
$metadata: $metadata,
|
|
2142
2173
|
});
|
|
2143
2174
|
throw __decorateServiceException(response, parsedBody);
|
|
2144
2175
|
}
|
|
@@ -2163,7 +2194,7 @@ export var deserializeAws_json1_0TagResourceCommand = function (output, context)
|
|
|
2163
2194
|
});
|
|
2164
2195
|
}); };
|
|
2165
2196
|
var deserializeAws_json1_0TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2166
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2197
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2167
2198
|
var _c;
|
|
2168
2199
|
return __generator(this, function (_d) {
|
|
2169
2200
|
switch (_d.label) {
|
|
@@ -2173,7 +2204,6 @@ var deserializeAws_json1_0TagResourceCommandError = function (output, context) {
|
|
|
2173
2204
|
return [4, parseBody(output.body, context)];
|
|
2174
2205
|
case 1:
|
|
2175
2206
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2176
|
-
errorCode = "UnknownError";
|
|
2177
2207
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2178
2208
|
_b = errorCode;
|
|
2179
2209
|
switch (_b) {
|
|
@@ -2197,10 +2227,12 @@ var deserializeAws_json1_0TagResourceCommandError = function (output, context) {
|
|
|
2197
2227
|
case 9: throw _d.sent();
|
|
2198
2228
|
case 10:
|
|
2199
2229
|
parsedBody = parsedOutput.body;
|
|
2230
|
+
$metadata = deserializeMetadata(output);
|
|
2231
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2200
2232
|
response = new __BaseException({
|
|
2201
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2233
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2202
2234
|
$fault: "client",
|
|
2203
|
-
$metadata:
|
|
2235
|
+
$metadata: $metadata,
|
|
2204
2236
|
});
|
|
2205
2237
|
throw __decorateServiceException(response, parsedBody);
|
|
2206
2238
|
}
|
|
@@ -2225,7 +2257,7 @@ export var deserializeAws_json1_0TerminateWorkflowExecutionCommand = function (o
|
|
|
2225
2257
|
});
|
|
2226
2258
|
}); };
|
|
2227
2259
|
var deserializeAws_json1_0TerminateWorkflowExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2228
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2260
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2229
2261
|
var _c;
|
|
2230
2262
|
return __generator(this, function (_d) {
|
|
2231
2263
|
switch (_d.label) {
|
|
@@ -2235,7 +2267,6 @@ var deserializeAws_json1_0TerminateWorkflowExecutionCommandError = function (out
|
|
|
2235
2267
|
return [4, parseBody(output.body, context)];
|
|
2236
2268
|
case 1:
|
|
2237
2269
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2238
|
-
errorCode = "UnknownError";
|
|
2239
2270
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2240
2271
|
_b = errorCode;
|
|
2241
2272
|
switch (_b) {
|
|
@@ -2251,10 +2282,12 @@ var deserializeAws_json1_0TerminateWorkflowExecutionCommandError = function (out
|
|
|
2251
2282
|
case 5: throw _d.sent();
|
|
2252
2283
|
case 6:
|
|
2253
2284
|
parsedBody = parsedOutput.body;
|
|
2285
|
+
$metadata = deserializeMetadata(output);
|
|
2286
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2254
2287
|
response = new __BaseException({
|
|
2255
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2288
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2256
2289
|
$fault: "client",
|
|
2257
|
-
$metadata:
|
|
2290
|
+
$metadata: $metadata,
|
|
2258
2291
|
});
|
|
2259
2292
|
throw __decorateServiceException(response, parsedBody);
|
|
2260
2293
|
}
|
|
@@ -2279,7 +2312,7 @@ export var deserializeAws_json1_0UndeprecateActivityTypeCommand = function (outp
|
|
|
2279
2312
|
});
|
|
2280
2313
|
}); };
|
|
2281
2314
|
var deserializeAws_json1_0UndeprecateActivityTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2282
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2315
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2283
2316
|
var _c;
|
|
2284
2317
|
return __generator(this, function (_d) {
|
|
2285
2318
|
switch (_d.label) {
|
|
@@ -2289,7 +2322,6 @@ var deserializeAws_json1_0UndeprecateActivityTypeCommandError = function (output
|
|
|
2289
2322
|
return [4, parseBody(output.body, context)];
|
|
2290
2323
|
case 1:
|
|
2291
2324
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2292
|
-
errorCode = "UnknownError";
|
|
2293
2325
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2294
2326
|
_b = errorCode;
|
|
2295
2327
|
switch (_b) {
|
|
@@ -2309,10 +2341,12 @@ var deserializeAws_json1_0UndeprecateActivityTypeCommandError = function (output
|
|
|
2309
2341
|
case 7: throw _d.sent();
|
|
2310
2342
|
case 8:
|
|
2311
2343
|
parsedBody = parsedOutput.body;
|
|
2344
|
+
$metadata = deserializeMetadata(output);
|
|
2345
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2312
2346
|
response = new __BaseException({
|
|
2313
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2347
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2314
2348
|
$fault: "client",
|
|
2315
|
-
$metadata:
|
|
2349
|
+
$metadata: $metadata,
|
|
2316
2350
|
});
|
|
2317
2351
|
throw __decorateServiceException(response, parsedBody);
|
|
2318
2352
|
}
|
|
@@ -2337,7 +2371,7 @@ export var deserializeAws_json1_0UndeprecateDomainCommand = function (output, co
|
|
|
2337
2371
|
});
|
|
2338
2372
|
}); };
|
|
2339
2373
|
var deserializeAws_json1_0UndeprecateDomainCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2340
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2374
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2341
2375
|
var _c;
|
|
2342
2376
|
return __generator(this, function (_d) {
|
|
2343
2377
|
switch (_d.label) {
|
|
@@ -2347,7 +2381,6 @@ var deserializeAws_json1_0UndeprecateDomainCommandError = function (output, cont
|
|
|
2347
2381
|
return [4, parseBody(output.body, context)];
|
|
2348
2382
|
case 1:
|
|
2349
2383
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2350
|
-
errorCode = "UnknownError";
|
|
2351
2384
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2352
2385
|
_b = errorCode;
|
|
2353
2386
|
switch (_b) {
|
|
@@ -2367,10 +2400,12 @@ var deserializeAws_json1_0UndeprecateDomainCommandError = function (output, cont
|
|
|
2367
2400
|
case 7: throw _d.sent();
|
|
2368
2401
|
case 8:
|
|
2369
2402
|
parsedBody = parsedOutput.body;
|
|
2403
|
+
$metadata = deserializeMetadata(output);
|
|
2404
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2370
2405
|
response = new __BaseException({
|
|
2371
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2406
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2372
2407
|
$fault: "client",
|
|
2373
|
-
$metadata:
|
|
2408
|
+
$metadata: $metadata,
|
|
2374
2409
|
});
|
|
2375
2410
|
throw __decorateServiceException(response, parsedBody);
|
|
2376
2411
|
}
|
|
@@ -2395,7 +2430,7 @@ export var deserializeAws_json1_0UndeprecateWorkflowTypeCommand = function (outp
|
|
|
2395
2430
|
});
|
|
2396
2431
|
}); };
|
|
2397
2432
|
var deserializeAws_json1_0UndeprecateWorkflowTypeCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2398
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2433
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2399
2434
|
var _c;
|
|
2400
2435
|
return __generator(this, function (_d) {
|
|
2401
2436
|
switch (_d.label) {
|
|
@@ -2405,7 +2440,6 @@ var deserializeAws_json1_0UndeprecateWorkflowTypeCommandError = function (output
|
|
|
2405
2440
|
return [4, parseBody(output.body, context)];
|
|
2406
2441
|
case 1:
|
|
2407
2442
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2408
|
-
errorCode = "UnknownError";
|
|
2409
2443
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2410
2444
|
_b = errorCode;
|
|
2411
2445
|
switch (_b) {
|
|
@@ -2425,10 +2459,12 @@ var deserializeAws_json1_0UndeprecateWorkflowTypeCommandError = function (output
|
|
|
2425
2459
|
case 7: throw _d.sent();
|
|
2426
2460
|
case 8:
|
|
2427
2461
|
parsedBody = parsedOutput.body;
|
|
2462
|
+
$metadata = deserializeMetadata(output);
|
|
2463
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2428
2464
|
response = new __BaseException({
|
|
2429
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2465
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2430
2466
|
$fault: "client",
|
|
2431
|
-
$metadata:
|
|
2467
|
+
$metadata: $metadata,
|
|
2432
2468
|
});
|
|
2433
2469
|
throw __decorateServiceException(response, parsedBody);
|
|
2434
2470
|
}
|
|
@@ -2453,7 +2489,7 @@ export var deserializeAws_json1_0UntagResourceCommand = function (output, contex
|
|
|
2453
2489
|
});
|
|
2454
2490
|
}); };
|
|
2455
2491
|
var deserializeAws_json1_0UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2456
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2492
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
2457
2493
|
var _c;
|
|
2458
2494
|
return __generator(this, function (_d) {
|
|
2459
2495
|
switch (_d.label) {
|
|
@@ -2463,7 +2499,6 @@ var deserializeAws_json1_0UntagResourceCommandError = function (output, context)
|
|
|
2463
2499
|
return [4, parseBody(output.body, context)];
|
|
2464
2500
|
case 1:
|
|
2465
2501
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2466
|
-
errorCode = "UnknownError";
|
|
2467
2502
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2468
2503
|
_b = errorCode;
|
|
2469
2504
|
switch (_b) {
|
|
@@ -2483,10 +2518,12 @@ var deserializeAws_json1_0UntagResourceCommandError = function (output, context)
|
|
|
2483
2518
|
case 7: throw _d.sent();
|
|
2484
2519
|
case 8:
|
|
2485
2520
|
parsedBody = parsedOutput.body;
|
|
2521
|
+
$metadata = deserializeMetadata(output);
|
|
2522
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
2486
2523
|
response = new __BaseException({
|
|
2487
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2524
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
2488
2525
|
$fault: "client",
|
|
2489
|
-
$metadata:
|
|
2526
|
+
$metadata: $metadata,
|
|
2490
2527
|
});
|
|
2491
2528
|
throw __decorateServiceException(response, parsedBody);
|
|
2492
2529
|
}
|
|
@@ -2583,105 +2620,75 @@ var deserializeAws_json1_0WorkflowExecutionAlreadyStartedFaultResponse = functio
|
|
|
2583
2620
|
});
|
|
2584
2621
|
}); };
|
|
2585
2622
|
var serializeAws_json1_0ActivityType = function (input, context) {
|
|
2586
|
-
return __assign(__assign({}, (input.name
|
|
2623
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
2587
2624
|
};
|
|
2588
2625
|
var serializeAws_json1_0CancelTimerDecisionAttributes = function (input, context) {
|
|
2589
|
-
return __assign({}, (input.timerId
|
|
2626
|
+
return __assign({}, (input.timerId != null && { timerId: input.timerId }));
|
|
2590
2627
|
};
|
|
2591
2628
|
var serializeAws_json1_0CancelWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2592
|
-
return __assign({}, (input.details
|
|
2629
|
+
return __assign({}, (input.details != null && { details: input.details }));
|
|
2593
2630
|
};
|
|
2594
2631
|
var serializeAws_json1_0CloseStatusFilter = function (input, context) {
|
|
2595
|
-
return __assign({}, (input.status
|
|
2632
|
+
return __assign({}, (input.status != null && { status: input.status }));
|
|
2596
2633
|
};
|
|
2597
2634
|
var serializeAws_json1_0CompleteWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2598
|
-
return __assign({}, (input.result
|
|
2635
|
+
return __assign({}, (input.result != null && { result: input.result }));
|
|
2599
2636
|
};
|
|
2600
2637
|
var serializeAws_json1_0ContinueAsNewWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2601
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy
|
|
2602
|
-
input.executionStartToCloseTimeout !== null && {
|
|
2638
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy != null && { childPolicy: input.childPolicy })), (input.executionStartToCloseTimeout != null && {
|
|
2603
2639
|
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2604
|
-
})), (input.input
|
|
2605
|
-
input.tagList !== null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList !== undefined &&
|
|
2606
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority !== undefined && input.taskPriority !== null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout !== undefined &&
|
|
2607
|
-
input.taskStartToCloseTimeout !== null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowTypeVersion !== undefined &&
|
|
2608
|
-
input.workflowTypeVersion !== null && { workflowTypeVersion: input.workflowTypeVersion }));
|
|
2640
|
+
})), (input.input != null && { input: input.input })), (input.lambdaRole != null && { lambdaRole: input.lambdaRole })), (input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority != null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowTypeVersion != null && { workflowTypeVersion: input.workflowTypeVersion }));
|
|
2609
2641
|
};
|
|
2610
2642
|
var serializeAws_json1_0CountClosedWorkflowExecutionsInput = function (input, context) {
|
|
2611
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.closeStatusFilter
|
|
2612
|
-
input.closeStatusFilter !== null && {
|
|
2643
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.closeStatusFilter != null && {
|
|
2613
2644
|
closeStatusFilter: serializeAws_json1_0CloseStatusFilter(input.closeStatusFilter, context),
|
|
2614
|
-
})), (input.closeTimeFilter
|
|
2615
|
-
input.closeTimeFilter !== null && {
|
|
2645
|
+
})), (input.closeTimeFilter != null && {
|
|
2616
2646
|
closeTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.closeTimeFilter, context),
|
|
2617
|
-
})), (input.domain
|
|
2618
|
-
input.executionFilter !== null && {
|
|
2647
|
+
})), (input.domain != null && { domain: input.domain })), (input.executionFilter != null && {
|
|
2619
2648
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2620
|
-
})), (input.startTimeFilter
|
|
2621
|
-
input.startTimeFilter !== null && {
|
|
2649
|
+
})), (input.startTimeFilter != null && {
|
|
2622
2650
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2623
|
-
})), (input.tagFilter
|
|
2624
|
-
input.tagFilter !== null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter !== undefined &&
|
|
2625
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2651
|
+
})), (input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2626
2652
|
};
|
|
2627
2653
|
var serializeAws_json1_0CountOpenWorkflowExecutionsInput = function (input, context) {
|
|
2628
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2629
|
-
input.executionFilter !== null && {
|
|
2654
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.executionFilter != null && {
|
|
2630
2655
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2631
|
-
})), (input.startTimeFilter
|
|
2632
|
-
input.startTimeFilter !== null && {
|
|
2656
|
+
})), (input.startTimeFilter != null && {
|
|
2633
2657
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2634
|
-
})), (input.tagFilter
|
|
2635
|
-
input.tagFilter !== null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter !== undefined &&
|
|
2636
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2658
|
+
})), (input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2637
2659
|
};
|
|
2638
2660
|
var serializeAws_json1_0CountPendingActivityTasksInput = function (input, context) {
|
|
2639
|
-
return __assign(__assign({}, (input.domain
|
|
2640
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2661
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2641
2662
|
};
|
|
2642
2663
|
var serializeAws_json1_0CountPendingDecisionTasksInput = function (input, context) {
|
|
2643
|
-
return __assign(__assign({}, (input.domain
|
|
2644
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2664
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2645
2665
|
};
|
|
2646
2666
|
var serializeAws_json1_0Decision = function (input, context) {
|
|
2647
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cancelTimerDecisionAttributes
|
|
2648
|
-
input.cancelTimerDecisionAttributes !== null && {
|
|
2667
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.cancelTimerDecisionAttributes != null && {
|
|
2649
2668
|
cancelTimerDecisionAttributes: serializeAws_json1_0CancelTimerDecisionAttributes(input.cancelTimerDecisionAttributes, context),
|
|
2650
|
-
})), (input.cancelWorkflowExecutionDecisionAttributes
|
|
2651
|
-
input.cancelWorkflowExecutionDecisionAttributes !== null && {
|
|
2669
|
+
})), (input.cancelWorkflowExecutionDecisionAttributes != null && {
|
|
2652
2670
|
cancelWorkflowExecutionDecisionAttributes: serializeAws_json1_0CancelWorkflowExecutionDecisionAttributes(input.cancelWorkflowExecutionDecisionAttributes, context),
|
|
2653
|
-
})), (input.completeWorkflowExecutionDecisionAttributes
|
|
2654
|
-
input.completeWorkflowExecutionDecisionAttributes !== null && {
|
|
2671
|
+
})), (input.completeWorkflowExecutionDecisionAttributes != null && {
|
|
2655
2672
|
completeWorkflowExecutionDecisionAttributes: serializeAws_json1_0CompleteWorkflowExecutionDecisionAttributes(input.completeWorkflowExecutionDecisionAttributes, context),
|
|
2656
|
-
})), (input.continueAsNewWorkflowExecutionDecisionAttributes
|
|
2657
|
-
input.continueAsNewWorkflowExecutionDecisionAttributes !== null && {
|
|
2673
|
+
})), (input.continueAsNewWorkflowExecutionDecisionAttributes != null && {
|
|
2658
2674
|
continueAsNewWorkflowExecutionDecisionAttributes: serializeAws_json1_0ContinueAsNewWorkflowExecutionDecisionAttributes(input.continueAsNewWorkflowExecutionDecisionAttributes, context),
|
|
2659
|
-
})), (input.decisionType
|
|
2660
|
-
input.failWorkflowExecutionDecisionAttributes !== null && {
|
|
2675
|
+
})), (input.decisionType != null && { decisionType: input.decisionType })), (input.failWorkflowExecutionDecisionAttributes != null && {
|
|
2661
2676
|
failWorkflowExecutionDecisionAttributes: serializeAws_json1_0FailWorkflowExecutionDecisionAttributes(input.failWorkflowExecutionDecisionAttributes, context),
|
|
2662
|
-
})), (input.recordMarkerDecisionAttributes
|
|
2663
|
-
input.recordMarkerDecisionAttributes !== null && {
|
|
2677
|
+
})), (input.recordMarkerDecisionAttributes != null && {
|
|
2664
2678
|
recordMarkerDecisionAttributes: serializeAws_json1_0RecordMarkerDecisionAttributes(input.recordMarkerDecisionAttributes, context),
|
|
2665
|
-
})), (input.requestCancelActivityTaskDecisionAttributes
|
|
2666
|
-
input.requestCancelActivityTaskDecisionAttributes !== null && {
|
|
2679
|
+
})), (input.requestCancelActivityTaskDecisionAttributes != null && {
|
|
2667
2680
|
requestCancelActivityTaskDecisionAttributes: serializeAws_json1_0RequestCancelActivityTaskDecisionAttributes(input.requestCancelActivityTaskDecisionAttributes, context),
|
|
2668
|
-
})), (input.requestCancelExternalWorkflowExecutionDecisionAttributes
|
|
2669
|
-
input.requestCancelExternalWorkflowExecutionDecisionAttributes !== null && {
|
|
2681
|
+
})), (input.requestCancelExternalWorkflowExecutionDecisionAttributes != null && {
|
|
2670
2682
|
requestCancelExternalWorkflowExecutionDecisionAttributes: serializeAws_json1_0RequestCancelExternalWorkflowExecutionDecisionAttributes(input.requestCancelExternalWorkflowExecutionDecisionAttributes, context),
|
|
2671
|
-
})), (input.scheduleActivityTaskDecisionAttributes
|
|
2672
|
-
input.scheduleActivityTaskDecisionAttributes !== null && {
|
|
2683
|
+
})), (input.scheduleActivityTaskDecisionAttributes != null && {
|
|
2673
2684
|
scheduleActivityTaskDecisionAttributes: serializeAws_json1_0ScheduleActivityTaskDecisionAttributes(input.scheduleActivityTaskDecisionAttributes, context),
|
|
2674
|
-
})), (input.scheduleLambdaFunctionDecisionAttributes
|
|
2675
|
-
input.scheduleLambdaFunctionDecisionAttributes !== null && {
|
|
2685
|
+
})), (input.scheduleLambdaFunctionDecisionAttributes != null && {
|
|
2676
2686
|
scheduleLambdaFunctionDecisionAttributes: serializeAws_json1_0ScheduleLambdaFunctionDecisionAttributes(input.scheduleLambdaFunctionDecisionAttributes, context),
|
|
2677
|
-
})), (input.signalExternalWorkflowExecutionDecisionAttributes
|
|
2678
|
-
input.signalExternalWorkflowExecutionDecisionAttributes !== null && {
|
|
2687
|
+
})), (input.signalExternalWorkflowExecutionDecisionAttributes != null && {
|
|
2679
2688
|
signalExternalWorkflowExecutionDecisionAttributes: serializeAws_json1_0SignalExternalWorkflowExecutionDecisionAttributes(input.signalExternalWorkflowExecutionDecisionAttributes, context),
|
|
2680
|
-
})), (input.startChildWorkflowExecutionDecisionAttributes
|
|
2681
|
-
input.startChildWorkflowExecutionDecisionAttributes !== null && {
|
|
2689
|
+
})), (input.startChildWorkflowExecutionDecisionAttributes != null && {
|
|
2682
2690
|
startChildWorkflowExecutionDecisionAttributes: serializeAws_json1_0StartChildWorkflowExecutionDecisionAttributes(input.startChildWorkflowExecutionDecisionAttributes, context),
|
|
2683
|
-
})), (input.startTimerDecisionAttributes
|
|
2684
|
-
input.startTimerDecisionAttributes !== null && {
|
|
2691
|
+
})), (input.startTimerDecisionAttributes != null && {
|
|
2685
2692
|
startTimerDecisionAttributes: serializeAws_json1_0StartTimerDecisionAttributes(input.startTimerDecisionAttributes, context),
|
|
2686
2693
|
}));
|
|
2687
2694
|
};
|
|
@@ -2696,157 +2703,115 @@ var serializeAws_json1_0DecisionList = function (input, context) {
|
|
|
2696
2703
|
});
|
|
2697
2704
|
};
|
|
2698
2705
|
var serializeAws_json1_0DeprecateActivityTypeInput = function (input, context) {
|
|
2699
|
-
return __assign(__assign({}, (input.activityType
|
|
2700
|
-
input.activityType !== null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain !== undefined && input.domain !== null && { domain: input.domain }));
|
|
2706
|
+
return __assign(__assign({}, (input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain != null && { domain: input.domain }));
|
|
2701
2707
|
};
|
|
2702
2708
|
var serializeAws_json1_0DeprecateDomainInput = function (input, context) {
|
|
2703
|
-
return __assign({}, (input.name
|
|
2709
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
2704
2710
|
};
|
|
2705
2711
|
var serializeAws_json1_0DeprecateWorkflowTypeInput = function (input, context) {
|
|
2706
|
-
return __assign(__assign({}, (input.domain
|
|
2707
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2712
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2708
2713
|
};
|
|
2709
2714
|
var serializeAws_json1_0DescribeActivityTypeInput = function (input, context) {
|
|
2710
|
-
return __assign(__assign({}, (input.activityType
|
|
2711
|
-
input.activityType !== null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain !== undefined && input.domain !== null && { domain: input.domain }));
|
|
2715
|
+
return __assign(__assign({}, (input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain != null && { domain: input.domain }));
|
|
2712
2716
|
};
|
|
2713
2717
|
var serializeAws_json1_0DescribeDomainInput = function (input, context) {
|
|
2714
|
-
return __assign({}, (input.name
|
|
2718
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
2715
2719
|
};
|
|
2716
2720
|
var serializeAws_json1_0DescribeWorkflowExecutionInput = function (input, context) {
|
|
2717
|
-
return __assign(__assign({}, (input.domain
|
|
2718
|
-
input.execution !== null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) }));
|
|
2721
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.execution != null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) }));
|
|
2719
2722
|
};
|
|
2720
2723
|
var serializeAws_json1_0DescribeWorkflowTypeInput = function (input, context) {
|
|
2721
|
-
return __assign(__assign({}, (input.domain
|
|
2722
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2724
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2723
2725
|
};
|
|
2724
2726
|
var serializeAws_json1_0ExecutionTimeFilter = function (input, context) {
|
|
2725
|
-
return __assign(__assign({}, (input.latestDate
|
|
2726
|
-
input.latestDate !== null && { latestDate: Math.round(input.latestDate.getTime() / 1000) })), (input.oldestDate !== undefined &&
|
|
2727
|
-
input.oldestDate !== null && { oldestDate: Math.round(input.oldestDate.getTime() / 1000) }));
|
|
2727
|
+
return __assign(__assign({}, (input.latestDate != null && { latestDate: Math.round(input.latestDate.getTime() / 1000) })), (input.oldestDate != null && { oldestDate: Math.round(input.oldestDate.getTime() / 1000) }));
|
|
2728
2728
|
};
|
|
2729
2729
|
var serializeAws_json1_0FailWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2730
|
-
return __assign(__assign({}, (input.details
|
|
2730
|
+
return __assign(__assign({}, (input.details != null && { details: input.details })), (input.reason != null && { reason: input.reason }));
|
|
2731
2731
|
};
|
|
2732
2732
|
var serializeAws_json1_0GetWorkflowExecutionHistoryInput = function (input, context) {
|
|
2733
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2734
|
-
input.execution !== null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) })), (input.maximumPageSize !== undefined &&
|
|
2735
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
2733
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.execution != null && { execution: serializeAws_json1_0WorkflowExecution(input.execution, context) })), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
2736
2734
|
};
|
|
2737
2735
|
var serializeAws_json1_0ListActivityTypesInput = function (input, context) {
|
|
2738
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2739
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.registrationStatus !== undefined &&
|
|
2740
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
2736
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.name != null && { name: input.name })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.registrationStatus != null && { registrationStatus: input.registrationStatus })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
2741
2737
|
};
|
|
2742
2738
|
var serializeAws_json1_0ListClosedWorkflowExecutionsInput = function (input, context) {
|
|
2743
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.closeStatusFilter
|
|
2744
|
-
input.closeStatusFilter !== null && {
|
|
2739
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.closeStatusFilter != null && {
|
|
2745
2740
|
closeStatusFilter: serializeAws_json1_0CloseStatusFilter(input.closeStatusFilter, context),
|
|
2746
|
-
})), (input.closeTimeFilter
|
|
2747
|
-
input.closeTimeFilter !== null && {
|
|
2741
|
+
})), (input.closeTimeFilter != null && {
|
|
2748
2742
|
closeTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.closeTimeFilter, context),
|
|
2749
|
-
})), (input.domain
|
|
2750
|
-
input.executionFilter !== null && {
|
|
2743
|
+
})), (input.domain != null && { domain: input.domain })), (input.executionFilter != null && {
|
|
2751
2744
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2752
|
-
})), (input.maximumPageSize
|
|
2753
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder })), (input.startTimeFilter !== undefined &&
|
|
2754
|
-
input.startTimeFilter !== null && {
|
|
2745
|
+
})), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder })), (input.startTimeFilter != null && {
|
|
2755
2746
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2756
|
-
})), (input.tagFilter
|
|
2757
|
-
input.tagFilter !== null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter !== undefined &&
|
|
2758
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2747
|
+
})), (input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2759
2748
|
};
|
|
2760
2749
|
var serializeAws_json1_0ListDomainsInput = function (input, context) {
|
|
2761
|
-
return __assign(__assign(__assign(__assign({}, (input.maximumPageSize
|
|
2762
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.registrationStatus !== undefined &&
|
|
2763
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
2750
|
+
return __assign(__assign(__assign(__assign({}, (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.registrationStatus != null && { registrationStatus: input.registrationStatus })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
2764
2751
|
};
|
|
2765
2752
|
var serializeAws_json1_0ListOpenWorkflowExecutionsInput = function (input, context) {
|
|
2766
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2767
|
-
input.executionFilter !== null && {
|
|
2753
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.executionFilter != null && {
|
|
2768
2754
|
executionFilter: serializeAws_json1_0WorkflowExecutionFilter(input.executionFilter, context),
|
|
2769
|
-
})), (input.maximumPageSize
|
|
2770
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder })), (input.startTimeFilter !== undefined &&
|
|
2771
|
-
input.startTimeFilter !== null && {
|
|
2755
|
+
})), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder })), (input.startTimeFilter != null && {
|
|
2772
2756
|
startTimeFilter: serializeAws_json1_0ExecutionTimeFilter(input.startTimeFilter, context),
|
|
2773
|
-
})), (input.tagFilter
|
|
2774
|
-
input.tagFilter !== null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter !== undefined &&
|
|
2775
|
-
input.typeFilter !== null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2757
|
+
})), (input.tagFilter != null && { tagFilter: serializeAws_json1_0TagFilter(input.tagFilter, context) })), (input.typeFilter != null && { typeFilter: serializeAws_json1_0WorkflowTypeFilter(input.typeFilter, context) }));
|
|
2776
2758
|
};
|
|
2777
2759
|
var serializeAws_json1_0ListTagsForResourceInput = function (input, context) {
|
|
2778
|
-
return __assign({}, (input.resourceArn
|
|
2760
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
2779
2761
|
};
|
|
2780
2762
|
var serializeAws_json1_0ListWorkflowTypesInput = function (input, context) {
|
|
2781
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2782
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.name !== undefined && input.name !== null && { name: input.name })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.registrationStatus !== undefined &&
|
|
2783
|
-
input.registrationStatus !== null && { registrationStatus: input.registrationStatus })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
2763
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.name != null && { name: input.name })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.registrationStatus != null && { registrationStatus: input.registrationStatus })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
2784
2764
|
};
|
|
2785
2765
|
var serializeAws_json1_0PollForActivityTaskInput = function (input, context) {
|
|
2786
|
-
return __assign(__assign(__assign({}, (input.domain
|
|
2787
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2766
|
+
return __assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.identity != null && { identity: input.identity })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2788
2767
|
};
|
|
2789
2768
|
var serializeAws_json1_0PollForDecisionTaskInput = function (input, context) {
|
|
2790
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2791
|
-
input.maximumPageSize !== null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken !== undefined && input.nextPageToken !== null && { nextPageToken: input.nextPageToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder })), (input.taskList !== undefined &&
|
|
2792
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2769
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.identity != null && { identity: input.identity })), (input.maximumPageSize != null && { maximumPageSize: input.maximumPageSize })), (input.nextPageToken != null && { nextPageToken: input.nextPageToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) }));
|
|
2793
2770
|
};
|
|
2794
2771
|
var serializeAws_json1_0RecordActivityTaskHeartbeatInput = function (input, context) {
|
|
2795
|
-
return __assign(__assign({}, (input.details
|
|
2772
|
+
return __assign(__assign({}, (input.details != null && { details: input.details })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2796
2773
|
};
|
|
2797
2774
|
var serializeAws_json1_0RecordMarkerDecisionAttributes = function (input, context) {
|
|
2798
|
-
return __assign(__assign({}, (input.details
|
|
2775
|
+
return __assign(__assign({}, (input.details != null && { details: input.details })), (input.markerName != null && { markerName: input.markerName }));
|
|
2799
2776
|
};
|
|
2800
2777
|
var serializeAws_json1_0RegisterActivityTypeInput = function (input, context) {
|
|
2801
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.defaultTaskHeartbeatTimeout
|
|
2802
|
-
|
|
2803
|
-
|
|
2778
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.defaultTaskHeartbeatTimeout != null && {
|
|
2779
|
+
defaultTaskHeartbeatTimeout: input.defaultTaskHeartbeatTimeout,
|
|
2780
|
+
})), (input.defaultTaskList != null && {
|
|
2804
2781
|
defaultTaskList: serializeAws_json1_0TaskList(input.defaultTaskList, context),
|
|
2805
|
-
})), (input.defaultTaskPriority
|
|
2806
|
-
input.defaultTaskPriority !== null && { defaultTaskPriority: input.defaultTaskPriority })), (input.defaultTaskScheduleToCloseTimeout !== undefined &&
|
|
2807
|
-
input.defaultTaskScheduleToCloseTimeout !== null && {
|
|
2782
|
+
})), (input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority })), (input.defaultTaskScheduleToCloseTimeout != null && {
|
|
2808
2783
|
defaultTaskScheduleToCloseTimeout: input.defaultTaskScheduleToCloseTimeout,
|
|
2809
|
-
})), (input.defaultTaskScheduleToStartTimeout
|
|
2810
|
-
input.defaultTaskScheduleToStartTimeout !== null && {
|
|
2784
|
+
})), (input.defaultTaskScheduleToStartTimeout != null && {
|
|
2811
2785
|
defaultTaskScheduleToStartTimeout: input.defaultTaskScheduleToStartTimeout,
|
|
2812
|
-
})), (input.defaultTaskStartToCloseTimeout
|
|
2813
|
-
input.defaultTaskStartToCloseTimeout !== null && {
|
|
2786
|
+
})), (input.defaultTaskStartToCloseTimeout != null && {
|
|
2814
2787
|
defaultTaskStartToCloseTimeout: input.defaultTaskStartToCloseTimeout,
|
|
2815
|
-
})), (input.description
|
|
2788
|
+
})), (input.description != null && { description: input.description })), (input.domain != null && { domain: input.domain })), (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
2816
2789
|
};
|
|
2817
2790
|
var serializeAws_json1_0RegisterDomainInput = function (input, context) {
|
|
2818
|
-
return __assign(__assign(__assign(__assign({}, (input.description
|
|
2819
|
-
input.tags !== null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) })), (input.workflowExecutionRetentionPeriodInDays !== undefined &&
|
|
2820
|
-
input.workflowExecutionRetentionPeriodInDays !== null && {
|
|
2791
|
+
return __assign(__assign(__assign(__assign({}, (input.description != null && { description: input.description })), (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) })), (input.workflowExecutionRetentionPeriodInDays != null && {
|
|
2821
2792
|
workflowExecutionRetentionPeriodInDays: input.workflowExecutionRetentionPeriodInDays,
|
|
2822
2793
|
}));
|
|
2823
2794
|
};
|
|
2824
2795
|
var serializeAws_json1_0RegisterWorkflowTypeInput = function (input, context) {
|
|
2825
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.defaultChildPolicy
|
|
2826
|
-
input.defaultChildPolicy !== null && { defaultChildPolicy: input.defaultChildPolicy })), (input.defaultExecutionStartToCloseTimeout !== undefined &&
|
|
2827
|
-
input.defaultExecutionStartToCloseTimeout !== null && {
|
|
2796
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.defaultChildPolicy != null && { defaultChildPolicy: input.defaultChildPolicy })), (input.defaultExecutionStartToCloseTimeout != null && {
|
|
2828
2797
|
defaultExecutionStartToCloseTimeout: input.defaultExecutionStartToCloseTimeout,
|
|
2829
|
-
})), (input.defaultLambdaRole
|
|
2830
|
-
input.defaultLambdaRole !== null && { defaultLambdaRole: input.defaultLambdaRole })), (input.defaultTaskList !== undefined &&
|
|
2831
|
-
input.defaultTaskList !== null && {
|
|
2798
|
+
})), (input.defaultLambdaRole != null && { defaultLambdaRole: input.defaultLambdaRole })), (input.defaultTaskList != null && {
|
|
2832
2799
|
defaultTaskList: serializeAws_json1_0TaskList(input.defaultTaskList, context),
|
|
2833
|
-
})), (input.defaultTaskPriority
|
|
2834
|
-
input.defaultTaskPriority !== null && { defaultTaskPriority: input.defaultTaskPriority })), (input.defaultTaskStartToCloseTimeout !== undefined &&
|
|
2835
|
-
input.defaultTaskStartToCloseTimeout !== null && {
|
|
2800
|
+
})), (input.defaultTaskPriority != null && { defaultTaskPriority: input.defaultTaskPriority })), (input.defaultTaskStartToCloseTimeout != null && {
|
|
2836
2801
|
defaultTaskStartToCloseTimeout: input.defaultTaskStartToCloseTimeout,
|
|
2837
|
-
})), (input.description
|
|
2802
|
+
})), (input.description != null && { description: input.description })), (input.domain != null && { domain: input.domain })), (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
2838
2803
|
};
|
|
2839
2804
|
var serializeAws_json1_0RequestCancelActivityTaskDecisionAttributes = function (input, context) {
|
|
2840
|
-
return __assign({}, (input.activityId
|
|
2805
|
+
return __assign({}, (input.activityId != null && { activityId: input.activityId }));
|
|
2841
2806
|
};
|
|
2842
2807
|
var serializeAws_json1_0RequestCancelExternalWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2843
|
-
return __assign(__assign(__assign({}, (input.control
|
|
2808
|
+
return __assign(__assign(__assign({}, (input.control != null && { control: input.control })), (input.runId != null && { runId: input.runId })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2844
2809
|
};
|
|
2845
2810
|
var serializeAws_json1_0RequestCancelWorkflowExecutionInput = function (input, context) {
|
|
2846
|
-
return __assign(__assign(__assign({}, (input.domain
|
|
2811
|
+
return __assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.runId != null && { runId: input.runId })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2847
2812
|
};
|
|
2848
2813
|
var serializeAws_json1_0ResourceTag = function (input, context) {
|
|
2849
|
-
return __assign(__assign({}, (input.key
|
|
2814
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
2850
2815
|
};
|
|
2851
2816
|
var serializeAws_json1_0ResourceTagKeyList = function (input, context) {
|
|
2852
2817
|
return input
|
|
@@ -2869,64 +2834,44 @@ var serializeAws_json1_0ResourceTagList = function (input, context) {
|
|
|
2869
2834
|
});
|
|
2870
2835
|
};
|
|
2871
2836
|
var serializeAws_json1_0RespondActivityTaskCanceledInput = function (input, context) {
|
|
2872
|
-
return __assign(__assign({}, (input.details
|
|
2837
|
+
return __assign(__assign({}, (input.details != null && { details: input.details })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2873
2838
|
};
|
|
2874
2839
|
var serializeAws_json1_0RespondActivityTaskCompletedInput = function (input, context) {
|
|
2875
|
-
return __assign(__assign({}, (input.result
|
|
2840
|
+
return __assign(__assign({}, (input.result != null && { result: input.result })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2876
2841
|
};
|
|
2877
2842
|
var serializeAws_json1_0RespondActivityTaskFailedInput = function (input, context) {
|
|
2878
|
-
return __assign(__assign(__assign({}, (input.details
|
|
2843
|
+
return __assign(__assign(__assign({}, (input.details != null && { details: input.details })), (input.reason != null && { reason: input.reason })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2879
2844
|
};
|
|
2880
2845
|
var serializeAws_json1_0RespondDecisionTaskCompletedInput = function (input, context) {
|
|
2881
|
-
return __assign(__assign(__assign({}, (input.decisions
|
|
2882
|
-
input.decisions !== null && { decisions: serializeAws_json1_0DecisionList(input.decisions, context) })), (input.executionContext !== undefined &&
|
|
2883
|
-
input.executionContext !== null && { executionContext: input.executionContext })), (input.taskToken !== undefined && input.taskToken !== null && { taskToken: input.taskToken }));
|
|
2846
|
+
return __assign(__assign(__assign({}, (input.decisions != null && { decisions: serializeAws_json1_0DecisionList(input.decisions, context) })), (input.executionContext != null && { executionContext: input.executionContext })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
2884
2847
|
};
|
|
2885
2848
|
var serializeAws_json1_0ScheduleActivityTaskDecisionAttributes = function (input, context) {
|
|
2886
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.activityId
|
|
2887
|
-
input.activityType !== null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.control !== undefined && input.control !== null && { control: input.control })), (input.heartbeatTimeout !== undefined &&
|
|
2888
|
-
input.heartbeatTimeout !== null && { heartbeatTimeout: input.heartbeatTimeout })), (input.input !== undefined && input.input !== null && { input: input.input })), (input.scheduleToCloseTimeout !== undefined &&
|
|
2889
|
-
input.scheduleToCloseTimeout !== null && { scheduleToCloseTimeout: input.scheduleToCloseTimeout })), (input.scheduleToStartTimeout !== undefined &&
|
|
2890
|
-
input.scheduleToStartTimeout !== null && { scheduleToStartTimeout: input.scheduleToStartTimeout })), (input.startToCloseTimeout !== undefined &&
|
|
2891
|
-
input.startToCloseTimeout !== null && { startToCloseTimeout: input.startToCloseTimeout })), (input.taskList !== undefined &&
|
|
2892
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority !== undefined && input.taskPriority !== null && { taskPriority: input.taskPriority }));
|
|
2849
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.activityId != null && { activityId: input.activityId })), (input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.control != null && { control: input.control })), (input.heartbeatTimeout != null && { heartbeatTimeout: input.heartbeatTimeout })), (input.input != null && { input: input.input })), (input.scheduleToCloseTimeout != null && { scheduleToCloseTimeout: input.scheduleToCloseTimeout })), (input.scheduleToStartTimeout != null && { scheduleToStartTimeout: input.scheduleToStartTimeout })), (input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority != null && { taskPriority: input.taskPriority }));
|
|
2893
2850
|
};
|
|
2894
2851
|
var serializeAws_json1_0ScheduleLambdaFunctionDecisionAttributes = function (input, context) {
|
|
2895
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.control
|
|
2896
|
-
input.startToCloseTimeout !== null && { startToCloseTimeout: input.startToCloseTimeout }));
|
|
2852
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.control != null && { control: input.control })), (input.id != null && { id: input.id })), (input.input != null && { input: input.input })), (input.name != null && { name: input.name })), (input.startToCloseTimeout != null && { startToCloseTimeout: input.startToCloseTimeout }));
|
|
2897
2853
|
};
|
|
2898
2854
|
var serializeAws_json1_0SignalExternalWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2899
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.control
|
|
2855
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.control != null && { control: input.control })), (input.input != null && { input: input.input })), (input.runId != null && { runId: input.runId })), (input.signalName != null && { signalName: input.signalName })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2900
2856
|
};
|
|
2901
2857
|
var serializeAws_json1_0SignalWorkflowExecutionInput = function (input, context) {
|
|
2902
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.domain
|
|
2858
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.input != null && { input: input.input })), (input.runId != null && { runId: input.runId })), (input.signalName != null && { signalName: input.signalName })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2903
2859
|
};
|
|
2904
2860
|
var serializeAws_json1_0StartChildWorkflowExecutionDecisionAttributes = function (input, context) {
|
|
2905
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy
|
|
2906
|
-
input.executionStartToCloseTimeout !== null && {
|
|
2861
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy != null && { childPolicy: input.childPolicy })), (input.control != null && { control: input.control })), (input.executionStartToCloseTimeout != null && {
|
|
2907
2862
|
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2908
|
-
})), (input.input
|
|
2909
|
-
input.tagList !== null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList !== undefined &&
|
|
2910
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority !== undefined && input.taskPriority !== null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout !== undefined &&
|
|
2911
|
-
input.taskStartToCloseTimeout !== null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowId !== undefined && input.workflowId !== null && { workflowId: input.workflowId })), (input.workflowType !== undefined &&
|
|
2912
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2863
|
+
})), (input.input != null && { input: input.input })), (input.lambdaRole != null && { lambdaRole: input.lambdaRole })), (input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority != null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowId != null && { workflowId: input.workflowId })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2913
2864
|
};
|
|
2914
2865
|
var serializeAws_json1_0StartTimerDecisionAttributes = function (input, context) {
|
|
2915
|
-
return __assign(__assign(__assign({}, (input.control
|
|
2916
|
-
input.startToFireTimeout !== null && { startToFireTimeout: input.startToFireTimeout })), (input.timerId !== undefined && input.timerId !== null && { timerId: input.timerId }));
|
|
2866
|
+
return __assign(__assign(__assign({}, (input.control != null && { control: input.control })), (input.startToFireTimeout != null && { startToFireTimeout: input.startToFireTimeout })), (input.timerId != null && { timerId: input.timerId }));
|
|
2917
2867
|
};
|
|
2918
2868
|
var serializeAws_json1_0StartWorkflowExecutionInput = function (input, context) {
|
|
2919
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy
|
|
2920
|
-
input.executionStartToCloseTimeout !== null && {
|
|
2869
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy != null && { childPolicy: input.childPolicy })), (input.domain != null && { domain: input.domain })), (input.executionStartToCloseTimeout != null && {
|
|
2921
2870
|
executionStartToCloseTimeout: input.executionStartToCloseTimeout,
|
|
2922
|
-
})), (input.input
|
|
2923
|
-
input.tagList !== null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList !== undefined &&
|
|
2924
|
-
input.taskList !== null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority !== undefined && input.taskPriority !== null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout !== undefined &&
|
|
2925
|
-
input.taskStartToCloseTimeout !== null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowId !== undefined && input.workflowId !== null && { workflowId: input.workflowId })), (input.workflowType !== undefined &&
|
|
2926
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2871
|
+
})), (input.input != null && { input: input.input })), (input.lambdaRole != null && { lambdaRole: input.lambdaRole })), (input.tagList != null && { tagList: serializeAws_json1_0TagList(input.tagList, context) })), (input.taskList != null && { taskList: serializeAws_json1_0TaskList(input.taskList, context) })), (input.taskPriority != null && { taskPriority: input.taskPriority })), (input.taskStartToCloseTimeout != null && { taskStartToCloseTimeout: input.taskStartToCloseTimeout })), (input.workflowId != null && { workflowId: input.workflowId })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2927
2872
|
};
|
|
2928
2873
|
var serializeAws_json1_0TagFilter = function (input, context) {
|
|
2929
|
-
return __assign({}, (input.tag
|
|
2874
|
+
return __assign({}, (input.tag != null && { tag: input.tag }));
|
|
2930
2875
|
};
|
|
2931
2876
|
var serializeAws_json1_0TagList = function (input, context) {
|
|
2932
2877
|
return input
|
|
@@ -2939,52 +2884,46 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
2939
2884
|
});
|
|
2940
2885
|
};
|
|
2941
2886
|
var serializeAws_json1_0TagResourceInput = function (input, context) {
|
|
2942
|
-
return __assign(__assign({}, (input.resourceArn
|
|
2943
|
-
input.tags !== null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) }));
|
|
2887
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_0ResourceTagList(input.tags, context) }));
|
|
2944
2888
|
};
|
|
2945
2889
|
var serializeAws_json1_0TaskList = function (input, context) {
|
|
2946
|
-
return __assign({}, (input.name
|
|
2890
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
2947
2891
|
};
|
|
2948
2892
|
var serializeAws_json1_0TerminateWorkflowExecutionInput = function (input, context) {
|
|
2949
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy
|
|
2893
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.childPolicy != null && { childPolicy: input.childPolicy })), (input.details != null && { details: input.details })), (input.domain != null && { domain: input.domain })), (input.reason != null && { reason: input.reason })), (input.runId != null && { runId: input.runId })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2950
2894
|
};
|
|
2951
2895
|
var serializeAws_json1_0UndeprecateActivityTypeInput = function (input, context) {
|
|
2952
|
-
return __assign(__assign({}, (input.activityType
|
|
2953
|
-
input.activityType !== null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain !== undefined && input.domain !== null && { domain: input.domain }));
|
|
2896
|
+
return __assign(__assign({}, (input.activityType != null && { activityType: serializeAws_json1_0ActivityType(input.activityType, context) })), (input.domain != null && { domain: input.domain }));
|
|
2954
2897
|
};
|
|
2955
2898
|
var serializeAws_json1_0UndeprecateDomainInput = function (input, context) {
|
|
2956
|
-
return __assign({}, (input.name
|
|
2899
|
+
return __assign({}, (input.name != null && { name: input.name }));
|
|
2957
2900
|
};
|
|
2958
2901
|
var serializeAws_json1_0UndeprecateWorkflowTypeInput = function (input, context) {
|
|
2959
|
-
return __assign(__assign({}, (input.domain
|
|
2960
|
-
input.workflowType !== null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2902
|
+
return __assign(__assign({}, (input.domain != null && { domain: input.domain })), (input.workflowType != null && { workflowType: serializeAws_json1_0WorkflowType(input.workflowType, context) }));
|
|
2961
2903
|
};
|
|
2962
2904
|
var serializeAws_json1_0UntagResourceInput = function (input, context) {
|
|
2963
|
-
return __assign(__assign({}, (input.resourceArn
|
|
2964
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_0ResourceTagKeyList(input.tagKeys, context) }));
|
|
2905
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_0ResourceTagKeyList(input.tagKeys, context) }));
|
|
2965
2906
|
};
|
|
2966
2907
|
var serializeAws_json1_0WorkflowExecution = function (input, context) {
|
|
2967
|
-
return __assign(__assign({}, (input.runId
|
|
2908
|
+
return __assign(__assign({}, (input.runId != null && { runId: input.runId })), (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2968
2909
|
};
|
|
2969
2910
|
var serializeAws_json1_0WorkflowExecutionFilter = function (input, context) {
|
|
2970
|
-
return __assign({}, (input.workflowId
|
|
2911
|
+
return __assign({}, (input.workflowId != null && { workflowId: input.workflowId }));
|
|
2971
2912
|
};
|
|
2972
2913
|
var serializeAws_json1_0WorkflowType = function (input, context) {
|
|
2973
|
-
return __assign(__assign({}, (input.name
|
|
2914
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
2974
2915
|
};
|
|
2975
2916
|
var serializeAws_json1_0WorkflowTypeFilter = function (input, context) {
|
|
2976
|
-
return __assign(__assign({}, (input.name
|
|
2917
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.version != null && { version: input.version }));
|
|
2977
2918
|
};
|
|
2978
2919
|
var deserializeAws_json1_0ActivityTask = function (output, context) {
|
|
2979
2920
|
return {
|
|
2980
2921
|
activityId: __expectString(output.activityId),
|
|
2981
|
-
activityType: output.activityType
|
|
2982
|
-
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
2983
|
-
: undefined,
|
|
2922
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
2984
2923
|
input: __expectString(output.input),
|
|
2985
2924
|
startedEventId: __expectLong(output.startedEventId),
|
|
2986
2925
|
taskToken: __expectString(output.taskToken),
|
|
2987
|
-
workflowExecution: output.workflowExecution
|
|
2926
|
+
workflowExecution: output.workflowExecution != null
|
|
2988
2927
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
2989
2928
|
: undefined,
|
|
2990
2929
|
};
|
|
@@ -3021,9 +2960,7 @@ var deserializeAws_json1_0ActivityTaskFailedEventAttributes = function (output,
|
|
|
3021
2960
|
var deserializeAws_json1_0ActivityTaskScheduledEventAttributes = function (output, context) {
|
|
3022
2961
|
return {
|
|
3023
2962
|
activityId: __expectString(output.activityId),
|
|
3024
|
-
activityType: output.activityType
|
|
3025
|
-
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
3026
|
-
: undefined,
|
|
2963
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
3027
2964
|
control: __expectString(output.control),
|
|
3028
2965
|
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
3029
2966
|
heartbeatTimeout: __expectString(output.heartbeatTimeout),
|
|
@@ -3031,9 +2968,7 @@ var deserializeAws_json1_0ActivityTaskScheduledEventAttributes = function (outpu
|
|
|
3031
2968
|
scheduleToCloseTimeout: __expectString(output.scheduleToCloseTimeout),
|
|
3032
2969
|
scheduleToStartTimeout: __expectString(output.scheduleToStartTimeout),
|
|
3033
2970
|
startToCloseTimeout: __expectString(output.startToCloseTimeout),
|
|
3034
|
-
taskList: output.taskList
|
|
3035
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3036
|
-
: undefined,
|
|
2971
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3037
2972
|
taskPriority: __expectString(output.taskPriority),
|
|
3038
2973
|
};
|
|
3039
2974
|
};
|
|
@@ -3065,9 +3000,7 @@ var deserializeAws_json1_0ActivityType = function (output, context) {
|
|
|
3065
3000
|
var deserializeAws_json1_0ActivityTypeConfiguration = function (output, context) {
|
|
3066
3001
|
return {
|
|
3067
3002
|
defaultTaskHeartbeatTimeout: __expectString(output.defaultTaskHeartbeatTimeout),
|
|
3068
|
-
defaultTaskList: output.defaultTaskList
|
|
3069
|
-
? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
|
|
3070
|
-
: undefined,
|
|
3003
|
+
defaultTaskList: output.defaultTaskList != null ? deserializeAws_json1_0TaskList(output.defaultTaskList, context) : undefined,
|
|
3071
3004
|
defaultTaskPriority: __expectString(output.defaultTaskPriority),
|
|
3072
3005
|
defaultTaskScheduleToCloseTimeout: __expectString(output.defaultTaskScheduleToCloseTimeout),
|
|
3073
3006
|
defaultTaskScheduleToStartTimeout: __expectString(output.defaultTaskScheduleToStartTimeout),
|
|
@@ -3076,23 +3009,19 @@ var deserializeAws_json1_0ActivityTypeConfiguration = function (output, context)
|
|
|
3076
3009
|
};
|
|
3077
3010
|
var deserializeAws_json1_0ActivityTypeDetail = function (output, context) {
|
|
3078
3011
|
return {
|
|
3079
|
-
configuration: output.configuration
|
|
3012
|
+
configuration: output.configuration != null
|
|
3080
3013
|
? deserializeAws_json1_0ActivityTypeConfiguration(output.configuration, context)
|
|
3081
3014
|
: undefined,
|
|
3082
|
-
typeInfo: output.typeInfo
|
|
3083
|
-
? deserializeAws_json1_0ActivityTypeInfo(output.typeInfo, context)
|
|
3084
|
-
: undefined,
|
|
3015
|
+
typeInfo: output.typeInfo != null ? deserializeAws_json1_0ActivityTypeInfo(output.typeInfo, context) : undefined,
|
|
3085
3016
|
};
|
|
3086
3017
|
};
|
|
3087
3018
|
var deserializeAws_json1_0ActivityTypeInfo = function (output, context) {
|
|
3088
3019
|
return {
|
|
3089
|
-
activityType: output.activityType
|
|
3090
|
-
|
|
3091
|
-
: undefined,
|
|
3092
|
-
creationDate: output.creationDate !== undefined && output.creationDate !== null
|
|
3020
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
3021
|
+
creationDate: output.creationDate != null
|
|
3093
3022
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
3094
3023
|
: undefined,
|
|
3095
|
-
deprecationDate: output.deprecationDate
|
|
3024
|
+
deprecationDate: output.deprecationDate != null
|
|
3096
3025
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deprecationDate)))
|
|
3097
3026
|
: undefined,
|
|
3098
3027
|
description: __expectString(output.description),
|
|
@@ -3113,9 +3042,7 @@ var deserializeAws_json1_0ActivityTypeInfoList = function (output, context) {
|
|
|
3113
3042
|
var deserializeAws_json1_0ActivityTypeInfos = function (output, context) {
|
|
3114
3043
|
return {
|
|
3115
3044
|
nextPageToken: __expectString(output.nextPageToken),
|
|
3116
|
-
typeInfos: output.typeInfos
|
|
3117
|
-
? deserializeAws_json1_0ActivityTypeInfoList(output.typeInfos, context)
|
|
3118
|
-
: undefined,
|
|
3045
|
+
typeInfos: output.typeInfos != null ? deserializeAws_json1_0ActivityTypeInfoList(output.typeInfos, context) : undefined,
|
|
3119
3046
|
};
|
|
3120
3047
|
};
|
|
3121
3048
|
var deserializeAws_json1_0CancelTimerFailedEventAttributes = function (output, context) {
|
|
@@ -3136,12 +3063,10 @@ var deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes = functi
|
|
|
3136
3063
|
details: __expectString(output.details),
|
|
3137
3064
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3138
3065
|
startedEventId: __expectLong(output.startedEventId),
|
|
3139
|
-
workflowExecution: output.workflowExecution
|
|
3066
|
+
workflowExecution: output.workflowExecution != null
|
|
3140
3067
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3141
3068
|
: undefined,
|
|
3142
|
-
workflowType: output.workflowType
|
|
3143
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3144
|
-
: undefined,
|
|
3069
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3145
3070
|
};
|
|
3146
3071
|
};
|
|
3147
3072
|
var deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = function (output, context) {
|
|
@@ -3149,12 +3074,10 @@ var deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes = funct
|
|
|
3149
3074
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3150
3075
|
result: __expectString(output.result),
|
|
3151
3076
|
startedEventId: __expectLong(output.startedEventId),
|
|
3152
|
-
workflowExecution: output.workflowExecution
|
|
3077
|
+
workflowExecution: output.workflowExecution != null
|
|
3153
3078
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3154
3079
|
: undefined,
|
|
3155
|
-
workflowType: output.workflowType
|
|
3156
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3157
|
-
: undefined,
|
|
3080
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3158
3081
|
};
|
|
3159
3082
|
};
|
|
3160
3083
|
var deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = function (output, context) {
|
|
@@ -3163,35 +3086,29 @@ var deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes = function
|
|
|
3163
3086
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3164
3087
|
reason: __expectString(output.reason),
|
|
3165
3088
|
startedEventId: __expectLong(output.startedEventId),
|
|
3166
|
-
workflowExecution: output.workflowExecution
|
|
3089
|
+
workflowExecution: output.workflowExecution != null
|
|
3167
3090
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3168
3091
|
: undefined,
|
|
3169
|
-
workflowType: output.workflowType
|
|
3170
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3171
|
-
: undefined,
|
|
3092
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3172
3093
|
};
|
|
3173
3094
|
};
|
|
3174
3095
|
var deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes = function (output, context) {
|
|
3175
3096
|
return {
|
|
3176
3097
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3177
|
-
workflowExecution: output.workflowExecution
|
|
3098
|
+
workflowExecution: output.workflowExecution != null
|
|
3178
3099
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3179
3100
|
: undefined,
|
|
3180
|
-
workflowType: output.workflowType
|
|
3181
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3182
|
-
: undefined,
|
|
3101
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3183
3102
|
};
|
|
3184
3103
|
};
|
|
3185
3104
|
var deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes = function (output, context) {
|
|
3186
3105
|
return {
|
|
3187
3106
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3188
3107
|
startedEventId: __expectLong(output.startedEventId),
|
|
3189
|
-
workflowExecution: output.workflowExecution
|
|
3108
|
+
workflowExecution: output.workflowExecution != null
|
|
3190
3109
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3191
3110
|
: undefined,
|
|
3192
|
-
workflowType: output.workflowType
|
|
3193
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3194
|
-
: undefined,
|
|
3111
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3195
3112
|
};
|
|
3196
3113
|
};
|
|
3197
3114
|
var deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = function (output, context) {
|
|
@@ -3199,12 +3116,10 @@ var deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes = functi
|
|
|
3199
3116
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3200
3117
|
startedEventId: __expectLong(output.startedEventId),
|
|
3201
3118
|
timeoutType: __expectString(output.timeoutType),
|
|
3202
|
-
workflowExecution: output.workflowExecution
|
|
3119
|
+
workflowExecution: output.workflowExecution != null
|
|
3203
3120
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3204
3121
|
: undefined,
|
|
3205
|
-
workflowType: output.workflowType
|
|
3206
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3207
|
-
: undefined,
|
|
3122
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3208
3123
|
};
|
|
3209
3124
|
};
|
|
3210
3125
|
var deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes = function (output, context) {
|
|
@@ -3221,19 +3136,15 @@ var deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes =
|
|
|
3221
3136
|
};
|
|
3222
3137
|
var deserializeAws_json1_0DecisionTask = function (output, context) {
|
|
3223
3138
|
return {
|
|
3224
|
-
events: output.events
|
|
3225
|
-
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
3226
|
-
: undefined,
|
|
3139
|
+
events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
|
|
3227
3140
|
nextPageToken: __expectString(output.nextPageToken),
|
|
3228
3141
|
previousStartedEventId: __expectLong(output.previousStartedEventId),
|
|
3229
3142
|
startedEventId: __expectLong(output.startedEventId),
|
|
3230
3143
|
taskToken: __expectString(output.taskToken),
|
|
3231
|
-
workflowExecution: output.workflowExecution
|
|
3144
|
+
workflowExecution: output.workflowExecution != null
|
|
3232
3145
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3233
3146
|
: undefined,
|
|
3234
|
-
workflowType: output.workflowType
|
|
3235
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3236
|
-
: undefined,
|
|
3147
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3237
3148
|
};
|
|
3238
3149
|
};
|
|
3239
3150
|
var deserializeAws_json1_0DecisionTaskCompletedEventAttributes = function (output, context) {
|
|
@@ -3246,9 +3157,7 @@ var deserializeAws_json1_0DecisionTaskCompletedEventAttributes = function (outpu
|
|
|
3246
3157
|
var deserializeAws_json1_0DecisionTaskScheduledEventAttributes = function (output, context) {
|
|
3247
3158
|
return {
|
|
3248
3159
|
startToCloseTimeout: __expectString(output.startToCloseTimeout),
|
|
3249
|
-
taskList: output.taskList
|
|
3250
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3251
|
-
: undefined,
|
|
3160
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3252
3161
|
taskPriority: __expectString(output.taskPriority),
|
|
3253
3162
|
};
|
|
3254
3163
|
};
|
|
@@ -3287,12 +3196,10 @@ var deserializeAws_json1_0DomainDeprecatedFault = function (output, context) {
|
|
|
3287
3196
|
};
|
|
3288
3197
|
var deserializeAws_json1_0DomainDetail = function (output, context) {
|
|
3289
3198
|
return {
|
|
3290
|
-
configuration: output.configuration
|
|
3199
|
+
configuration: output.configuration != null
|
|
3291
3200
|
? deserializeAws_json1_0DomainConfiguration(output.configuration, context)
|
|
3292
3201
|
: undefined,
|
|
3293
|
-
domainInfo: output.domainInfo
|
|
3294
|
-
? deserializeAws_json1_0DomainInfo(output.domainInfo, context)
|
|
3295
|
-
: undefined,
|
|
3202
|
+
domainInfo: output.domainInfo != null ? deserializeAws_json1_0DomainInfo(output.domainInfo, context) : undefined,
|
|
3296
3203
|
};
|
|
3297
3204
|
};
|
|
3298
3205
|
var deserializeAws_json1_0DomainInfo = function (output, context) {
|
|
@@ -3316,16 +3223,14 @@ var deserializeAws_json1_0DomainInfoList = function (output, context) {
|
|
|
3316
3223
|
};
|
|
3317
3224
|
var deserializeAws_json1_0DomainInfos = function (output, context) {
|
|
3318
3225
|
return {
|
|
3319
|
-
domainInfos: output.domainInfos
|
|
3320
|
-
? deserializeAws_json1_0DomainInfoList(output.domainInfos, context)
|
|
3321
|
-
: undefined,
|
|
3226
|
+
domainInfos: output.domainInfos != null ? deserializeAws_json1_0DomainInfoList(output.domainInfos, context) : undefined,
|
|
3322
3227
|
nextPageToken: __expectString(output.nextPageToken),
|
|
3323
3228
|
};
|
|
3324
3229
|
};
|
|
3325
3230
|
var deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes = function (output, context) {
|
|
3326
3231
|
return {
|
|
3327
3232
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3328
|
-
workflowExecution: output.workflowExecution
|
|
3233
|
+
workflowExecution: output.workflowExecution != null
|
|
3329
3234
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3330
3235
|
: undefined,
|
|
3331
3236
|
};
|
|
@@ -3333,7 +3238,7 @@ var deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttribute
|
|
|
3333
3238
|
var deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes = function (output, context) {
|
|
3334
3239
|
return {
|
|
3335
3240
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3336
|
-
workflowExecution: output.workflowExecution
|
|
3241
|
+
workflowExecution: output.workflowExecution != null
|
|
3337
3242
|
? deserializeAws_json1_0WorkflowExecution(output.workflowExecution, context)
|
|
3338
3243
|
: undefined,
|
|
3339
3244
|
};
|
|
@@ -3346,214 +3251,177 @@ var deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes = function
|
|
|
3346
3251
|
};
|
|
3347
3252
|
var deserializeAws_json1_0History = function (output, context) {
|
|
3348
3253
|
return {
|
|
3349
|
-
events: output.events
|
|
3350
|
-
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
3351
|
-
: undefined,
|
|
3254
|
+
events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
|
|
3352
3255
|
nextPageToken: __expectString(output.nextPageToken),
|
|
3353
3256
|
};
|
|
3354
3257
|
};
|
|
3355
3258
|
var deserializeAws_json1_0HistoryEvent = function (output, context) {
|
|
3356
3259
|
return {
|
|
3357
|
-
activityTaskCancelRequestedEventAttributes: output.activityTaskCancelRequestedEventAttributes
|
|
3358
|
-
output.activityTaskCancelRequestedEventAttributes !== null
|
|
3260
|
+
activityTaskCancelRequestedEventAttributes: output.activityTaskCancelRequestedEventAttributes != null
|
|
3359
3261
|
? deserializeAws_json1_0ActivityTaskCancelRequestedEventAttributes(output.activityTaskCancelRequestedEventAttributes, context)
|
|
3360
3262
|
: undefined,
|
|
3361
|
-
activityTaskCanceledEventAttributes: output.activityTaskCanceledEventAttributes
|
|
3263
|
+
activityTaskCanceledEventAttributes: output.activityTaskCanceledEventAttributes != null
|
|
3362
3264
|
? deserializeAws_json1_0ActivityTaskCanceledEventAttributes(output.activityTaskCanceledEventAttributes, context)
|
|
3363
3265
|
: undefined,
|
|
3364
|
-
activityTaskCompletedEventAttributes: output.activityTaskCompletedEventAttributes
|
|
3266
|
+
activityTaskCompletedEventAttributes: output.activityTaskCompletedEventAttributes != null
|
|
3365
3267
|
? deserializeAws_json1_0ActivityTaskCompletedEventAttributes(output.activityTaskCompletedEventAttributes, context)
|
|
3366
3268
|
: undefined,
|
|
3367
|
-
activityTaskFailedEventAttributes: output.activityTaskFailedEventAttributes
|
|
3269
|
+
activityTaskFailedEventAttributes: output.activityTaskFailedEventAttributes != null
|
|
3368
3270
|
? deserializeAws_json1_0ActivityTaskFailedEventAttributes(output.activityTaskFailedEventAttributes, context)
|
|
3369
3271
|
: undefined,
|
|
3370
|
-
activityTaskScheduledEventAttributes: output.activityTaskScheduledEventAttributes
|
|
3272
|
+
activityTaskScheduledEventAttributes: output.activityTaskScheduledEventAttributes != null
|
|
3371
3273
|
? deserializeAws_json1_0ActivityTaskScheduledEventAttributes(output.activityTaskScheduledEventAttributes, context)
|
|
3372
3274
|
: undefined,
|
|
3373
|
-
activityTaskStartedEventAttributes: output.activityTaskStartedEventAttributes
|
|
3275
|
+
activityTaskStartedEventAttributes: output.activityTaskStartedEventAttributes != null
|
|
3374
3276
|
? deserializeAws_json1_0ActivityTaskStartedEventAttributes(output.activityTaskStartedEventAttributes, context)
|
|
3375
3277
|
: undefined,
|
|
3376
|
-
activityTaskTimedOutEventAttributes: output.activityTaskTimedOutEventAttributes
|
|
3278
|
+
activityTaskTimedOutEventAttributes: output.activityTaskTimedOutEventAttributes != null
|
|
3377
3279
|
? deserializeAws_json1_0ActivityTaskTimedOutEventAttributes(output.activityTaskTimedOutEventAttributes, context)
|
|
3378
3280
|
: undefined,
|
|
3379
|
-
cancelTimerFailedEventAttributes: output.cancelTimerFailedEventAttributes
|
|
3281
|
+
cancelTimerFailedEventAttributes: output.cancelTimerFailedEventAttributes != null
|
|
3380
3282
|
? deserializeAws_json1_0CancelTimerFailedEventAttributes(output.cancelTimerFailedEventAttributes, context)
|
|
3381
3283
|
: undefined,
|
|
3382
|
-
cancelWorkflowExecutionFailedEventAttributes: output.cancelWorkflowExecutionFailedEventAttributes
|
|
3383
|
-
output.cancelWorkflowExecutionFailedEventAttributes !== null
|
|
3284
|
+
cancelWorkflowExecutionFailedEventAttributes: output.cancelWorkflowExecutionFailedEventAttributes != null
|
|
3384
3285
|
? deserializeAws_json1_0CancelWorkflowExecutionFailedEventAttributes(output.cancelWorkflowExecutionFailedEventAttributes, context)
|
|
3385
3286
|
: undefined,
|
|
3386
|
-
childWorkflowExecutionCanceledEventAttributes: output.childWorkflowExecutionCanceledEventAttributes
|
|
3387
|
-
output.childWorkflowExecutionCanceledEventAttributes !== null
|
|
3287
|
+
childWorkflowExecutionCanceledEventAttributes: output.childWorkflowExecutionCanceledEventAttributes != null
|
|
3388
3288
|
? deserializeAws_json1_0ChildWorkflowExecutionCanceledEventAttributes(output.childWorkflowExecutionCanceledEventAttributes, context)
|
|
3389
3289
|
: undefined,
|
|
3390
|
-
childWorkflowExecutionCompletedEventAttributes: output.childWorkflowExecutionCompletedEventAttributes
|
|
3391
|
-
output.childWorkflowExecutionCompletedEventAttributes !== null
|
|
3290
|
+
childWorkflowExecutionCompletedEventAttributes: output.childWorkflowExecutionCompletedEventAttributes != null
|
|
3392
3291
|
? deserializeAws_json1_0ChildWorkflowExecutionCompletedEventAttributes(output.childWorkflowExecutionCompletedEventAttributes, context)
|
|
3393
3292
|
: undefined,
|
|
3394
|
-
childWorkflowExecutionFailedEventAttributes: output.childWorkflowExecutionFailedEventAttributes
|
|
3395
|
-
output.childWorkflowExecutionFailedEventAttributes !== null
|
|
3293
|
+
childWorkflowExecutionFailedEventAttributes: output.childWorkflowExecutionFailedEventAttributes != null
|
|
3396
3294
|
? deserializeAws_json1_0ChildWorkflowExecutionFailedEventAttributes(output.childWorkflowExecutionFailedEventAttributes, context)
|
|
3397
3295
|
: undefined,
|
|
3398
|
-
childWorkflowExecutionStartedEventAttributes: output.childWorkflowExecutionStartedEventAttributes
|
|
3399
|
-
output.childWorkflowExecutionStartedEventAttributes !== null
|
|
3296
|
+
childWorkflowExecutionStartedEventAttributes: output.childWorkflowExecutionStartedEventAttributes != null
|
|
3400
3297
|
? deserializeAws_json1_0ChildWorkflowExecutionStartedEventAttributes(output.childWorkflowExecutionStartedEventAttributes, context)
|
|
3401
3298
|
: undefined,
|
|
3402
|
-
childWorkflowExecutionTerminatedEventAttributes: output.childWorkflowExecutionTerminatedEventAttributes
|
|
3403
|
-
output.childWorkflowExecutionTerminatedEventAttributes !== null
|
|
3299
|
+
childWorkflowExecutionTerminatedEventAttributes: output.childWorkflowExecutionTerminatedEventAttributes != null
|
|
3404
3300
|
? deserializeAws_json1_0ChildWorkflowExecutionTerminatedEventAttributes(output.childWorkflowExecutionTerminatedEventAttributes, context)
|
|
3405
3301
|
: undefined,
|
|
3406
|
-
childWorkflowExecutionTimedOutEventAttributes: output.childWorkflowExecutionTimedOutEventAttributes
|
|
3407
|
-
output.childWorkflowExecutionTimedOutEventAttributes !== null
|
|
3302
|
+
childWorkflowExecutionTimedOutEventAttributes: output.childWorkflowExecutionTimedOutEventAttributes != null
|
|
3408
3303
|
? deserializeAws_json1_0ChildWorkflowExecutionTimedOutEventAttributes(output.childWorkflowExecutionTimedOutEventAttributes, context)
|
|
3409
3304
|
: undefined,
|
|
3410
|
-
completeWorkflowExecutionFailedEventAttributes: output.completeWorkflowExecutionFailedEventAttributes
|
|
3411
|
-
output.completeWorkflowExecutionFailedEventAttributes !== null
|
|
3305
|
+
completeWorkflowExecutionFailedEventAttributes: output.completeWorkflowExecutionFailedEventAttributes != null
|
|
3412
3306
|
? deserializeAws_json1_0CompleteWorkflowExecutionFailedEventAttributes(output.completeWorkflowExecutionFailedEventAttributes, context)
|
|
3413
3307
|
: undefined,
|
|
3414
|
-
continueAsNewWorkflowExecutionFailedEventAttributes: output.continueAsNewWorkflowExecutionFailedEventAttributes
|
|
3415
|
-
output.continueAsNewWorkflowExecutionFailedEventAttributes !== null
|
|
3308
|
+
continueAsNewWorkflowExecutionFailedEventAttributes: output.continueAsNewWorkflowExecutionFailedEventAttributes != null
|
|
3416
3309
|
? deserializeAws_json1_0ContinueAsNewWorkflowExecutionFailedEventAttributes(output.continueAsNewWorkflowExecutionFailedEventAttributes, context)
|
|
3417
3310
|
: undefined,
|
|
3418
|
-
decisionTaskCompletedEventAttributes: output.decisionTaskCompletedEventAttributes
|
|
3311
|
+
decisionTaskCompletedEventAttributes: output.decisionTaskCompletedEventAttributes != null
|
|
3419
3312
|
? deserializeAws_json1_0DecisionTaskCompletedEventAttributes(output.decisionTaskCompletedEventAttributes, context)
|
|
3420
3313
|
: undefined,
|
|
3421
|
-
decisionTaskScheduledEventAttributes: output.decisionTaskScheduledEventAttributes
|
|
3314
|
+
decisionTaskScheduledEventAttributes: output.decisionTaskScheduledEventAttributes != null
|
|
3422
3315
|
? deserializeAws_json1_0DecisionTaskScheduledEventAttributes(output.decisionTaskScheduledEventAttributes, context)
|
|
3423
3316
|
: undefined,
|
|
3424
|
-
decisionTaskStartedEventAttributes: output.decisionTaskStartedEventAttributes
|
|
3317
|
+
decisionTaskStartedEventAttributes: output.decisionTaskStartedEventAttributes != null
|
|
3425
3318
|
? deserializeAws_json1_0DecisionTaskStartedEventAttributes(output.decisionTaskStartedEventAttributes, context)
|
|
3426
3319
|
: undefined,
|
|
3427
|
-
decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes
|
|
3320
|
+
decisionTaskTimedOutEventAttributes: output.decisionTaskTimedOutEventAttributes != null
|
|
3428
3321
|
? deserializeAws_json1_0DecisionTaskTimedOutEventAttributes(output.decisionTaskTimedOutEventAttributes, context)
|
|
3429
3322
|
: undefined,
|
|
3430
3323
|
eventId: __expectLong(output.eventId),
|
|
3431
|
-
eventTimestamp: output.eventTimestamp
|
|
3324
|
+
eventTimestamp: output.eventTimestamp != null
|
|
3432
3325
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.eventTimestamp)))
|
|
3433
3326
|
: undefined,
|
|
3434
3327
|
eventType: __expectString(output.eventType),
|
|
3435
|
-
externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes
|
|
3436
|
-
output.externalWorkflowExecutionCancelRequestedEventAttributes !== null
|
|
3328
|
+
externalWorkflowExecutionCancelRequestedEventAttributes: output.externalWorkflowExecutionCancelRequestedEventAttributes != null
|
|
3437
3329
|
? deserializeAws_json1_0ExternalWorkflowExecutionCancelRequestedEventAttributes(output.externalWorkflowExecutionCancelRequestedEventAttributes, context)
|
|
3438
3330
|
: undefined,
|
|
3439
|
-
externalWorkflowExecutionSignaledEventAttributes: output.externalWorkflowExecutionSignaledEventAttributes
|
|
3440
|
-
output.externalWorkflowExecutionSignaledEventAttributes !== null
|
|
3331
|
+
externalWorkflowExecutionSignaledEventAttributes: output.externalWorkflowExecutionSignaledEventAttributes != null
|
|
3441
3332
|
? deserializeAws_json1_0ExternalWorkflowExecutionSignaledEventAttributes(output.externalWorkflowExecutionSignaledEventAttributes, context)
|
|
3442
3333
|
: undefined,
|
|
3443
|
-
failWorkflowExecutionFailedEventAttributes: output.failWorkflowExecutionFailedEventAttributes
|
|
3444
|
-
output.failWorkflowExecutionFailedEventAttributes !== null
|
|
3334
|
+
failWorkflowExecutionFailedEventAttributes: output.failWorkflowExecutionFailedEventAttributes != null
|
|
3445
3335
|
? deserializeAws_json1_0FailWorkflowExecutionFailedEventAttributes(output.failWorkflowExecutionFailedEventAttributes, context)
|
|
3446
3336
|
: undefined,
|
|
3447
|
-
lambdaFunctionCompletedEventAttributes: output.lambdaFunctionCompletedEventAttributes
|
|
3448
|
-
output.lambdaFunctionCompletedEventAttributes !== null
|
|
3337
|
+
lambdaFunctionCompletedEventAttributes: output.lambdaFunctionCompletedEventAttributes != null
|
|
3449
3338
|
? deserializeAws_json1_0LambdaFunctionCompletedEventAttributes(output.lambdaFunctionCompletedEventAttributes, context)
|
|
3450
3339
|
: undefined,
|
|
3451
|
-
lambdaFunctionFailedEventAttributes: output.lambdaFunctionFailedEventAttributes
|
|
3340
|
+
lambdaFunctionFailedEventAttributes: output.lambdaFunctionFailedEventAttributes != null
|
|
3452
3341
|
? deserializeAws_json1_0LambdaFunctionFailedEventAttributes(output.lambdaFunctionFailedEventAttributes, context)
|
|
3453
3342
|
: undefined,
|
|
3454
|
-
lambdaFunctionScheduledEventAttributes: output.lambdaFunctionScheduledEventAttributes
|
|
3455
|
-
output.lambdaFunctionScheduledEventAttributes !== null
|
|
3343
|
+
lambdaFunctionScheduledEventAttributes: output.lambdaFunctionScheduledEventAttributes != null
|
|
3456
3344
|
? deserializeAws_json1_0LambdaFunctionScheduledEventAttributes(output.lambdaFunctionScheduledEventAttributes, context)
|
|
3457
3345
|
: undefined,
|
|
3458
|
-
lambdaFunctionStartedEventAttributes: output.lambdaFunctionStartedEventAttributes
|
|
3346
|
+
lambdaFunctionStartedEventAttributes: output.lambdaFunctionStartedEventAttributes != null
|
|
3459
3347
|
? deserializeAws_json1_0LambdaFunctionStartedEventAttributes(output.lambdaFunctionStartedEventAttributes, context)
|
|
3460
3348
|
: undefined,
|
|
3461
|
-
lambdaFunctionTimedOutEventAttributes: output.lambdaFunctionTimedOutEventAttributes
|
|
3462
|
-
output.lambdaFunctionTimedOutEventAttributes !== null
|
|
3349
|
+
lambdaFunctionTimedOutEventAttributes: output.lambdaFunctionTimedOutEventAttributes != null
|
|
3463
3350
|
? deserializeAws_json1_0LambdaFunctionTimedOutEventAttributes(output.lambdaFunctionTimedOutEventAttributes, context)
|
|
3464
3351
|
: undefined,
|
|
3465
|
-
markerRecordedEventAttributes: output.markerRecordedEventAttributes
|
|
3352
|
+
markerRecordedEventAttributes: output.markerRecordedEventAttributes != null
|
|
3466
3353
|
? deserializeAws_json1_0MarkerRecordedEventAttributes(output.markerRecordedEventAttributes, context)
|
|
3467
3354
|
: undefined,
|
|
3468
|
-
recordMarkerFailedEventAttributes: output.recordMarkerFailedEventAttributes
|
|
3355
|
+
recordMarkerFailedEventAttributes: output.recordMarkerFailedEventAttributes != null
|
|
3469
3356
|
? deserializeAws_json1_0RecordMarkerFailedEventAttributes(output.recordMarkerFailedEventAttributes, context)
|
|
3470
3357
|
: undefined,
|
|
3471
|
-
requestCancelActivityTaskFailedEventAttributes: output.requestCancelActivityTaskFailedEventAttributes
|
|
3472
|
-
output.requestCancelActivityTaskFailedEventAttributes !== null
|
|
3358
|
+
requestCancelActivityTaskFailedEventAttributes: output.requestCancelActivityTaskFailedEventAttributes != null
|
|
3473
3359
|
? deserializeAws_json1_0RequestCancelActivityTaskFailedEventAttributes(output.requestCancelActivityTaskFailedEventAttributes, context)
|
|
3474
3360
|
: undefined,
|
|
3475
|
-
requestCancelExternalWorkflowExecutionFailedEventAttributes: output.requestCancelExternalWorkflowExecutionFailedEventAttributes
|
|
3476
|
-
output.requestCancelExternalWorkflowExecutionFailedEventAttributes !== null
|
|
3361
|
+
requestCancelExternalWorkflowExecutionFailedEventAttributes: output.requestCancelExternalWorkflowExecutionFailedEventAttributes != null
|
|
3477
3362
|
? deserializeAws_json1_0RequestCancelExternalWorkflowExecutionFailedEventAttributes(output.requestCancelExternalWorkflowExecutionFailedEventAttributes, context)
|
|
3478
3363
|
: undefined,
|
|
3479
|
-
requestCancelExternalWorkflowExecutionInitiatedEventAttributes: output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes
|
|
3480
|
-
output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes !== null
|
|
3364
|
+
requestCancelExternalWorkflowExecutionInitiatedEventAttributes: output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes != null
|
|
3481
3365
|
? deserializeAws_json1_0RequestCancelExternalWorkflowExecutionInitiatedEventAttributes(output.requestCancelExternalWorkflowExecutionInitiatedEventAttributes, context)
|
|
3482
3366
|
: undefined,
|
|
3483
|
-
scheduleActivityTaskFailedEventAttributes: output.scheduleActivityTaskFailedEventAttributes
|
|
3484
|
-
output.scheduleActivityTaskFailedEventAttributes !== null
|
|
3367
|
+
scheduleActivityTaskFailedEventAttributes: output.scheduleActivityTaskFailedEventAttributes != null
|
|
3485
3368
|
? deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes(output.scheduleActivityTaskFailedEventAttributes, context)
|
|
3486
3369
|
: undefined,
|
|
3487
|
-
scheduleLambdaFunctionFailedEventAttributes: output.scheduleLambdaFunctionFailedEventAttributes
|
|
3488
|
-
output.scheduleLambdaFunctionFailedEventAttributes !== null
|
|
3370
|
+
scheduleLambdaFunctionFailedEventAttributes: output.scheduleLambdaFunctionFailedEventAttributes != null
|
|
3489
3371
|
? deserializeAws_json1_0ScheduleLambdaFunctionFailedEventAttributes(output.scheduleLambdaFunctionFailedEventAttributes, context)
|
|
3490
3372
|
: undefined,
|
|
3491
|
-
signalExternalWorkflowExecutionFailedEventAttributes: output.signalExternalWorkflowExecutionFailedEventAttributes
|
|
3492
|
-
output.signalExternalWorkflowExecutionFailedEventAttributes !== null
|
|
3373
|
+
signalExternalWorkflowExecutionFailedEventAttributes: output.signalExternalWorkflowExecutionFailedEventAttributes != null
|
|
3493
3374
|
? deserializeAws_json1_0SignalExternalWorkflowExecutionFailedEventAttributes(output.signalExternalWorkflowExecutionFailedEventAttributes, context)
|
|
3494
3375
|
: undefined,
|
|
3495
|
-
signalExternalWorkflowExecutionInitiatedEventAttributes: output.signalExternalWorkflowExecutionInitiatedEventAttributes
|
|
3496
|
-
output.signalExternalWorkflowExecutionInitiatedEventAttributes !== null
|
|
3376
|
+
signalExternalWorkflowExecutionInitiatedEventAttributes: output.signalExternalWorkflowExecutionInitiatedEventAttributes != null
|
|
3497
3377
|
? deserializeAws_json1_0SignalExternalWorkflowExecutionInitiatedEventAttributes(output.signalExternalWorkflowExecutionInitiatedEventAttributes, context)
|
|
3498
3378
|
: undefined,
|
|
3499
|
-
startChildWorkflowExecutionFailedEventAttributes: output.startChildWorkflowExecutionFailedEventAttributes
|
|
3500
|
-
output.startChildWorkflowExecutionFailedEventAttributes !== null
|
|
3379
|
+
startChildWorkflowExecutionFailedEventAttributes: output.startChildWorkflowExecutionFailedEventAttributes != null
|
|
3501
3380
|
? deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes(output.startChildWorkflowExecutionFailedEventAttributes, context)
|
|
3502
3381
|
: undefined,
|
|
3503
|
-
startChildWorkflowExecutionInitiatedEventAttributes: output.startChildWorkflowExecutionInitiatedEventAttributes
|
|
3504
|
-
output.startChildWorkflowExecutionInitiatedEventAttributes !== null
|
|
3382
|
+
startChildWorkflowExecutionInitiatedEventAttributes: output.startChildWorkflowExecutionInitiatedEventAttributes != null
|
|
3505
3383
|
? deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes(output.startChildWorkflowExecutionInitiatedEventAttributes, context)
|
|
3506
3384
|
: undefined,
|
|
3507
|
-
startLambdaFunctionFailedEventAttributes: output.startLambdaFunctionFailedEventAttributes
|
|
3508
|
-
output.startLambdaFunctionFailedEventAttributes !== null
|
|
3385
|
+
startLambdaFunctionFailedEventAttributes: output.startLambdaFunctionFailedEventAttributes != null
|
|
3509
3386
|
? deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes(output.startLambdaFunctionFailedEventAttributes, context)
|
|
3510
3387
|
: undefined,
|
|
3511
|
-
startTimerFailedEventAttributes: output.startTimerFailedEventAttributes
|
|
3388
|
+
startTimerFailedEventAttributes: output.startTimerFailedEventAttributes != null
|
|
3512
3389
|
? deserializeAws_json1_0StartTimerFailedEventAttributes(output.startTimerFailedEventAttributes, context)
|
|
3513
3390
|
: undefined,
|
|
3514
|
-
timerCanceledEventAttributes: output.timerCanceledEventAttributes
|
|
3391
|
+
timerCanceledEventAttributes: output.timerCanceledEventAttributes != null
|
|
3515
3392
|
? deserializeAws_json1_0TimerCanceledEventAttributes(output.timerCanceledEventAttributes, context)
|
|
3516
3393
|
: undefined,
|
|
3517
|
-
timerFiredEventAttributes: output.timerFiredEventAttributes
|
|
3394
|
+
timerFiredEventAttributes: output.timerFiredEventAttributes != null
|
|
3518
3395
|
? deserializeAws_json1_0TimerFiredEventAttributes(output.timerFiredEventAttributes, context)
|
|
3519
3396
|
: undefined,
|
|
3520
|
-
timerStartedEventAttributes: output.timerStartedEventAttributes
|
|
3397
|
+
timerStartedEventAttributes: output.timerStartedEventAttributes != null
|
|
3521
3398
|
? deserializeAws_json1_0TimerStartedEventAttributes(output.timerStartedEventAttributes, context)
|
|
3522
3399
|
: undefined,
|
|
3523
|
-
workflowExecutionCancelRequestedEventAttributes: output.workflowExecutionCancelRequestedEventAttributes
|
|
3524
|
-
output.workflowExecutionCancelRequestedEventAttributes !== null
|
|
3400
|
+
workflowExecutionCancelRequestedEventAttributes: output.workflowExecutionCancelRequestedEventAttributes != null
|
|
3525
3401
|
? deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes(output.workflowExecutionCancelRequestedEventAttributes, context)
|
|
3526
3402
|
: undefined,
|
|
3527
|
-
workflowExecutionCanceledEventAttributes: output.workflowExecutionCanceledEventAttributes
|
|
3528
|
-
output.workflowExecutionCanceledEventAttributes !== null
|
|
3403
|
+
workflowExecutionCanceledEventAttributes: output.workflowExecutionCanceledEventAttributes != null
|
|
3529
3404
|
? deserializeAws_json1_0WorkflowExecutionCanceledEventAttributes(output.workflowExecutionCanceledEventAttributes, context)
|
|
3530
3405
|
: undefined,
|
|
3531
|
-
workflowExecutionCompletedEventAttributes: output.workflowExecutionCompletedEventAttributes
|
|
3532
|
-
output.workflowExecutionCompletedEventAttributes !== null
|
|
3406
|
+
workflowExecutionCompletedEventAttributes: output.workflowExecutionCompletedEventAttributes != null
|
|
3533
3407
|
? deserializeAws_json1_0WorkflowExecutionCompletedEventAttributes(output.workflowExecutionCompletedEventAttributes, context)
|
|
3534
3408
|
: undefined,
|
|
3535
|
-
workflowExecutionContinuedAsNewEventAttributes: output.workflowExecutionContinuedAsNewEventAttributes
|
|
3536
|
-
output.workflowExecutionContinuedAsNewEventAttributes !== null
|
|
3409
|
+
workflowExecutionContinuedAsNewEventAttributes: output.workflowExecutionContinuedAsNewEventAttributes != null
|
|
3537
3410
|
? deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes(output.workflowExecutionContinuedAsNewEventAttributes, context)
|
|
3538
3411
|
: undefined,
|
|
3539
|
-
workflowExecutionFailedEventAttributes: output.workflowExecutionFailedEventAttributes
|
|
3540
|
-
output.workflowExecutionFailedEventAttributes !== null
|
|
3412
|
+
workflowExecutionFailedEventAttributes: output.workflowExecutionFailedEventAttributes != null
|
|
3541
3413
|
? deserializeAws_json1_0WorkflowExecutionFailedEventAttributes(output.workflowExecutionFailedEventAttributes, context)
|
|
3542
3414
|
: undefined,
|
|
3543
|
-
workflowExecutionSignaledEventAttributes: output.workflowExecutionSignaledEventAttributes
|
|
3544
|
-
output.workflowExecutionSignaledEventAttributes !== null
|
|
3415
|
+
workflowExecutionSignaledEventAttributes: output.workflowExecutionSignaledEventAttributes != null
|
|
3545
3416
|
? deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes(output.workflowExecutionSignaledEventAttributes, context)
|
|
3546
3417
|
: undefined,
|
|
3547
|
-
workflowExecutionStartedEventAttributes: output.workflowExecutionStartedEventAttributes
|
|
3548
|
-
output.workflowExecutionStartedEventAttributes !== null
|
|
3418
|
+
workflowExecutionStartedEventAttributes: output.workflowExecutionStartedEventAttributes != null
|
|
3549
3419
|
? deserializeAws_json1_0WorkflowExecutionStartedEventAttributes(output.workflowExecutionStartedEventAttributes, context)
|
|
3550
3420
|
: undefined,
|
|
3551
|
-
workflowExecutionTerminatedEventAttributes: output.workflowExecutionTerminatedEventAttributes
|
|
3552
|
-
output.workflowExecutionTerminatedEventAttributes !== null
|
|
3421
|
+
workflowExecutionTerminatedEventAttributes: output.workflowExecutionTerminatedEventAttributes != null
|
|
3553
3422
|
? deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes(output.workflowExecutionTerminatedEventAttributes, context)
|
|
3554
3423
|
: undefined,
|
|
3555
|
-
workflowExecutionTimedOutEventAttributes: output.workflowExecutionTimedOutEventAttributes
|
|
3556
|
-
output.workflowExecutionTimedOutEventAttributes !== null
|
|
3424
|
+
workflowExecutionTimedOutEventAttributes: output.workflowExecutionTimedOutEventAttributes != null
|
|
3557
3425
|
? deserializeAws_json1_0WorkflowExecutionTimedOutEventAttributes(output.workflowExecutionTimedOutEventAttributes, context)
|
|
3558
3426
|
: undefined,
|
|
3559
3427
|
};
|
|
@@ -3613,9 +3481,7 @@ var deserializeAws_json1_0LimitExceededFault = function (output, context) {
|
|
|
3613
3481
|
};
|
|
3614
3482
|
var deserializeAws_json1_0ListTagsForResourceOutput = function (output, context) {
|
|
3615
3483
|
return {
|
|
3616
|
-
tags: output.tags
|
|
3617
|
-
? deserializeAws_json1_0ResourceTagList(output.tags, context)
|
|
3618
|
-
: undefined,
|
|
3484
|
+
tags: output.tags != null ? deserializeAws_json1_0ResourceTagList(output.tags, context) : undefined,
|
|
3619
3485
|
};
|
|
3620
3486
|
};
|
|
3621
3487
|
var deserializeAws_json1_0MarkerRecordedEventAttributes = function (output, context) {
|
|
@@ -3693,9 +3559,7 @@ var deserializeAws_json1_0Run = function (output, context) {
|
|
|
3693
3559
|
var deserializeAws_json1_0ScheduleActivityTaskFailedEventAttributes = function (output, context) {
|
|
3694
3560
|
return {
|
|
3695
3561
|
activityId: __expectString(output.activityId),
|
|
3696
|
-
activityType: output.activityType
|
|
3697
|
-
? deserializeAws_json1_0ActivityType(output.activityType, context)
|
|
3698
|
-
: undefined,
|
|
3562
|
+
activityType: output.activityType != null ? deserializeAws_json1_0ActivityType(output.activityType, context) : undefined,
|
|
3699
3563
|
cause: __expectString(output.cause),
|
|
3700
3564
|
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
3701
3565
|
};
|
|
@@ -3735,9 +3599,7 @@ var deserializeAws_json1_0StartChildWorkflowExecutionFailedEventAttributes = fun
|
|
|
3735
3599
|
decisionTaskCompletedEventId: __expectLong(output.decisionTaskCompletedEventId),
|
|
3736
3600
|
initiatedEventId: __expectLong(output.initiatedEventId),
|
|
3737
3601
|
workflowId: __expectString(output.workflowId),
|
|
3738
|
-
workflowType: output.workflowType
|
|
3739
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3740
|
-
: undefined,
|
|
3602
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3741
3603
|
};
|
|
3742
3604
|
};
|
|
3743
3605
|
var deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes = function (output, context) {
|
|
@@ -3748,18 +3610,12 @@ var deserializeAws_json1_0StartChildWorkflowExecutionInitiatedEventAttributes =
|
|
|
3748
3610
|
executionStartToCloseTimeout: __expectString(output.executionStartToCloseTimeout),
|
|
3749
3611
|
input: __expectString(output.input),
|
|
3750
3612
|
lambdaRole: __expectString(output.lambdaRole),
|
|
3751
|
-
tagList: output.tagList
|
|
3752
|
-
|
|
3753
|
-
: undefined,
|
|
3754
|
-
taskList: output.taskList !== undefined && output.taskList !== null
|
|
3755
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3756
|
-
: undefined,
|
|
3613
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3614
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3757
3615
|
taskPriority: __expectString(output.taskPriority),
|
|
3758
3616
|
taskStartToCloseTimeout: __expectString(output.taskStartToCloseTimeout),
|
|
3759
3617
|
workflowId: __expectString(output.workflowId),
|
|
3760
|
-
workflowType: output.workflowType
|
|
3761
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3762
|
-
: undefined,
|
|
3618
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3763
3619
|
};
|
|
3764
3620
|
};
|
|
3765
3621
|
var deserializeAws_json1_0StartLambdaFunctionFailedEventAttributes = function (output, context) {
|
|
@@ -3854,7 +3710,7 @@ var deserializeAws_json1_0WorkflowExecutionCancelRequestedEventAttributes = func
|
|
|
3854
3710
|
return {
|
|
3855
3711
|
cause: __expectString(output.cause),
|
|
3856
3712
|
externalInitiatedEventId: __expectLong(output.externalInitiatedEventId),
|
|
3857
|
-
externalWorkflowExecution: output.externalWorkflowExecution
|
|
3713
|
+
externalWorkflowExecution: output.externalWorkflowExecution != null
|
|
3858
3714
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
3859
3715
|
: undefined,
|
|
3860
3716
|
};
|
|
@@ -3870,9 +3726,7 @@ var deserializeAws_json1_0WorkflowExecutionConfiguration = function (output, con
|
|
|
3870
3726
|
childPolicy: __expectString(output.childPolicy),
|
|
3871
3727
|
executionStartToCloseTimeout: __expectString(output.executionStartToCloseTimeout),
|
|
3872
3728
|
lambdaRole: __expectString(output.lambdaRole),
|
|
3873
|
-
taskList: output.taskList
|
|
3874
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3875
|
-
: undefined,
|
|
3729
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3876
3730
|
taskPriority: __expectString(output.taskPriority),
|
|
3877
3731
|
taskStartToCloseTimeout: __expectString(output.taskStartToCloseTimeout),
|
|
3878
3732
|
};
|
|
@@ -3885,17 +3739,11 @@ var deserializeAws_json1_0WorkflowExecutionContinuedAsNewEventAttributes = funct
|
|
|
3885
3739
|
input: __expectString(output.input),
|
|
3886
3740
|
lambdaRole: __expectString(output.lambdaRole),
|
|
3887
3741
|
newExecutionRunId: __expectString(output.newExecutionRunId),
|
|
3888
|
-
tagList: output.tagList
|
|
3889
|
-
|
|
3890
|
-
: undefined,
|
|
3891
|
-
taskList: output.taskList !== undefined && output.taskList !== null
|
|
3892
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
3893
|
-
: undefined,
|
|
3742
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3743
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
3894
3744
|
taskPriority: __expectString(output.taskPriority),
|
|
3895
3745
|
taskStartToCloseTimeout: __expectString(output.taskStartToCloseTimeout),
|
|
3896
|
-
workflowType: output.workflowType
|
|
3897
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3898
|
-
: undefined,
|
|
3746
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3899
3747
|
};
|
|
3900
3748
|
};
|
|
3901
3749
|
var deserializeAws_json1_0WorkflowExecutionCount = function (output, context) {
|
|
@@ -3906,17 +3754,17 @@ var deserializeAws_json1_0WorkflowExecutionCount = function (output, context) {
|
|
|
3906
3754
|
};
|
|
3907
3755
|
var deserializeAws_json1_0WorkflowExecutionDetail = function (output, context) {
|
|
3908
3756
|
return {
|
|
3909
|
-
executionConfiguration: output.executionConfiguration
|
|
3757
|
+
executionConfiguration: output.executionConfiguration != null
|
|
3910
3758
|
? deserializeAws_json1_0WorkflowExecutionConfiguration(output.executionConfiguration, context)
|
|
3911
3759
|
: undefined,
|
|
3912
|
-
executionInfo: output.executionInfo
|
|
3760
|
+
executionInfo: output.executionInfo != null
|
|
3913
3761
|
? deserializeAws_json1_0WorkflowExecutionInfo(output.executionInfo, context)
|
|
3914
3762
|
: undefined,
|
|
3915
|
-
latestActivityTaskTimestamp: output.latestActivityTaskTimestamp
|
|
3763
|
+
latestActivityTaskTimestamp: output.latestActivityTaskTimestamp != null
|
|
3916
3764
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.latestActivityTaskTimestamp)))
|
|
3917
3765
|
: undefined,
|
|
3918
3766
|
latestExecutionContext: __expectString(output.latestExecutionContext),
|
|
3919
|
-
openCounts: output.openCounts
|
|
3767
|
+
openCounts: output.openCounts != null
|
|
3920
3768
|
? deserializeAws_json1_0WorkflowExecutionOpenCounts(output.openCounts, context)
|
|
3921
3769
|
: undefined,
|
|
3922
3770
|
};
|
|
@@ -3932,25 +3780,17 @@ var deserializeAws_json1_0WorkflowExecutionInfo = function (output, context) {
|
|
|
3932
3780
|
return {
|
|
3933
3781
|
cancelRequested: __expectBoolean(output.cancelRequested),
|
|
3934
3782
|
closeStatus: __expectString(output.closeStatus),
|
|
3935
|
-
closeTimestamp: output.closeTimestamp
|
|
3783
|
+
closeTimestamp: output.closeTimestamp != null
|
|
3936
3784
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.closeTimestamp)))
|
|
3937
3785
|
: undefined,
|
|
3938
|
-
execution: output.execution
|
|
3939
|
-
? deserializeAws_json1_0WorkflowExecution(output.execution, context)
|
|
3940
|
-
: undefined,
|
|
3786
|
+
execution: output.execution != null ? deserializeAws_json1_0WorkflowExecution(output.execution, context) : undefined,
|
|
3941
3787
|
executionStatus: __expectString(output.executionStatus),
|
|
3942
|
-
parent: output.parent
|
|
3943
|
-
|
|
3944
|
-
: undefined,
|
|
3945
|
-
startTimestamp: output.startTimestamp !== undefined && output.startTimestamp !== null
|
|
3788
|
+
parent: output.parent != null ? deserializeAws_json1_0WorkflowExecution(output.parent, context) : undefined,
|
|
3789
|
+
startTimestamp: output.startTimestamp != null
|
|
3946
3790
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTimestamp)))
|
|
3947
3791
|
: undefined,
|
|
3948
|
-
tagList: output.tagList
|
|
3949
|
-
|
|
3950
|
-
: undefined,
|
|
3951
|
-
workflowType: output.workflowType !== undefined && output.workflowType !== null
|
|
3952
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
3953
|
-
: undefined,
|
|
3792
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3793
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
3954
3794
|
};
|
|
3955
3795
|
};
|
|
3956
3796
|
var deserializeAws_json1_0WorkflowExecutionInfoList = function (output, context) {
|
|
@@ -3966,7 +3806,7 @@ var deserializeAws_json1_0WorkflowExecutionInfoList = function (output, context)
|
|
|
3966
3806
|
};
|
|
3967
3807
|
var deserializeAws_json1_0WorkflowExecutionInfos = function (output, context) {
|
|
3968
3808
|
return {
|
|
3969
|
-
executionInfos: output.executionInfos
|
|
3809
|
+
executionInfos: output.executionInfos != null
|
|
3970
3810
|
? deserializeAws_json1_0WorkflowExecutionInfoList(output.executionInfos, context)
|
|
3971
3811
|
: undefined,
|
|
3972
3812
|
nextPageToken: __expectString(output.nextPageToken),
|
|
@@ -3984,7 +3824,7 @@ var deserializeAws_json1_0WorkflowExecutionOpenCounts = function (output, contex
|
|
|
3984
3824
|
var deserializeAws_json1_0WorkflowExecutionSignaledEventAttributes = function (output, context) {
|
|
3985
3825
|
return {
|
|
3986
3826
|
externalInitiatedEventId: __expectLong(output.externalInitiatedEventId),
|
|
3987
|
-
externalWorkflowExecution: output.externalWorkflowExecution
|
|
3827
|
+
externalWorkflowExecution: output.externalWorkflowExecution != null
|
|
3988
3828
|
? deserializeAws_json1_0WorkflowExecution(output.externalWorkflowExecution, context)
|
|
3989
3829
|
: undefined,
|
|
3990
3830
|
input: __expectString(output.input),
|
|
@@ -3999,20 +3839,14 @@ var deserializeAws_json1_0WorkflowExecutionStartedEventAttributes = function (ou
|
|
|
3999
3839
|
input: __expectString(output.input),
|
|
4000
3840
|
lambdaRole: __expectString(output.lambdaRole),
|
|
4001
3841
|
parentInitiatedEventId: __expectLong(output.parentInitiatedEventId),
|
|
4002
|
-
parentWorkflowExecution: output.parentWorkflowExecution
|
|
3842
|
+
parentWorkflowExecution: output.parentWorkflowExecution != null
|
|
4003
3843
|
? deserializeAws_json1_0WorkflowExecution(output.parentWorkflowExecution, context)
|
|
4004
3844
|
: undefined,
|
|
4005
|
-
tagList: output.tagList
|
|
4006
|
-
|
|
4007
|
-
: undefined,
|
|
4008
|
-
taskList: output.taskList !== undefined && output.taskList !== null
|
|
4009
|
-
? deserializeAws_json1_0TaskList(output.taskList, context)
|
|
4010
|
-
: undefined,
|
|
3845
|
+
tagList: output.tagList != null ? deserializeAws_json1_0TagList(output.tagList, context) : undefined,
|
|
3846
|
+
taskList: output.taskList != null ? deserializeAws_json1_0TaskList(output.taskList, context) : undefined,
|
|
4011
3847
|
taskPriority: __expectString(output.taskPriority),
|
|
4012
3848
|
taskStartToCloseTimeout: __expectString(output.taskStartToCloseTimeout),
|
|
4013
|
-
workflowType: output.workflowType
|
|
4014
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
4015
|
-
: undefined,
|
|
3849
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
4016
3850
|
};
|
|
4017
3851
|
};
|
|
4018
3852
|
var deserializeAws_json1_0WorkflowExecutionTerminatedEventAttributes = function (output, context) {
|
|
@@ -4040,36 +3874,30 @@ var deserializeAws_json1_0WorkflowTypeConfiguration = function (output, context)
|
|
|
4040
3874
|
defaultChildPolicy: __expectString(output.defaultChildPolicy),
|
|
4041
3875
|
defaultExecutionStartToCloseTimeout: __expectString(output.defaultExecutionStartToCloseTimeout),
|
|
4042
3876
|
defaultLambdaRole: __expectString(output.defaultLambdaRole),
|
|
4043
|
-
defaultTaskList: output.defaultTaskList
|
|
4044
|
-
? deserializeAws_json1_0TaskList(output.defaultTaskList, context)
|
|
4045
|
-
: undefined,
|
|
3877
|
+
defaultTaskList: output.defaultTaskList != null ? deserializeAws_json1_0TaskList(output.defaultTaskList, context) : undefined,
|
|
4046
3878
|
defaultTaskPriority: __expectString(output.defaultTaskPriority),
|
|
4047
3879
|
defaultTaskStartToCloseTimeout: __expectString(output.defaultTaskStartToCloseTimeout),
|
|
4048
3880
|
};
|
|
4049
3881
|
};
|
|
4050
3882
|
var deserializeAws_json1_0WorkflowTypeDetail = function (output, context) {
|
|
4051
3883
|
return {
|
|
4052
|
-
configuration: output.configuration
|
|
3884
|
+
configuration: output.configuration != null
|
|
4053
3885
|
? deserializeAws_json1_0WorkflowTypeConfiguration(output.configuration, context)
|
|
4054
3886
|
: undefined,
|
|
4055
|
-
typeInfo: output.typeInfo
|
|
4056
|
-
? deserializeAws_json1_0WorkflowTypeInfo(output.typeInfo, context)
|
|
4057
|
-
: undefined,
|
|
3887
|
+
typeInfo: output.typeInfo != null ? deserializeAws_json1_0WorkflowTypeInfo(output.typeInfo, context) : undefined,
|
|
4058
3888
|
};
|
|
4059
3889
|
};
|
|
4060
3890
|
var deserializeAws_json1_0WorkflowTypeInfo = function (output, context) {
|
|
4061
3891
|
return {
|
|
4062
|
-
creationDate: output.creationDate
|
|
3892
|
+
creationDate: output.creationDate != null
|
|
4063
3893
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
4064
3894
|
: undefined,
|
|
4065
|
-
deprecationDate: output.deprecationDate
|
|
3895
|
+
deprecationDate: output.deprecationDate != null
|
|
4066
3896
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.deprecationDate)))
|
|
4067
3897
|
: undefined,
|
|
4068
3898
|
description: __expectString(output.description),
|
|
4069
3899
|
status: __expectString(output.status),
|
|
4070
|
-
workflowType: output.workflowType
|
|
4071
|
-
? deserializeAws_json1_0WorkflowType(output.workflowType, context)
|
|
4072
|
-
: undefined,
|
|
3900
|
+
workflowType: output.workflowType != null ? deserializeAws_json1_0WorkflowType(output.workflowType, context) : undefined,
|
|
4073
3901
|
};
|
|
4074
3902
|
};
|
|
4075
3903
|
var deserializeAws_json1_0WorkflowTypeInfoList = function (output, context) {
|
|
@@ -4086,9 +3914,7 @@ var deserializeAws_json1_0WorkflowTypeInfoList = function (output, context) {
|
|
|
4086
3914
|
var deserializeAws_json1_0WorkflowTypeInfos = function (output, context) {
|
|
4087
3915
|
return {
|
|
4088
3916
|
nextPageToken: __expectString(output.nextPageToken),
|
|
4089
|
-
typeInfos: output.typeInfos
|
|
4090
|
-
? deserializeAws_json1_0WorkflowTypeInfoList(output.typeInfos, context)
|
|
4091
|
-
: undefined,
|
|
3917
|
+
typeInfos: output.typeInfos != null ? deserializeAws_json1_0WorkflowTypeInfoList(output.typeInfos, context) : undefined,
|
|
4092
3918
|
};
|
|
4093
3919
|
};
|
|
4094
3920
|
var deserializeMetadata = function (output) {
|
|
@@ -4165,5 +3991,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4165
3991
|
if (data["__type"] !== undefined) {
|
|
4166
3992
|
return sanitizeErrorCode(data["__type"]);
|
|
4167
3993
|
}
|
|
4168
|
-
return "";
|
|
4169
3994
|
};
|