@aws-sdk/client-sfn 3.118.0 → 3.127.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 +255 -286
- package/dist-es/protocols/Aws_json1_0.js +222 -253
- package/package.json +26 -26
|
@@ -287,7 +287,7 @@ export var deserializeAws_json1_0CreateActivityCommand = function (output, conte
|
|
|
287
287
|
});
|
|
288
288
|
}); };
|
|
289
289
|
var deserializeAws_json1_0CreateActivityCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
290
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
290
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
291
291
|
var _c;
|
|
292
292
|
return __generator(this, function (_d) {
|
|
293
293
|
switch (_d.label) {
|
|
@@ -297,7 +297,6 @@ var deserializeAws_json1_0CreateActivityCommandError = function (output, context
|
|
|
297
297
|
return [4, parseBody(output.body, context)];
|
|
298
298
|
case 1:
|
|
299
299
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
300
|
-
errorCode = "UnknownError";
|
|
301
300
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
302
301
|
_b = errorCode;
|
|
303
302
|
switch (_b) {
|
|
@@ -317,10 +316,12 @@ var deserializeAws_json1_0CreateActivityCommandError = function (output, context
|
|
|
317
316
|
case 7: throw _d.sent();
|
|
318
317
|
case 8:
|
|
319
318
|
parsedBody = parsedOutput.body;
|
|
319
|
+
$metadata = deserializeMetadata(output);
|
|
320
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
320
321
|
response = new __BaseException({
|
|
321
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
322
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
322
323
|
$fault: "client",
|
|
323
|
-
$metadata:
|
|
324
|
+
$metadata: $metadata,
|
|
324
325
|
});
|
|
325
326
|
throw __decorateServiceException(response, parsedBody);
|
|
326
327
|
}
|
|
@@ -345,7 +346,7 @@ export var deserializeAws_json1_0CreateStateMachineCommand = function (output, c
|
|
|
345
346
|
});
|
|
346
347
|
}); };
|
|
347
348
|
var deserializeAws_json1_0CreateStateMachineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
348
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
349
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
349
350
|
var _c;
|
|
350
351
|
return __generator(this, function (_d) {
|
|
351
352
|
switch (_d.label) {
|
|
@@ -355,7 +356,6 @@ var deserializeAws_json1_0CreateStateMachineCommandError = function (output, con
|
|
|
355
356
|
return [4, parseBody(output.body, context)];
|
|
356
357
|
case 1:
|
|
357
358
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
358
|
-
errorCode = "UnknownError";
|
|
359
359
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
360
360
|
_b = errorCode;
|
|
361
361
|
switch (_b) {
|
|
@@ -403,10 +403,12 @@ var deserializeAws_json1_0CreateStateMachineCommandError = function (output, con
|
|
|
403
403
|
case 21: throw _d.sent();
|
|
404
404
|
case 22:
|
|
405
405
|
parsedBody = parsedOutput.body;
|
|
406
|
+
$metadata = deserializeMetadata(output);
|
|
407
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
406
408
|
response = new __BaseException({
|
|
407
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
409
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
408
410
|
$fault: "client",
|
|
409
|
-
$metadata:
|
|
411
|
+
$metadata: $metadata,
|
|
410
412
|
});
|
|
411
413
|
throw __decorateServiceException(response, parsedBody);
|
|
412
414
|
}
|
|
@@ -431,7 +433,7 @@ export var deserializeAws_json1_0DeleteActivityCommand = function (output, conte
|
|
|
431
433
|
});
|
|
432
434
|
}); };
|
|
433
435
|
var deserializeAws_json1_0DeleteActivityCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
434
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
436
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
435
437
|
var _c;
|
|
436
438
|
return __generator(this, function (_d) {
|
|
437
439
|
switch (_d.label) {
|
|
@@ -441,7 +443,6 @@ var deserializeAws_json1_0DeleteActivityCommandError = function (output, context
|
|
|
441
443
|
return [4, parseBody(output.body, context)];
|
|
442
444
|
case 1:
|
|
443
445
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
444
|
-
errorCode = "UnknownError";
|
|
445
446
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
446
447
|
_b = errorCode;
|
|
447
448
|
switch (_b) {
|
|
@@ -453,10 +454,12 @@ var deserializeAws_json1_0DeleteActivityCommandError = function (output, context
|
|
|
453
454
|
case 3: throw _d.sent();
|
|
454
455
|
case 4:
|
|
455
456
|
parsedBody = parsedOutput.body;
|
|
457
|
+
$metadata = deserializeMetadata(output);
|
|
458
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
456
459
|
response = new __BaseException({
|
|
457
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
460
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
458
461
|
$fault: "client",
|
|
459
|
-
$metadata:
|
|
462
|
+
$metadata: $metadata,
|
|
460
463
|
});
|
|
461
464
|
throw __decorateServiceException(response, parsedBody);
|
|
462
465
|
}
|
|
@@ -481,7 +484,7 @@ export var deserializeAws_json1_0DeleteStateMachineCommand = function (output, c
|
|
|
481
484
|
});
|
|
482
485
|
}); };
|
|
483
486
|
var deserializeAws_json1_0DeleteStateMachineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
484
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
487
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
485
488
|
var _c;
|
|
486
489
|
return __generator(this, function (_d) {
|
|
487
490
|
switch (_d.label) {
|
|
@@ -491,7 +494,6 @@ var deserializeAws_json1_0DeleteStateMachineCommandError = function (output, con
|
|
|
491
494
|
return [4, parseBody(output.body, context)];
|
|
492
495
|
case 1:
|
|
493
496
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
494
|
-
errorCode = "UnknownError";
|
|
495
497
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
496
498
|
_b = errorCode;
|
|
497
499
|
switch (_b) {
|
|
@@ -503,10 +505,12 @@ var deserializeAws_json1_0DeleteStateMachineCommandError = function (output, con
|
|
|
503
505
|
case 3: throw _d.sent();
|
|
504
506
|
case 4:
|
|
505
507
|
parsedBody = parsedOutput.body;
|
|
508
|
+
$metadata = deserializeMetadata(output);
|
|
509
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
506
510
|
response = new __BaseException({
|
|
507
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
511
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
508
512
|
$fault: "client",
|
|
509
|
-
$metadata:
|
|
513
|
+
$metadata: $metadata,
|
|
510
514
|
});
|
|
511
515
|
throw __decorateServiceException(response, parsedBody);
|
|
512
516
|
}
|
|
@@ -531,7 +535,7 @@ export var deserializeAws_json1_0DescribeActivityCommand = function (output, con
|
|
|
531
535
|
});
|
|
532
536
|
}); };
|
|
533
537
|
var deserializeAws_json1_0DescribeActivityCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
534
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
538
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
535
539
|
var _c;
|
|
536
540
|
return __generator(this, function (_d) {
|
|
537
541
|
switch (_d.label) {
|
|
@@ -541,7 +545,6 @@ var deserializeAws_json1_0DescribeActivityCommandError = function (output, conte
|
|
|
541
545
|
return [4, parseBody(output.body, context)];
|
|
542
546
|
case 1:
|
|
543
547
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
544
|
-
errorCode = "UnknownError";
|
|
545
548
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
546
549
|
_b = errorCode;
|
|
547
550
|
switch (_b) {
|
|
@@ -557,10 +560,12 @@ var deserializeAws_json1_0DescribeActivityCommandError = function (output, conte
|
|
|
557
560
|
case 5: throw _d.sent();
|
|
558
561
|
case 6:
|
|
559
562
|
parsedBody = parsedOutput.body;
|
|
563
|
+
$metadata = deserializeMetadata(output);
|
|
564
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
560
565
|
response = new __BaseException({
|
|
561
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
566
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
562
567
|
$fault: "client",
|
|
563
|
-
$metadata:
|
|
568
|
+
$metadata: $metadata,
|
|
564
569
|
});
|
|
565
570
|
throw __decorateServiceException(response, parsedBody);
|
|
566
571
|
}
|
|
@@ -585,7 +590,7 @@ export var deserializeAws_json1_0DescribeExecutionCommand = function (output, co
|
|
|
585
590
|
});
|
|
586
591
|
}); };
|
|
587
592
|
var deserializeAws_json1_0DescribeExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
588
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
593
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
589
594
|
var _c;
|
|
590
595
|
return __generator(this, function (_d) {
|
|
591
596
|
switch (_d.label) {
|
|
@@ -595,7 +600,6 @@ var deserializeAws_json1_0DescribeExecutionCommandError = function (output, cont
|
|
|
595
600
|
return [4, parseBody(output.body, context)];
|
|
596
601
|
case 1:
|
|
597
602
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
598
|
-
errorCode = "UnknownError";
|
|
599
603
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
600
604
|
_b = errorCode;
|
|
601
605
|
switch (_b) {
|
|
@@ -611,10 +615,12 @@ var deserializeAws_json1_0DescribeExecutionCommandError = function (output, cont
|
|
|
611
615
|
case 5: throw _d.sent();
|
|
612
616
|
case 6:
|
|
613
617
|
parsedBody = parsedOutput.body;
|
|
618
|
+
$metadata = deserializeMetadata(output);
|
|
619
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
614
620
|
response = new __BaseException({
|
|
615
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
621
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
616
622
|
$fault: "client",
|
|
617
|
-
$metadata:
|
|
623
|
+
$metadata: $metadata,
|
|
618
624
|
});
|
|
619
625
|
throw __decorateServiceException(response, parsedBody);
|
|
620
626
|
}
|
|
@@ -639,7 +645,7 @@ export var deserializeAws_json1_0DescribeStateMachineCommand = function (output,
|
|
|
639
645
|
});
|
|
640
646
|
}); };
|
|
641
647
|
var deserializeAws_json1_0DescribeStateMachineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
642
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
648
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
643
649
|
var _c;
|
|
644
650
|
return __generator(this, function (_d) {
|
|
645
651
|
switch (_d.label) {
|
|
@@ -649,7 +655,6 @@ var deserializeAws_json1_0DescribeStateMachineCommandError = function (output, c
|
|
|
649
655
|
return [4, parseBody(output.body, context)];
|
|
650
656
|
case 1:
|
|
651
657
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
652
|
-
errorCode = "UnknownError";
|
|
653
658
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
654
659
|
_b = errorCode;
|
|
655
660
|
switch (_b) {
|
|
@@ -665,10 +670,12 @@ var deserializeAws_json1_0DescribeStateMachineCommandError = function (output, c
|
|
|
665
670
|
case 5: throw _d.sent();
|
|
666
671
|
case 6:
|
|
667
672
|
parsedBody = parsedOutput.body;
|
|
673
|
+
$metadata = deserializeMetadata(output);
|
|
674
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
668
675
|
response = new __BaseException({
|
|
669
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
676
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
670
677
|
$fault: "client",
|
|
671
|
-
$metadata:
|
|
678
|
+
$metadata: $metadata,
|
|
672
679
|
});
|
|
673
680
|
throw __decorateServiceException(response, parsedBody);
|
|
674
681
|
}
|
|
@@ -693,7 +700,7 @@ export var deserializeAws_json1_0DescribeStateMachineForExecutionCommand = funct
|
|
|
693
700
|
});
|
|
694
701
|
}); };
|
|
695
702
|
var deserializeAws_json1_0DescribeStateMachineForExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
696
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
703
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
697
704
|
var _c;
|
|
698
705
|
return __generator(this, function (_d) {
|
|
699
706
|
switch (_d.label) {
|
|
@@ -703,7 +710,6 @@ var deserializeAws_json1_0DescribeStateMachineForExecutionCommandError = functio
|
|
|
703
710
|
return [4, parseBody(output.body, context)];
|
|
704
711
|
case 1:
|
|
705
712
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
706
|
-
errorCode = "UnknownError";
|
|
707
713
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
708
714
|
_b = errorCode;
|
|
709
715
|
switch (_b) {
|
|
@@ -719,10 +725,12 @@ var deserializeAws_json1_0DescribeStateMachineForExecutionCommandError = functio
|
|
|
719
725
|
case 5: throw _d.sent();
|
|
720
726
|
case 6:
|
|
721
727
|
parsedBody = parsedOutput.body;
|
|
728
|
+
$metadata = deserializeMetadata(output);
|
|
729
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
722
730
|
response = new __BaseException({
|
|
723
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
731
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
724
732
|
$fault: "client",
|
|
725
|
-
$metadata:
|
|
733
|
+
$metadata: $metadata,
|
|
726
734
|
});
|
|
727
735
|
throw __decorateServiceException(response, parsedBody);
|
|
728
736
|
}
|
|
@@ -747,7 +755,7 @@ export var deserializeAws_json1_0GetActivityTaskCommand = function (output, cont
|
|
|
747
755
|
});
|
|
748
756
|
}); };
|
|
749
757
|
var deserializeAws_json1_0GetActivityTaskCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
750
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
758
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
751
759
|
var _c;
|
|
752
760
|
return __generator(this, function (_d) {
|
|
753
761
|
switch (_d.label) {
|
|
@@ -757,7 +765,6 @@ var deserializeAws_json1_0GetActivityTaskCommandError = function (output, contex
|
|
|
757
765
|
return [4, parseBody(output.body, context)];
|
|
758
766
|
case 1:
|
|
759
767
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
760
|
-
errorCode = "UnknownError";
|
|
761
768
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
762
769
|
_b = errorCode;
|
|
763
770
|
switch (_b) {
|
|
@@ -777,10 +784,12 @@ var deserializeAws_json1_0GetActivityTaskCommandError = function (output, contex
|
|
|
777
784
|
case 7: throw _d.sent();
|
|
778
785
|
case 8:
|
|
779
786
|
parsedBody = parsedOutput.body;
|
|
787
|
+
$metadata = deserializeMetadata(output);
|
|
788
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
780
789
|
response = new __BaseException({
|
|
781
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
790
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
782
791
|
$fault: "client",
|
|
783
|
-
$metadata:
|
|
792
|
+
$metadata: $metadata,
|
|
784
793
|
});
|
|
785
794
|
throw __decorateServiceException(response, parsedBody);
|
|
786
795
|
}
|
|
@@ -805,7 +814,7 @@ export var deserializeAws_json1_0GetExecutionHistoryCommand = function (output,
|
|
|
805
814
|
});
|
|
806
815
|
}); };
|
|
807
816
|
var deserializeAws_json1_0GetExecutionHistoryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
808
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
817
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
809
818
|
var _c;
|
|
810
819
|
return __generator(this, function (_d) {
|
|
811
820
|
switch (_d.label) {
|
|
@@ -815,7 +824,6 @@ var deserializeAws_json1_0GetExecutionHistoryCommandError = function (output, co
|
|
|
815
824
|
return [4, parseBody(output.body, context)];
|
|
816
825
|
case 1:
|
|
817
826
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
818
|
-
errorCode = "UnknownError";
|
|
819
827
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
820
828
|
_b = errorCode;
|
|
821
829
|
switch (_b) {
|
|
@@ -835,10 +843,12 @@ var deserializeAws_json1_0GetExecutionHistoryCommandError = function (output, co
|
|
|
835
843
|
case 7: throw _d.sent();
|
|
836
844
|
case 8:
|
|
837
845
|
parsedBody = parsedOutput.body;
|
|
846
|
+
$metadata = deserializeMetadata(output);
|
|
847
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
838
848
|
response = new __BaseException({
|
|
839
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
849
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
840
850
|
$fault: "client",
|
|
841
|
-
$metadata:
|
|
851
|
+
$metadata: $metadata,
|
|
842
852
|
});
|
|
843
853
|
throw __decorateServiceException(response, parsedBody);
|
|
844
854
|
}
|
|
@@ -863,7 +873,7 @@ export var deserializeAws_json1_0ListActivitiesCommand = function (output, conte
|
|
|
863
873
|
});
|
|
864
874
|
}); };
|
|
865
875
|
var deserializeAws_json1_0ListActivitiesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
866
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
876
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
867
877
|
var _c;
|
|
868
878
|
return __generator(this, function (_d) {
|
|
869
879
|
switch (_d.label) {
|
|
@@ -873,7 +883,6 @@ var deserializeAws_json1_0ListActivitiesCommandError = function (output, context
|
|
|
873
883
|
return [4, parseBody(output.body, context)];
|
|
874
884
|
case 1:
|
|
875
885
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
876
|
-
errorCode = "UnknownError";
|
|
877
886
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
878
887
|
_b = errorCode;
|
|
879
888
|
switch (_b) {
|
|
@@ -885,10 +894,12 @@ var deserializeAws_json1_0ListActivitiesCommandError = function (output, context
|
|
|
885
894
|
case 3: throw _d.sent();
|
|
886
895
|
case 4:
|
|
887
896
|
parsedBody = parsedOutput.body;
|
|
897
|
+
$metadata = deserializeMetadata(output);
|
|
898
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
888
899
|
response = new __BaseException({
|
|
889
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
900
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
890
901
|
$fault: "client",
|
|
891
|
-
$metadata:
|
|
902
|
+
$metadata: $metadata,
|
|
892
903
|
});
|
|
893
904
|
throw __decorateServiceException(response, parsedBody);
|
|
894
905
|
}
|
|
@@ -913,7 +924,7 @@ export var deserializeAws_json1_0ListExecutionsCommand = function (output, conte
|
|
|
913
924
|
});
|
|
914
925
|
}); };
|
|
915
926
|
var deserializeAws_json1_0ListExecutionsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
916
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
927
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
917
928
|
var _c;
|
|
918
929
|
return __generator(this, function (_d) {
|
|
919
930
|
switch (_d.label) {
|
|
@@ -923,7 +934,6 @@ var deserializeAws_json1_0ListExecutionsCommandError = function (output, context
|
|
|
923
934
|
return [4, parseBody(output.body, context)];
|
|
924
935
|
case 1:
|
|
925
936
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
926
|
-
errorCode = "UnknownError";
|
|
927
937
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
928
938
|
_b = errorCode;
|
|
929
939
|
switch (_b) {
|
|
@@ -947,10 +957,12 @@ var deserializeAws_json1_0ListExecutionsCommandError = function (output, context
|
|
|
947
957
|
case 9: throw _d.sent();
|
|
948
958
|
case 10:
|
|
949
959
|
parsedBody = parsedOutput.body;
|
|
960
|
+
$metadata = deserializeMetadata(output);
|
|
961
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
950
962
|
response = new __BaseException({
|
|
951
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
963
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
952
964
|
$fault: "client",
|
|
953
|
-
$metadata:
|
|
965
|
+
$metadata: $metadata,
|
|
954
966
|
});
|
|
955
967
|
throw __decorateServiceException(response, parsedBody);
|
|
956
968
|
}
|
|
@@ -975,7 +987,7 @@ export var deserializeAws_json1_0ListStateMachinesCommand = function (output, co
|
|
|
975
987
|
});
|
|
976
988
|
}); };
|
|
977
989
|
var deserializeAws_json1_0ListStateMachinesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
978
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
990
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
979
991
|
var _c;
|
|
980
992
|
return __generator(this, function (_d) {
|
|
981
993
|
switch (_d.label) {
|
|
@@ -985,7 +997,6 @@ var deserializeAws_json1_0ListStateMachinesCommandError = function (output, cont
|
|
|
985
997
|
return [4, parseBody(output.body, context)];
|
|
986
998
|
case 1:
|
|
987
999
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
988
|
-
errorCode = "UnknownError";
|
|
989
1000
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
990
1001
|
_b = errorCode;
|
|
991
1002
|
switch (_b) {
|
|
@@ -997,10 +1008,12 @@ var deserializeAws_json1_0ListStateMachinesCommandError = function (output, cont
|
|
|
997
1008
|
case 3: throw _d.sent();
|
|
998
1009
|
case 4:
|
|
999
1010
|
parsedBody = parsedOutput.body;
|
|
1011
|
+
$metadata = deserializeMetadata(output);
|
|
1012
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1000
1013
|
response = new __BaseException({
|
|
1001
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1014
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1002
1015
|
$fault: "client",
|
|
1003
|
-
$metadata:
|
|
1016
|
+
$metadata: $metadata,
|
|
1004
1017
|
});
|
|
1005
1018
|
throw __decorateServiceException(response, parsedBody);
|
|
1006
1019
|
}
|
|
@@ -1025,7 +1038,7 @@ export var deserializeAws_json1_0ListTagsForResourceCommand = function (output,
|
|
|
1025
1038
|
});
|
|
1026
1039
|
}); };
|
|
1027
1040
|
var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1028
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1041
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1029
1042
|
var _c;
|
|
1030
1043
|
return __generator(this, function (_d) {
|
|
1031
1044
|
switch (_d.label) {
|
|
@@ -1035,7 +1048,6 @@ var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, co
|
|
|
1035
1048
|
return [4, parseBody(output.body, context)];
|
|
1036
1049
|
case 1:
|
|
1037
1050
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1038
|
-
errorCode = "UnknownError";
|
|
1039
1051
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1040
1052
|
_b = errorCode;
|
|
1041
1053
|
switch (_b) {
|
|
@@ -1051,10 +1063,12 @@ var deserializeAws_json1_0ListTagsForResourceCommandError = function (output, co
|
|
|
1051
1063
|
case 5: throw _d.sent();
|
|
1052
1064
|
case 6:
|
|
1053
1065
|
parsedBody = parsedOutput.body;
|
|
1066
|
+
$metadata = deserializeMetadata(output);
|
|
1067
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1054
1068
|
response = new __BaseException({
|
|
1055
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1069
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1056
1070
|
$fault: "client",
|
|
1057
|
-
$metadata:
|
|
1071
|
+
$metadata: $metadata,
|
|
1058
1072
|
});
|
|
1059
1073
|
throw __decorateServiceException(response, parsedBody);
|
|
1060
1074
|
}
|
|
@@ -1079,7 +1093,7 @@ export var deserializeAws_json1_0SendTaskFailureCommand = function (output, cont
|
|
|
1079
1093
|
});
|
|
1080
1094
|
}); };
|
|
1081
1095
|
var deserializeAws_json1_0SendTaskFailureCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1082
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1096
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1083
1097
|
var _c;
|
|
1084
1098
|
return __generator(this, function (_d) {
|
|
1085
1099
|
switch (_d.label) {
|
|
@@ -1089,7 +1103,6 @@ var deserializeAws_json1_0SendTaskFailureCommandError = function (output, contex
|
|
|
1089
1103
|
return [4, parseBody(output.body, context)];
|
|
1090
1104
|
case 1:
|
|
1091
1105
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1092
|
-
errorCode = "UnknownError";
|
|
1093
1106
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1094
1107
|
_b = errorCode;
|
|
1095
1108
|
switch (_b) {
|
|
@@ -1109,10 +1122,12 @@ var deserializeAws_json1_0SendTaskFailureCommandError = function (output, contex
|
|
|
1109
1122
|
case 7: throw _d.sent();
|
|
1110
1123
|
case 8:
|
|
1111
1124
|
parsedBody = parsedOutput.body;
|
|
1125
|
+
$metadata = deserializeMetadata(output);
|
|
1126
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1112
1127
|
response = new __BaseException({
|
|
1113
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1128
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1114
1129
|
$fault: "client",
|
|
1115
|
-
$metadata:
|
|
1130
|
+
$metadata: $metadata,
|
|
1116
1131
|
});
|
|
1117
1132
|
throw __decorateServiceException(response, parsedBody);
|
|
1118
1133
|
}
|
|
@@ -1137,7 +1152,7 @@ export var deserializeAws_json1_0SendTaskHeartbeatCommand = function (output, co
|
|
|
1137
1152
|
});
|
|
1138
1153
|
}); };
|
|
1139
1154
|
var deserializeAws_json1_0SendTaskHeartbeatCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1140
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1155
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1141
1156
|
var _c;
|
|
1142
1157
|
return __generator(this, function (_d) {
|
|
1143
1158
|
switch (_d.label) {
|
|
@@ -1147,7 +1162,6 @@ var deserializeAws_json1_0SendTaskHeartbeatCommandError = function (output, cont
|
|
|
1147
1162
|
return [4, parseBody(output.body, context)];
|
|
1148
1163
|
case 1:
|
|
1149
1164
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1150
|
-
errorCode = "UnknownError";
|
|
1151
1165
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1152
1166
|
_b = errorCode;
|
|
1153
1167
|
switch (_b) {
|
|
@@ -1167,10 +1181,12 @@ var deserializeAws_json1_0SendTaskHeartbeatCommandError = function (output, cont
|
|
|
1167
1181
|
case 7: throw _d.sent();
|
|
1168
1182
|
case 8:
|
|
1169
1183
|
parsedBody = parsedOutput.body;
|
|
1184
|
+
$metadata = deserializeMetadata(output);
|
|
1185
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1170
1186
|
response = new __BaseException({
|
|
1171
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1187
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1172
1188
|
$fault: "client",
|
|
1173
|
-
$metadata:
|
|
1189
|
+
$metadata: $metadata,
|
|
1174
1190
|
});
|
|
1175
1191
|
throw __decorateServiceException(response, parsedBody);
|
|
1176
1192
|
}
|
|
@@ -1195,7 +1211,7 @@ export var deserializeAws_json1_0SendTaskSuccessCommand = function (output, cont
|
|
|
1195
1211
|
});
|
|
1196
1212
|
}); };
|
|
1197
1213
|
var deserializeAws_json1_0SendTaskSuccessCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1198
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1214
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1199
1215
|
var _c;
|
|
1200
1216
|
return __generator(this, function (_d) {
|
|
1201
1217
|
switch (_d.label) {
|
|
@@ -1205,7 +1221,6 @@ var deserializeAws_json1_0SendTaskSuccessCommandError = function (output, contex
|
|
|
1205
1221
|
return [4, parseBody(output.body, context)];
|
|
1206
1222
|
case 1:
|
|
1207
1223
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1208
|
-
errorCode = "UnknownError";
|
|
1209
1224
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1210
1225
|
_b = errorCode;
|
|
1211
1226
|
switch (_b) {
|
|
@@ -1229,10 +1244,12 @@ var deserializeAws_json1_0SendTaskSuccessCommandError = function (output, contex
|
|
|
1229
1244
|
case 9: throw _d.sent();
|
|
1230
1245
|
case 10:
|
|
1231
1246
|
parsedBody = parsedOutput.body;
|
|
1247
|
+
$metadata = deserializeMetadata(output);
|
|
1248
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1232
1249
|
response = new __BaseException({
|
|
1233
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1250
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1234
1251
|
$fault: "client",
|
|
1235
|
-
$metadata:
|
|
1252
|
+
$metadata: $metadata,
|
|
1236
1253
|
});
|
|
1237
1254
|
throw __decorateServiceException(response, parsedBody);
|
|
1238
1255
|
}
|
|
@@ -1257,7 +1274,7 @@ export var deserializeAws_json1_0StartExecutionCommand = function (output, conte
|
|
|
1257
1274
|
});
|
|
1258
1275
|
}); };
|
|
1259
1276
|
var deserializeAws_json1_0StartExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1260
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1277
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1261
1278
|
var _c;
|
|
1262
1279
|
return __generator(this, function (_d) {
|
|
1263
1280
|
switch (_d.label) {
|
|
@@ -1267,7 +1284,6 @@ var deserializeAws_json1_0StartExecutionCommandError = function (output, context
|
|
|
1267
1284
|
return [4, parseBody(output.body, context)];
|
|
1268
1285
|
case 1:
|
|
1269
1286
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1270
|
-
errorCode = "UnknownError";
|
|
1271
1287
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1272
1288
|
_b = errorCode;
|
|
1273
1289
|
switch (_b) {
|
|
@@ -1303,10 +1319,12 @@ var deserializeAws_json1_0StartExecutionCommandError = function (output, context
|
|
|
1303
1319
|
case 15: throw _d.sent();
|
|
1304
1320
|
case 16:
|
|
1305
1321
|
parsedBody = parsedOutput.body;
|
|
1322
|
+
$metadata = deserializeMetadata(output);
|
|
1323
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1306
1324
|
response = new __BaseException({
|
|
1307
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1325
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1308
1326
|
$fault: "client",
|
|
1309
|
-
$metadata:
|
|
1327
|
+
$metadata: $metadata,
|
|
1310
1328
|
});
|
|
1311
1329
|
throw __decorateServiceException(response, parsedBody);
|
|
1312
1330
|
}
|
|
@@ -1331,7 +1349,7 @@ export var deserializeAws_json1_0StartSyncExecutionCommand = function (output, c
|
|
|
1331
1349
|
});
|
|
1332
1350
|
}); };
|
|
1333
1351
|
var deserializeAws_json1_0StartSyncExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1334
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1352
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1335
1353
|
var _c;
|
|
1336
1354
|
return __generator(this, function (_d) {
|
|
1337
1355
|
switch (_d.label) {
|
|
@@ -1341,7 +1359,6 @@ var deserializeAws_json1_0StartSyncExecutionCommandError = function (output, con
|
|
|
1341
1359
|
return [4, parseBody(output.body, context)];
|
|
1342
1360
|
case 1:
|
|
1343
1361
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1344
|
-
errorCode = "UnknownError";
|
|
1345
1362
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1346
1363
|
_b = errorCode;
|
|
1347
1364
|
switch (_b) {
|
|
@@ -1373,10 +1390,12 @@ var deserializeAws_json1_0StartSyncExecutionCommandError = function (output, con
|
|
|
1373
1390
|
case 13: throw _d.sent();
|
|
1374
1391
|
case 14:
|
|
1375
1392
|
parsedBody = parsedOutput.body;
|
|
1393
|
+
$metadata = deserializeMetadata(output);
|
|
1394
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1376
1395
|
response = new __BaseException({
|
|
1377
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1396
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1378
1397
|
$fault: "client",
|
|
1379
|
-
$metadata:
|
|
1398
|
+
$metadata: $metadata,
|
|
1380
1399
|
});
|
|
1381
1400
|
throw __decorateServiceException(response, parsedBody);
|
|
1382
1401
|
}
|
|
@@ -1401,7 +1420,7 @@ export var deserializeAws_json1_0StopExecutionCommand = function (output, contex
|
|
|
1401
1420
|
});
|
|
1402
1421
|
}); };
|
|
1403
1422
|
var deserializeAws_json1_0StopExecutionCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1404
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1423
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1405
1424
|
var _c;
|
|
1406
1425
|
return __generator(this, function (_d) {
|
|
1407
1426
|
switch (_d.label) {
|
|
@@ -1411,7 +1430,6 @@ var deserializeAws_json1_0StopExecutionCommandError = function (output, context)
|
|
|
1411
1430
|
return [4, parseBody(output.body, context)];
|
|
1412
1431
|
case 1:
|
|
1413
1432
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1414
|
-
errorCode = "UnknownError";
|
|
1415
1433
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1416
1434
|
_b = errorCode;
|
|
1417
1435
|
switch (_b) {
|
|
@@ -1427,10 +1445,12 @@ var deserializeAws_json1_0StopExecutionCommandError = function (output, context)
|
|
|
1427
1445
|
case 5: throw _d.sent();
|
|
1428
1446
|
case 6:
|
|
1429
1447
|
parsedBody = parsedOutput.body;
|
|
1448
|
+
$metadata = deserializeMetadata(output);
|
|
1449
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1430
1450
|
response = new __BaseException({
|
|
1431
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1451
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1432
1452
|
$fault: "client",
|
|
1433
|
-
$metadata:
|
|
1453
|
+
$metadata: $metadata,
|
|
1434
1454
|
});
|
|
1435
1455
|
throw __decorateServiceException(response, parsedBody);
|
|
1436
1456
|
}
|
|
@@ -1455,7 +1475,7 @@ export var deserializeAws_json1_0TagResourceCommand = function (output, context)
|
|
|
1455
1475
|
});
|
|
1456
1476
|
}); };
|
|
1457
1477
|
var deserializeAws_json1_0TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1458
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1478
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1459
1479
|
var _c;
|
|
1460
1480
|
return __generator(this, function (_d) {
|
|
1461
1481
|
switch (_d.label) {
|
|
@@ -1465,7 +1485,6 @@ var deserializeAws_json1_0TagResourceCommandError = function (output, context) {
|
|
|
1465
1485
|
return [4, parseBody(output.body, context)];
|
|
1466
1486
|
case 1:
|
|
1467
1487
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1468
|
-
errorCode = "UnknownError";
|
|
1469
1488
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1470
1489
|
_b = errorCode;
|
|
1471
1490
|
switch (_b) {
|
|
@@ -1485,10 +1504,12 @@ var deserializeAws_json1_0TagResourceCommandError = function (output, context) {
|
|
|
1485
1504
|
case 7: throw _d.sent();
|
|
1486
1505
|
case 8:
|
|
1487
1506
|
parsedBody = parsedOutput.body;
|
|
1507
|
+
$metadata = deserializeMetadata(output);
|
|
1508
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1488
1509
|
response = new __BaseException({
|
|
1489
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1510
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1490
1511
|
$fault: "client",
|
|
1491
|
-
$metadata:
|
|
1512
|
+
$metadata: $metadata,
|
|
1492
1513
|
});
|
|
1493
1514
|
throw __decorateServiceException(response, parsedBody);
|
|
1494
1515
|
}
|
|
@@ -1513,7 +1534,7 @@ export var deserializeAws_json1_0UntagResourceCommand = function (output, contex
|
|
|
1513
1534
|
});
|
|
1514
1535
|
}); };
|
|
1515
1536
|
var deserializeAws_json1_0UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1516
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1537
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1517
1538
|
var _c;
|
|
1518
1539
|
return __generator(this, function (_d) {
|
|
1519
1540
|
switch (_d.label) {
|
|
@@ -1523,7 +1544,6 @@ var deserializeAws_json1_0UntagResourceCommandError = function (output, context)
|
|
|
1523
1544
|
return [4, parseBody(output.body, context)];
|
|
1524
1545
|
case 1:
|
|
1525
1546
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1526
|
-
errorCode = "UnknownError";
|
|
1527
1547
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1528
1548
|
_b = errorCode;
|
|
1529
1549
|
switch (_b) {
|
|
@@ -1539,10 +1559,12 @@ var deserializeAws_json1_0UntagResourceCommandError = function (output, context)
|
|
|
1539
1559
|
case 5: throw _d.sent();
|
|
1540
1560
|
case 6:
|
|
1541
1561
|
parsedBody = parsedOutput.body;
|
|
1562
|
+
$metadata = deserializeMetadata(output);
|
|
1563
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1542
1564
|
response = new __BaseException({
|
|
1543
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1565
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1544
1566
|
$fault: "client",
|
|
1545
|
-
$metadata:
|
|
1567
|
+
$metadata: $metadata,
|
|
1546
1568
|
});
|
|
1547
1569
|
throw __decorateServiceException(response, parsedBody);
|
|
1548
1570
|
}
|
|
@@ -1567,7 +1589,7 @@ export var deserializeAws_json1_0UpdateStateMachineCommand = function (output, c
|
|
|
1567
1589
|
});
|
|
1568
1590
|
}); };
|
|
1569
1591
|
var deserializeAws_json1_0UpdateStateMachineCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1570
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1592
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1571
1593
|
var _c;
|
|
1572
1594
|
return __generator(this, function (_d) {
|
|
1573
1595
|
switch (_d.label) {
|
|
@@ -1577,7 +1599,6 @@ var deserializeAws_json1_0UpdateStateMachineCommandError = function (output, con
|
|
|
1577
1599
|
return [4, parseBody(output.body, context)];
|
|
1578
1600
|
case 1:
|
|
1579
1601
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1580
|
-
errorCode = "UnknownError";
|
|
1581
1602
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1582
1603
|
_b = errorCode;
|
|
1583
1604
|
switch (_b) {
|
|
@@ -1613,10 +1634,12 @@ var deserializeAws_json1_0UpdateStateMachineCommandError = function (output, con
|
|
|
1613
1634
|
case 15: throw _d.sent();
|
|
1614
1635
|
case 16:
|
|
1615
1636
|
parsedBody = parsedOutput.body;
|
|
1637
|
+
$metadata = deserializeMetadata(output);
|
|
1638
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1616
1639
|
response = new __BaseException({
|
|
1617
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1640
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1618
1641
|
$fault: "client",
|
|
1619
|
-
$metadata:
|
|
1642
|
+
$metadata: $metadata,
|
|
1620
1643
|
});
|
|
1621
1644
|
throw __decorateServiceException(response, parsedBody);
|
|
1622
1645
|
}
|
|
@@ -1839,63 +1862,56 @@ var deserializeAws_json1_0TooManyTagsResponse = function (parsedOutput, context)
|
|
|
1839
1862
|
});
|
|
1840
1863
|
}); };
|
|
1841
1864
|
var serializeAws_json1_0CloudWatchLogsLogGroup = function (input, context) {
|
|
1842
|
-
return __assign({}, (input.logGroupArn
|
|
1865
|
+
return __assign({}, (input.logGroupArn != null && { logGroupArn: input.logGroupArn }));
|
|
1843
1866
|
};
|
|
1844
1867
|
var serializeAws_json1_0CreateActivityInput = function (input, context) {
|
|
1845
|
-
return __assign(__assign({}, (input.name
|
|
1868
|
+
return __assign(__assign({}, (input.name != null && { name: input.name })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
1846
1869
|
};
|
|
1847
1870
|
var serializeAws_json1_0CreateStateMachineInput = function (input, context) {
|
|
1848
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.definition
|
|
1849
|
-
input.loggingConfiguration !== null && {
|
|
1871
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.definition != null && { definition: input.definition })), (input.loggingConfiguration != null && {
|
|
1850
1872
|
loggingConfiguration: serializeAws_json1_0LoggingConfiguration(input.loggingConfiguration, context),
|
|
1851
|
-
})), (input.name
|
|
1852
|
-
input.tracingConfiguration !== null && {
|
|
1873
|
+
})), (input.name != null && { name: input.name })), (input.roleArn != null && { roleArn: input.roleArn })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) })), (input.tracingConfiguration != null && {
|
|
1853
1874
|
tracingConfiguration: serializeAws_json1_0TracingConfiguration(input.tracingConfiguration, context),
|
|
1854
|
-
})), (input.type
|
|
1875
|
+
})), (input.type != null && { type: input.type }));
|
|
1855
1876
|
};
|
|
1856
1877
|
var serializeAws_json1_0DeleteActivityInput = function (input, context) {
|
|
1857
|
-
return __assign({}, (input.activityArn
|
|
1878
|
+
return __assign({}, (input.activityArn != null && { activityArn: input.activityArn }));
|
|
1858
1879
|
};
|
|
1859
1880
|
var serializeAws_json1_0DeleteStateMachineInput = function (input, context) {
|
|
1860
|
-
return __assign({}, (input.stateMachineArn
|
|
1861
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn }));
|
|
1881
|
+
return __assign({}, (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }));
|
|
1862
1882
|
};
|
|
1863
1883
|
var serializeAws_json1_0DescribeActivityInput = function (input, context) {
|
|
1864
|
-
return __assign({}, (input.activityArn
|
|
1884
|
+
return __assign({}, (input.activityArn != null && { activityArn: input.activityArn }));
|
|
1865
1885
|
};
|
|
1866
1886
|
var serializeAws_json1_0DescribeExecutionInput = function (input, context) {
|
|
1867
|
-
return __assign({}, (input.executionArn
|
|
1887
|
+
return __assign({}, (input.executionArn != null && { executionArn: input.executionArn }));
|
|
1868
1888
|
};
|
|
1869
1889
|
var serializeAws_json1_0DescribeStateMachineForExecutionInput = function (input, context) {
|
|
1870
|
-
return __assign({}, (input.executionArn
|
|
1890
|
+
return __assign({}, (input.executionArn != null && { executionArn: input.executionArn }));
|
|
1871
1891
|
};
|
|
1872
1892
|
var serializeAws_json1_0DescribeStateMachineInput = function (input, context) {
|
|
1873
|
-
return __assign({}, (input.stateMachineArn
|
|
1874
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn }));
|
|
1893
|
+
return __assign({}, (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn }));
|
|
1875
1894
|
};
|
|
1876
1895
|
var serializeAws_json1_0GetActivityTaskInput = function (input, context) {
|
|
1877
|
-
return __assign(__assign({}, (input.activityArn
|
|
1896
|
+
return __assign(__assign({}, (input.activityArn != null && { activityArn: input.activityArn })), (input.workerName != null && { workerName: input.workerName }));
|
|
1878
1897
|
};
|
|
1879
1898
|
var serializeAws_json1_0GetExecutionHistoryInput = function (input, context) {
|
|
1880
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.executionArn
|
|
1881
|
-
input.includeExecutionData !== null && { includeExecutionData: input.includeExecutionData })), (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })), (input.reverseOrder !== undefined && input.reverseOrder !== null && { reverseOrder: input.reverseOrder }));
|
|
1899
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.executionArn != null && { executionArn: input.executionArn })), (input.includeExecutionData != null && { includeExecutionData: input.includeExecutionData })), (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.reverseOrder != null && { reverseOrder: input.reverseOrder }));
|
|
1882
1900
|
};
|
|
1883
1901
|
var serializeAws_json1_0ListActivitiesInput = function (input, context) {
|
|
1884
|
-
return __assign(__assign({}, (input.maxResults
|
|
1902
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
1885
1903
|
};
|
|
1886
1904
|
var serializeAws_json1_0ListExecutionsInput = function (input, context) {
|
|
1887
|
-
return __assign(__assign(__assign(__assign({}, (input.maxResults
|
|
1888
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn })), (input.statusFilter !== undefined && input.statusFilter !== null && { statusFilter: input.statusFilter }));
|
|
1905
|
+
return __assign(__assign(__assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken })), (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn })), (input.statusFilter != null && { statusFilter: input.statusFilter }));
|
|
1889
1906
|
};
|
|
1890
1907
|
var serializeAws_json1_0ListStateMachinesInput = function (input, context) {
|
|
1891
|
-
return __assign(__assign({}, (input.maxResults
|
|
1908
|
+
return __assign(__assign({}, (input.maxResults != null && { maxResults: input.maxResults })), (input.nextToken != null && { nextToken: input.nextToken }));
|
|
1892
1909
|
};
|
|
1893
1910
|
var serializeAws_json1_0ListTagsForResourceInput = function (input, context) {
|
|
1894
|
-
return __assign({}, (input.resourceArn
|
|
1911
|
+
return __assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn }));
|
|
1895
1912
|
};
|
|
1896
1913
|
var serializeAws_json1_0LogDestination = function (input, context) {
|
|
1897
|
-
return __assign({}, (input.cloudWatchLogsLogGroup
|
|
1898
|
-
input.cloudWatchLogsLogGroup !== null && {
|
|
1914
|
+
return __assign({}, (input.cloudWatchLogsLogGroup != null && {
|
|
1899
1915
|
cloudWatchLogsLogGroup: serializeAws_json1_0CloudWatchLogsLogGroup(input.cloudWatchLogsLogGroup, context),
|
|
1900
1916
|
}));
|
|
1901
1917
|
};
|
|
@@ -1910,34 +1926,30 @@ var serializeAws_json1_0LogDestinationList = function (input, context) {
|
|
|
1910
1926
|
});
|
|
1911
1927
|
};
|
|
1912
1928
|
var serializeAws_json1_0LoggingConfiguration = function (input, context) {
|
|
1913
|
-
return __assign(__assign(__assign({}, (input.destinations
|
|
1914
|
-
input.destinations !== null && {
|
|
1929
|
+
return __assign(__assign(__assign({}, (input.destinations != null && {
|
|
1915
1930
|
destinations: serializeAws_json1_0LogDestinationList(input.destinations, context),
|
|
1916
|
-
})), (input.includeExecutionData
|
|
1917
|
-
input.includeExecutionData !== null && { includeExecutionData: input.includeExecutionData })), (input.level !== undefined && input.level !== null && { level: input.level }));
|
|
1931
|
+
})), (input.includeExecutionData != null && { includeExecutionData: input.includeExecutionData })), (input.level != null && { level: input.level }));
|
|
1918
1932
|
};
|
|
1919
1933
|
var serializeAws_json1_0SendTaskFailureInput = function (input, context) {
|
|
1920
|
-
return __assign(__assign(__assign({}, (input.cause
|
|
1934
|
+
return __assign(__assign(__assign({}, (input.cause != null && { cause: input.cause })), (input.error != null && { error: input.error })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
1921
1935
|
};
|
|
1922
1936
|
var serializeAws_json1_0SendTaskHeartbeatInput = function (input, context) {
|
|
1923
|
-
return __assign({}, (input.taskToken
|
|
1937
|
+
return __assign({}, (input.taskToken != null && { taskToken: input.taskToken }));
|
|
1924
1938
|
};
|
|
1925
1939
|
var serializeAws_json1_0SendTaskSuccessInput = function (input, context) {
|
|
1926
|
-
return __assign(__assign({}, (input.output
|
|
1940
|
+
return __assign(__assign({}, (input.output != null && { output: input.output })), (input.taskToken != null && { taskToken: input.taskToken }));
|
|
1927
1941
|
};
|
|
1928
1942
|
var serializeAws_json1_0StartExecutionInput = function (input, context) {
|
|
1929
|
-
return __assign(__assign(__assign(__assign({}, (input.input
|
|
1930
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn })), (input.traceHeader !== undefined && input.traceHeader !== null && { traceHeader: input.traceHeader }));
|
|
1943
|
+
return __assign(__assign(__assign(__assign({}, (input.input != null && { input: input.input })), (input.name != null && { name: input.name })), (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn })), (input.traceHeader != null && { traceHeader: input.traceHeader }));
|
|
1931
1944
|
};
|
|
1932
1945
|
var serializeAws_json1_0StartSyncExecutionInput = function (input, context) {
|
|
1933
|
-
return __assign(__assign(__assign(__assign({}, (input.input
|
|
1934
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn })), (input.traceHeader !== undefined && input.traceHeader !== null && { traceHeader: input.traceHeader }));
|
|
1946
|
+
return __assign(__assign(__assign(__assign({}, (input.input != null && { input: input.input })), (input.name != null && { name: input.name })), (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn })), (input.traceHeader != null && { traceHeader: input.traceHeader }));
|
|
1935
1947
|
};
|
|
1936
1948
|
var serializeAws_json1_0StopExecutionInput = function (input, context) {
|
|
1937
|
-
return __assign(__assign(__assign({}, (input.cause
|
|
1949
|
+
return __assign(__assign(__assign({}, (input.cause != null && { cause: input.cause })), (input.error != null && { error: input.error })), (input.executionArn != null && { executionArn: input.executionArn }));
|
|
1938
1950
|
};
|
|
1939
1951
|
var serializeAws_json1_0Tag = function (input, context) {
|
|
1940
|
-
return __assign(__assign({}, (input.key
|
|
1952
|
+
return __assign(__assign({}, (input.key != null && { key: input.key })), (input.value != null && { value: input.value }));
|
|
1941
1953
|
};
|
|
1942
1954
|
var serializeAws_json1_0TagKeyList = function (input, context) {
|
|
1943
1955
|
return input
|
|
@@ -1960,22 +1972,18 @@ var serializeAws_json1_0TagList = function (input, context) {
|
|
|
1960
1972
|
});
|
|
1961
1973
|
};
|
|
1962
1974
|
var serializeAws_json1_0TagResourceInput = function (input, context) {
|
|
1963
|
-
return __assign(__assign({}, (input.resourceArn
|
|
1975
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }));
|
|
1964
1976
|
};
|
|
1965
1977
|
var serializeAws_json1_0TracingConfiguration = function (input, context) {
|
|
1966
|
-
return __assign({}, (input.enabled
|
|
1978
|
+
return __assign({}, (input.enabled != null && { enabled: input.enabled }));
|
|
1967
1979
|
};
|
|
1968
1980
|
var serializeAws_json1_0UntagResourceInput = function (input, context) {
|
|
1969
|
-
return __assign(__assign({}, (input.resourceArn
|
|
1970
|
-
input.tagKeys !== null && { tagKeys: serializeAws_json1_0TagKeyList(input.tagKeys, context) }));
|
|
1981
|
+
return __assign(__assign({}, (input.resourceArn != null && { resourceArn: input.resourceArn })), (input.tagKeys != null && { tagKeys: serializeAws_json1_0TagKeyList(input.tagKeys, context) }));
|
|
1971
1982
|
};
|
|
1972
1983
|
var serializeAws_json1_0UpdateStateMachineInput = function (input, context) {
|
|
1973
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.definition
|
|
1974
|
-
input.loggingConfiguration !== null && {
|
|
1984
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.definition != null && { definition: input.definition })), (input.loggingConfiguration != null && {
|
|
1975
1985
|
loggingConfiguration: serializeAws_json1_0LoggingConfiguration(input.loggingConfiguration, context),
|
|
1976
|
-
})), (input.roleArn
|
|
1977
|
-
input.stateMachineArn !== null && { stateMachineArn: input.stateMachineArn })), (input.tracingConfiguration !== undefined &&
|
|
1978
|
-
input.tracingConfiguration !== null && {
|
|
1986
|
+
})), (input.roleArn != null && { roleArn: input.roleArn })), (input.stateMachineArn != null && { stateMachineArn: input.stateMachineArn })), (input.tracingConfiguration != null && {
|
|
1979
1987
|
tracingConfiguration: serializeAws_json1_0TracingConfiguration(input.tracingConfiguration, context),
|
|
1980
1988
|
}));
|
|
1981
1989
|
};
|
|
@@ -2009,7 +2017,7 @@ var deserializeAws_json1_0ActivityList = function (output, context) {
|
|
|
2009
2017
|
var deserializeAws_json1_0ActivityListItem = function (output, context) {
|
|
2010
2018
|
return {
|
|
2011
2019
|
activityArn: __expectString(output.activityArn),
|
|
2012
|
-
creationDate: output.creationDate
|
|
2020
|
+
creationDate: output.creationDate != null
|
|
2013
2021
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2014
2022
|
: undefined,
|
|
2015
2023
|
name: __expectString(output.name),
|
|
@@ -2019,7 +2027,7 @@ var deserializeAws_json1_0ActivityScheduledEventDetails = function (output, cont
|
|
|
2019
2027
|
return {
|
|
2020
2028
|
heartbeatInSeconds: __expectLong(output.heartbeatInSeconds),
|
|
2021
2029
|
input: __expectString(output.input),
|
|
2022
|
-
inputDetails: output.inputDetails
|
|
2030
|
+
inputDetails: output.inputDetails != null
|
|
2023
2031
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2024
2032
|
: undefined,
|
|
2025
2033
|
resource: __expectString(output.resource),
|
|
@@ -2040,7 +2048,7 @@ var deserializeAws_json1_0ActivityStartedEventDetails = function (output, contex
|
|
|
2040
2048
|
var deserializeAws_json1_0ActivitySucceededEventDetails = function (output, context) {
|
|
2041
2049
|
return {
|
|
2042
2050
|
output: __expectString(output.output),
|
|
2043
|
-
outputDetails: output.outputDetails
|
|
2051
|
+
outputDetails: output.outputDetails != null
|
|
2044
2052
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2045
2053
|
: undefined,
|
|
2046
2054
|
};
|
|
@@ -2075,14 +2083,14 @@ var deserializeAws_json1_0CloudWatchLogsLogGroup = function (output, context) {
|
|
|
2075
2083
|
var deserializeAws_json1_0CreateActivityOutput = function (output, context) {
|
|
2076
2084
|
return {
|
|
2077
2085
|
activityArn: __expectString(output.activityArn),
|
|
2078
|
-
creationDate: output.creationDate
|
|
2086
|
+
creationDate: output.creationDate != null
|
|
2079
2087
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2080
2088
|
: undefined,
|
|
2081
2089
|
};
|
|
2082
2090
|
};
|
|
2083
2091
|
var deserializeAws_json1_0CreateStateMachineOutput = function (output, context) {
|
|
2084
2092
|
return {
|
|
2085
|
-
creationDate: output.creationDate
|
|
2093
|
+
creationDate: output.creationDate != null
|
|
2086
2094
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2087
2095
|
: undefined,
|
|
2088
2096
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
@@ -2097,7 +2105,7 @@ var deserializeAws_json1_0DeleteStateMachineOutput = function (output, context)
|
|
|
2097
2105
|
var deserializeAws_json1_0DescribeActivityOutput = function (output, context) {
|
|
2098
2106
|
return {
|
|
2099
2107
|
activityArn: __expectString(output.activityArn),
|
|
2100
|
-
creationDate: output.creationDate
|
|
2108
|
+
creationDate: output.creationDate != null
|
|
2101
2109
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2102
2110
|
: undefined,
|
|
2103
2111
|
name: __expectString(output.name),
|
|
@@ -2107,56 +2115,50 @@ var deserializeAws_json1_0DescribeExecutionOutput = function (output, context) {
|
|
|
2107
2115
|
return {
|
|
2108
2116
|
executionArn: __expectString(output.executionArn),
|
|
2109
2117
|
input: __expectString(output.input),
|
|
2110
|
-
inputDetails: output.inputDetails
|
|
2118
|
+
inputDetails: output.inputDetails != null
|
|
2111
2119
|
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.inputDetails, context)
|
|
2112
2120
|
: undefined,
|
|
2113
2121
|
name: __expectString(output.name),
|
|
2114
2122
|
output: __expectString(output.output),
|
|
2115
|
-
outputDetails: output.outputDetails
|
|
2123
|
+
outputDetails: output.outputDetails != null
|
|
2116
2124
|
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.outputDetails, context)
|
|
2117
2125
|
: undefined,
|
|
2118
|
-
startDate: output.startDate
|
|
2119
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
2120
|
-
: undefined,
|
|
2126
|
+
startDate: output.startDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate))) : undefined,
|
|
2121
2127
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2122
2128
|
status: __expectString(output.status),
|
|
2123
|
-
stopDate: output.stopDate
|
|
2124
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
2125
|
-
: undefined,
|
|
2129
|
+
stopDate: output.stopDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate))) : undefined,
|
|
2126
2130
|
traceHeader: __expectString(output.traceHeader),
|
|
2127
2131
|
};
|
|
2128
2132
|
};
|
|
2129
2133
|
var deserializeAws_json1_0DescribeStateMachineForExecutionOutput = function (output, context) {
|
|
2130
2134
|
return {
|
|
2131
2135
|
definition: __expectString(output.definition),
|
|
2132
|
-
loggingConfiguration: output.loggingConfiguration
|
|
2136
|
+
loggingConfiguration: output.loggingConfiguration != null
|
|
2133
2137
|
? deserializeAws_json1_0LoggingConfiguration(output.loggingConfiguration, context)
|
|
2134
2138
|
: undefined,
|
|
2135
2139
|
name: __expectString(output.name),
|
|
2136
2140
|
roleArn: __expectString(output.roleArn),
|
|
2137
2141
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2138
|
-
tracingConfiguration: output.tracingConfiguration
|
|
2142
|
+
tracingConfiguration: output.tracingConfiguration != null
|
|
2139
2143
|
? deserializeAws_json1_0TracingConfiguration(output.tracingConfiguration, context)
|
|
2140
2144
|
: undefined,
|
|
2141
|
-
updateDate: output.updateDate
|
|
2142
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate)))
|
|
2143
|
-
: undefined,
|
|
2145
|
+
updateDate: output.updateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate))) : undefined,
|
|
2144
2146
|
};
|
|
2145
2147
|
};
|
|
2146
2148
|
var deserializeAws_json1_0DescribeStateMachineOutput = function (output, context) {
|
|
2147
2149
|
return {
|
|
2148
|
-
creationDate: output.creationDate
|
|
2150
|
+
creationDate: output.creationDate != null
|
|
2149
2151
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2150
2152
|
: undefined,
|
|
2151
2153
|
definition: __expectString(output.definition),
|
|
2152
|
-
loggingConfiguration: output.loggingConfiguration
|
|
2154
|
+
loggingConfiguration: output.loggingConfiguration != null
|
|
2153
2155
|
? deserializeAws_json1_0LoggingConfiguration(output.loggingConfiguration, context)
|
|
2154
2156
|
: undefined,
|
|
2155
2157
|
name: __expectString(output.name),
|
|
2156
2158
|
roleArn: __expectString(output.roleArn),
|
|
2157
2159
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2158
2160
|
status: __expectString(output.status),
|
|
2159
|
-
tracingConfiguration: output.tracingConfiguration
|
|
2161
|
+
tracingConfiguration: output.tracingConfiguration != null
|
|
2160
2162
|
? deserializeAws_json1_0TracingConfiguration(output.tracingConfiguration, context)
|
|
2161
2163
|
: undefined,
|
|
2162
2164
|
type: __expectString(output.type),
|
|
@@ -2204,20 +2206,16 @@ var deserializeAws_json1_0ExecutionListItem = function (output, context) {
|
|
|
2204
2206
|
return {
|
|
2205
2207
|
executionArn: __expectString(output.executionArn),
|
|
2206
2208
|
name: __expectString(output.name),
|
|
2207
|
-
startDate: output.startDate
|
|
2208
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
2209
|
-
: undefined,
|
|
2209
|
+
startDate: output.startDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate))) : undefined,
|
|
2210
2210
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2211
2211
|
status: __expectString(output.status),
|
|
2212
|
-
stopDate: output.stopDate
|
|
2213
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
2214
|
-
: undefined,
|
|
2212
|
+
stopDate: output.stopDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate))) : undefined,
|
|
2215
2213
|
};
|
|
2216
2214
|
};
|
|
2217
2215
|
var deserializeAws_json1_0ExecutionStartedEventDetails = function (output, context) {
|
|
2218
2216
|
return {
|
|
2219
2217
|
input: __expectString(output.input),
|
|
2220
|
-
inputDetails: output.inputDetails
|
|
2218
|
+
inputDetails: output.inputDetails != null
|
|
2221
2219
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2222
2220
|
: undefined,
|
|
2223
2221
|
roleArn: __expectString(output.roleArn),
|
|
@@ -2226,7 +2224,7 @@ var deserializeAws_json1_0ExecutionStartedEventDetails = function (output, conte
|
|
|
2226
2224
|
var deserializeAws_json1_0ExecutionSucceededEventDetails = function (output, context) {
|
|
2227
2225
|
return {
|
|
2228
2226
|
output: __expectString(output.output),
|
|
2229
|
-
outputDetails: output.outputDetails
|
|
2227
|
+
outputDetails: output.outputDetails != null
|
|
2230
2228
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2231
2229
|
: undefined,
|
|
2232
2230
|
};
|
|
@@ -2245,117 +2243,111 @@ var deserializeAws_json1_0GetActivityTaskOutput = function (output, context) {
|
|
|
2245
2243
|
};
|
|
2246
2244
|
var deserializeAws_json1_0GetExecutionHistoryOutput = function (output, context) {
|
|
2247
2245
|
return {
|
|
2248
|
-
events: output.events
|
|
2249
|
-
? deserializeAws_json1_0HistoryEventList(output.events, context)
|
|
2250
|
-
: undefined,
|
|
2246
|
+
events: output.events != null ? deserializeAws_json1_0HistoryEventList(output.events, context) : undefined,
|
|
2251
2247
|
nextToken: __expectString(output.nextToken),
|
|
2252
2248
|
};
|
|
2253
2249
|
};
|
|
2254
2250
|
var deserializeAws_json1_0HistoryEvent = function (output, context) {
|
|
2255
2251
|
return {
|
|
2256
|
-
activityFailedEventDetails: output.activityFailedEventDetails
|
|
2252
|
+
activityFailedEventDetails: output.activityFailedEventDetails != null
|
|
2257
2253
|
? deserializeAws_json1_0ActivityFailedEventDetails(output.activityFailedEventDetails, context)
|
|
2258
2254
|
: undefined,
|
|
2259
|
-
activityScheduleFailedEventDetails: output.activityScheduleFailedEventDetails
|
|
2255
|
+
activityScheduleFailedEventDetails: output.activityScheduleFailedEventDetails != null
|
|
2260
2256
|
? deserializeAws_json1_0ActivityScheduleFailedEventDetails(output.activityScheduleFailedEventDetails, context)
|
|
2261
2257
|
: undefined,
|
|
2262
|
-
activityScheduledEventDetails: output.activityScheduledEventDetails
|
|
2258
|
+
activityScheduledEventDetails: output.activityScheduledEventDetails != null
|
|
2263
2259
|
? deserializeAws_json1_0ActivityScheduledEventDetails(output.activityScheduledEventDetails, context)
|
|
2264
2260
|
: undefined,
|
|
2265
|
-
activityStartedEventDetails: output.activityStartedEventDetails
|
|
2261
|
+
activityStartedEventDetails: output.activityStartedEventDetails != null
|
|
2266
2262
|
? deserializeAws_json1_0ActivityStartedEventDetails(output.activityStartedEventDetails, context)
|
|
2267
2263
|
: undefined,
|
|
2268
|
-
activitySucceededEventDetails: output.activitySucceededEventDetails
|
|
2264
|
+
activitySucceededEventDetails: output.activitySucceededEventDetails != null
|
|
2269
2265
|
? deserializeAws_json1_0ActivitySucceededEventDetails(output.activitySucceededEventDetails, context)
|
|
2270
2266
|
: undefined,
|
|
2271
|
-
activityTimedOutEventDetails: output.activityTimedOutEventDetails
|
|
2267
|
+
activityTimedOutEventDetails: output.activityTimedOutEventDetails != null
|
|
2272
2268
|
? deserializeAws_json1_0ActivityTimedOutEventDetails(output.activityTimedOutEventDetails, context)
|
|
2273
2269
|
: undefined,
|
|
2274
|
-
executionAbortedEventDetails: output.executionAbortedEventDetails
|
|
2270
|
+
executionAbortedEventDetails: output.executionAbortedEventDetails != null
|
|
2275
2271
|
? deserializeAws_json1_0ExecutionAbortedEventDetails(output.executionAbortedEventDetails, context)
|
|
2276
2272
|
: undefined,
|
|
2277
|
-
executionFailedEventDetails: output.executionFailedEventDetails
|
|
2273
|
+
executionFailedEventDetails: output.executionFailedEventDetails != null
|
|
2278
2274
|
? deserializeAws_json1_0ExecutionFailedEventDetails(output.executionFailedEventDetails, context)
|
|
2279
2275
|
: undefined,
|
|
2280
|
-
executionStartedEventDetails: output.executionStartedEventDetails
|
|
2276
|
+
executionStartedEventDetails: output.executionStartedEventDetails != null
|
|
2281
2277
|
? deserializeAws_json1_0ExecutionStartedEventDetails(output.executionStartedEventDetails, context)
|
|
2282
2278
|
: undefined,
|
|
2283
|
-
executionSucceededEventDetails: output.executionSucceededEventDetails
|
|
2279
|
+
executionSucceededEventDetails: output.executionSucceededEventDetails != null
|
|
2284
2280
|
? deserializeAws_json1_0ExecutionSucceededEventDetails(output.executionSucceededEventDetails, context)
|
|
2285
2281
|
: undefined,
|
|
2286
|
-
executionTimedOutEventDetails: output.executionTimedOutEventDetails
|
|
2282
|
+
executionTimedOutEventDetails: output.executionTimedOutEventDetails != null
|
|
2287
2283
|
? deserializeAws_json1_0ExecutionTimedOutEventDetails(output.executionTimedOutEventDetails, context)
|
|
2288
2284
|
: undefined,
|
|
2289
2285
|
id: __expectLong(output.id),
|
|
2290
|
-
lambdaFunctionFailedEventDetails: output.lambdaFunctionFailedEventDetails
|
|
2286
|
+
lambdaFunctionFailedEventDetails: output.lambdaFunctionFailedEventDetails != null
|
|
2291
2287
|
? deserializeAws_json1_0LambdaFunctionFailedEventDetails(output.lambdaFunctionFailedEventDetails, context)
|
|
2292
2288
|
: undefined,
|
|
2293
|
-
lambdaFunctionScheduleFailedEventDetails: output.lambdaFunctionScheduleFailedEventDetails
|
|
2294
|
-
output.lambdaFunctionScheduleFailedEventDetails !== null
|
|
2289
|
+
lambdaFunctionScheduleFailedEventDetails: output.lambdaFunctionScheduleFailedEventDetails != null
|
|
2295
2290
|
? deserializeAws_json1_0LambdaFunctionScheduleFailedEventDetails(output.lambdaFunctionScheduleFailedEventDetails, context)
|
|
2296
2291
|
: undefined,
|
|
2297
|
-
lambdaFunctionScheduledEventDetails: output.lambdaFunctionScheduledEventDetails
|
|
2292
|
+
lambdaFunctionScheduledEventDetails: output.lambdaFunctionScheduledEventDetails != null
|
|
2298
2293
|
? deserializeAws_json1_0LambdaFunctionScheduledEventDetails(output.lambdaFunctionScheduledEventDetails, context)
|
|
2299
2294
|
: undefined,
|
|
2300
|
-
lambdaFunctionStartFailedEventDetails: output.lambdaFunctionStartFailedEventDetails
|
|
2301
|
-
output.lambdaFunctionStartFailedEventDetails !== null
|
|
2295
|
+
lambdaFunctionStartFailedEventDetails: output.lambdaFunctionStartFailedEventDetails != null
|
|
2302
2296
|
? deserializeAws_json1_0LambdaFunctionStartFailedEventDetails(output.lambdaFunctionStartFailedEventDetails, context)
|
|
2303
2297
|
: undefined,
|
|
2304
|
-
lambdaFunctionSucceededEventDetails: output.lambdaFunctionSucceededEventDetails
|
|
2298
|
+
lambdaFunctionSucceededEventDetails: output.lambdaFunctionSucceededEventDetails != null
|
|
2305
2299
|
? deserializeAws_json1_0LambdaFunctionSucceededEventDetails(output.lambdaFunctionSucceededEventDetails, context)
|
|
2306
2300
|
: undefined,
|
|
2307
|
-
lambdaFunctionTimedOutEventDetails: output.lambdaFunctionTimedOutEventDetails
|
|
2301
|
+
lambdaFunctionTimedOutEventDetails: output.lambdaFunctionTimedOutEventDetails != null
|
|
2308
2302
|
? deserializeAws_json1_0LambdaFunctionTimedOutEventDetails(output.lambdaFunctionTimedOutEventDetails, context)
|
|
2309
2303
|
: undefined,
|
|
2310
|
-
mapIterationAbortedEventDetails: output.mapIterationAbortedEventDetails
|
|
2304
|
+
mapIterationAbortedEventDetails: output.mapIterationAbortedEventDetails != null
|
|
2311
2305
|
? deserializeAws_json1_0MapIterationEventDetails(output.mapIterationAbortedEventDetails, context)
|
|
2312
2306
|
: undefined,
|
|
2313
|
-
mapIterationFailedEventDetails: output.mapIterationFailedEventDetails
|
|
2307
|
+
mapIterationFailedEventDetails: output.mapIterationFailedEventDetails != null
|
|
2314
2308
|
? deserializeAws_json1_0MapIterationEventDetails(output.mapIterationFailedEventDetails, context)
|
|
2315
2309
|
: undefined,
|
|
2316
|
-
mapIterationStartedEventDetails: output.mapIterationStartedEventDetails
|
|
2310
|
+
mapIterationStartedEventDetails: output.mapIterationStartedEventDetails != null
|
|
2317
2311
|
? deserializeAws_json1_0MapIterationEventDetails(output.mapIterationStartedEventDetails, context)
|
|
2318
2312
|
: undefined,
|
|
2319
|
-
mapIterationSucceededEventDetails: output.mapIterationSucceededEventDetails
|
|
2313
|
+
mapIterationSucceededEventDetails: output.mapIterationSucceededEventDetails != null
|
|
2320
2314
|
? deserializeAws_json1_0MapIterationEventDetails(output.mapIterationSucceededEventDetails, context)
|
|
2321
2315
|
: undefined,
|
|
2322
|
-
mapStateStartedEventDetails: output.mapStateStartedEventDetails
|
|
2316
|
+
mapStateStartedEventDetails: output.mapStateStartedEventDetails != null
|
|
2323
2317
|
? deserializeAws_json1_0MapStateStartedEventDetails(output.mapStateStartedEventDetails, context)
|
|
2324
2318
|
: undefined,
|
|
2325
2319
|
previousEventId: __expectLong(output.previousEventId),
|
|
2326
|
-
stateEnteredEventDetails: output.stateEnteredEventDetails
|
|
2320
|
+
stateEnteredEventDetails: output.stateEnteredEventDetails != null
|
|
2327
2321
|
? deserializeAws_json1_0StateEnteredEventDetails(output.stateEnteredEventDetails, context)
|
|
2328
2322
|
: undefined,
|
|
2329
|
-
stateExitedEventDetails: output.stateExitedEventDetails
|
|
2323
|
+
stateExitedEventDetails: output.stateExitedEventDetails != null
|
|
2330
2324
|
? deserializeAws_json1_0StateExitedEventDetails(output.stateExitedEventDetails, context)
|
|
2331
2325
|
: undefined,
|
|
2332
|
-
taskFailedEventDetails: output.taskFailedEventDetails
|
|
2326
|
+
taskFailedEventDetails: output.taskFailedEventDetails != null
|
|
2333
2327
|
? deserializeAws_json1_0TaskFailedEventDetails(output.taskFailedEventDetails, context)
|
|
2334
2328
|
: undefined,
|
|
2335
|
-
taskScheduledEventDetails: output.taskScheduledEventDetails
|
|
2329
|
+
taskScheduledEventDetails: output.taskScheduledEventDetails != null
|
|
2336
2330
|
? deserializeAws_json1_0TaskScheduledEventDetails(output.taskScheduledEventDetails, context)
|
|
2337
2331
|
: undefined,
|
|
2338
|
-
taskStartFailedEventDetails: output.taskStartFailedEventDetails
|
|
2332
|
+
taskStartFailedEventDetails: output.taskStartFailedEventDetails != null
|
|
2339
2333
|
? deserializeAws_json1_0TaskStartFailedEventDetails(output.taskStartFailedEventDetails, context)
|
|
2340
2334
|
: undefined,
|
|
2341
|
-
taskStartedEventDetails: output.taskStartedEventDetails
|
|
2335
|
+
taskStartedEventDetails: output.taskStartedEventDetails != null
|
|
2342
2336
|
? deserializeAws_json1_0TaskStartedEventDetails(output.taskStartedEventDetails, context)
|
|
2343
2337
|
: undefined,
|
|
2344
|
-
taskSubmitFailedEventDetails: output.taskSubmitFailedEventDetails
|
|
2338
|
+
taskSubmitFailedEventDetails: output.taskSubmitFailedEventDetails != null
|
|
2345
2339
|
? deserializeAws_json1_0TaskSubmitFailedEventDetails(output.taskSubmitFailedEventDetails, context)
|
|
2346
2340
|
: undefined,
|
|
2347
|
-
taskSubmittedEventDetails: output.taskSubmittedEventDetails
|
|
2341
|
+
taskSubmittedEventDetails: output.taskSubmittedEventDetails != null
|
|
2348
2342
|
? deserializeAws_json1_0TaskSubmittedEventDetails(output.taskSubmittedEventDetails, context)
|
|
2349
2343
|
: undefined,
|
|
2350
|
-
taskSucceededEventDetails: output.taskSucceededEventDetails
|
|
2344
|
+
taskSucceededEventDetails: output.taskSucceededEventDetails != null
|
|
2351
2345
|
? deserializeAws_json1_0TaskSucceededEventDetails(output.taskSucceededEventDetails, context)
|
|
2352
2346
|
: undefined,
|
|
2353
|
-
taskTimedOutEventDetails: output.taskTimedOutEventDetails
|
|
2347
|
+
taskTimedOutEventDetails: output.taskTimedOutEventDetails != null
|
|
2354
2348
|
? deserializeAws_json1_0TaskTimedOutEventDetails(output.taskTimedOutEventDetails, context)
|
|
2355
2349
|
: undefined,
|
|
2356
|
-
timestamp: output.timestamp
|
|
2357
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp)))
|
|
2358
|
-
: undefined,
|
|
2350
|
+
timestamp: output.timestamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timestamp))) : undefined,
|
|
2359
2351
|
type: __expectString(output.type),
|
|
2360
2352
|
};
|
|
2361
2353
|
};
|
|
@@ -2424,7 +2416,7 @@ var deserializeAws_json1_0LambdaFunctionFailedEventDetails = function (output, c
|
|
|
2424
2416
|
var deserializeAws_json1_0LambdaFunctionScheduledEventDetails = function (output, context) {
|
|
2425
2417
|
return {
|
|
2426
2418
|
input: __expectString(output.input),
|
|
2427
|
-
inputDetails: output.inputDetails
|
|
2419
|
+
inputDetails: output.inputDetails != null
|
|
2428
2420
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2429
2421
|
: undefined,
|
|
2430
2422
|
resource: __expectString(output.resource),
|
|
@@ -2446,7 +2438,7 @@ var deserializeAws_json1_0LambdaFunctionStartFailedEventDetails = function (outp
|
|
|
2446
2438
|
var deserializeAws_json1_0LambdaFunctionSucceededEventDetails = function (output, context) {
|
|
2447
2439
|
return {
|
|
2448
2440
|
output: __expectString(output.output),
|
|
2449
|
-
outputDetails: output.outputDetails
|
|
2441
|
+
outputDetails: output.outputDetails != null
|
|
2450
2442
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2451
2443
|
: undefined,
|
|
2452
2444
|
};
|
|
@@ -2459,38 +2451,30 @@ var deserializeAws_json1_0LambdaFunctionTimedOutEventDetails = function (output,
|
|
|
2459
2451
|
};
|
|
2460
2452
|
var deserializeAws_json1_0ListActivitiesOutput = function (output, context) {
|
|
2461
2453
|
return {
|
|
2462
|
-
activities: output.activities
|
|
2463
|
-
? deserializeAws_json1_0ActivityList(output.activities, context)
|
|
2464
|
-
: undefined,
|
|
2454
|
+
activities: output.activities != null ? deserializeAws_json1_0ActivityList(output.activities, context) : undefined,
|
|
2465
2455
|
nextToken: __expectString(output.nextToken),
|
|
2466
2456
|
};
|
|
2467
2457
|
};
|
|
2468
2458
|
var deserializeAws_json1_0ListExecutionsOutput = function (output, context) {
|
|
2469
2459
|
return {
|
|
2470
|
-
executions: output.executions
|
|
2471
|
-
? deserializeAws_json1_0ExecutionList(output.executions, context)
|
|
2472
|
-
: undefined,
|
|
2460
|
+
executions: output.executions != null ? deserializeAws_json1_0ExecutionList(output.executions, context) : undefined,
|
|
2473
2461
|
nextToken: __expectString(output.nextToken),
|
|
2474
2462
|
};
|
|
2475
2463
|
};
|
|
2476
2464
|
var deserializeAws_json1_0ListStateMachinesOutput = function (output, context) {
|
|
2477
2465
|
return {
|
|
2478
2466
|
nextToken: __expectString(output.nextToken),
|
|
2479
|
-
stateMachines: output.stateMachines
|
|
2480
|
-
? deserializeAws_json1_0StateMachineList(output.stateMachines, context)
|
|
2481
|
-
: undefined,
|
|
2467
|
+
stateMachines: output.stateMachines != null ? deserializeAws_json1_0StateMachineList(output.stateMachines, context) : undefined,
|
|
2482
2468
|
};
|
|
2483
2469
|
};
|
|
2484
2470
|
var deserializeAws_json1_0ListTagsForResourceOutput = function (output, context) {
|
|
2485
2471
|
return {
|
|
2486
|
-
tags: output.tags
|
|
2487
|
-
? deserializeAws_json1_0TagList(output.tags, context)
|
|
2488
|
-
: undefined,
|
|
2472
|
+
tags: output.tags != null ? deserializeAws_json1_0TagList(output.tags, context) : undefined,
|
|
2489
2473
|
};
|
|
2490
2474
|
};
|
|
2491
2475
|
var deserializeAws_json1_0LogDestination = function (output, context) {
|
|
2492
2476
|
return {
|
|
2493
|
-
cloudWatchLogsLogGroup: output.cloudWatchLogsLogGroup
|
|
2477
|
+
cloudWatchLogsLogGroup: output.cloudWatchLogsLogGroup != null
|
|
2494
2478
|
? deserializeAws_json1_0CloudWatchLogsLogGroup(output.cloudWatchLogsLogGroup, context)
|
|
2495
2479
|
: undefined,
|
|
2496
2480
|
};
|
|
@@ -2508,9 +2492,7 @@ var deserializeAws_json1_0LogDestinationList = function (output, context) {
|
|
|
2508
2492
|
};
|
|
2509
2493
|
var deserializeAws_json1_0LoggingConfiguration = function (output, context) {
|
|
2510
2494
|
return {
|
|
2511
|
-
destinations: output.destinations
|
|
2512
|
-
? deserializeAws_json1_0LogDestinationList(output.destinations, context)
|
|
2513
|
-
: undefined,
|
|
2495
|
+
destinations: output.destinations != null ? deserializeAws_json1_0LogDestinationList(output.destinations, context) : undefined,
|
|
2514
2496
|
includeExecutionData: __expectBoolean(output.includeExecutionData),
|
|
2515
2497
|
level: __expectString(output.level),
|
|
2516
2498
|
};
|
|
@@ -2549,43 +2531,35 @@ var deserializeAws_json1_0SendTaskSuccessOutput = function (output, context) {
|
|
|
2549
2531
|
var deserializeAws_json1_0StartExecutionOutput = function (output, context) {
|
|
2550
2532
|
return {
|
|
2551
2533
|
executionArn: __expectString(output.executionArn),
|
|
2552
|
-
startDate: output.startDate
|
|
2553
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
2554
|
-
: undefined,
|
|
2534
|
+
startDate: output.startDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate))) : undefined,
|
|
2555
2535
|
};
|
|
2556
2536
|
};
|
|
2557
2537
|
var deserializeAws_json1_0StartSyncExecutionOutput = function (output, context) {
|
|
2558
2538
|
return {
|
|
2559
|
-
billingDetails: output.billingDetails
|
|
2560
|
-
? deserializeAws_json1_0BillingDetails(output.billingDetails, context)
|
|
2561
|
-
: undefined,
|
|
2539
|
+
billingDetails: output.billingDetails != null ? deserializeAws_json1_0BillingDetails(output.billingDetails, context) : undefined,
|
|
2562
2540
|
cause: __expectString(output.cause),
|
|
2563
2541
|
error: __expectString(output.error),
|
|
2564
2542
|
executionArn: __expectString(output.executionArn),
|
|
2565
2543
|
input: __expectString(output.input),
|
|
2566
|
-
inputDetails: output.inputDetails
|
|
2544
|
+
inputDetails: output.inputDetails != null
|
|
2567
2545
|
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.inputDetails, context)
|
|
2568
2546
|
: undefined,
|
|
2569
2547
|
name: __expectString(output.name),
|
|
2570
2548
|
output: __expectString(output.output),
|
|
2571
|
-
outputDetails: output.outputDetails
|
|
2549
|
+
outputDetails: output.outputDetails != null
|
|
2572
2550
|
? deserializeAws_json1_0CloudWatchEventsExecutionDataDetails(output.outputDetails, context)
|
|
2573
2551
|
: undefined,
|
|
2574
|
-
startDate: output.startDate
|
|
2575
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate)))
|
|
2576
|
-
: undefined,
|
|
2552
|
+
startDate: output.startDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startDate))) : undefined,
|
|
2577
2553
|
stateMachineArn: __expectString(output.stateMachineArn),
|
|
2578
2554
|
status: __expectString(output.status),
|
|
2579
|
-
stopDate: output.stopDate
|
|
2580
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
2581
|
-
: undefined,
|
|
2555
|
+
stopDate: output.stopDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate))) : undefined,
|
|
2582
2556
|
traceHeader: __expectString(output.traceHeader),
|
|
2583
2557
|
};
|
|
2584
2558
|
};
|
|
2585
2559
|
var deserializeAws_json1_0StateEnteredEventDetails = function (output, context) {
|
|
2586
2560
|
return {
|
|
2587
2561
|
input: __expectString(output.input),
|
|
2588
|
-
inputDetails: output.inputDetails
|
|
2562
|
+
inputDetails: output.inputDetails != null
|
|
2589
2563
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.inputDetails, context)
|
|
2590
2564
|
: undefined,
|
|
2591
2565
|
name: __expectString(output.name),
|
|
@@ -2595,7 +2569,7 @@ var deserializeAws_json1_0StateExitedEventDetails = function (output, context) {
|
|
|
2595
2569
|
return {
|
|
2596
2570
|
name: __expectString(output.name),
|
|
2597
2571
|
output: __expectString(output.output),
|
|
2598
|
-
outputDetails: output.outputDetails
|
|
2572
|
+
outputDetails: output.outputDetails != null
|
|
2599
2573
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2600
2574
|
: undefined,
|
|
2601
2575
|
};
|
|
@@ -2633,7 +2607,7 @@ var deserializeAws_json1_0StateMachineList = function (output, context) {
|
|
|
2633
2607
|
};
|
|
2634
2608
|
var deserializeAws_json1_0StateMachineListItem = function (output, context) {
|
|
2635
2609
|
return {
|
|
2636
|
-
creationDate: output.creationDate
|
|
2610
|
+
creationDate: output.creationDate != null
|
|
2637
2611
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
2638
2612
|
: undefined,
|
|
2639
2613
|
name: __expectString(output.name),
|
|
@@ -2648,9 +2622,7 @@ var deserializeAws_json1_0StateMachineTypeNotSupported = function (output, conte
|
|
|
2648
2622
|
};
|
|
2649
2623
|
var deserializeAws_json1_0StopExecutionOutput = function (output, context) {
|
|
2650
2624
|
return {
|
|
2651
|
-
stopDate: output.stopDate
|
|
2652
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate)))
|
|
2653
|
-
: undefined,
|
|
2625
|
+
stopDate: output.stopDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.stopDate))) : undefined,
|
|
2654
2626
|
};
|
|
2655
2627
|
};
|
|
2656
2628
|
var deserializeAws_json1_0Tag = function (output, context) {
|
|
@@ -2721,7 +2693,7 @@ var deserializeAws_json1_0TaskSubmitFailedEventDetails = function (output, conte
|
|
|
2721
2693
|
var deserializeAws_json1_0TaskSubmittedEventDetails = function (output, context) {
|
|
2722
2694
|
return {
|
|
2723
2695
|
output: __expectString(output.output),
|
|
2724
|
-
outputDetails: output.outputDetails
|
|
2696
|
+
outputDetails: output.outputDetails != null
|
|
2725
2697
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2726
2698
|
: undefined,
|
|
2727
2699
|
resource: __expectString(output.resource),
|
|
@@ -2731,7 +2703,7 @@ var deserializeAws_json1_0TaskSubmittedEventDetails = function (output, context)
|
|
|
2731
2703
|
var deserializeAws_json1_0TaskSucceededEventDetails = function (output, context) {
|
|
2732
2704
|
return {
|
|
2733
2705
|
output: __expectString(output.output),
|
|
2734
|
-
outputDetails: output.outputDetails
|
|
2706
|
+
outputDetails: output.outputDetails != null
|
|
2735
2707
|
? deserializeAws_json1_0HistoryEventExecutionDataDetails(output.outputDetails, context)
|
|
2736
2708
|
: undefined,
|
|
2737
2709
|
resource: __expectString(output.resource),
|
|
@@ -2767,9 +2739,7 @@ var deserializeAws_json1_0UntagResourceOutput = function (output, context) {
|
|
|
2767
2739
|
};
|
|
2768
2740
|
var deserializeAws_json1_0UpdateStateMachineOutput = function (output, context) {
|
|
2769
2741
|
return {
|
|
2770
|
-
updateDate: output.updateDate
|
|
2771
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate)))
|
|
2772
|
-
: undefined,
|
|
2742
|
+
updateDate: output.updateDate != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updateDate))) : undefined,
|
|
2773
2743
|
};
|
|
2774
2744
|
};
|
|
2775
2745
|
var deserializeMetadata = function (output) {
|
|
@@ -2846,5 +2816,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2846
2816
|
if (data["__type"] !== undefined) {
|
|
2847
2817
|
return sanitizeErrorCode(data["__type"]);
|
|
2848
2818
|
}
|
|
2849
|
-
return "";
|
|
2850
2819
|
};
|