@aws-sdk/client-cloudwatch 3.180.0 → 3.181.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 +18 -0
- package/dist-cjs/protocols/Aws_query.js +126 -118
- package/dist-es/protocols/Aws_query.js +143 -128
- package/package.json +3 -3
|
@@ -411,7 +411,7 @@ var deserializeAws_queryDeleteAlarmsCommandError = function (output, context) {
|
|
|
411
411
|
case 0:
|
|
412
412
|
_a = [__assign({}, output)];
|
|
413
413
|
_c = {};
|
|
414
|
-
return [4,
|
|
414
|
+
return [4, parseErrorBody(output.body, context)];
|
|
415
415
|
case 1:
|
|
416
416
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
417
417
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -462,19 +462,19 @@ var deserializeAws_queryDeleteAnomalyDetectorCommandError = function (output, co
|
|
|
462
462
|
case 0:
|
|
463
463
|
_a = [__assign({}, output)];
|
|
464
464
|
_c = {};
|
|
465
|
-
return [4,
|
|
465
|
+
return [4, parseErrorBody(output.body, context)];
|
|
466
466
|
case 1:
|
|
467
467
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
468
468
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
469
469
|
_b = errorCode;
|
|
470
470
|
switch (_b) {
|
|
471
|
-
case "
|
|
471
|
+
case "InternalServiceError": return [3, 2];
|
|
472
472
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
473
|
-
case "
|
|
473
|
+
case "InvalidParameterCombination": return [3, 4];
|
|
474
474
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException": return [3, 4];
|
|
475
|
-
case "
|
|
475
|
+
case "InvalidParameterValue": return [3, 6];
|
|
476
476
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 6];
|
|
477
|
-
case "
|
|
477
|
+
case "MissingParameter": return [3, 8];
|
|
478
478
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 8];
|
|
479
479
|
case "ResourceNotFoundException": return [3, 10];
|
|
480
480
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException": return [3, 10];
|
|
@@ -529,25 +529,25 @@ var deserializeAws_queryDeleteDashboardsCommandError = function (output, context
|
|
|
529
529
|
case 0:
|
|
530
530
|
_a = [__assign({}, output)];
|
|
531
531
|
_c = {};
|
|
532
|
-
return [4,
|
|
532
|
+
return [4, parseErrorBody(output.body, context)];
|
|
533
533
|
case 1:
|
|
534
534
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
535
535
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
536
536
|
_b = errorCode;
|
|
537
537
|
switch (_b) {
|
|
538
|
-
case "
|
|
539
|
-
case "com.amazonaws.cloudwatch#
|
|
540
|
-
case "
|
|
541
|
-
case "com.amazonaws.cloudwatch#
|
|
542
|
-
case "
|
|
543
|
-
case "com.amazonaws.cloudwatch#
|
|
538
|
+
case "InternalServiceError": return [3, 2];
|
|
539
|
+
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
540
|
+
case "InvalidParameterValue": return [3, 4];
|
|
541
|
+
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 4];
|
|
542
|
+
case "ResourceNotFound": return [3, 6];
|
|
543
|
+
case "com.amazonaws.cloudwatch#DashboardNotFoundError": return [3, 6];
|
|
544
544
|
}
|
|
545
545
|
return [3, 8];
|
|
546
|
-
case 2: return [4,
|
|
546
|
+
case 2: return [4, deserializeAws_queryInternalServiceFaultResponse(parsedOutput, context)];
|
|
547
547
|
case 3: throw _d.sent();
|
|
548
|
-
case 4: return [4,
|
|
548
|
+
case 4: return [4, deserializeAws_queryInvalidParameterValueExceptionResponse(parsedOutput, context)];
|
|
549
549
|
case 5: throw _d.sent();
|
|
550
|
-
case 6: return [4,
|
|
550
|
+
case 6: return [4, deserializeAws_queryDashboardNotFoundErrorResponse(parsedOutput, context)];
|
|
551
551
|
case 7: throw _d.sent();
|
|
552
552
|
case 8:
|
|
553
553
|
parsedBody = parsedOutput.body;
|
|
@@ -588,15 +588,15 @@ var deserializeAws_queryDeleteInsightRulesCommandError = function (output, conte
|
|
|
588
588
|
case 0:
|
|
589
589
|
_a = [__assign({}, output)];
|
|
590
590
|
_c = {};
|
|
591
|
-
return [4,
|
|
591
|
+
return [4, parseErrorBody(output.body, context)];
|
|
592
592
|
case 1:
|
|
593
593
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
594
594
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
595
595
|
_b = errorCode;
|
|
596
596
|
switch (_b) {
|
|
597
|
-
case "
|
|
597
|
+
case "InvalidParameterValue": return [3, 2];
|
|
598
598
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 2];
|
|
599
|
-
case "
|
|
599
|
+
case "MissingParameter": return [3, 4];
|
|
600
600
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 4];
|
|
601
601
|
}
|
|
602
602
|
return [3, 6];
|
|
@@ -643,17 +643,17 @@ var deserializeAws_queryDeleteMetricStreamCommandError = function (output, conte
|
|
|
643
643
|
case 0:
|
|
644
644
|
_a = [__assign({}, output)];
|
|
645
645
|
_c = {};
|
|
646
|
-
return [4,
|
|
646
|
+
return [4, parseErrorBody(output.body, context)];
|
|
647
647
|
case 1:
|
|
648
648
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
649
649
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
650
650
|
_b = errorCode;
|
|
651
651
|
switch (_b) {
|
|
652
|
-
case "
|
|
652
|
+
case "InternalServiceError": return [3, 2];
|
|
653
653
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
654
|
-
case "
|
|
654
|
+
case "InvalidParameterValue": return [3, 4];
|
|
655
655
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 4];
|
|
656
|
-
case "
|
|
656
|
+
case "MissingParameter": return [3, 6];
|
|
657
657
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 6];
|
|
658
658
|
}
|
|
659
659
|
return [3, 8];
|
|
@@ -702,7 +702,7 @@ var deserializeAws_queryDescribeAlarmHistoryCommandError = function (output, con
|
|
|
702
702
|
case 0:
|
|
703
703
|
_a = [__assign({}, output)];
|
|
704
704
|
_c = {};
|
|
705
|
-
return [4,
|
|
705
|
+
return [4, parseErrorBody(output.body, context)];
|
|
706
706
|
case 1:
|
|
707
707
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
708
708
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -753,7 +753,7 @@ var deserializeAws_queryDescribeAlarmsCommandError = function (output, context)
|
|
|
753
753
|
case 0:
|
|
754
754
|
_a = [__assign({}, output)];
|
|
755
755
|
_c = {};
|
|
756
|
-
return [4,
|
|
756
|
+
return [4, parseErrorBody(output.body, context)];
|
|
757
757
|
case 1:
|
|
758
758
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
759
759
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -804,7 +804,7 @@ var deserializeAws_queryDescribeAlarmsForMetricCommandError = function (output,
|
|
|
804
804
|
case 0:
|
|
805
805
|
_a = [__assign({}, output)];
|
|
806
806
|
_b = {};
|
|
807
|
-
return [4,
|
|
807
|
+
return [4, parseErrorBody(output.body, context)];
|
|
808
808
|
case 1:
|
|
809
809
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
810
810
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -845,19 +845,19 @@ var deserializeAws_queryDescribeAnomalyDetectorsCommandError = function (output,
|
|
|
845
845
|
case 0:
|
|
846
846
|
_a = [__assign({}, output)];
|
|
847
847
|
_c = {};
|
|
848
|
-
return [4,
|
|
848
|
+
return [4, parseErrorBody(output.body, context)];
|
|
849
849
|
case 1:
|
|
850
850
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
851
851
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
852
852
|
_b = errorCode;
|
|
853
853
|
switch (_b) {
|
|
854
|
-
case "
|
|
854
|
+
case "InternalServiceError": return [3, 2];
|
|
855
855
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
856
856
|
case "InvalidNextToken": return [3, 4];
|
|
857
857
|
case "com.amazonaws.cloudwatch#InvalidNextToken": return [3, 4];
|
|
858
|
-
case "
|
|
858
|
+
case "InvalidParameterCombination": return [3, 6];
|
|
859
859
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException": return [3, 6];
|
|
860
|
-
case "
|
|
860
|
+
case "InvalidParameterValue": return [3, 8];
|
|
861
861
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 8];
|
|
862
862
|
}
|
|
863
863
|
return [3, 10];
|
|
@@ -908,7 +908,7 @@ var deserializeAws_queryDescribeInsightRulesCommandError = function (output, con
|
|
|
908
908
|
case 0:
|
|
909
909
|
_a = [__assign({}, output)];
|
|
910
910
|
_c = {};
|
|
911
|
-
return [4,
|
|
911
|
+
return [4, parseErrorBody(output.body, context)];
|
|
912
912
|
case 1:
|
|
913
913
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
914
914
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -959,7 +959,7 @@ var deserializeAws_queryDisableAlarmActionsCommandError = function (output, cont
|
|
|
959
959
|
case 0:
|
|
960
960
|
_a = [__assign({}, output)];
|
|
961
961
|
_b = {};
|
|
962
|
-
return [4,
|
|
962
|
+
return [4, parseErrorBody(output.body, context)];
|
|
963
963
|
case 1:
|
|
964
964
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
965
965
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -1000,15 +1000,15 @@ var deserializeAws_queryDisableInsightRulesCommandError = function (output, cont
|
|
|
1000
1000
|
case 0:
|
|
1001
1001
|
_a = [__assign({}, output)];
|
|
1002
1002
|
_c = {};
|
|
1003
|
-
return [4,
|
|
1003
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1004
1004
|
case 1:
|
|
1005
1005
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1006
1006
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1007
1007
|
_b = errorCode;
|
|
1008
1008
|
switch (_b) {
|
|
1009
|
-
case "
|
|
1009
|
+
case "InvalidParameterValue": return [3, 2];
|
|
1010
1010
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 2];
|
|
1011
|
-
case "
|
|
1011
|
+
case "MissingParameter": return [3, 4];
|
|
1012
1012
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 4];
|
|
1013
1013
|
}
|
|
1014
1014
|
return [3, 6];
|
|
@@ -1055,7 +1055,7 @@ var deserializeAws_queryEnableAlarmActionsCommandError = function (output, conte
|
|
|
1055
1055
|
case 0:
|
|
1056
1056
|
_a = [__assign({}, output)];
|
|
1057
1057
|
_b = {};
|
|
1058
|
-
return [4,
|
|
1058
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1059
1059
|
case 1:
|
|
1060
1060
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
1061
1061
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -1096,17 +1096,17 @@ var deserializeAws_queryEnableInsightRulesCommandError = function (output, conte
|
|
|
1096
1096
|
case 0:
|
|
1097
1097
|
_a = [__assign({}, output)];
|
|
1098
1098
|
_c = {};
|
|
1099
|
-
return [4,
|
|
1099
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1100
1100
|
case 1:
|
|
1101
1101
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1102
1102
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1103
1103
|
_b = errorCode;
|
|
1104
1104
|
switch (_b) {
|
|
1105
|
-
case "
|
|
1105
|
+
case "InvalidParameterValue": return [3, 2];
|
|
1106
1106
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 2];
|
|
1107
1107
|
case "LimitExceededException": return [3, 4];
|
|
1108
1108
|
case "com.amazonaws.cloudwatch#LimitExceededException": return [3, 4];
|
|
1109
|
-
case "
|
|
1109
|
+
case "MissingParameter": return [3, 6];
|
|
1110
1110
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 6];
|
|
1111
1111
|
}
|
|
1112
1112
|
return [3, 8];
|
|
@@ -1155,25 +1155,25 @@ var deserializeAws_queryGetDashboardCommandError = function (output, context) {
|
|
|
1155
1155
|
case 0:
|
|
1156
1156
|
_a = [__assign({}, output)];
|
|
1157
1157
|
_c = {};
|
|
1158
|
-
return [4,
|
|
1158
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1159
1159
|
case 1:
|
|
1160
1160
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1161
1161
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1162
1162
|
_b = errorCode;
|
|
1163
1163
|
switch (_b) {
|
|
1164
|
-
case "
|
|
1165
|
-
case "com.amazonaws.cloudwatch#
|
|
1166
|
-
case "
|
|
1167
|
-
case "com.amazonaws.cloudwatch#
|
|
1168
|
-
case "
|
|
1169
|
-
case "com.amazonaws.cloudwatch#
|
|
1164
|
+
case "InternalServiceError": return [3, 2];
|
|
1165
|
+
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
1166
|
+
case "InvalidParameterValue": return [3, 4];
|
|
1167
|
+
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 4];
|
|
1168
|
+
case "ResourceNotFound": return [3, 6];
|
|
1169
|
+
case "com.amazonaws.cloudwatch#DashboardNotFoundError": return [3, 6];
|
|
1170
1170
|
}
|
|
1171
1171
|
return [3, 8];
|
|
1172
|
-
case 2: return [4,
|
|
1172
|
+
case 2: return [4, deserializeAws_queryInternalServiceFaultResponse(parsedOutput, context)];
|
|
1173
1173
|
case 3: throw _d.sent();
|
|
1174
|
-
case 4: return [4,
|
|
1174
|
+
case 4: return [4, deserializeAws_queryInvalidParameterValueExceptionResponse(parsedOutput, context)];
|
|
1175
1175
|
case 5: throw _d.sent();
|
|
1176
|
-
case 6: return [4,
|
|
1176
|
+
case 6: return [4, deserializeAws_queryDashboardNotFoundErrorResponse(parsedOutput, context)];
|
|
1177
1177
|
case 7: throw _d.sent();
|
|
1178
1178
|
case 8:
|
|
1179
1179
|
parsedBody = parsedOutput.body;
|
|
@@ -1214,15 +1214,15 @@ var deserializeAws_queryGetInsightRuleReportCommandError = function (output, con
|
|
|
1214
1214
|
case 0:
|
|
1215
1215
|
_a = [__assign({}, output)];
|
|
1216
1216
|
_c = {};
|
|
1217
|
-
return [4,
|
|
1217
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1218
1218
|
case 1:
|
|
1219
1219
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1220
1220
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1221
1221
|
_b = errorCode;
|
|
1222
1222
|
switch (_b) {
|
|
1223
|
-
case "
|
|
1223
|
+
case "InvalidParameterValue": return [3, 2];
|
|
1224
1224
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 2];
|
|
1225
|
-
case "
|
|
1225
|
+
case "MissingParameter": return [3, 4];
|
|
1226
1226
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 4];
|
|
1227
1227
|
case "ResourceNotFoundException": return [3, 6];
|
|
1228
1228
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException": return [3, 6];
|
|
@@ -1273,7 +1273,7 @@ var deserializeAws_queryGetMetricDataCommandError = function (output, context) {
|
|
|
1273
1273
|
case 0:
|
|
1274
1274
|
_a = [__assign({}, output)];
|
|
1275
1275
|
_c = {};
|
|
1276
|
-
return [4,
|
|
1276
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1277
1277
|
case 1:
|
|
1278
1278
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1279
1279
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -1324,19 +1324,19 @@ var deserializeAws_queryGetMetricStatisticsCommandError = function (output, cont
|
|
|
1324
1324
|
case 0:
|
|
1325
1325
|
_a = [__assign({}, output)];
|
|
1326
1326
|
_c = {};
|
|
1327
|
-
return [4,
|
|
1327
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1328
1328
|
case 1:
|
|
1329
1329
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1330
1330
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1331
1331
|
_b = errorCode;
|
|
1332
1332
|
switch (_b) {
|
|
1333
|
-
case "
|
|
1333
|
+
case "InternalServiceError": return [3, 2];
|
|
1334
1334
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
1335
|
-
case "
|
|
1335
|
+
case "InvalidParameterCombination": return [3, 4];
|
|
1336
1336
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException": return [3, 4];
|
|
1337
|
-
case "
|
|
1337
|
+
case "InvalidParameterValue": return [3, 6];
|
|
1338
1338
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 6];
|
|
1339
|
-
case "
|
|
1339
|
+
case "MissingParameter": return [3, 8];
|
|
1340
1340
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 8];
|
|
1341
1341
|
}
|
|
1342
1342
|
return [3, 10];
|
|
@@ -1387,19 +1387,19 @@ var deserializeAws_queryGetMetricStreamCommandError = function (output, context)
|
|
|
1387
1387
|
case 0:
|
|
1388
1388
|
_a = [__assign({}, output)];
|
|
1389
1389
|
_c = {};
|
|
1390
|
-
return [4,
|
|
1390
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1391
1391
|
case 1:
|
|
1392
1392
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1393
1393
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1394
1394
|
_b = errorCode;
|
|
1395
1395
|
switch (_b) {
|
|
1396
|
-
case "
|
|
1396
|
+
case "InternalServiceError": return [3, 2];
|
|
1397
1397
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
1398
|
-
case "
|
|
1398
|
+
case "InvalidParameterCombination": return [3, 4];
|
|
1399
1399
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException": return [3, 4];
|
|
1400
|
-
case "
|
|
1400
|
+
case "InvalidParameterValue": return [3, 6];
|
|
1401
1401
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 6];
|
|
1402
|
-
case "
|
|
1402
|
+
case "MissingParameter": return [3, 8];
|
|
1403
1403
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 8];
|
|
1404
1404
|
case "ResourceNotFoundException": return [3, 10];
|
|
1405
1405
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException": return [3, 10];
|
|
@@ -1454,7 +1454,7 @@ var deserializeAws_queryGetMetricWidgetImageCommandError = function (output, con
|
|
|
1454
1454
|
case 0:
|
|
1455
1455
|
_a = [__assign({}, output)];
|
|
1456
1456
|
_b = {};
|
|
1457
|
-
return [4,
|
|
1457
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1458
1458
|
case 1:
|
|
1459
1459
|
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
1460
1460
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -1495,15 +1495,15 @@ var deserializeAws_queryListDashboardsCommandError = function (output, context)
|
|
|
1495
1495
|
case 0:
|
|
1496
1496
|
_a = [__assign({}, output)];
|
|
1497
1497
|
_c = {};
|
|
1498
|
-
return [4,
|
|
1498
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1499
1499
|
case 1:
|
|
1500
1500
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1501
1501
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1502
1502
|
_b = errorCode;
|
|
1503
1503
|
switch (_b) {
|
|
1504
|
-
case "
|
|
1504
|
+
case "InternalServiceError": return [3, 2];
|
|
1505
1505
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
1506
|
-
case "
|
|
1506
|
+
case "InvalidParameterValue": return [3, 4];
|
|
1507
1507
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 4];
|
|
1508
1508
|
}
|
|
1509
1509
|
return [3, 6];
|
|
@@ -1550,7 +1550,7 @@ var deserializeAws_queryListManagedInsightRulesCommandError = function (output,
|
|
|
1550
1550
|
case 0:
|
|
1551
1551
|
_a = [__assign({}, output)];
|
|
1552
1552
|
_c = {};
|
|
1553
|
-
return [4,
|
|
1553
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1554
1554
|
case 1:
|
|
1555
1555
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1556
1556
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -1558,9 +1558,9 @@ var deserializeAws_queryListManagedInsightRulesCommandError = function (output,
|
|
|
1558
1558
|
switch (_b) {
|
|
1559
1559
|
case "InvalidNextToken": return [3, 2];
|
|
1560
1560
|
case "com.amazonaws.cloudwatch#InvalidNextToken": return [3, 2];
|
|
1561
|
-
case "
|
|
1561
|
+
case "InvalidParameterValue": return [3, 4];
|
|
1562
1562
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 4];
|
|
1563
|
-
case "
|
|
1563
|
+
case "MissingParameter": return [3, 6];
|
|
1564
1564
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 6];
|
|
1565
1565
|
}
|
|
1566
1566
|
return [3, 8];
|
|
@@ -1609,15 +1609,15 @@ var deserializeAws_queryListMetricsCommandError = function (output, context) { r
|
|
|
1609
1609
|
case 0:
|
|
1610
1610
|
_a = [__assign({}, output)];
|
|
1611
1611
|
_c = {};
|
|
1612
|
-
return [4,
|
|
1612
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1613
1613
|
case 1:
|
|
1614
1614
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1615
1615
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1616
1616
|
_b = errorCode;
|
|
1617
1617
|
switch (_b) {
|
|
1618
|
-
case "
|
|
1618
|
+
case "InternalServiceError": return [3, 2];
|
|
1619
1619
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
1620
|
-
case "
|
|
1620
|
+
case "InvalidParameterValue": return [3, 4];
|
|
1621
1621
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 4];
|
|
1622
1622
|
}
|
|
1623
1623
|
return [3, 6];
|
|
@@ -1664,19 +1664,19 @@ var deserializeAws_queryListMetricStreamsCommandError = function (output, contex
|
|
|
1664
1664
|
case 0:
|
|
1665
1665
|
_a = [__assign({}, output)];
|
|
1666
1666
|
_c = {};
|
|
1667
|
-
return [4,
|
|
1667
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1668
1668
|
case 1:
|
|
1669
1669
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1670
1670
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1671
1671
|
_b = errorCode;
|
|
1672
1672
|
switch (_b) {
|
|
1673
|
-
case "
|
|
1673
|
+
case "InternalServiceError": return [3, 2];
|
|
1674
1674
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
1675
1675
|
case "InvalidNextToken": return [3, 4];
|
|
1676
1676
|
case "com.amazonaws.cloudwatch#InvalidNextToken": return [3, 4];
|
|
1677
|
-
case "
|
|
1677
|
+
case "InvalidParameterValue": return [3, 6];
|
|
1678
1678
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 6];
|
|
1679
|
-
case "
|
|
1679
|
+
case "MissingParameter": return [3, 8];
|
|
1680
1680
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 8];
|
|
1681
1681
|
}
|
|
1682
1682
|
return [3, 10];
|
|
@@ -1727,15 +1727,15 @@ var deserializeAws_queryListTagsForResourceCommandError = function (output, cont
|
|
|
1727
1727
|
case 0:
|
|
1728
1728
|
_a = [__assign({}, output)];
|
|
1729
1729
|
_c = {};
|
|
1730
|
-
return [4,
|
|
1730
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1731
1731
|
case 1:
|
|
1732
1732
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1733
1733
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1734
1734
|
_b = errorCode;
|
|
1735
1735
|
switch (_b) {
|
|
1736
|
-
case "
|
|
1736
|
+
case "InternalServiceError": return [3, 2];
|
|
1737
1737
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
1738
|
-
case "
|
|
1738
|
+
case "InvalidParameterValue": return [3, 4];
|
|
1739
1739
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 4];
|
|
1740
1740
|
case "ResourceNotFoundException": return [3, 6];
|
|
1741
1741
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException": return [3, 6];
|
|
@@ -1786,21 +1786,21 @@ var deserializeAws_queryPutAnomalyDetectorCommandError = function (output, conte
|
|
|
1786
1786
|
case 0:
|
|
1787
1787
|
_a = [__assign({}, output)];
|
|
1788
1788
|
_c = {};
|
|
1789
|
-
return [4,
|
|
1789
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1790
1790
|
case 1:
|
|
1791
1791
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1792
1792
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1793
1793
|
_b = errorCode;
|
|
1794
1794
|
switch (_b) {
|
|
1795
|
-
case "
|
|
1795
|
+
case "InternalServiceError": return [3, 2];
|
|
1796
1796
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
1797
|
-
case "
|
|
1797
|
+
case "InvalidParameterCombination": return [3, 4];
|
|
1798
1798
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException": return [3, 4];
|
|
1799
|
-
case "
|
|
1799
|
+
case "InvalidParameterValue": return [3, 6];
|
|
1800
1800
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 6];
|
|
1801
1801
|
case "LimitExceededException": return [3, 8];
|
|
1802
1802
|
case "com.amazonaws.cloudwatch#LimitExceededException": return [3, 8];
|
|
1803
|
-
case "
|
|
1803
|
+
case "MissingParameter": return [3, 10];
|
|
1804
1804
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 10];
|
|
1805
1805
|
}
|
|
1806
1806
|
return [3, 12];
|
|
@@ -1853,13 +1853,13 @@ var deserializeAws_queryPutCompositeAlarmCommandError = function (output, contex
|
|
|
1853
1853
|
case 0:
|
|
1854
1854
|
_a = [__assign({}, output)];
|
|
1855
1855
|
_c = {};
|
|
1856
|
-
return [4,
|
|
1856
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1857
1857
|
case 1:
|
|
1858
1858
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1859
1859
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1860
1860
|
_b = errorCode;
|
|
1861
1861
|
switch (_b) {
|
|
1862
|
-
case "
|
|
1862
|
+
case "LimitExceeded": return [3, 2];
|
|
1863
1863
|
case "com.amazonaws.cloudwatch#LimitExceededFault": return [3, 2];
|
|
1864
1864
|
}
|
|
1865
1865
|
return [3, 4];
|
|
@@ -1904,21 +1904,21 @@ var deserializeAws_queryPutDashboardCommandError = function (output, context) {
|
|
|
1904
1904
|
case 0:
|
|
1905
1905
|
_a = [__assign({}, output)];
|
|
1906
1906
|
_c = {};
|
|
1907
|
-
return [4,
|
|
1907
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1908
1908
|
case 1:
|
|
1909
1909
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1910
1910
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1911
1911
|
_b = errorCode;
|
|
1912
1912
|
switch (_b) {
|
|
1913
|
-
case "
|
|
1914
|
-
case "com.amazonaws.cloudwatch#
|
|
1915
|
-
case "
|
|
1916
|
-
case "com.amazonaws.cloudwatch#
|
|
1913
|
+
case "InternalServiceError": return [3, 2];
|
|
1914
|
+
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
1915
|
+
case "InvalidParameterInput": return [3, 4];
|
|
1916
|
+
case "com.amazonaws.cloudwatch#DashboardInvalidInputError": return [3, 4];
|
|
1917
1917
|
}
|
|
1918
1918
|
return [3, 6];
|
|
1919
|
-
case 2: return [4,
|
|
1919
|
+
case 2: return [4, deserializeAws_queryInternalServiceFaultResponse(parsedOutput, context)];
|
|
1920
1920
|
case 3: throw _d.sent();
|
|
1921
|
-
case 4: return [4,
|
|
1921
|
+
case 4: return [4, deserializeAws_queryDashboardInvalidInputErrorResponse(parsedOutput, context)];
|
|
1922
1922
|
case 5: throw _d.sent();
|
|
1923
1923
|
case 6:
|
|
1924
1924
|
parsedBody = parsedOutput.body;
|
|
@@ -1959,17 +1959,17 @@ var deserializeAws_queryPutInsightRuleCommandError = function (output, context)
|
|
|
1959
1959
|
case 0:
|
|
1960
1960
|
_a = [__assign({}, output)];
|
|
1961
1961
|
_c = {};
|
|
1962
|
-
return [4,
|
|
1962
|
+
return [4, parseErrorBody(output.body, context)];
|
|
1963
1963
|
case 1:
|
|
1964
1964
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
1965
1965
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
1966
1966
|
_b = errorCode;
|
|
1967
1967
|
switch (_b) {
|
|
1968
|
-
case "
|
|
1968
|
+
case "InvalidParameterValue": return [3, 2];
|
|
1969
1969
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 2];
|
|
1970
1970
|
case "LimitExceededException": return [3, 4];
|
|
1971
1971
|
case "com.amazonaws.cloudwatch#LimitExceededException": return [3, 4];
|
|
1972
|
-
case "
|
|
1972
|
+
case "MissingParameter": return [3, 6];
|
|
1973
1973
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 6];
|
|
1974
1974
|
}
|
|
1975
1975
|
return [3, 8];
|
|
@@ -2018,15 +2018,15 @@ var deserializeAws_queryPutManagedInsightRulesCommandError = function (output, c
|
|
|
2018
2018
|
case 0:
|
|
2019
2019
|
_a = [__assign({}, output)];
|
|
2020
2020
|
_c = {};
|
|
2021
|
-
return [4,
|
|
2021
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2022
2022
|
case 1:
|
|
2023
2023
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2024
2024
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2025
2025
|
_b = errorCode;
|
|
2026
2026
|
switch (_b) {
|
|
2027
|
-
case "
|
|
2027
|
+
case "InvalidParameterValue": return [3, 2];
|
|
2028
2028
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 2];
|
|
2029
|
-
case "
|
|
2029
|
+
case "MissingParameter": return [3, 4];
|
|
2030
2030
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 4];
|
|
2031
2031
|
}
|
|
2032
2032
|
return [3, 6];
|
|
@@ -2073,13 +2073,13 @@ var deserializeAws_queryPutMetricAlarmCommandError = function (output, context)
|
|
|
2073
2073
|
case 0:
|
|
2074
2074
|
_a = [__assign({}, output)];
|
|
2075
2075
|
_c = {};
|
|
2076
|
-
return [4,
|
|
2076
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2077
2077
|
case 1:
|
|
2078
2078
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2079
2079
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2080
2080
|
_b = errorCode;
|
|
2081
2081
|
switch (_b) {
|
|
2082
|
-
case "
|
|
2082
|
+
case "LimitExceeded": return [3, 2];
|
|
2083
2083
|
case "com.amazonaws.cloudwatch#LimitExceededFault": return [3, 2];
|
|
2084
2084
|
}
|
|
2085
2085
|
return [3, 4];
|
|
@@ -2124,19 +2124,19 @@ var deserializeAws_queryPutMetricDataCommandError = function (output, context) {
|
|
|
2124
2124
|
case 0:
|
|
2125
2125
|
_a = [__assign({}, output)];
|
|
2126
2126
|
_c = {};
|
|
2127
|
-
return [4,
|
|
2127
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2128
2128
|
case 1:
|
|
2129
2129
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2130
2130
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2131
2131
|
_b = errorCode;
|
|
2132
2132
|
switch (_b) {
|
|
2133
|
-
case "
|
|
2133
|
+
case "InternalServiceError": return [3, 2];
|
|
2134
2134
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
2135
|
-
case "
|
|
2135
|
+
case "InvalidParameterCombination": return [3, 4];
|
|
2136
2136
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException": return [3, 4];
|
|
2137
|
-
case "
|
|
2137
|
+
case "InvalidParameterValue": return [3, 6];
|
|
2138
2138
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 6];
|
|
2139
|
-
case "
|
|
2139
|
+
case "MissingParameter": return [3, 8];
|
|
2140
2140
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 8];
|
|
2141
2141
|
}
|
|
2142
2142
|
return [3, 10];
|
|
@@ -2187,7 +2187,7 @@ var deserializeAws_queryPutMetricStreamCommandError = function (output, context)
|
|
|
2187
2187
|
case 0:
|
|
2188
2188
|
_a = [__assign({}, output)];
|
|
2189
2189
|
_c = {};
|
|
2190
|
-
return [4,
|
|
2190
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2191
2191
|
case 1:
|
|
2192
2192
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2193
2193
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -2195,13 +2195,13 @@ var deserializeAws_queryPutMetricStreamCommandError = function (output, context)
|
|
|
2195
2195
|
switch (_b) {
|
|
2196
2196
|
case "ConcurrentModificationException": return [3, 2];
|
|
2197
2197
|
case "com.amazonaws.cloudwatch#ConcurrentModificationException": return [3, 2];
|
|
2198
|
-
case "
|
|
2198
|
+
case "InternalServiceError": return [3, 4];
|
|
2199
2199
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 4];
|
|
2200
|
-
case "
|
|
2200
|
+
case "InvalidParameterCombination": return [3, 6];
|
|
2201
2201
|
case "com.amazonaws.cloudwatch#InvalidParameterCombinationException": return [3, 6];
|
|
2202
|
-
case "
|
|
2202
|
+
case "InvalidParameterValue": return [3, 8];
|
|
2203
2203
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 8];
|
|
2204
|
-
case "
|
|
2204
|
+
case "MissingParameter": return [3, 10];
|
|
2205
2205
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 10];
|
|
2206
2206
|
}
|
|
2207
2207
|
return [3, 12];
|
|
@@ -2254,13 +2254,13 @@ var deserializeAws_querySetAlarmStateCommandError = function (output, context) {
|
|
|
2254
2254
|
case 0:
|
|
2255
2255
|
_a = [__assign({}, output)];
|
|
2256
2256
|
_c = {};
|
|
2257
|
-
return [4,
|
|
2257
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2258
2258
|
case 1:
|
|
2259
2259
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2260
2260
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2261
2261
|
_b = errorCode;
|
|
2262
2262
|
switch (_b) {
|
|
2263
|
-
case "
|
|
2263
|
+
case "InvalidFormat": return [3, 2];
|
|
2264
2264
|
case "com.amazonaws.cloudwatch#InvalidFormatFault": return [3, 2];
|
|
2265
2265
|
case "ResourceNotFound": return [3, 4];
|
|
2266
2266
|
case "com.amazonaws.cloudwatch#ResourceNotFound": return [3, 4];
|
|
@@ -2309,17 +2309,17 @@ var deserializeAws_queryStartMetricStreamsCommandError = function (output, conte
|
|
|
2309
2309
|
case 0:
|
|
2310
2310
|
_a = [__assign({}, output)];
|
|
2311
2311
|
_c = {};
|
|
2312
|
-
return [4,
|
|
2312
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2313
2313
|
case 1:
|
|
2314
2314
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2315
2315
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2316
2316
|
_b = errorCode;
|
|
2317
2317
|
switch (_b) {
|
|
2318
|
-
case "
|
|
2318
|
+
case "InternalServiceError": return [3, 2];
|
|
2319
2319
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
2320
|
-
case "
|
|
2320
|
+
case "InvalidParameterValue": return [3, 4];
|
|
2321
2321
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 4];
|
|
2322
|
-
case "
|
|
2322
|
+
case "MissingParameter": return [3, 6];
|
|
2323
2323
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 6];
|
|
2324
2324
|
}
|
|
2325
2325
|
return [3, 8];
|
|
@@ -2368,17 +2368,17 @@ var deserializeAws_queryStopMetricStreamsCommandError = function (output, contex
|
|
|
2368
2368
|
case 0:
|
|
2369
2369
|
_a = [__assign({}, output)];
|
|
2370
2370
|
_c = {};
|
|
2371
|
-
return [4,
|
|
2371
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2372
2372
|
case 1:
|
|
2373
2373
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2374
2374
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2375
2375
|
_b = errorCode;
|
|
2376
2376
|
switch (_b) {
|
|
2377
|
-
case "
|
|
2377
|
+
case "InternalServiceError": return [3, 2];
|
|
2378
2378
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 2];
|
|
2379
|
-
case "
|
|
2379
|
+
case "InvalidParameterValue": return [3, 4];
|
|
2380
2380
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 4];
|
|
2381
|
-
case "
|
|
2381
|
+
case "MissingParameter": return [3, 6];
|
|
2382
2382
|
case "com.amazonaws.cloudwatch#MissingRequiredParameterException": return [3, 6];
|
|
2383
2383
|
}
|
|
2384
2384
|
return [3, 8];
|
|
@@ -2427,7 +2427,7 @@ var deserializeAws_queryTagResourceCommandError = function (output, context) { r
|
|
|
2427
2427
|
case 0:
|
|
2428
2428
|
_a = [__assign({}, output)];
|
|
2429
2429
|
_c = {};
|
|
2430
|
-
return [4,
|
|
2430
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2431
2431
|
case 1:
|
|
2432
2432
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2433
2433
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -2435,9 +2435,9 @@ var deserializeAws_queryTagResourceCommandError = function (output, context) { r
|
|
|
2435
2435
|
switch (_b) {
|
|
2436
2436
|
case "ConcurrentModificationException": return [3, 2];
|
|
2437
2437
|
case "com.amazonaws.cloudwatch#ConcurrentModificationException": return [3, 2];
|
|
2438
|
-
case "
|
|
2438
|
+
case "InternalServiceError": return [3, 4];
|
|
2439
2439
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 4];
|
|
2440
|
-
case "
|
|
2440
|
+
case "InvalidParameterValue": return [3, 6];
|
|
2441
2441
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 6];
|
|
2442
2442
|
case "ResourceNotFoundException": return [3, 8];
|
|
2443
2443
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException": return [3, 8];
|
|
@@ -2490,7 +2490,7 @@ var deserializeAws_queryUntagResourceCommandError = function (output, context) {
|
|
|
2490
2490
|
case 0:
|
|
2491
2491
|
_a = [__assign({}, output)];
|
|
2492
2492
|
_c = {};
|
|
2493
|
-
return [4,
|
|
2493
|
+
return [4, parseErrorBody(output.body, context)];
|
|
2494
2494
|
case 1:
|
|
2495
2495
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2496
2496
|
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
@@ -2498,9 +2498,9 @@ var deserializeAws_queryUntagResourceCommandError = function (output, context) {
|
|
|
2498
2498
|
switch (_b) {
|
|
2499
2499
|
case "ConcurrentModificationException": return [3, 2];
|
|
2500
2500
|
case "com.amazonaws.cloudwatch#ConcurrentModificationException": return [3, 2];
|
|
2501
|
-
case "
|
|
2501
|
+
case "InternalServiceError": return [3, 4];
|
|
2502
2502
|
case "com.amazonaws.cloudwatch#InternalServiceFault": return [3, 4];
|
|
2503
|
-
case "
|
|
2503
|
+
case "InvalidParameterValue": return [3, 6];
|
|
2504
2504
|
case "com.amazonaws.cloudwatch#InvalidParameterValueException": return [3, 6];
|
|
2505
2505
|
case "ResourceNotFoundException": return [3, 8];
|
|
2506
2506
|
case "com.amazonaws.cloudwatch#ResourceNotFoundException": return [3, 8];
|
|
@@ -6020,6 +6020,21 @@ var parseBody = function (streamBody, context) {
|
|
|
6020
6020
|
return {};
|
|
6021
6021
|
});
|
|
6022
6022
|
};
|
|
6023
|
+
var parseErrorBody = function (errorBody, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
6024
|
+
var value;
|
|
6025
|
+
var _a;
|
|
6026
|
+
return __generator(this, function (_b) {
|
|
6027
|
+
switch (_b.label) {
|
|
6028
|
+
case 0: return [4, parseBody(errorBody, context)];
|
|
6029
|
+
case 1:
|
|
6030
|
+
value = _b.sent();
|
|
6031
|
+
if (value.Error) {
|
|
6032
|
+
value.Error.message = (_a = value.Error.message) !== null && _a !== void 0 ? _a : value.Error.Message;
|
|
6033
|
+
}
|
|
6034
|
+
return [2, value];
|
|
6035
|
+
}
|
|
6036
|
+
});
|
|
6037
|
+
}); };
|
|
6023
6038
|
var buildFormUrlencodedString = function (formEntries) {
|
|
6024
6039
|
return Object.entries(formEntries)
|
|
6025
6040
|
.map(function (_a) {
|