@aws-sdk/client-application-insights 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_1.js +251 -303
- package/dist-es/protocols/Aws_json1_1.js +191 -243
- package/package.json +26 -26
|
@@ -319,7 +319,7 @@ export var deserializeAws_json1_1CreateApplicationCommand = function (output, co
|
|
|
319
319
|
});
|
|
320
320
|
}); };
|
|
321
321
|
var deserializeAws_json1_1CreateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
322
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
322
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
323
323
|
var _c;
|
|
324
324
|
return __generator(this, function (_d) {
|
|
325
325
|
switch (_d.label) {
|
|
@@ -329,7 +329,6 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
329
329
|
return [4, parseBody(output.body, context)];
|
|
330
330
|
case 1:
|
|
331
331
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
332
|
-
errorCode = "UnknownError";
|
|
333
332
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
334
333
|
_b = errorCode;
|
|
335
334
|
switch (_b) {
|
|
@@ -361,10 +360,12 @@ var deserializeAws_json1_1CreateApplicationCommandError = function (output, cont
|
|
|
361
360
|
case 13: throw _d.sent();
|
|
362
361
|
case 14:
|
|
363
362
|
parsedBody = parsedOutput.body;
|
|
363
|
+
$metadata = deserializeMetadata(output);
|
|
364
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
364
365
|
response = new __BaseException({
|
|
365
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
366
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
366
367
|
$fault: "client",
|
|
367
|
-
$metadata:
|
|
368
|
+
$metadata: $metadata,
|
|
368
369
|
});
|
|
369
370
|
throw __decorateServiceException(response, parsedBody);
|
|
370
371
|
}
|
|
@@ -389,7 +390,7 @@ export var deserializeAws_json1_1CreateComponentCommand = function (output, cont
|
|
|
389
390
|
});
|
|
390
391
|
}); };
|
|
391
392
|
var deserializeAws_json1_1CreateComponentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
392
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
393
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
393
394
|
var _c;
|
|
394
395
|
return __generator(this, function (_d) {
|
|
395
396
|
switch (_d.label) {
|
|
@@ -399,7 +400,6 @@ var deserializeAws_json1_1CreateComponentCommandError = function (output, contex
|
|
|
399
400
|
return [4, parseBody(output.body, context)];
|
|
400
401
|
case 1:
|
|
401
402
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
402
|
-
errorCode = "UnknownError";
|
|
403
403
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
404
404
|
_b = errorCode;
|
|
405
405
|
switch (_b) {
|
|
@@ -423,10 +423,12 @@ var deserializeAws_json1_1CreateComponentCommandError = function (output, contex
|
|
|
423
423
|
case 9: throw _d.sent();
|
|
424
424
|
case 10:
|
|
425
425
|
parsedBody = parsedOutput.body;
|
|
426
|
+
$metadata = deserializeMetadata(output);
|
|
427
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
426
428
|
response = new __BaseException({
|
|
427
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
429
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
428
430
|
$fault: "client",
|
|
429
|
-
$metadata:
|
|
431
|
+
$metadata: $metadata,
|
|
430
432
|
});
|
|
431
433
|
throw __decorateServiceException(response, parsedBody);
|
|
432
434
|
}
|
|
@@ -451,7 +453,7 @@ export var deserializeAws_json1_1CreateLogPatternCommand = function (output, con
|
|
|
451
453
|
});
|
|
452
454
|
}); };
|
|
453
455
|
var deserializeAws_json1_1CreateLogPatternCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
454
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
456
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
455
457
|
var _c;
|
|
456
458
|
return __generator(this, function (_d) {
|
|
457
459
|
switch (_d.label) {
|
|
@@ -461,7 +463,6 @@ var deserializeAws_json1_1CreateLogPatternCommandError = function (output, conte
|
|
|
461
463
|
return [4, parseBody(output.body, context)];
|
|
462
464
|
case 1:
|
|
463
465
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
464
|
-
errorCode = "UnknownError";
|
|
465
466
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
466
467
|
_b = errorCode;
|
|
467
468
|
switch (_b) {
|
|
@@ -485,10 +486,12 @@ var deserializeAws_json1_1CreateLogPatternCommandError = function (output, conte
|
|
|
485
486
|
case 9: throw _d.sent();
|
|
486
487
|
case 10:
|
|
487
488
|
parsedBody = parsedOutput.body;
|
|
489
|
+
$metadata = deserializeMetadata(output);
|
|
490
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
488
491
|
response = new __BaseException({
|
|
489
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
492
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
490
493
|
$fault: "client",
|
|
491
|
-
$metadata:
|
|
494
|
+
$metadata: $metadata,
|
|
492
495
|
});
|
|
493
496
|
throw __decorateServiceException(response, parsedBody);
|
|
494
497
|
}
|
|
@@ -513,7 +516,7 @@ export var deserializeAws_json1_1DeleteApplicationCommand = function (output, co
|
|
|
513
516
|
});
|
|
514
517
|
}); };
|
|
515
518
|
var deserializeAws_json1_1DeleteApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
516
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
519
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
517
520
|
var _c;
|
|
518
521
|
return __generator(this, function (_d) {
|
|
519
522
|
switch (_d.label) {
|
|
@@ -523,7 +526,6 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
523
526
|
return [4, parseBody(output.body, context)];
|
|
524
527
|
case 1:
|
|
525
528
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
526
|
-
errorCode = "UnknownError";
|
|
527
529
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
528
530
|
_b = errorCode;
|
|
529
531
|
switch (_b) {
|
|
@@ -547,10 +549,12 @@ var deserializeAws_json1_1DeleteApplicationCommandError = function (output, cont
|
|
|
547
549
|
case 9: throw _d.sent();
|
|
548
550
|
case 10:
|
|
549
551
|
parsedBody = parsedOutput.body;
|
|
552
|
+
$metadata = deserializeMetadata(output);
|
|
553
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
550
554
|
response = new __BaseException({
|
|
551
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
555
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
552
556
|
$fault: "client",
|
|
553
|
-
$metadata:
|
|
557
|
+
$metadata: $metadata,
|
|
554
558
|
});
|
|
555
559
|
throw __decorateServiceException(response, parsedBody);
|
|
556
560
|
}
|
|
@@ -575,7 +579,7 @@ export var deserializeAws_json1_1DeleteComponentCommand = function (output, cont
|
|
|
575
579
|
});
|
|
576
580
|
}); };
|
|
577
581
|
var deserializeAws_json1_1DeleteComponentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
578
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
582
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
579
583
|
var _c;
|
|
580
584
|
return __generator(this, function (_d) {
|
|
581
585
|
switch (_d.label) {
|
|
@@ -585,7 +589,6 @@ var deserializeAws_json1_1DeleteComponentCommandError = function (output, contex
|
|
|
585
589
|
return [4, parseBody(output.body, context)];
|
|
586
590
|
case 1:
|
|
587
591
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
588
|
-
errorCode = "UnknownError";
|
|
589
592
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
590
593
|
_b = errorCode;
|
|
591
594
|
switch (_b) {
|
|
@@ -605,10 +608,12 @@ var deserializeAws_json1_1DeleteComponentCommandError = function (output, contex
|
|
|
605
608
|
case 7: throw _d.sent();
|
|
606
609
|
case 8:
|
|
607
610
|
parsedBody = parsedOutput.body;
|
|
611
|
+
$metadata = deserializeMetadata(output);
|
|
612
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
608
613
|
response = new __BaseException({
|
|
609
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
614
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
610
615
|
$fault: "client",
|
|
611
|
-
$metadata:
|
|
616
|
+
$metadata: $metadata,
|
|
612
617
|
});
|
|
613
618
|
throw __decorateServiceException(response, parsedBody);
|
|
614
619
|
}
|
|
@@ -633,7 +638,7 @@ export var deserializeAws_json1_1DeleteLogPatternCommand = function (output, con
|
|
|
633
638
|
});
|
|
634
639
|
}); };
|
|
635
640
|
var deserializeAws_json1_1DeleteLogPatternCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
636
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
641
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
637
642
|
var _c;
|
|
638
643
|
return __generator(this, function (_d) {
|
|
639
644
|
switch (_d.label) {
|
|
@@ -643,7 +648,6 @@ var deserializeAws_json1_1DeleteLogPatternCommandError = function (output, conte
|
|
|
643
648
|
return [4, parseBody(output.body, context)];
|
|
644
649
|
case 1:
|
|
645
650
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
646
|
-
errorCode = "UnknownError";
|
|
647
651
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
648
652
|
_b = errorCode;
|
|
649
653
|
switch (_b) {
|
|
@@ -667,10 +671,12 @@ var deserializeAws_json1_1DeleteLogPatternCommandError = function (output, conte
|
|
|
667
671
|
case 9: throw _d.sent();
|
|
668
672
|
case 10:
|
|
669
673
|
parsedBody = parsedOutput.body;
|
|
674
|
+
$metadata = deserializeMetadata(output);
|
|
675
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
670
676
|
response = new __BaseException({
|
|
671
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
677
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
672
678
|
$fault: "client",
|
|
673
|
-
$metadata:
|
|
679
|
+
$metadata: $metadata,
|
|
674
680
|
});
|
|
675
681
|
throw __decorateServiceException(response, parsedBody);
|
|
676
682
|
}
|
|
@@ -695,7 +701,7 @@ export var deserializeAws_json1_1DescribeApplicationCommand = function (output,
|
|
|
695
701
|
});
|
|
696
702
|
}); };
|
|
697
703
|
var deserializeAws_json1_1DescribeApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
698
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
704
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
699
705
|
var _c;
|
|
700
706
|
return __generator(this, function (_d) {
|
|
701
707
|
switch (_d.label) {
|
|
@@ -705,7 +711,6 @@ var deserializeAws_json1_1DescribeApplicationCommandError = function (output, co
|
|
|
705
711
|
return [4, parseBody(output.body, context)];
|
|
706
712
|
case 1:
|
|
707
713
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
708
|
-
errorCode = "UnknownError";
|
|
709
714
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
710
715
|
_b = errorCode;
|
|
711
716
|
switch (_b) {
|
|
@@ -725,10 +730,12 @@ var deserializeAws_json1_1DescribeApplicationCommandError = function (output, co
|
|
|
725
730
|
case 7: throw _d.sent();
|
|
726
731
|
case 8:
|
|
727
732
|
parsedBody = parsedOutput.body;
|
|
733
|
+
$metadata = deserializeMetadata(output);
|
|
734
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
728
735
|
response = new __BaseException({
|
|
729
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
736
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
730
737
|
$fault: "client",
|
|
731
|
-
$metadata:
|
|
738
|
+
$metadata: $metadata,
|
|
732
739
|
});
|
|
733
740
|
throw __decorateServiceException(response, parsedBody);
|
|
734
741
|
}
|
|
@@ -753,7 +760,7 @@ export var deserializeAws_json1_1DescribeComponentCommand = function (output, co
|
|
|
753
760
|
});
|
|
754
761
|
}); };
|
|
755
762
|
var deserializeAws_json1_1DescribeComponentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
756
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
763
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
757
764
|
var _c;
|
|
758
765
|
return __generator(this, function (_d) {
|
|
759
766
|
switch (_d.label) {
|
|
@@ -763,7 +770,6 @@ var deserializeAws_json1_1DescribeComponentCommandError = function (output, cont
|
|
|
763
770
|
return [4, parseBody(output.body, context)];
|
|
764
771
|
case 1:
|
|
765
772
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
766
|
-
errorCode = "UnknownError";
|
|
767
773
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
768
774
|
_b = errorCode;
|
|
769
775
|
switch (_b) {
|
|
@@ -783,10 +789,12 @@ var deserializeAws_json1_1DescribeComponentCommandError = function (output, cont
|
|
|
783
789
|
case 7: throw _d.sent();
|
|
784
790
|
case 8:
|
|
785
791
|
parsedBody = parsedOutput.body;
|
|
792
|
+
$metadata = deserializeMetadata(output);
|
|
793
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
786
794
|
response = new __BaseException({
|
|
787
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
795
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
788
796
|
$fault: "client",
|
|
789
|
-
$metadata:
|
|
797
|
+
$metadata: $metadata,
|
|
790
798
|
});
|
|
791
799
|
throw __decorateServiceException(response, parsedBody);
|
|
792
800
|
}
|
|
@@ -811,7 +819,7 @@ export var deserializeAws_json1_1DescribeComponentConfigurationCommand = functio
|
|
|
811
819
|
});
|
|
812
820
|
}); };
|
|
813
821
|
var deserializeAws_json1_1DescribeComponentConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
814
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
822
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
815
823
|
var _c;
|
|
816
824
|
return __generator(this, function (_d) {
|
|
817
825
|
switch (_d.label) {
|
|
@@ -821,7 +829,6 @@ var deserializeAws_json1_1DescribeComponentConfigurationCommandError = function
|
|
|
821
829
|
return [4, parseBody(output.body, context)];
|
|
822
830
|
case 1:
|
|
823
831
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
824
|
-
errorCode = "UnknownError";
|
|
825
832
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
826
833
|
_b = errorCode;
|
|
827
834
|
switch (_b) {
|
|
@@ -841,10 +848,12 @@ var deserializeAws_json1_1DescribeComponentConfigurationCommandError = function
|
|
|
841
848
|
case 7: throw _d.sent();
|
|
842
849
|
case 8:
|
|
843
850
|
parsedBody = parsedOutput.body;
|
|
851
|
+
$metadata = deserializeMetadata(output);
|
|
852
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
844
853
|
response = new __BaseException({
|
|
845
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
854
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
846
855
|
$fault: "client",
|
|
847
|
-
$metadata:
|
|
856
|
+
$metadata: $metadata,
|
|
848
857
|
});
|
|
849
858
|
throw __decorateServiceException(response, parsedBody);
|
|
850
859
|
}
|
|
@@ -869,7 +878,7 @@ export var deserializeAws_json1_1DescribeComponentConfigurationRecommendationCom
|
|
|
869
878
|
});
|
|
870
879
|
}); };
|
|
871
880
|
var deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
872
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
881
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
873
882
|
var _c;
|
|
874
883
|
return __generator(this, function (_d) {
|
|
875
884
|
switch (_d.label) {
|
|
@@ -879,7 +888,6 @@ var deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandErr
|
|
|
879
888
|
return [4, parseBody(output.body, context)];
|
|
880
889
|
case 1:
|
|
881
890
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
882
|
-
errorCode = "UnknownError";
|
|
883
891
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
884
892
|
_b = errorCode;
|
|
885
893
|
switch (_b) {
|
|
@@ -899,10 +907,12 @@ var deserializeAws_json1_1DescribeComponentConfigurationRecommendationCommandErr
|
|
|
899
907
|
case 7: throw _d.sent();
|
|
900
908
|
case 8:
|
|
901
909
|
parsedBody = parsedOutput.body;
|
|
910
|
+
$metadata = deserializeMetadata(output);
|
|
911
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
902
912
|
response = new __BaseException({
|
|
903
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
913
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
904
914
|
$fault: "client",
|
|
905
|
-
$metadata:
|
|
915
|
+
$metadata: $metadata,
|
|
906
916
|
});
|
|
907
917
|
throw __decorateServiceException(response, parsedBody);
|
|
908
918
|
}
|
|
@@ -927,7 +937,7 @@ export var deserializeAws_json1_1DescribeLogPatternCommand = function (output, c
|
|
|
927
937
|
});
|
|
928
938
|
}); };
|
|
929
939
|
var deserializeAws_json1_1DescribeLogPatternCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
930
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
940
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
931
941
|
var _c;
|
|
932
942
|
return __generator(this, function (_d) {
|
|
933
943
|
switch (_d.label) {
|
|
@@ -937,7 +947,6 @@ var deserializeAws_json1_1DescribeLogPatternCommandError = function (output, con
|
|
|
937
947
|
return [4, parseBody(output.body, context)];
|
|
938
948
|
case 1:
|
|
939
949
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
940
|
-
errorCode = "UnknownError";
|
|
941
950
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
942
951
|
_b = errorCode;
|
|
943
952
|
switch (_b) {
|
|
@@ -957,10 +966,12 @@ var deserializeAws_json1_1DescribeLogPatternCommandError = function (output, con
|
|
|
957
966
|
case 7: throw _d.sent();
|
|
958
967
|
case 8:
|
|
959
968
|
parsedBody = parsedOutput.body;
|
|
969
|
+
$metadata = deserializeMetadata(output);
|
|
970
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
960
971
|
response = new __BaseException({
|
|
961
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
972
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
962
973
|
$fault: "client",
|
|
963
|
-
$metadata:
|
|
974
|
+
$metadata: $metadata,
|
|
964
975
|
});
|
|
965
976
|
throw __decorateServiceException(response, parsedBody);
|
|
966
977
|
}
|
|
@@ -985,7 +996,7 @@ export var deserializeAws_json1_1DescribeObservationCommand = function (output,
|
|
|
985
996
|
});
|
|
986
997
|
}); };
|
|
987
998
|
var deserializeAws_json1_1DescribeObservationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
988
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
999
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
989
1000
|
var _c;
|
|
990
1001
|
return __generator(this, function (_d) {
|
|
991
1002
|
switch (_d.label) {
|
|
@@ -995,7 +1006,6 @@ var deserializeAws_json1_1DescribeObservationCommandError = function (output, co
|
|
|
995
1006
|
return [4, parseBody(output.body, context)];
|
|
996
1007
|
case 1:
|
|
997
1008
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
998
|
-
errorCode = "UnknownError";
|
|
999
1009
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1000
1010
|
_b = errorCode;
|
|
1001
1011
|
switch (_b) {
|
|
@@ -1015,10 +1025,12 @@ var deserializeAws_json1_1DescribeObservationCommandError = function (output, co
|
|
|
1015
1025
|
case 7: throw _d.sent();
|
|
1016
1026
|
case 8:
|
|
1017
1027
|
parsedBody = parsedOutput.body;
|
|
1028
|
+
$metadata = deserializeMetadata(output);
|
|
1029
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1018
1030
|
response = new __BaseException({
|
|
1019
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1031
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1020
1032
|
$fault: "client",
|
|
1021
|
-
$metadata:
|
|
1033
|
+
$metadata: $metadata,
|
|
1022
1034
|
});
|
|
1023
1035
|
throw __decorateServiceException(response, parsedBody);
|
|
1024
1036
|
}
|
|
@@ -1043,7 +1055,7 @@ export var deserializeAws_json1_1DescribeProblemCommand = function (output, cont
|
|
|
1043
1055
|
});
|
|
1044
1056
|
}); };
|
|
1045
1057
|
var deserializeAws_json1_1DescribeProblemCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1046
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1058
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1047
1059
|
var _c;
|
|
1048
1060
|
return __generator(this, function (_d) {
|
|
1049
1061
|
switch (_d.label) {
|
|
@@ -1053,7 +1065,6 @@ var deserializeAws_json1_1DescribeProblemCommandError = function (output, contex
|
|
|
1053
1065
|
return [4, parseBody(output.body, context)];
|
|
1054
1066
|
case 1:
|
|
1055
1067
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1056
|
-
errorCode = "UnknownError";
|
|
1057
1068
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1058
1069
|
_b = errorCode;
|
|
1059
1070
|
switch (_b) {
|
|
@@ -1073,10 +1084,12 @@ var deserializeAws_json1_1DescribeProblemCommandError = function (output, contex
|
|
|
1073
1084
|
case 7: throw _d.sent();
|
|
1074
1085
|
case 8:
|
|
1075
1086
|
parsedBody = parsedOutput.body;
|
|
1087
|
+
$metadata = deserializeMetadata(output);
|
|
1088
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1076
1089
|
response = new __BaseException({
|
|
1077
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1090
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1078
1091
|
$fault: "client",
|
|
1079
|
-
$metadata:
|
|
1092
|
+
$metadata: $metadata,
|
|
1080
1093
|
});
|
|
1081
1094
|
throw __decorateServiceException(response, parsedBody);
|
|
1082
1095
|
}
|
|
@@ -1101,7 +1114,7 @@ export var deserializeAws_json1_1DescribeProblemObservationsCommand = function (
|
|
|
1101
1114
|
});
|
|
1102
1115
|
}); };
|
|
1103
1116
|
var deserializeAws_json1_1DescribeProblemObservationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1104
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1117
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1105
1118
|
var _c;
|
|
1106
1119
|
return __generator(this, function (_d) {
|
|
1107
1120
|
switch (_d.label) {
|
|
@@ -1111,7 +1124,6 @@ var deserializeAws_json1_1DescribeProblemObservationsCommandError = function (ou
|
|
|
1111
1124
|
return [4, parseBody(output.body, context)];
|
|
1112
1125
|
case 1:
|
|
1113
1126
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1114
|
-
errorCode = "UnknownError";
|
|
1115
1127
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1116
1128
|
_b = errorCode;
|
|
1117
1129
|
switch (_b) {
|
|
@@ -1131,10 +1143,12 @@ var deserializeAws_json1_1DescribeProblemObservationsCommandError = function (ou
|
|
|
1131
1143
|
case 7: throw _d.sent();
|
|
1132
1144
|
case 8:
|
|
1133
1145
|
parsedBody = parsedOutput.body;
|
|
1146
|
+
$metadata = deserializeMetadata(output);
|
|
1147
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1134
1148
|
response = new __BaseException({
|
|
1135
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1149
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1136
1150
|
$fault: "client",
|
|
1137
|
-
$metadata:
|
|
1151
|
+
$metadata: $metadata,
|
|
1138
1152
|
});
|
|
1139
1153
|
throw __decorateServiceException(response, parsedBody);
|
|
1140
1154
|
}
|
|
@@ -1159,7 +1173,7 @@ export var deserializeAws_json1_1ListApplicationsCommand = function (output, con
|
|
|
1159
1173
|
});
|
|
1160
1174
|
}); };
|
|
1161
1175
|
var deserializeAws_json1_1ListApplicationsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1162
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1176
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1163
1177
|
var _c;
|
|
1164
1178
|
return __generator(this, function (_d) {
|
|
1165
1179
|
switch (_d.label) {
|
|
@@ -1169,7 +1183,6 @@ var deserializeAws_json1_1ListApplicationsCommandError = function (output, conte
|
|
|
1169
1183
|
return [4, parseBody(output.body, context)];
|
|
1170
1184
|
case 1:
|
|
1171
1185
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1172
|
-
errorCode = "UnknownError";
|
|
1173
1186
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1174
1187
|
_b = errorCode;
|
|
1175
1188
|
switch (_b) {
|
|
@@ -1185,10 +1198,12 @@ var deserializeAws_json1_1ListApplicationsCommandError = function (output, conte
|
|
|
1185
1198
|
case 5: throw _d.sent();
|
|
1186
1199
|
case 6:
|
|
1187
1200
|
parsedBody = parsedOutput.body;
|
|
1201
|
+
$metadata = deserializeMetadata(output);
|
|
1202
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1188
1203
|
response = new __BaseException({
|
|
1189
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1204
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1190
1205
|
$fault: "client",
|
|
1191
|
-
$metadata:
|
|
1206
|
+
$metadata: $metadata,
|
|
1192
1207
|
});
|
|
1193
1208
|
throw __decorateServiceException(response, parsedBody);
|
|
1194
1209
|
}
|
|
@@ -1213,7 +1228,7 @@ export var deserializeAws_json1_1ListComponentsCommand = function (output, conte
|
|
|
1213
1228
|
});
|
|
1214
1229
|
}); };
|
|
1215
1230
|
var deserializeAws_json1_1ListComponentsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1216
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1231
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1217
1232
|
var _c;
|
|
1218
1233
|
return __generator(this, function (_d) {
|
|
1219
1234
|
switch (_d.label) {
|
|
@@ -1223,7 +1238,6 @@ var deserializeAws_json1_1ListComponentsCommandError = function (output, context
|
|
|
1223
1238
|
return [4, parseBody(output.body, context)];
|
|
1224
1239
|
case 1:
|
|
1225
1240
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1226
|
-
errorCode = "UnknownError";
|
|
1227
1241
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1228
1242
|
_b = errorCode;
|
|
1229
1243
|
switch (_b) {
|
|
@@ -1243,10 +1257,12 @@ var deserializeAws_json1_1ListComponentsCommandError = function (output, context
|
|
|
1243
1257
|
case 7: throw _d.sent();
|
|
1244
1258
|
case 8:
|
|
1245
1259
|
parsedBody = parsedOutput.body;
|
|
1260
|
+
$metadata = deserializeMetadata(output);
|
|
1261
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1246
1262
|
response = new __BaseException({
|
|
1247
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1263
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1248
1264
|
$fault: "client",
|
|
1249
|
-
$metadata:
|
|
1265
|
+
$metadata: $metadata,
|
|
1250
1266
|
});
|
|
1251
1267
|
throw __decorateServiceException(response, parsedBody);
|
|
1252
1268
|
}
|
|
@@ -1271,7 +1287,7 @@ export var deserializeAws_json1_1ListConfigurationHistoryCommand = function (out
|
|
|
1271
1287
|
});
|
|
1272
1288
|
}); };
|
|
1273
1289
|
var deserializeAws_json1_1ListConfigurationHistoryCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1274
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1290
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1275
1291
|
var _c;
|
|
1276
1292
|
return __generator(this, function (_d) {
|
|
1277
1293
|
switch (_d.label) {
|
|
@@ -1281,7 +1297,6 @@ var deserializeAws_json1_1ListConfigurationHistoryCommandError = function (outpu
|
|
|
1281
1297
|
return [4, parseBody(output.body, context)];
|
|
1282
1298
|
case 1:
|
|
1283
1299
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1284
|
-
errorCode = "UnknownError";
|
|
1285
1300
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1286
1301
|
_b = errorCode;
|
|
1287
1302
|
switch (_b) {
|
|
@@ -1301,10 +1316,12 @@ var deserializeAws_json1_1ListConfigurationHistoryCommandError = function (outpu
|
|
|
1301
1316
|
case 7: throw _d.sent();
|
|
1302
1317
|
case 8:
|
|
1303
1318
|
parsedBody = parsedOutput.body;
|
|
1319
|
+
$metadata = deserializeMetadata(output);
|
|
1320
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1304
1321
|
response = new __BaseException({
|
|
1305
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1322
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1306
1323
|
$fault: "client",
|
|
1307
|
-
$metadata:
|
|
1324
|
+
$metadata: $metadata,
|
|
1308
1325
|
});
|
|
1309
1326
|
throw __decorateServiceException(response, parsedBody);
|
|
1310
1327
|
}
|
|
@@ -1329,7 +1346,7 @@ export var deserializeAws_json1_1ListLogPatternsCommand = function (output, cont
|
|
|
1329
1346
|
});
|
|
1330
1347
|
}); };
|
|
1331
1348
|
var deserializeAws_json1_1ListLogPatternsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1332
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1349
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1333
1350
|
var _c;
|
|
1334
1351
|
return __generator(this, function (_d) {
|
|
1335
1352
|
switch (_d.label) {
|
|
@@ -1339,7 +1356,6 @@ var deserializeAws_json1_1ListLogPatternsCommandError = function (output, contex
|
|
|
1339
1356
|
return [4, parseBody(output.body, context)];
|
|
1340
1357
|
case 1:
|
|
1341
1358
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1342
|
-
errorCode = "UnknownError";
|
|
1343
1359
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1344
1360
|
_b = errorCode;
|
|
1345
1361
|
switch (_b) {
|
|
@@ -1359,10 +1375,12 @@ var deserializeAws_json1_1ListLogPatternsCommandError = function (output, contex
|
|
|
1359
1375
|
case 7: throw _d.sent();
|
|
1360
1376
|
case 8:
|
|
1361
1377
|
parsedBody = parsedOutput.body;
|
|
1378
|
+
$metadata = deserializeMetadata(output);
|
|
1379
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1362
1380
|
response = new __BaseException({
|
|
1363
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1381
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1364
1382
|
$fault: "client",
|
|
1365
|
-
$metadata:
|
|
1383
|
+
$metadata: $metadata,
|
|
1366
1384
|
});
|
|
1367
1385
|
throw __decorateServiceException(response, parsedBody);
|
|
1368
1386
|
}
|
|
@@ -1387,7 +1405,7 @@ export var deserializeAws_json1_1ListLogPatternSetsCommand = function (output, c
|
|
|
1387
1405
|
});
|
|
1388
1406
|
}); };
|
|
1389
1407
|
var deserializeAws_json1_1ListLogPatternSetsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1390
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1408
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1391
1409
|
var _c;
|
|
1392
1410
|
return __generator(this, function (_d) {
|
|
1393
1411
|
switch (_d.label) {
|
|
@@ -1397,7 +1415,6 @@ var deserializeAws_json1_1ListLogPatternSetsCommandError = function (output, con
|
|
|
1397
1415
|
return [4, parseBody(output.body, context)];
|
|
1398
1416
|
case 1:
|
|
1399
1417
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1400
|
-
errorCode = "UnknownError";
|
|
1401
1418
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1402
1419
|
_b = errorCode;
|
|
1403
1420
|
switch (_b) {
|
|
@@ -1417,10 +1434,12 @@ var deserializeAws_json1_1ListLogPatternSetsCommandError = function (output, con
|
|
|
1417
1434
|
case 7: throw _d.sent();
|
|
1418
1435
|
case 8:
|
|
1419
1436
|
parsedBody = parsedOutput.body;
|
|
1437
|
+
$metadata = deserializeMetadata(output);
|
|
1438
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1420
1439
|
response = new __BaseException({
|
|
1421
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1440
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1422
1441
|
$fault: "client",
|
|
1423
|
-
$metadata:
|
|
1442
|
+
$metadata: $metadata,
|
|
1424
1443
|
});
|
|
1425
1444
|
throw __decorateServiceException(response, parsedBody);
|
|
1426
1445
|
}
|
|
@@ -1445,7 +1464,7 @@ export var deserializeAws_json1_1ListProblemsCommand = function (output, context
|
|
|
1445
1464
|
});
|
|
1446
1465
|
}); };
|
|
1447
1466
|
var deserializeAws_json1_1ListProblemsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1448
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1467
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1449
1468
|
var _c;
|
|
1450
1469
|
return __generator(this, function (_d) {
|
|
1451
1470
|
switch (_d.label) {
|
|
@@ -1455,7 +1474,6 @@ var deserializeAws_json1_1ListProblemsCommandError = function (output, context)
|
|
|
1455
1474
|
return [4, parseBody(output.body, context)];
|
|
1456
1475
|
case 1:
|
|
1457
1476
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1458
|
-
errorCode = "UnknownError";
|
|
1459
1477
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1460
1478
|
_b = errorCode;
|
|
1461
1479
|
switch (_b) {
|
|
@@ -1475,10 +1493,12 @@ var deserializeAws_json1_1ListProblemsCommandError = function (output, context)
|
|
|
1475
1493
|
case 7: throw _d.sent();
|
|
1476
1494
|
case 8:
|
|
1477
1495
|
parsedBody = parsedOutput.body;
|
|
1496
|
+
$metadata = deserializeMetadata(output);
|
|
1497
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1478
1498
|
response = new __BaseException({
|
|
1479
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1499
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1480
1500
|
$fault: "client",
|
|
1481
|
-
$metadata:
|
|
1501
|
+
$metadata: $metadata,
|
|
1482
1502
|
});
|
|
1483
1503
|
throw __decorateServiceException(response, parsedBody);
|
|
1484
1504
|
}
|
|
@@ -1503,7 +1523,7 @@ export var deserializeAws_json1_1ListTagsForResourceCommand = function (output,
|
|
|
1503
1523
|
});
|
|
1504
1524
|
}); };
|
|
1505
1525
|
var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1506
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1526
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1507
1527
|
var _c;
|
|
1508
1528
|
return __generator(this, function (_d) {
|
|
1509
1529
|
switch (_d.label) {
|
|
@@ -1513,7 +1533,6 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1513
1533
|
return [4, parseBody(output.body, context)];
|
|
1514
1534
|
case 1:
|
|
1515
1535
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1516
|
-
errorCode = "UnknownError";
|
|
1517
1536
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1518
1537
|
_b = errorCode;
|
|
1519
1538
|
switch (_b) {
|
|
@@ -1529,10 +1548,12 @@ var deserializeAws_json1_1ListTagsForResourceCommandError = function (output, co
|
|
|
1529
1548
|
case 5: throw _d.sent();
|
|
1530
1549
|
case 6:
|
|
1531
1550
|
parsedBody = parsedOutput.body;
|
|
1551
|
+
$metadata = deserializeMetadata(output);
|
|
1552
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1532
1553
|
response = new __BaseException({
|
|
1533
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1554
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1534
1555
|
$fault: "client",
|
|
1535
|
-
$metadata:
|
|
1556
|
+
$metadata: $metadata,
|
|
1536
1557
|
});
|
|
1537
1558
|
throw __decorateServiceException(response, parsedBody);
|
|
1538
1559
|
}
|
|
@@ -1557,7 +1578,7 @@ export var deserializeAws_json1_1TagResourceCommand = function (output, context)
|
|
|
1557
1578
|
});
|
|
1558
1579
|
}); };
|
|
1559
1580
|
var deserializeAws_json1_1TagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1560
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1581
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1561
1582
|
var _c;
|
|
1562
1583
|
return __generator(this, function (_d) {
|
|
1563
1584
|
switch (_d.label) {
|
|
@@ -1567,7 +1588,6 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
1567
1588
|
return [4, parseBody(output.body, context)];
|
|
1568
1589
|
case 1:
|
|
1569
1590
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1570
|
-
errorCode = "UnknownError";
|
|
1571
1591
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1572
1592
|
_b = errorCode;
|
|
1573
1593
|
switch (_b) {
|
|
@@ -1587,10 +1607,12 @@ var deserializeAws_json1_1TagResourceCommandError = function (output, context) {
|
|
|
1587
1607
|
case 7: throw _d.sent();
|
|
1588
1608
|
case 8:
|
|
1589
1609
|
parsedBody = parsedOutput.body;
|
|
1610
|
+
$metadata = deserializeMetadata(output);
|
|
1611
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1590
1612
|
response = new __BaseException({
|
|
1591
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1613
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1592
1614
|
$fault: "client",
|
|
1593
|
-
$metadata:
|
|
1615
|
+
$metadata: $metadata,
|
|
1594
1616
|
});
|
|
1595
1617
|
throw __decorateServiceException(response, parsedBody);
|
|
1596
1618
|
}
|
|
@@ -1615,7 +1637,7 @@ export var deserializeAws_json1_1UntagResourceCommand = function (output, contex
|
|
|
1615
1637
|
});
|
|
1616
1638
|
}); };
|
|
1617
1639
|
var deserializeAws_json1_1UntagResourceCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1618
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1640
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1619
1641
|
var _c;
|
|
1620
1642
|
return __generator(this, function (_d) {
|
|
1621
1643
|
switch (_d.label) {
|
|
@@ -1625,7 +1647,6 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
1625
1647
|
return [4, parseBody(output.body, context)];
|
|
1626
1648
|
case 1:
|
|
1627
1649
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1628
|
-
errorCode = "UnknownError";
|
|
1629
1650
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1630
1651
|
_b = errorCode;
|
|
1631
1652
|
switch (_b) {
|
|
@@ -1641,10 +1662,12 @@ var deserializeAws_json1_1UntagResourceCommandError = function (output, context)
|
|
|
1641
1662
|
case 5: throw _d.sent();
|
|
1642
1663
|
case 6:
|
|
1643
1664
|
parsedBody = parsedOutput.body;
|
|
1665
|
+
$metadata = deserializeMetadata(output);
|
|
1666
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1644
1667
|
response = new __BaseException({
|
|
1645
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1668
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1646
1669
|
$fault: "client",
|
|
1647
|
-
$metadata:
|
|
1670
|
+
$metadata: $metadata,
|
|
1648
1671
|
});
|
|
1649
1672
|
throw __decorateServiceException(response, parsedBody);
|
|
1650
1673
|
}
|
|
@@ -1669,7 +1692,7 @@ export var deserializeAws_json1_1UpdateApplicationCommand = function (output, co
|
|
|
1669
1692
|
});
|
|
1670
1693
|
}); };
|
|
1671
1694
|
var deserializeAws_json1_1UpdateApplicationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1672
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1695
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1673
1696
|
var _c;
|
|
1674
1697
|
return __generator(this, function (_d) {
|
|
1675
1698
|
switch (_d.label) {
|
|
@@ -1679,7 +1702,6 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
1679
1702
|
return [4, parseBody(output.body, context)];
|
|
1680
1703
|
case 1:
|
|
1681
1704
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1682
|
-
errorCode = "UnknownError";
|
|
1683
1705
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1684
1706
|
_b = errorCode;
|
|
1685
1707
|
switch (_b) {
|
|
@@ -1699,10 +1721,12 @@ var deserializeAws_json1_1UpdateApplicationCommandError = function (output, cont
|
|
|
1699
1721
|
case 7: throw _d.sent();
|
|
1700
1722
|
case 8:
|
|
1701
1723
|
parsedBody = parsedOutput.body;
|
|
1724
|
+
$metadata = deserializeMetadata(output);
|
|
1725
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1702
1726
|
response = new __BaseException({
|
|
1703
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1727
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1704
1728
|
$fault: "client",
|
|
1705
|
-
$metadata:
|
|
1729
|
+
$metadata: $metadata,
|
|
1706
1730
|
});
|
|
1707
1731
|
throw __decorateServiceException(response, parsedBody);
|
|
1708
1732
|
}
|
|
@@ -1727,7 +1751,7 @@ export var deserializeAws_json1_1UpdateComponentCommand = function (output, cont
|
|
|
1727
1751
|
});
|
|
1728
1752
|
}); };
|
|
1729
1753
|
var deserializeAws_json1_1UpdateComponentCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1730
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1754
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1731
1755
|
var _c;
|
|
1732
1756
|
return __generator(this, function (_d) {
|
|
1733
1757
|
switch (_d.label) {
|
|
@@ -1737,7 +1761,6 @@ var deserializeAws_json1_1UpdateComponentCommandError = function (output, contex
|
|
|
1737
1761
|
return [4, parseBody(output.body, context)];
|
|
1738
1762
|
case 1:
|
|
1739
1763
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1740
|
-
errorCode = "UnknownError";
|
|
1741
1764
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1742
1765
|
_b = errorCode;
|
|
1743
1766
|
switch (_b) {
|
|
@@ -1761,10 +1784,12 @@ var deserializeAws_json1_1UpdateComponentCommandError = function (output, contex
|
|
|
1761
1784
|
case 9: throw _d.sent();
|
|
1762
1785
|
case 10:
|
|
1763
1786
|
parsedBody = parsedOutput.body;
|
|
1787
|
+
$metadata = deserializeMetadata(output);
|
|
1788
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1764
1789
|
response = new __BaseException({
|
|
1765
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1790
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1766
1791
|
$fault: "client",
|
|
1767
|
-
$metadata:
|
|
1792
|
+
$metadata: $metadata,
|
|
1768
1793
|
});
|
|
1769
1794
|
throw __decorateServiceException(response, parsedBody);
|
|
1770
1795
|
}
|
|
@@ -1789,7 +1814,7 @@ export var deserializeAws_json1_1UpdateComponentConfigurationCommand = function
|
|
|
1789
1814
|
});
|
|
1790
1815
|
}); };
|
|
1791
1816
|
var deserializeAws_json1_1UpdateComponentConfigurationCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1792
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1817
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1793
1818
|
var _c;
|
|
1794
1819
|
return __generator(this, function (_d) {
|
|
1795
1820
|
switch (_d.label) {
|
|
@@ -1799,7 +1824,6 @@ var deserializeAws_json1_1UpdateComponentConfigurationCommandError = function (o
|
|
|
1799
1824
|
return [4, parseBody(output.body, context)];
|
|
1800
1825
|
case 1:
|
|
1801
1826
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1802
|
-
errorCode = "UnknownError";
|
|
1803
1827
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1804
1828
|
_b = errorCode;
|
|
1805
1829
|
switch (_b) {
|
|
@@ -1819,10 +1843,12 @@ var deserializeAws_json1_1UpdateComponentConfigurationCommandError = function (o
|
|
|
1819
1843
|
case 7: throw _d.sent();
|
|
1820
1844
|
case 8:
|
|
1821
1845
|
parsedBody = parsedOutput.body;
|
|
1846
|
+
$metadata = deserializeMetadata(output);
|
|
1847
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1822
1848
|
response = new __BaseException({
|
|
1823
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1849
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1824
1850
|
$fault: "client",
|
|
1825
|
-
$metadata:
|
|
1851
|
+
$metadata: $metadata,
|
|
1826
1852
|
});
|
|
1827
1853
|
throw __decorateServiceException(response, parsedBody);
|
|
1828
1854
|
}
|
|
@@ -1847,7 +1873,7 @@ export var deserializeAws_json1_1UpdateLogPatternCommand = function (output, con
|
|
|
1847
1873
|
});
|
|
1848
1874
|
}); };
|
|
1849
1875
|
var deserializeAws_json1_1UpdateLogPatternCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1850
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
1876
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
1851
1877
|
var _c;
|
|
1852
1878
|
return __generator(this, function (_d) {
|
|
1853
1879
|
switch (_d.label) {
|
|
@@ -1857,7 +1883,6 @@ var deserializeAws_json1_1UpdateLogPatternCommandError = function (output, conte
|
|
|
1857
1883
|
return [4, parseBody(output.body, context)];
|
|
1858
1884
|
case 1:
|
|
1859
1885
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1860
|
-
errorCode = "UnknownError";
|
|
1861
1886
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1862
1887
|
_b = errorCode;
|
|
1863
1888
|
switch (_b) {
|
|
@@ -1881,10 +1906,12 @@ var deserializeAws_json1_1UpdateLogPatternCommandError = function (output, conte
|
|
|
1881
1906
|
case 9: throw _d.sent();
|
|
1882
1907
|
case 10:
|
|
1883
1908
|
parsedBody = parsedOutput.body;
|
|
1909
|
+
$metadata = deserializeMetadata(output);
|
|
1910
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1884
1911
|
response = new __BaseException({
|
|
1885
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1912
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1886
1913
|
$fault: "client",
|
|
1887
|
-
$metadata:
|
|
1914
|
+
$metadata: $metadata,
|
|
1888
1915
|
});
|
|
1889
1916
|
throw __decorateServiceException(response, parsedBody);
|
|
1890
1917
|
}
|
|
@@ -1963,96 +1990,67 @@ var deserializeAws_json1_1ValidationExceptionResponse = function (parsedOutput,
|
|
|
1963
1990
|
});
|
|
1964
1991
|
}); };
|
|
1965
1992
|
var serializeAws_json1_1CreateApplicationRequest = function (input, context) {
|
|
1966
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoConfigEnabled
|
|
1967
|
-
input.AutoConfigEnabled !== null && { AutoConfigEnabled: input.AutoConfigEnabled })), (input.AutoCreate !== undefined && input.AutoCreate !== null && { AutoCreate: input.AutoCreate })), (input.CWEMonitorEnabled !== undefined &&
|
|
1968
|
-
input.CWEMonitorEnabled !== null && { CWEMonitorEnabled: input.CWEMonitorEnabled })), (input.GroupingType !== undefined && input.GroupingType !== null && { GroupingType: input.GroupingType })), (input.OpsCenterEnabled !== undefined &&
|
|
1969
|
-
input.OpsCenterEnabled !== null && { OpsCenterEnabled: input.OpsCenterEnabled })), (input.OpsItemSNSTopicArn !== undefined &&
|
|
1970
|
-
input.OpsItemSNSTopicArn !== null && { OpsItemSNSTopicArn: input.OpsItemSNSTopicArn })), (input.ResourceGroupName !== undefined &&
|
|
1971
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
1993
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled })), (input.AutoCreate != null && { AutoCreate: input.AutoCreate })), (input.CWEMonitorEnabled != null && { CWEMonitorEnabled: input.CWEMonitorEnabled })), (input.GroupingType != null && { GroupingType: input.GroupingType })), (input.OpsCenterEnabled != null && { OpsCenterEnabled: input.OpsCenterEnabled })), (input.OpsItemSNSTopicArn != null && { OpsItemSNSTopicArn: input.OpsItemSNSTopicArn })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
1972
1994
|
};
|
|
1973
1995
|
var serializeAws_json1_1CreateComponentRequest = function (input, context) {
|
|
1974
|
-
return __assign(__assign(__assign({}, (input.ComponentName
|
|
1975
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName })), (input.ResourceList !== undefined &&
|
|
1976
|
-
input.ResourceList !== null && { ResourceList: serializeAws_json1_1ResourceList(input.ResourceList, context) }));
|
|
1996
|
+
return __assign(__assign(__assign({}, (input.ComponentName != null && { ComponentName: input.ComponentName })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName })), (input.ResourceList != null && { ResourceList: serializeAws_json1_1ResourceList(input.ResourceList, context) }));
|
|
1977
1997
|
};
|
|
1978
1998
|
var serializeAws_json1_1CreateLogPatternRequest = function (input, context) {
|
|
1979
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Pattern
|
|
1980
|
-
input.PatternSetName !== null && { PatternSetName: input.PatternSetName })), (input.Rank !== undefined && input.Rank !== null && { Rank: input.Rank })), (input.ResourceGroupName !== undefined &&
|
|
1981
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
1999
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Pattern != null && { Pattern: input.Pattern })), (input.PatternName != null && { PatternName: input.PatternName })), (input.PatternSetName != null && { PatternSetName: input.PatternSetName })), (input.Rank != null && { Rank: input.Rank })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
1982
2000
|
};
|
|
1983
2001
|
var serializeAws_json1_1DeleteApplicationRequest = function (input, context) {
|
|
1984
|
-
return __assign({}, (input.ResourceGroupName
|
|
1985
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2002
|
+
return __assign({}, (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
1986
2003
|
};
|
|
1987
2004
|
var serializeAws_json1_1DeleteComponentRequest = function (input, context) {
|
|
1988
|
-
return __assign(__assign({}, (input.ComponentName
|
|
1989
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2005
|
+
return __assign(__assign({}, (input.ComponentName != null && { ComponentName: input.ComponentName })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
1990
2006
|
};
|
|
1991
2007
|
var serializeAws_json1_1DeleteLogPatternRequest = function (input, context) {
|
|
1992
|
-
return __assign(__assign(__assign({}, (input.PatternName
|
|
1993
|
-
input.PatternSetName !== null && { PatternSetName: input.PatternSetName })), (input.ResourceGroupName !== undefined &&
|
|
1994
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2008
|
+
return __assign(__assign(__assign({}, (input.PatternName != null && { PatternName: input.PatternName })), (input.PatternSetName != null && { PatternSetName: input.PatternSetName })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
1995
2009
|
};
|
|
1996
2010
|
var serializeAws_json1_1DescribeApplicationRequest = function (input, context) {
|
|
1997
|
-
return __assign({}, (input.ResourceGroupName
|
|
1998
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2011
|
+
return __assign({}, (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
1999
2012
|
};
|
|
2000
2013
|
var serializeAws_json1_1DescribeComponentConfigurationRecommendationRequest = function (input, context) {
|
|
2001
|
-
return __assign(__assign(__assign({}, (input.ComponentName
|
|
2002
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName })), (input.Tier !== undefined && input.Tier !== null && { Tier: input.Tier }));
|
|
2014
|
+
return __assign(__assign(__assign({}, (input.ComponentName != null && { ComponentName: input.ComponentName })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName })), (input.Tier != null && { Tier: input.Tier }));
|
|
2003
2015
|
};
|
|
2004
2016
|
var serializeAws_json1_1DescribeComponentConfigurationRequest = function (input, context) {
|
|
2005
|
-
return __assign(__assign({}, (input.ComponentName
|
|
2006
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2017
|
+
return __assign(__assign({}, (input.ComponentName != null && { ComponentName: input.ComponentName })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2007
2018
|
};
|
|
2008
2019
|
var serializeAws_json1_1DescribeComponentRequest = function (input, context) {
|
|
2009
|
-
return __assign(__assign({}, (input.ComponentName
|
|
2010
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2020
|
+
return __assign(__assign({}, (input.ComponentName != null && { ComponentName: input.ComponentName })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2011
2021
|
};
|
|
2012
2022
|
var serializeAws_json1_1DescribeLogPatternRequest = function (input, context) {
|
|
2013
|
-
return __assign(__assign(__assign({}, (input.PatternName
|
|
2014
|
-
input.PatternSetName !== null && { PatternSetName: input.PatternSetName })), (input.ResourceGroupName !== undefined &&
|
|
2015
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2023
|
+
return __assign(__assign(__assign({}, (input.PatternName != null && { PatternName: input.PatternName })), (input.PatternSetName != null && { PatternSetName: input.PatternSetName })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2016
2024
|
};
|
|
2017
2025
|
var serializeAws_json1_1DescribeObservationRequest = function (input, context) {
|
|
2018
|
-
return __assign({}, (input.ObservationId
|
|
2026
|
+
return __assign({}, (input.ObservationId != null && { ObservationId: input.ObservationId }));
|
|
2019
2027
|
};
|
|
2020
2028
|
var serializeAws_json1_1DescribeProblemObservationsRequest = function (input, context) {
|
|
2021
|
-
return __assign({}, (input.ProblemId
|
|
2029
|
+
return __assign({}, (input.ProblemId != null && { ProblemId: input.ProblemId }));
|
|
2022
2030
|
};
|
|
2023
2031
|
var serializeAws_json1_1DescribeProblemRequest = function (input, context) {
|
|
2024
|
-
return __assign({}, (input.ProblemId
|
|
2032
|
+
return __assign({}, (input.ProblemId != null && { ProblemId: input.ProblemId }));
|
|
2025
2033
|
};
|
|
2026
2034
|
var serializeAws_json1_1ListApplicationsRequest = function (input, context) {
|
|
2027
|
-
return __assign(__assign({}, (input.MaxResults
|
|
2035
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
2028
2036
|
};
|
|
2029
2037
|
var serializeAws_json1_1ListComponentsRequest = function (input, context) {
|
|
2030
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2031
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2038
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2032
2039
|
};
|
|
2033
2040
|
var serializeAws_json1_1ListConfigurationHistoryRequest = function (input, context) {
|
|
2034
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime
|
|
2035
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.EventStatus !== undefined && input.EventStatus !== null && { EventStatus: input.EventStatus })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceGroupName !== undefined &&
|
|
2036
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName })), (input.StartTime !== undefined &&
|
|
2037
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
2041
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.EventStatus != null && { EventStatus: input.EventStatus })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
2038
2042
|
};
|
|
2039
2043
|
var serializeAws_json1_1ListLogPatternSetsRequest = function (input, context) {
|
|
2040
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
2041
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2044
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2042
2045
|
};
|
|
2043
2046
|
var serializeAws_json1_1ListLogPatternsRequest = function (input, context) {
|
|
2044
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
2045
|
-
input.PatternSetName !== null && { PatternSetName: input.PatternSetName })), (input.ResourceGroupName !== undefined &&
|
|
2046
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2047
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.PatternSetName != null && { PatternSetName: input.PatternSetName })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2047
2048
|
};
|
|
2048
2049
|
var serializeAws_json1_1ListProblemsRequest = function (input, context) {
|
|
2049
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComponentName
|
|
2050
|
-
input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceGroupName !== undefined &&
|
|
2051
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName })), (input.StartTime !== undefined &&
|
|
2052
|
-
input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
2050
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ComponentName != null && { ComponentName: input.ComponentName })), (input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName })), (input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }));
|
|
2053
2051
|
};
|
|
2054
2052
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
2055
|
-
return __assign({}, (input.ResourceARN
|
|
2053
|
+
return __assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN }));
|
|
2056
2054
|
};
|
|
2057
2055
|
var serializeAws_json1_1ResourceList = function (input, context) {
|
|
2058
2056
|
return input
|
|
@@ -2065,7 +2063,7 @@ var serializeAws_json1_1ResourceList = function (input, context) {
|
|
|
2065
2063
|
});
|
|
2066
2064
|
};
|
|
2067
2065
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
2068
|
-
return __assign(__assign({}, (input.Key
|
|
2066
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
2069
2067
|
};
|
|
2070
2068
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
2071
2069
|
return input
|
|
@@ -2088,37 +2086,22 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
2088
2086
|
});
|
|
2089
2087
|
};
|
|
2090
2088
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
2091
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
2089
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
2092
2090
|
};
|
|
2093
2091
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
2094
|
-
return __assign(__assign({}, (input.ResourceARN
|
|
2095
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
2092
|
+
return __assign(__assign({}, (input.ResourceARN != null && { ResourceARN: input.ResourceARN })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
2096
2093
|
};
|
|
2097
2094
|
var serializeAws_json1_1UpdateApplicationRequest = function (input, context) {
|
|
2098
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoConfigEnabled
|
|
2099
|
-
input.AutoConfigEnabled !== null && { AutoConfigEnabled: input.AutoConfigEnabled })), (input.CWEMonitorEnabled !== undefined &&
|
|
2100
|
-
input.CWEMonitorEnabled !== null && { CWEMonitorEnabled: input.CWEMonitorEnabled })), (input.OpsCenterEnabled !== undefined &&
|
|
2101
|
-
input.OpsCenterEnabled !== null && { OpsCenterEnabled: input.OpsCenterEnabled })), (input.OpsItemSNSTopicArn !== undefined &&
|
|
2102
|
-
input.OpsItemSNSTopicArn !== null && { OpsItemSNSTopicArn: input.OpsItemSNSTopicArn })), (input.RemoveSNSTopic !== undefined &&
|
|
2103
|
-
input.RemoveSNSTopic !== null && { RemoveSNSTopic: input.RemoveSNSTopic })), (input.ResourceGroupName !== undefined &&
|
|
2104
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2095
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled })), (input.CWEMonitorEnabled != null && { CWEMonitorEnabled: input.CWEMonitorEnabled })), (input.OpsCenterEnabled != null && { OpsCenterEnabled: input.OpsCenterEnabled })), (input.OpsItemSNSTopicArn != null && { OpsItemSNSTopicArn: input.OpsItemSNSTopicArn })), (input.RemoveSNSTopic != null && { RemoveSNSTopic: input.RemoveSNSTopic })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2105
2096
|
};
|
|
2106
2097
|
var serializeAws_json1_1UpdateComponentConfigurationRequest = function (input, context) {
|
|
2107
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoConfigEnabled
|
|
2108
|
-
input.AutoConfigEnabled !== null && { AutoConfigEnabled: input.AutoConfigEnabled })), (input.ComponentConfiguration !== undefined &&
|
|
2109
|
-
input.ComponentConfiguration !== null && { ComponentConfiguration: input.ComponentConfiguration })), (input.ComponentName !== undefined && input.ComponentName !== null && { ComponentName: input.ComponentName })), (input.Monitor !== undefined && input.Monitor !== null && { Monitor: input.Monitor })), (input.ResourceGroupName !== undefined &&
|
|
2110
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName })), (input.Tier !== undefined && input.Tier !== null && { Tier: input.Tier }));
|
|
2098
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AutoConfigEnabled != null && { AutoConfigEnabled: input.AutoConfigEnabled })), (input.ComponentConfiguration != null && { ComponentConfiguration: input.ComponentConfiguration })), (input.ComponentName != null && { ComponentName: input.ComponentName })), (input.Monitor != null && { Monitor: input.Monitor })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName })), (input.Tier != null && { Tier: input.Tier }));
|
|
2111
2099
|
};
|
|
2112
2100
|
var serializeAws_json1_1UpdateComponentRequest = function (input, context) {
|
|
2113
|
-
return __assign(__assign(__assign(__assign({}, (input.ComponentName
|
|
2114
|
-
input.NewComponentName !== null && { NewComponentName: input.NewComponentName })), (input.ResourceGroupName !== undefined &&
|
|
2115
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName })), (input.ResourceList !== undefined &&
|
|
2116
|
-
input.ResourceList !== null && { ResourceList: serializeAws_json1_1ResourceList(input.ResourceList, context) }));
|
|
2101
|
+
return __assign(__assign(__assign(__assign({}, (input.ComponentName != null && { ComponentName: input.ComponentName })), (input.NewComponentName != null && { NewComponentName: input.NewComponentName })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName })), (input.ResourceList != null && { ResourceList: serializeAws_json1_1ResourceList(input.ResourceList, context) }));
|
|
2117
2102
|
};
|
|
2118
2103
|
var serializeAws_json1_1UpdateLogPatternRequest = function (input, context) {
|
|
2119
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.Pattern
|
|
2120
|
-
input.PatternSetName !== null && { PatternSetName: input.PatternSetName })), (input.Rank !== undefined && input.Rank !== null && { Rank: input.Rank })), (input.ResourceGroupName !== undefined &&
|
|
2121
|
-
input.ResourceGroupName !== null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2104
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.Pattern != null && { Pattern: input.Pattern })), (input.PatternName != null && { PatternName: input.PatternName })), (input.PatternSetName != null && { PatternSetName: input.PatternSetName })), (input.Rank != null && { Rank: input.Rank })), (input.ResourceGroupName != null && { ResourceGroupName: input.ResourceGroupName }));
|
|
2122
2105
|
};
|
|
2123
2106
|
var deserializeAws_json1_1AccessDeniedException = function (output, context) {
|
|
2124
2107
|
return {
|
|
@@ -2129,7 +2112,7 @@ var deserializeAws_json1_1ApplicationComponent = function (output, context) {
|
|
|
2129
2112
|
return {
|
|
2130
2113
|
ComponentName: __expectString(output.ComponentName),
|
|
2131
2114
|
ComponentRemarks: __expectString(output.ComponentRemarks),
|
|
2132
|
-
DetectedWorkload: output.DetectedWorkload
|
|
2115
|
+
DetectedWorkload: output.DetectedWorkload != null
|
|
2133
2116
|
? deserializeAws_json1_1DetectedWorkload(output.DetectedWorkload, context)
|
|
2134
2117
|
: undefined,
|
|
2135
2118
|
Monitor: __expectBoolean(output.Monitor),
|
|
@@ -2183,9 +2166,7 @@ var deserializeAws_json1_1ConfigurationEvent = function (output, context) {
|
|
|
2183
2166
|
EventResourceName: __expectString(output.EventResourceName),
|
|
2184
2167
|
EventResourceType: __expectString(output.EventResourceType),
|
|
2185
2168
|
EventStatus: __expectString(output.EventStatus),
|
|
2186
|
-
EventTime: output.EventTime
|
|
2187
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventTime)))
|
|
2188
|
-
: undefined,
|
|
2169
|
+
EventTime: output.EventTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventTime))) : undefined,
|
|
2189
2170
|
MonitoredResourceARN: __expectString(output.MonitoredResourceARN),
|
|
2190
2171
|
};
|
|
2191
2172
|
};
|
|
@@ -2202,7 +2183,7 @@ var deserializeAws_json1_1ConfigurationEventList = function (output, context) {
|
|
|
2202
2183
|
};
|
|
2203
2184
|
var deserializeAws_json1_1CreateApplicationResponse = function (output, context) {
|
|
2204
2185
|
return {
|
|
2205
|
-
ApplicationInfo: output.ApplicationInfo
|
|
2186
|
+
ApplicationInfo: output.ApplicationInfo != null
|
|
2206
2187
|
? deserializeAws_json1_1ApplicationInfo(output.ApplicationInfo, context)
|
|
2207
2188
|
: undefined,
|
|
2208
2189
|
};
|
|
@@ -2212,9 +2193,7 @@ var deserializeAws_json1_1CreateComponentResponse = function (output, context) {
|
|
|
2212
2193
|
};
|
|
2213
2194
|
var deserializeAws_json1_1CreateLogPatternResponse = function (output, context) {
|
|
2214
2195
|
return {
|
|
2215
|
-
LogPattern: output.LogPattern
|
|
2216
|
-
? deserializeAws_json1_1LogPattern(output.LogPattern, context)
|
|
2217
|
-
: undefined,
|
|
2196
|
+
LogPattern: output.LogPattern != null ? deserializeAws_json1_1LogPattern(output.LogPattern, context) : undefined,
|
|
2218
2197
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
2219
2198
|
};
|
|
2220
2199
|
};
|
|
@@ -2229,7 +2208,7 @@ var deserializeAws_json1_1DeleteLogPatternResponse = function (output, context)
|
|
|
2229
2208
|
};
|
|
2230
2209
|
var deserializeAws_json1_1DescribeApplicationResponse = function (output, context) {
|
|
2231
2210
|
return {
|
|
2232
|
-
ApplicationInfo: output.ApplicationInfo
|
|
2211
|
+
ApplicationInfo: output.ApplicationInfo != null
|
|
2233
2212
|
? deserializeAws_json1_1ApplicationInfo(output.ApplicationInfo, context)
|
|
2234
2213
|
: undefined,
|
|
2235
2214
|
};
|
|
@@ -2248,41 +2227,33 @@ var deserializeAws_json1_1DescribeComponentConfigurationResponse = function (out
|
|
|
2248
2227
|
};
|
|
2249
2228
|
var deserializeAws_json1_1DescribeComponentResponse = function (output, context) {
|
|
2250
2229
|
return {
|
|
2251
|
-
ApplicationComponent: output.ApplicationComponent
|
|
2230
|
+
ApplicationComponent: output.ApplicationComponent != null
|
|
2252
2231
|
? deserializeAws_json1_1ApplicationComponent(output.ApplicationComponent, context)
|
|
2253
2232
|
: undefined,
|
|
2254
|
-
ResourceList: output.ResourceList
|
|
2255
|
-
? deserializeAws_json1_1ResourceList(output.ResourceList, context)
|
|
2256
|
-
: undefined,
|
|
2233
|
+
ResourceList: output.ResourceList != null ? deserializeAws_json1_1ResourceList(output.ResourceList, context) : undefined,
|
|
2257
2234
|
};
|
|
2258
2235
|
};
|
|
2259
2236
|
var deserializeAws_json1_1DescribeLogPatternResponse = function (output, context) {
|
|
2260
2237
|
return {
|
|
2261
|
-
LogPattern: output.LogPattern
|
|
2262
|
-
? deserializeAws_json1_1LogPattern(output.LogPattern, context)
|
|
2263
|
-
: undefined,
|
|
2238
|
+
LogPattern: output.LogPattern != null ? deserializeAws_json1_1LogPattern(output.LogPattern, context) : undefined,
|
|
2264
2239
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
2265
2240
|
};
|
|
2266
2241
|
};
|
|
2267
2242
|
var deserializeAws_json1_1DescribeObservationResponse = function (output, context) {
|
|
2268
2243
|
return {
|
|
2269
|
-
Observation: output.Observation
|
|
2270
|
-
? deserializeAws_json1_1Observation(output.Observation, context)
|
|
2271
|
-
: undefined,
|
|
2244
|
+
Observation: output.Observation != null ? deserializeAws_json1_1Observation(output.Observation, context) : undefined,
|
|
2272
2245
|
};
|
|
2273
2246
|
};
|
|
2274
2247
|
var deserializeAws_json1_1DescribeProblemObservationsResponse = function (output, context) {
|
|
2275
2248
|
return {
|
|
2276
|
-
RelatedObservations: output.RelatedObservations
|
|
2249
|
+
RelatedObservations: output.RelatedObservations != null
|
|
2277
2250
|
? deserializeAws_json1_1RelatedObservations(output.RelatedObservations, context)
|
|
2278
2251
|
: undefined,
|
|
2279
2252
|
};
|
|
2280
2253
|
};
|
|
2281
2254
|
var deserializeAws_json1_1DescribeProblemResponse = function (output, context) {
|
|
2282
2255
|
return {
|
|
2283
|
-
Problem: output.Problem
|
|
2284
|
-
? deserializeAws_json1_1Problem(output.Problem, context)
|
|
2285
|
-
: undefined,
|
|
2256
|
+
Problem: output.Problem != null ? deserializeAws_json1_1Problem(output.Problem, context) : undefined,
|
|
2286
2257
|
};
|
|
2287
2258
|
};
|
|
2288
2259
|
var deserializeAws_json1_1DetectedWorkload = function (output, context) {
|
|
@@ -2312,7 +2283,7 @@ var deserializeAws_json1_1InternalServerException = function (output, context) {
|
|
|
2312
2283
|
};
|
|
2313
2284
|
var deserializeAws_json1_1ListApplicationsResponse = function (output, context) {
|
|
2314
2285
|
return {
|
|
2315
|
-
ApplicationInfoList: output.ApplicationInfoList
|
|
2286
|
+
ApplicationInfoList: output.ApplicationInfoList != null
|
|
2316
2287
|
? deserializeAws_json1_1ApplicationInfoList(output.ApplicationInfoList, context)
|
|
2317
2288
|
: undefined,
|
|
2318
2289
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2320,7 +2291,7 @@ var deserializeAws_json1_1ListApplicationsResponse = function (output, context)
|
|
|
2320
2291
|
};
|
|
2321
2292
|
var deserializeAws_json1_1ListComponentsResponse = function (output, context) {
|
|
2322
2293
|
return {
|
|
2323
|
-
ApplicationComponentList: output.ApplicationComponentList
|
|
2294
|
+
ApplicationComponentList: output.ApplicationComponentList != null
|
|
2324
2295
|
? deserializeAws_json1_1ApplicationComponentList(output.ApplicationComponentList, context)
|
|
2325
2296
|
: undefined,
|
|
2326
2297
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2328,15 +2299,13 @@ var deserializeAws_json1_1ListComponentsResponse = function (output, context) {
|
|
|
2328
2299
|
};
|
|
2329
2300
|
var deserializeAws_json1_1ListConfigurationHistoryResponse = function (output, context) {
|
|
2330
2301
|
return {
|
|
2331
|
-
EventList: output.EventList
|
|
2332
|
-
? deserializeAws_json1_1ConfigurationEventList(output.EventList, context)
|
|
2333
|
-
: undefined,
|
|
2302
|
+
EventList: output.EventList != null ? deserializeAws_json1_1ConfigurationEventList(output.EventList, context) : undefined,
|
|
2334
2303
|
NextToken: __expectString(output.NextToken),
|
|
2335
2304
|
};
|
|
2336
2305
|
};
|
|
2337
2306
|
var deserializeAws_json1_1ListLogPatternSetsResponse = function (output, context) {
|
|
2338
2307
|
return {
|
|
2339
|
-
LogPatternSets: output.LogPatternSets
|
|
2308
|
+
LogPatternSets: output.LogPatternSets != null
|
|
2340
2309
|
? deserializeAws_json1_1LogPatternSetList(output.LogPatternSets, context)
|
|
2341
2310
|
: undefined,
|
|
2342
2311
|
NextToken: __expectString(output.NextToken),
|
|
@@ -2345,9 +2314,7 @@ var deserializeAws_json1_1ListLogPatternSetsResponse = function (output, context
|
|
|
2345
2314
|
};
|
|
2346
2315
|
var deserializeAws_json1_1ListLogPatternsResponse = function (output, context) {
|
|
2347
2316
|
return {
|
|
2348
|
-
LogPatterns: output.LogPatterns
|
|
2349
|
-
? deserializeAws_json1_1LogPatternList(output.LogPatterns, context)
|
|
2350
|
-
: undefined,
|
|
2317
|
+
LogPatterns: output.LogPatterns != null ? deserializeAws_json1_1LogPatternList(output.LogPatterns, context) : undefined,
|
|
2351
2318
|
NextToken: __expectString(output.NextToken),
|
|
2352
2319
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
2353
2320
|
};
|
|
@@ -2355,17 +2322,13 @@ var deserializeAws_json1_1ListLogPatternsResponse = function (output, context) {
|
|
|
2355
2322
|
var deserializeAws_json1_1ListProblemsResponse = function (output, context) {
|
|
2356
2323
|
return {
|
|
2357
2324
|
NextToken: __expectString(output.NextToken),
|
|
2358
|
-
ProblemList: output.ProblemList
|
|
2359
|
-
? deserializeAws_json1_1ProblemList(output.ProblemList, context)
|
|
2360
|
-
: undefined,
|
|
2325
|
+
ProblemList: output.ProblemList != null ? deserializeAws_json1_1ProblemList(output.ProblemList, context) : undefined,
|
|
2361
2326
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
2362
2327
|
};
|
|
2363
2328
|
};
|
|
2364
2329
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
2365
2330
|
return {
|
|
2366
|
-
Tags: output.Tags
|
|
2367
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2368
|
-
: undefined,
|
|
2331
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
2369
2332
|
};
|
|
2370
2333
|
};
|
|
2371
2334
|
var deserializeAws_json1_1LogPattern = function (output, context) {
|
|
@@ -2413,18 +2376,14 @@ var deserializeAws_json1_1Observation = function (output, context) {
|
|
|
2413
2376
|
EbsRequestId: __expectString(output.EbsRequestId),
|
|
2414
2377
|
EbsResult: __expectString(output.EbsResult),
|
|
2415
2378
|
Ec2State: __expectString(output.Ec2State),
|
|
2416
|
-
EndTime: output.EndTime
|
|
2417
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime)))
|
|
2418
|
-
: undefined,
|
|
2379
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
2419
2380
|
HealthEventArn: __expectString(output.HealthEventArn),
|
|
2420
2381
|
HealthEventDescription: __expectString(output.HealthEventDescription),
|
|
2421
2382
|
HealthEventTypeCategory: __expectString(output.HealthEventTypeCategory),
|
|
2422
2383
|
HealthEventTypeCode: __expectString(output.HealthEventTypeCode),
|
|
2423
2384
|
HealthService: __expectString(output.HealthService),
|
|
2424
2385
|
Id: __expectString(output.Id),
|
|
2425
|
-
LineTime: output.LineTime
|
|
2426
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LineTime)))
|
|
2427
|
-
: undefined,
|
|
2386
|
+
LineTime: output.LineTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LineTime))) : undefined,
|
|
2428
2387
|
LogFilter: __expectString(output.LogFilter),
|
|
2429
2388
|
LogGroup: __expectString(output.LogGroup),
|
|
2430
2389
|
LogText: __expectString(output.LogText),
|
|
@@ -2435,9 +2394,7 @@ var deserializeAws_json1_1Observation = function (output, context) {
|
|
|
2435
2394
|
S3EventName: __expectString(output.S3EventName),
|
|
2436
2395
|
SourceARN: __expectString(output.SourceARN),
|
|
2437
2396
|
SourceType: __expectString(output.SourceType),
|
|
2438
|
-
StartTime: output.StartTime
|
|
2439
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
2440
|
-
: undefined,
|
|
2397
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2441
2398
|
StatesArn: __expectString(output.StatesArn),
|
|
2442
2399
|
StatesExecutionArn: __expectString(output.StatesExecutionArn),
|
|
2443
2400
|
StatesInput: __expectString(output.StatesInput),
|
|
@@ -2467,23 +2424,17 @@ var deserializeAws_json1_1ObservationList = function (output, context) {
|
|
|
2467
2424
|
var deserializeAws_json1_1Problem = function (output, context) {
|
|
2468
2425
|
return {
|
|
2469
2426
|
AffectedResource: __expectString(output.AffectedResource),
|
|
2470
|
-
EndTime: output.EndTime
|
|
2471
|
-
|
|
2472
|
-
: undefined,
|
|
2473
|
-
Feedback: output.Feedback !== undefined && output.Feedback !== null
|
|
2474
|
-
? deserializeAws_json1_1Feedback(output.Feedback, context)
|
|
2475
|
-
: undefined,
|
|
2427
|
+
EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
|
|
2428
|
+
Feedback: output.Feedback != null ? deserializeAws_json1_1Feedback(output.Feedback, context) : undefined,
|
|
2476
2429
|
Id: __expectString(output.Id),
|
|
2477
2430
|
Insights: __expectString(output.Insights),
|
|
2478
|
-
LastRecurrenceTime: output.LastRecurrenceTime
|
|
2431
|
+
LastRecurrenceTime: output.LastRecurrenceTime != null
|
|
2479
2432
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastRecurrenceTime)))
|
|
2480
2433
|
: undefined,
|
|
2481
2434
|
RecurringCount: __expectLong(output.RecurringCount),
|
|
2482
2435
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
2483
2436
|
SeverityLevel: __expectString(output.SeverityLevel),
|
|
2484
|
-
StartTime: output.StartTime
|
|
2485
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
2486
|
-
: undefined,
|
|
2437
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
2487
2438
|
Status: __expectString(output.Status),
|
|
2488
2439
|
Title: __expectString(output.Title),
|
|
2489
2440
|
};
|
|
@@ -2501,7 +2452,7 @@ var deserializeAws_json1_1ProblemList = function (output, context) {
|
|
|
2501
2452
|
};
|
|
2502
2453
|
var deserializeAws_json1_1RelatedObservations = function (output, context) {
|
|
2503
2454
|
return {
|
|
2504
|
-
ObservationList: output.ObservationList
|
|
2455
|
+
ObservationList: output.ObservationList != null
|
|
2505
2456
|
? deserializeAws_json1_1ObservationList(output.ObservationList, context)
|
|
2506
2457
|
: undefined,
|
|
2507
2458
|
};
|
|
@@ -2563,7 +2514,7 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
2563
2514
|
};
|
|
2564
2515
|
var deserializeAws_json1_1UpdateApplicationResponse = function (output, context) {
|
|
2565
2516
|
return {
|
|
2566
|
-
ApplicationInfo: output.ApplicationInfo
|
|
2517
|
+
ApplicationInfo: output.ApplicationInfo != null
|
|
2567
2518
|
? deserializeAws_json1_1ApplicationInfo(output.ApplicationInfo, context)
|
|
2568
2519
|
: undefined,
|
|
2569
2520
|
};
|
|
@@ -2576,9 +2527,7 @@ var deserializeAws_json1_1UpdateComponentResponse = function (output, context) {
|
|
|
2576
2527
|
};
|
|
2577
2528
|
var deserializeAws_json1_1UpdateLogPatternResponse = function (output, context) {
|
|
2578
2529
|
return {
|
|
2579
|
-
LogPattern: output.LogPattern
|
|
2580
|
-
? deserializeAws_json1_1LogPattern(output.LogPattern, context)
|
|
2581
|
-
: undefined,
|
|
2530
|
+
LogPattern: output.LogPattern != null ? deserializeAws_json1_1LogPattern(output.LogPattern, context) : undefined,
|
|
2582
2531
|
ResourceGroupName: __expectString(output.ResourceGroupName),
|
|
2583
2532
|
};
|
|
2584
2533
|
};
|
|
@@ -2671,5 +2620,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
2671
2620
|
if (data["__type"] !== undefined) {
|
|
2672
2621
|
return sanitizeErrorCode(data["__type"]);
|
|
2673
2622
|
}
|
|
2674
|
-
return "";
|
|
2675
2623
|
};
|