@aws-sdk/client-cloudwatch 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/CloudWatchClient.js +13 -13
- package/dist-cjs/commands/DeleteAlarmsCommand.js +3 -3
- package/dist-cjs/commands/DeleteAnomalyDetectorCommand.js +3 -3
- package/dist-cjs/commands/DeleteDashboardsCommand.js +3 -3
- package/dist-cjs/commands/DeleteInsightRulesCommand.js +3 -3
- package/dist-cjs/commands/DeleteMetricStreamCommand.js +3 -3
- package/dist-cjs/commands/DescribeAlarmHistoryCommand.js +3 -3
- package/dist-cjs/commands/DescribeAlarmsCommand.js +3 -3
- package/dist-cjs/commands/DescribeAlarmsForMetricCommand.js +3 -3
- package/dist-cjs/commands/DescribeAnomalyDetectorsCommand.js +3 -3
- package/dist-cjs/commands/DescribeInsightRulesCommand.js +3 -3
- package/dist-cjs/commands/DisableAlarmActionsCommand.js +3 -3
- package/dist-cjs/commands/DisableInsightRulesCommand.js +3 -3
- package/dist-cjs/commands/EnableAlarmActionsCommand.js +3 -3
- package/dist-cjs/commands/EnableInsightRulesCommand.js +3 -3
- package/dist-cjs/commands/GetDashboardCommand.js +3 -3
- package/dist-cjs/commands/GetInsightRuleReportCommand.js +3 -3
- package/dist-cjs/commands/GetMetricDataCommand.js +3 -3
- package/dist-cjs/commands/GetMetricStatisticsCommand.js +3 -3
- package/dist-cjs/commands/GetMetricStreamCommand.js +3 -3
- package/dist-cjs/commands/GetMetricWidgetImageCommand.js +3 -3
- package/dist-cjs/commands/ListDashboardsCommand.js +3 -3
- package/dist-cjs/commands/ListMetricStreamsCommand.js +3 -3
- package/dist-cjs/commands/ListMetricsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutAnomalyDetectorCommand.js +3 -3
- package/dist-cjs/commands/PutCompositeAlarmCommand.js +3 -3
- package/dist-cjs/commands/PutDashboardCommand.js +3 -3
- package/dist-cjs/commands/PutInsightRuleCommand.js +3 -3
- package/dist-cjs/commands/PutMetricAlarmCommand.js +3 -3
- package/dist-cjs/commands/PutMetricDataCommand.js +3 -3
- package/dist-cjs/commands/PutMetricStreamCommand.js +3 -3
- package/dist-cjs/commands/SetAlarmStateCommand.js +3 -3
- package/dist-cjs/commands/StartMetricStreamsCommand.js +3 -3
- package/dist-cjs/commands/StopMetricStreamsCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +256 -256
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForAlarmExists.js +3 -3
- package/dist-cjs/waiters/waitForCompositeAlarmExists.js +3 -3
- package/dist-es/CloudWatch.js +36 -36
- package/dist-es/pagination/DescribeAlarmHistoryPaginator.js +4 -4
- package/dist-es/pagination/DescribeAlarmsPaginator.js +4 -4
- package/dist-es/pagination/DescribeInsightRulesPaginator.js +4 -4
- package/dist-es/pagination/GetMetricDataPaginator.js +4 -4
- package/dist-es/pagination/ListDashboardsPaginator.js +4 -4
- package/dist-es/pagination/ListMetricStreamsPaginator.js +4 -4
- package/dist-es/pagination/ListMetricsPaginator.js +4 -4
- package/dist-es/protocols/Aws_query.js +76 -76
- package/dist-es/waiters/waitForAlarmExists.js +1 -1
- package/dist-es/waiters/waitForCompositeAlarmExists.js +1 -1
- package/dist-types/CloudWatchClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CloudWatchClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
|
@@ -506,7 +506,7 @@ const deserializeAws_queryDeleteAlarmsCommandError = async (output, context) =>
|
|
|
506
506
|
$fault: "client",
|
|
507
507
|
$metadata: deserializeMetadata(output),
|
|
508
508
|
});
|
|
509
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
509
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
512
|
const deserializeAws_queryDeleteAnomalyDetectorCommand = async (output, context) => {
|
|
@@ -554,7 +554,7 @@ const deserializeAws_queryDeleteAnomalyDetectorCommandError = async (output, con
|
|
|
554
554
|
$fault: "client",
|
|
555
555
|
$metadata: deserializeMetadata(output),
|
|
556
556
|
});
|
|
557
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
557
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
558
558
|
}
|
|
559
559
|
};
|
|
560
560
|
const deserializeAws_queryDeleteDashboardsCommand = async (output, context) => {
|
|
@@ -596,7 +596,7 @@ const deserializeAws_queryDeleteDashboardsCommandError = async (output, context)
|
|
|
596
596
|
$fault: "client",
|
|
597
597
|
$metadata: deserializeMetadata(output),
|
|
598
598
|
});
|
|
599
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
599
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
600
600
|
}
|
|
601
601
|
};
|
|
602
602
|
const deserializeAws_queryDeleteInsightRulesCommand = async (output, context) => {
|
|
@@ -635,7 +635,7 @@ const deserializeAws_queryDeleteInsightRulesCommandError = async (output, contex
|
|
|
635
635
|
$fault: "client",
|
|
636
636
|
$metadata: deserializeMetadata(output),
|
|
637
637
|
});
|
|
638
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
638
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
639
639
|
}
|
|
640
640
|
};
|
|
641
641
|
const deserializeAws_queryDeleteMetricStreamCommand = async (output, context) => {
|
|
@@ -677,7 +677,7 @@ const deserializeAws_queryDeleteMetricStreamCommandError = async (output, contex
|
|
|
677
677
|
$fault: "client",
|
|
678
678
|
$metadata: deserializeMetadata(output),
|
|
679
679
|
});
|
|
680
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
680
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
683
|
const deserializeAws_queryDescribeAlarmHistoryCommand = async (output, context) => {
|
|
@@ -713,7 +713,7 @@ const deserializeAws_queryDescribeAlarmHistoryCommandError = async (output, cont
|
|
|
713
713
|
$fault: "client",
|
|
714
714
|
$metadata: deserializeMetadata(output),
|
|
715
715
|
});
|
|
716
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
716
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
717
717
|
}
|
|
718
718
|
};
|
|
719
719
|
const deserializeAws_queryDescribeAlarmsCommand = async (output, context) => {
|
|
@@ -749,7 +749,7 @@ const deserializeAws_queryDescribeAlarmsCommandError = async (output, context) =
|
|
|
749
749
|
$fault: "client",
|
|
750
750
|
$metadata: deserializeMetadata(output),
|
|
751
751
|
});
|
|
752
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
752
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
753
753
|
}
|
|
754
754
|
};
|
|
755
755
|
const deserializeAws_queryDescribeAlarmsForMetricCommand = async (output, context) => {
|
|
@@ -782,7 +782,7 @@ const deserializeAws_queryDescribeAlarmsForMetricCommandError = async (output, c
|
|
|
782
782
|
$fault: "client",
|
|
783
783
|
$metadata: deserializeMetadata(output),
|
|
784
784
|
});
|
|
785
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
785
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
786
786
|
}
|
|
787
787
|
};
|
|
788
788
|
const deserializeAws_queryDescribeAnomalyDetectorsCommand = async (output, context) => {
|
|
@@ -827,7 +827,7 @@ const deserializeAws_queryDescribeAnomalyDetectorsCommandError = async (output,
|
|
|
827
827
|
$fault: "client",
|
|
828
828
|
$metadata: deserializeMetadata(output),
|
|
829
829
|
});
|
|
830
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
830
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
831
831
|
}
|
|
832
832
|
};
|
|
833
833
|
const deserializeAws_queryDescribeInsightRulesCommand = async (output, context) => {
|
|
@@ -863,7 +863,7 @@ const deserializeAws_queryDescribeInsightRulesCommandError = async (output, cont
|
|
|
863
863
|
$fault: "client",
|
|
864
864
|
$metadata: deserializeMetadata(output),
|
|
865
865
|
});
|
|
866
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
866
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
867
867
|
}
|
|
868
868
|
};
|
|
869
869
|
const deserializeAws_queryDisableAlarmActionsCommand = async (output, context) => {
|
|
@@ -893,7 +893,7 @@ const deserializeAws_queryDisableAlarmActionsCommandError = async (output, conte
|
|
|
893
893
|
$fault: "client",
|
|
894
894
|
$metadata: deserializeMetadata(output),
|
|
895
895
|
});
|
|
896
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
896
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
897
897
|
}
|
|
898
898
|
};
|
|
899
899
|
const deserializeAws_queryDisableInsightRulesCommand = async (output, context) => {
|
|
@@ -932,7 +932,7 @@ const deserializeAws_queryDisableInsightRulesCommandError = async (output, conte
|
|
|
932
932
|
$fault: "client",
|
|
933
933
|
$metadata: deserializeMetadata(output),
|
|
934
934
|
});
|
|
935
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
935
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
936
936
|
}
|
|
937
937
|
};
|
|
938
938
|
const deserializeAws_queryEnableAlarmActionsCommand = async (output, context) => {
|
|
@@ -962,7 +962,7 @@ const deserializeAws_queryEnableAlarmActionsCommandError = async (output, contex
|
|
|
962
962
|
$fault: "client",
|
|
963
963
|
$metadata: deserializeMetadata(output),
|
|
964
964
|
});
|
|
965
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
965
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
966
966
|
}
|
|
967
967
|
};
|
|
968
968
|
const deserializeAws_queryEnableInsightRulesCommand = async (output, context) => {
|
|
@@ -1004,7 +1004,7 @@ const deserializeAws_queryEnableInsightRulesCommandError = async (output, contex
|
|
|
1004
1004
|
$fault: "client",
|
|
1005
1005
|
$metadata: deserializeMetadata(output),
|
|
1006
1006
|
});
|
|
1007
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1007
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1008
1008
|
}
|
|
1009
1009
|
};
|
|
1010
1010
|
const deserializeAws_queryGetDashboardCommand = async (output, context) => {
|
|
@@ -1046,7 +1046,7 @@ const deserializeAws_queryGetDashboardCommandError = async (output, context) =>
|
|
|
1046
1046
|
$fault: "client",
|
|
1047
1047
|
$metadata: deserializeMetadata(output),
|
|
1048
1048
|
});
|
|
1049
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1049
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
1052
1052
|
const deserializeAws_queryGetInsightRuleReportCommand = async (output, context) => {
|
|
@@ -1088,7 +1088,7 @@ const deserializeAws_queryGetInsightRuleReportCommandError = async (output, cont
|
|
|
1088
1088
|
$fault: "client",
|
|
1089
1089
|
$metadata: deserializeMetadata(output),
|
|
1090
1090
|
});
|
|
1091
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1091
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1092
1092
|
}
|
|
1093
1093
|
};
|
|
1094
1094
|
const deserializeAws_queryGetMetricDataCommand = async (output, context) => {
|
|
@@ -1124,7 +1124,7 @@ const deserializeAws_queryGetMetricDataCommandError = async (output, context) =>
|
|
|
1124
1124
|
$fault: "client",
|
|
1125
1125
|
$metadata: deserializeMetadata(output),
|
|
1126
1126
|
});
|
|
1127
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1127
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1128
1128
|
}
|
|
1129
1129
|
};
|
|
1130
1130
|
const deserializeAws_queryGetMetricStatisticsCommand = async (output, context) => {
|
|
@@ -1169,7 +1169,7 @@ const deserializeAws_queryGetMetricStatisticsCommandError = async (output, conte
|
|
|
1169
1169
|
$fault: "client",
|
|
1170
1170
|
$metadata: deserializeMetadata(output),
|
|
1171
1171
|
});
|
|
1172
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1172
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1173
1173
|
}
|
|
1174
1174
|
};
|
|
1175
1175
|
const deserializeAws_queryGetMetricStreamCommand = async (output, context) => {
|
|
@@ -1217,7 +1217,7 @@ const deserializeAws_queryGetMetricStreamCommandError = async (output, context)
|
|
|
1217
1217
|
$fault: "client",
|
|
1218
1218
|
$metadata: deserializeMetadata(output),
|
|
1219
1219
|
});
|
|
1220
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1220
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1221
1221
|
}
|
|
1222
1222
|
};
|
|
1223
1223
|
const deserializeAws_queryGetMetricWidgetImageCommand = async (output, context) => {
|
|
@@ -1250,7 +1250,7 @@ const deserializeAws_queryGetMetricWidgetImageCommandError = async (output, cont
|
|
|
1250
1250
|
$fault: "client",
|
|
1251
1251
|
$metadata: deserializeMetadata(output),
|
|
1252
1252
|
});
|
|
1253
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1253
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1254
1254
|
}
|
|
1255
1255
|
};
|
|
1256
1256
|
const deserializeAws_queryListDashboardsCommand = async (output, context) => {
|
|
@@ -1289,7 +1289,7 @@ const deserializeAws_queryListDashboardsCommandError = async (output, context) =
|
|
|
1289
1289
|
$fault: "client",
|
|
1290
1290
|
$metadata: deserializeMetadata(output),
|
|
1291
1291
|
});
|
|
1292
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1292
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1293
1293
|
}
|
|
1294
1294
|
};
|
|
1295
1295
|
const deserializeAws_queryListMetricsCommand = async (output, context) => {
|
|
@@ -1328,7 +1328,7 @@ const deserializeAws_queryListMetricsCommandError = async (output, context) => {
|
|
|
1328
1328
|
$fault: "client",
|
|
1329
1329
|
$metadata: deserializeMetadata(output),
|
|
1330
1330
|
});
|
|
1331
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1331
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1332
1332
|
}
|
|
1333
1333
|
};
|
|
1334
1334
|
const deserializeAws_queryListMetricStreamsCommand = async (output, context) => {
|
|
@@ -1373,7 +1373,7 @@ const deserializeAws_queryListMetricStreamsCommandError = async (output, context
|
|
|
1373
1373
|
$fault: "client",
|
|
1374
1374
|
$metadata: deserializeMetadata(output),
|
|
1375
1375
|
});
|
|
1376
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1376
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1377
1377
|
}
|
|
1378
1378
|
};
|
|
1379
1379
|
const deserializeAws_queryListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1415,7 +1415,7 @@ const deserializeAws_queryListTagsForResourceCommandError = async (output, conte
|
|
|
1415
1415
|
$fault: "client",
|
|
1416
1416
|
$metadata: deserializeMetadata(output),
|
|
1417
1417
|
});
|
|
1418
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1418
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1419
1419
|
}
|
|
1420
1420
|
};
|
|
1421
1421
|
const deserializeAws_queryPutAnomalyDetectorCommand = async (output, context) => {
|
|
@@ -1463,7 +1463,7 @@ const deserializeAws_queryPutAnomalyDetectorCommandError = async (output, contex
|
|
|
1463
1463
|
$fault: "client",
|
|
1464
1464
|
$metadata: deserializeMetadata(output),
|
|
1465
1465
|
});
|
|
1466
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1466
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1467
1467
|
}
|
|
1468
1468
|
};
|
|
1469
1469
|
const deserializeAws_queryPutCompositeAlarmCommand = async (output, context) => {
|
|
@@ -1496,7 +1496,7 @@ const deserializeAws_queryPutCompositeAlarmCommandError = async (output, context
|
|
|
1496
1496
|
$fault: "client",
|
|
1497
1497
|
$metadata: deserializeMetadata(output),
|
|
1498
1498
|
});
|
|
1499
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1499
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1500
1500
|
}
|
|
1501
1501
|
};
|
|
1502
1502
|
const deserializeAws_queryPutDashboardCommand = async (output, context) => {
|
|
@@ -1535,7 +1535,7 @@ const deserializeAws_queryPutDashboardCommandError = async (output, context) =>
|
|
|
1535
1535
|
$fault: "client",
|
|
1536
1536
|
$metadata: deserializeMetadata(output),
|
|
1537
1537
|
});
|
|
1538
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1538
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1539
1539
|
}
|
|
1540
1540
|
};
|
|
1541
1541
|
const deserializeAws_queryPutInsightRuleCommand = async (output, context) => {
|
|
@@ -1577,7 +1577,7 @@ const deserializeAws_queryPutInsightRuleCommandError = async (output, context) =
|
|
|
1577
1577
|
$fault: "client",
|
|
1578
1578
|
$metadata: deserializeMetadata(output),
|
|
1579
1579
|
});
|
|
1580
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1580
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1581
1581
|
}
|
|
1582
1582
|
};
|
|
1583
1583
|
const deserializeAws_queryPutMetricAlarmCommand = async (output, context) => {
|
|
@@ -1610,7 +1610,7 @@ const deserializeAws_queryPutMetricAlarmCommandError = async (output, context) =
|
|
|
1610
1610
|
$fault: "client",
|
|
1611
1611
|
$metadata: deserializeMetadata(output),
|
|
1612
1612
|
});
|
|
1613
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1613
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1614
1614
|
}
|
|
1615
1615
|
};
|
|
1616
1616
|
const deserializeAws_queryPutMetricDataCommand = async (output, context) => {
|
|
@@ -1652,7 +1652,7 @@ const deserializeAws_queryPutMetricDataCommandError = async (output, context) =>
|
|
|
1652
1652
|
$fault: "client",
|
|
1653
1653
|
$metadata: deserializeMetadata(output),
|
|
1654
1654
|
});
|
|
1655
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1655
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1656
1656
|
}
|
|
1657
1657
|
};
|
|
1658
1658
|
const deserializeAws_queryPutMetricStreamCommand = async (output, context) => {
|
|
@@ -1700,7 +1700,7 @@ const deserializeAws_queryPutMetricStreamCommandError = async (output, context)
|
|
|
1700
1700
|
$fault: "client",
|
|
1701
1701
|
$metadata: deserializeMetadata(output),
|
|
1702
1702
|
});
|
|
1703
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1703
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1704
1704
|
}
|
|
1705
1705
|
};
|
|
1706
1706
|
const deserializeAws_querySetAlarmStateCommand = async (output, context) => {
|
|
@@ -1736,7 +1736,7 @@ const deserializeAws_querySetAlarmStateCommandError = async (output, context) =>
|
|
|
1736
1736
|
$fault: "client",
|
|
1737
1737
|
$metadata: deserializeMetadata(output),
|
|
1738
1738
|
});
|
|
1739
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1739
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1740
1740
|
}
|
|
1741
1741
|
};
|
|
1742
1742
|
const deserializeAws_queryStartMetricStreamsCommand = async (output, context) => {
|
|
@@ -1778,7 +1778,7 @@ const deserializeAws_queryStartMetricStreamsCommandError = async (output, contex
|
|
|
1778
1778
|
$fault: "client",
|
|
1779
1779
|
$metadata: deserializeMetadata(output),
|
|
1780
1780
|
});
|
|
1781
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1781
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1782
1782
|
}
|
|
1783
1783
|
};
|
|
1784
1784
|
const deserializeAws_queryStopMetricStreamsCommand = async (output, context) => {
|
|
@@ -1820,7 +1820,7 @@ const deserializeAws_queryStopMetricStreamsCommandError = async (output, context
|
|
|
1820
1820
|
$fault: "client",
|
|
1821
1821
|
$metadata: deserializeMetadata(output),
|
|
1822
1822
|
});
|
|
1823
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1823
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1824
1824
|
}
|
|
1825
1825
|
};
|
|
1826
1826
|
const deserializeAws_queryTagResourceCommand = async (output, context) => {
|
|
@@ -1865,7 +1865,7 @@ const deserializeAws_queryTagResourceCommandError = async (output, context) => {
|
|
|
1865
1865
|
$fault: "client",
|
|
1866
1866
|
$metadata: deserializeMetadata(output),
|
|
1867
1867
|
});
|
|
1868
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1868
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1869
1869
|
}
|
|
1870
1870
|
};
|
|
1871
1871
|
const deserializeAws_queryUntagResourceCommand = async (output, context) => {
|
|
@@ -1910,7 +1910,7 @@ const deserializeAws_queryUntagResourceCommandError = async (output, context) =>
|
|
|
1910
1910
|
$fault: "client",
|
|
1911
1911
|
$metadata: deserializeMetadata(output),
|
|
1912
1912
|
});
|
|
1913
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody.Error);
|
|
1913
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
1914
1914
|
}
|
|
1915
1915
|
};
|
|
1916
1916
|
const deserializeAws_queryConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1920,7 +1920,7 @@ const deserializeAws_queryConcurrentModificationExceptionResponse = async (parse
|
|
|
1920
1920
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1921
1921
|
...deserialized,
|
|
1922
1922
|
});
|
|
1923
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1923
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1924
1924
|
};
|
|
1925
1925
|
const deserializeAws_queryDashboardInvalidInputErrorResponse = async (parsedOutput, context) => {
|
|
1926
1926
|
const body = parsedOutput.body;
|
|
@@ -1929,7 +1929,7 @@ const deserializeAws_queryDashboardInvalidInputErrorResponse = async (parsedOutp
|
|
|
1929
1929
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1930
1930
|
...deserialized,
|
|
1931
1931
|
});
|
|
1932
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1932
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1933
1933
|
};
|
|
1934
1934
|
const deserializeAws_queryDashboardNotFoundErrorResponse = async (parsedOutput, context) => {
|
|
1935
1935
|
const body = parsedOutput.body;
|
|
@@ -1938,7 +1938,7 @@ const deserializeAws_queryDashboardNotFoundErrorResponse = async (parsedOutput,
|
|
|
1938
1938
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1939
1939
|
...deserialized,
|
|
1940
1940
|
});
|
|
1941
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1941
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1942
1942
|
};
|
|
1943
1943
|
const deserializeAws_queryInternalServiceFaultResponse = async (parsedOutput, context) => {
|
|
1944
1944
|
const body = parsedOutput.body;
|
|
@@ -1947,7 +1947,7 @@ const deserializeAws_queryInternalServiceFaultResponse = async (parsedOutput, co
|
|
|
1947
1947
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1948
1948
|
...deserialized,
|
|
1949
1949
|
});
|
|
1950
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1950
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1951
1951
|
};
|
|
1952
1952
|
const deserializeAws_queryInvalidFormatFaultResponse = async (parsedOutput, context) => {
|
|
1953
1953
|
const body = parsedOutput.body;
|
|
@@ -1956,7 +1956,7 @@ const deserializeAws_queryInvalidFormatFaultResponse = async (parsedOutput, cont
|
|
|
1956
1956
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1957
1957
|
...deserialized,
|
|
1958
1958
|
});
|
|
1959
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1959
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1960
1960
|
};
|
|
1961
1961
|
const deserializeAws_queryInvalidNextTokenResponse = async (parsedOutput, context) => {
|
|
1962
1962
|
const body = parsedOutput.body;
|
|
@@ -1965,7 +1965,7 @@ const deserializeAws_queryInvalidNextTokenResponse = async (parsedOutput, contex
|
|
|
1965
1965
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1966
1966
|
...deserialized,
|
|
1967
1967
|
});
|
|
1968
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1968
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1969
1969
|
};
|
|
1970
1970
|
const deserializeAws_queryInvalidParameterCombinationExceptionResponse = async (parsedOutput, context) => {
|
|
1971
1971
|
const body = parsedOutput.body;
|
|
@@ -1974,7 +1974,7 @@ const deserializeAws_queryInvalidParameterCombinationExceptionResponse = async (
|
|
|
1974
1974
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1975
1975
|
...deserialized,
|
|
1976
1976
|
});
|
|
1977
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1977
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1978
1978
|
};
|
|
1979
1979
|
const deserializeAws_queryInvalidParameterValueExceptionResponse = async (parsedOutput, context) => {
|
|
1980
1980
|
const body = parsedOutput.body;
|
|
@@ -1983,7 +1983,7 @@ const deserializeAws_queryInvalidParameterValueExceptionResponse = async (parsed
|
|
|
1983
1983
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1984
1984
|
...deserialized,
|
|
1985
1985
|
});
|
|
1986
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1986
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1987
1987
|
};
|
|
1988
1988
|
const deserializeAws_queryLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1989
1989
|
const body = parsedOutput.body;
|
|
@@ -1992,7 +1992,7 @@ const deserializeAws_queryLimitExceededExceptionResponse = async (parsedOutput,
|
|
|
1992
1992
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1993
1993
|
...deserialized,
|
|
1994
1994
|
});
|
|
1995
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1995
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1996
1996
|
};
|
|
1997
1997
|
const deserializeAws_queryLimitExceededFaultResponse = async (parsedOutput, context) => {
|
|
1998
1998
|
const body = parsedOutput.body;
|
|
@@ -2001,7 +2001,7 @@ const deserializeAws_queryLimitExceededFaultResponse = async (parsedOutput, cont
|
|
|
2001
2001
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2002
2002
|
...deserialized,
|
|
2003
2003
|
});
|
|
2004
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2004
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2005
2005
|
};
|
|
2006
2006
|
const deserializeAws_queryMissingRequiredParameterExceptionResponse = async (parsedOutput, context) => {
|
|
2007
2007
|
const body = parsedOutput.body;
|
|
@@ -2010,7 +2010,7 @@ const deserializeAws_queryMissingRequiredParameterExceptionResponse = async (par
|
|
|
2010
2010
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2011
2011
|
...deserialized,
|
|
2012
2012
|
});
|
|
2013
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2013
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2014
2014
|
};
|
|
2015
2015
|
const deserializeAws_queryResourceNotFoundResponse = async (parsedOutput, context) => {
|
|
2016
2016
|
const body = parsedOutput.body;
|
|
@@ -2019,7 +2019,7 @@ const deserializeAws_queryResourceNotFoundResponse = async (parsedOutput, contex
|
|
|
2019
2019
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2020
2020
|
...deserialized,
|
|
2021
2021
|
});
|
|
2022
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2022
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2023
2023
|
};
|
|
2024
2024
|
const deserializeAws_queryResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
2025
2025
|
const body = parsedOutput.body;
|
|
@@ -2028,7 +2028,7 @@ const deserializeAws_queryResourceNotFoundExceptionResponse = async (parsedOutpu
|
|
|
2028
2028
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2029
2029
|
...deserialized,
|
|
2030
2030
|
});
|
|
2031
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2031
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2032
2032
|
};
|
|
2033
2033
|
const serializeAws_queryAlarmNames = (input, context) => {
|
|
2034
2034
|
const entries = {};
|
|
@@ -2102,7 +2102,7 @@ const serializeAws_queryCounts = (input, context) => {
|
|
|
2102
2102
|
if (entry === null) {
|
|
2103
2103
|
continue;
|
|
2104
2104
|
}
|
|
2105
|
-
entries[`member.${counter}`] = smithy_client_1.serializeFloat(entry);
|
|
2105
|
+
entries[`member.${counter}`] = (0, smithy_client_1.serializeFloat)(entry);
|
|
2106
2106
|
counter++;
|
|
2107
2107
|
}
|
|
2108
2108
|
return entries;
|
|
@@ -2741,7 +2741,7 @@ const serializeAws_queryMetricDatum = (input, context) => {
|
|
|
2741
2741
|
entries["Timestamp"] = input.Timestamp.toISOString().split(".")[0] + "Z";
|
|
2742
2742
|
}
|
|
2743
2743
|
if (input.Value !== undefined && input.Value !== null) {
|
|
2744
|
-
entries["Value"] = smithy_client_1.serializeFloat(input.Value);
|
|
2744
|
+
entries["Value"] = (0, smithy_client_1.serializeFloat)(input.Value);
|
|
2745
2745
|
}
|
|
2746
2746
|
if (input.StatisticValues !== undefined && input.StatisticValues !== null) {
|
|
2747
2747
|
const memberEntries = serializeAws_queryStatisticSet(input.StatisticValues, context);
|
|
@@ -3016,7 +3016,7 @@ const serializeAws_queryPutMetricAlarmInput = (input, context) => {
|
|
|
3016
3016
|
entries["DatapointsToAlarm"] = input.DatapointsToAlarm;
|
|
3017
3017
|
}
|
|
3018
3018
|
if (input.Threshold !== undefined && input.Threshold !== null) {
|
|
3019
|
-
entries["Threshold"] = smithy_client_1.serializeFloat(input.Threshold);
|
|
3019
|
+
entries["Threshold"] = (0, smithy_client_1.serializeFloat)(input.Threshold);
|
|
3020
3020
|
}
|
|
3021
3021
|
if (input.ComparisonOperator !== undefined && input.ComparisonOperator !== null) {
|
|
3022
3022
|
entries["ComparisonOperator"] = input.ComparisonOperator;
|
|
@@ -3181,16 +3181,16 @@ const serializeAws_queryStatistics = (input, context) => {
|
|
|
3181
3181
|
const serializeAws_queryStatisticSet = (input, context) => {
|
|
3182
3182
|
const entries = {};
|
|
3183
3183
|
if (input.SampleCount !== undefined && input.SampleCount !== null) {
|
|
3184
|
-
entries["SampleCount"] = smithy_client_1.serializeFloat(input.SampleCount);
|
|
3184
|
+
entries["SampleCount"] = (0, smithy_client_1.serializeFloat)(input.SampleCount);
|
|
3185
3185
|
}
|
|
3186
3186
|
if (input.Sum !== undefined && input.Sum !== null) {
|
|
3187
|
-
entries["Sum"] = smithy_client_1.serializeFloat(input.Sum);
|
|
3187
|
+
entries["Sum"] = (0, smithy_client_1.serializeFloat)(input.Sum);
|
|
3188
3188
|
}
|
|
3189
3189
|
if (input.Minimum !== undefined && input.Minimum !== null) {
|
|
3190
|
-
entries["Minimum"] = smithy_client_1.serializeFloat(input.Minimum);
|
|
3190
|
+
entries["Minimum"] = (0, smithy_client_1.serializeFloat)(input.Minimum);
|
|
3191
3191
|
}
|
|
3192
3192
|
if (input.Maximum !== undefined && input.Maximum !== null) {
|
|
3193
|
-
entries["Maximum"] = smithy_client_1.serializeFloat(input.Maximum);
|
|
3193
|
+
entries["Maximum"] = (0, smithy_client_1.serializeFloat)(input.Maximum);
|
|
3194
3194
|
}
|
|
3195
3195
|
return entries;
|
|
3196
3196
|
};
|
|
@@ -3277,7 +3277,7 @@ const serializeAws_queryValues = (input, context) => {
|
|
|
3277
3277
|
if (entry === null) {
|
|
3278
3278
|
continue;
|
|
3279
3279
|
}
|
|
3280
|
-
entries[`member.${counter}`] = smithy_client_1.serializeFloat(entry);
|
|
3280
|
+
entries[`member.${counter}`] = (0, smithy_client_1.serializeFloat)(entry);
|
|
3281
3281
|
counter++;
|
|
3282
3282
|
}
|
|
3283
3283
|
return entries;
|
|
@@ -3292,22 +3292,22 @@ const deserializeAws_queryAlarmHistoryItem = (output, context) => {
|
|
|
3292
3292
|
HistoryData: undefined,
|
|
3293
3293
|
};
|
|
3294
3294
|
if (output["AlarmName"] !== undefined) {
|
|
3295
|
-
contents.AlarmName = smithy_client_1.expectString(output["AlarmName"]);
|
|
3295
|
+
contents.AlarmName = (0, smithy_client_1.expectString)(output["AlarmName"]);
|
|
3296
3296
|
}
|
|
3297
3297
|
if (output["AlarmType"] !== undefined) {
|
|
3298
|
-
contents.AlarmType = smithy_client_1.expectString(output["AlarmType"]);
|
|
3298
|
+
contents.AlarmType = (0, smithy_client_1.expectString)(output["AlarmType"]);
|
|
3299
3299
|
}
|
|
3300
3300
|
if (output["Timestamp"] !== undefined) {
|
|
3301
|
-
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
3301
|
+
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Timestamp"]));
|
|
3302
3302
|
}
|
|
3303
3303
|
if (output["HistoryItemType"] !== undefined) {
|
|
3304
|
-
contents.HistoryItemType = smithy_client_1.expectString(output["HistoryItemType"]);
|
|
3304
|
+
contents.HistoryItemType = (0, smithy_client_1.expectString)(output["HistoryItemType"]);
|
|
3305
3305
|
}
|
|
3306
3306
|
if (output["HistorySummary"] !== undefined) {
|
|
3307
|
-
contents.HistorySummary = smithy_client_1.expectString(output["HistorySummary"]);
|
|
3307
|
+
contents.HistorySummary = (0, smithy_client_1.expectString)(output["HistorySummary"]);
|
|
3308
3308
|
}
|
|
3309
3309
|
if (output["HistoryData"] !== undefined) {
|
|
3310
|
-
contents.HistoryData = smithy_client_1.expectString(output["HistoryData"]);
|
|
3310
|
+
contents.HistoryData = (0, smithy_client_1.expectString)(output["HistoryData"]);
|
|
3311
3311
|
}
|
|
3312
3312
|
return contents;
|
|
3313
3313
|
};
|
|
@@ -3333,25 +3333,25 @@ const deserializeAws_queryAnomalyDetector = (output, context) => {
|
|
|
3333
3333
|
MetricMathAnomalyDetector: undefined,
|
|
3334
3334
|
};
|
|
3335
3335
|
if (output["Namespace"] !== undefined) {
|
|
3336
|
-
contents.Namespace = smithy_client_1.expectString(output["Namespace"]);
|
|
3336
|
+
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
3337
3337
|
}
|
|
3338
3338
|
if (output["MetricName"] !== undefined) {
|
|
3339
|
-
contents.MetricName = smithy_client_1.expectString(output["MetricName"]);
|
|
3339
|
+
contents.MetricName = (0, smithy_client_1.expectString)(output["MetricName"]);
|
|
3340
3340
|
}
|
|
3341
3341
|
if (output.Dimensions === "") {
|
|
3342
3342
|
contents.Dimensions = [];
|
|
3343
3343
|
}
|
|
3344
3344
|
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
3345
|
-
contents.Dimensions = deserializeAws_queryDimensions(smithy_client_1.getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
3345
|
+
contents.Dimensions = deserializeAws_queryDimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
3346
3346
|
}
|
|
3347
3347
|
if (output["Stat"] !== undefined) {
|
|
3348
|
-
contents.Stat = smithy_client_1.expectString(output["Stat"]);
|
|
3348
|
+
contents.Stat = (0, smithy_client_1.expectString)(output["Stat"]);
|
|
3349
3349
|
}
|
|
3350
3350
|
if (output["Configuration"] !== undefined) {
|
|
3351
3351
|
contents.Configuration = deserializeAws_queryAnomalyDetectorConfiguration(output["Configuration"], context);
|
|
3352
3352
|
}
|
|
3353
3353
|
if (output["StateValue"] !== undefined) {
|
|
3354
|
-
contents.StateValue = smithy_client_1.expectString(output["StateValue"]);
|
|
3354
|
+
contents.StateValue = (0, smithy_client_1.expectString)(output["StateValue"]);
|
|
3355
3355
|
}
|
|
3356
3356
|
if (output["SingleMetricAnomalyDetector"] !== undefined) {
|
|
3357
3357
|
contents.SingleMetricAnomalyDetector = deserializeAws_querySingleMetricAnomalyDetector(output["SingleMetricAnomalyDetector"], context);
|
|
@@ -3370,10 +3370,10 @@ const deserializeAws_queryAnomalyDetectorConfiguration = (output, context) => {
|
|
|
3370
3370
|
contents.ExcludedTimeRanges = [];
|
|
3371
3371
|
}
|
|
3372
3372
|
if (output["ExcludedTimeRanges"] !== undefined && output["ExcludedTimeRanges"]["member"] !== undefined) {
|
|
3373
|
-
contents.ExcludedTimeRanges = deserializeAws_queryAnomalyDetectorExcludedTimeRanges(smithy_client_1.getArrayIfSingleItem(output["ExcludedTimeRanges"]["member"]), context);
|
|
3373
|
+
contents.ExcludedTimeRanges = deserializeAws_queryAnomalyDetectorExcludedTimeRanges((0, smithy_client_1.getArrayIfSingleItem)(output["ExcludedTimeRanges"]["member"]), context);
|
|
3374
3374
|
}
|
|
3375
3375
|
if (output["MetricTimezone"] !== undefined) {
|
|
3376
|
-
contents.MetricTimezone = smithy_client_1.expectString(output["MetricTimezone"]);
|
|
3376
|
+
contents.MetricTimezone = (0, smithy_client_1.expectString)(output["MetricTimezone"]);
|
|
3377
3377
|
}
|
|
3378
3378
|
return contents;
|
|
3379
3379
|
};
|
|
@@ -3424,52 +3424,52 @@ const deserializeAws_queryCompositeAlarm = (output, context) => {
|
|
|
3424
3424
|
StateValue: undefined,
|
|
3425
3425
|
};
|
|
3426
3426
|
if (output["ActionsEnabled"] !== undefined) {
|
|
3427
|
-
contents.ActionsEnabled = smithy_client_1.parseBoolean(output["ActionsEnabled"]);
|
|
3427
|
+
contents.ActionsEnabled = (0, smithy_client_1.parseBoolean)(output["ActionsEnabled"]);
|
|
3428
3428
|
}
|
|
3429
3429
|
if (output.AlarmActions === "") {
|
|
3430
3430
|
contents.AlarmActions = [];
|
|
3431
3431
|
}
|
|
3432
3432
|
if (output["AlarmActions"] !== undefined && output["AlarmActions"]["member"] !== undefined) {
|
|
3433
|
-
contents.AlarmActions = deserializeAws_queryResourceList(smithy_client_1.getArrayIfSingleItem(output["AlarmActions"]["member"]), context);
|
|
3433
|
+
contents.AlarmActions = deserializeAws_queryResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["AlarmActions"]["member"]), context);
|
|
3434
3434
|
}
|
|
3435
3435
|
if (output["AlarmArn"] !== undefined) {
|
|
3436
|
-
contents.AlarmArn = smithy_client_1.expectString(output["AlarmArn"]);
|
|
3436
|
+
contents.AlarmArn = (0, smithy_client_1.expectString)(output["AlarmArn"]);
|
|
3437
3437
|
}
|
|
3438
3438
|
if (output["AlarmConfigurationUpdatedTimestamp"] !== undefined) {
|
|
3439
|
-
contents.AlarmConfigurationUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AlarmConfigurationUpdatedTimestamp"]));
|
|
3439
|
+
contents.AlarmConfigurationUpdatedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["AlarmConfigurationUpdatedTimestamp"]));
|
|
3440
3440
|
}
|
|
3441
3441
|
if (output["AlarmDescription"] !== undefined) {
|
|
3442
|
-
contents.AlarmDescription = smithy_client_1.expectString(output["AlarmDescription"]);
|
|
3442
|
+
contents.AlarmDescription = (0, smithy_client_1.expectString)(output["AlarmDescription"]);
|
|
3443
3443
|
}
|
|
3444
3444
|
if (output["AlarmName"] !== undefined) {
|
|
3445
|
-
contents.AlarmName = smithy_client_1.expectString(output["AlarmName"]);
|
|
3445
|
+
contents.AlarmName = (0, smithy_client_1.expectString)(output["AlarmName"]);
|
|
3446
3446
|
}
|
|
3447
3447
|
if (output["AlarmRule"] !== undefined) {
|
|
3448
|
-
contents.AlarmRule = smithy_client_1.expectString(output["AlarmRule"]);
|
|
3448
|
+
contents.AlarmRule = (0, smithy_client_1.expectString)(output["AlarmRule"]);
|
|
3449
3449
|
}
|
|
3450
3450
|
if (output.InsufficientDataActions === "") {
|
|
3451
3451
|
contents.InsufficientDataActions = [];
|
|
3452
3452
|
}
|
|
3453
3453
|
if (output["InsufficientDataActions"] !== undefined && output["InsufficientDataActions"]["member"] !== undefined) {
|
|
3454
|
-
contents.InsufficientDataActions = deserializeAws_queryResourceList(smithy_client_1.getArrayIfSingleItem(output["InsufficientDataActions"]["member"]), context);
|
|
3454
|
+
contents.InsufficientDataActions = deserializeAws_queryResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["InsufficientDataActions"]["member"]), context);
|
|
3455
3455
|
}
|
|
3456
3456
|
if (output.OKActions === "") {
|
|
3457
3457
|
contents.OKActions = [];
|
|
3458
3458
|
}
|
|
3459
3459
|
if (output["OKActions"] !== undefined && output["OKActions"]["member"] !== undefined) {
|
|
3460
|
-
contents.OKActions = deserializeAws_queryResourceList(smithy_client_1.getArrayIfSingleItem(output["OKActions"]["member"]), context);
|
|
3460
|
+
contents.OKActions = deserializeAws_queryResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["OKActions"]["member"]), context);
|
|
3461
3461
|
}
|
|
3462
3462
|
if (output["StateReason"] !== undefined) {
|
|
3463
|
-
contents.StateReason = smithy_client_1.expectString(output["StateReason"]);
|
|
3463
|
+
contents.StateReason = (0, smithy_client_1.expectString)(output["StateReason"]);
|
|
3464
3464
|
}
|
|
3465
3465
|
if (output["StateReasonData"] !== undefined) {
|
|
3466
|
-
contents.StateReasonData = smithy_client_1.expectString(output["StateReasonData"]);
|
|
3466
|
+
contents.StateReasonData = (0, smithy_client_1.expectString)(output["StateReasonData"]);
|
|
3467
3467
|
}
|
|
3468
3468
|
if (output["StateUpdatedTimestamp"] !== undefined) {
|
|
3469
|
-
contents.StateUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StateUpdatedTimestamp"]));
|
|
3469
|
+
contents.StateUpdatedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["StateUpdatedTimestamp"]));
|
|
3470
3470
|
}
|
|
3471
3471
|
if (output["StateValue"] !== undefined) {
|
|
3472
|
-
contents.StateValue = smithy_client_1.expectString(output["StateValue"]);
|
|
3472
|
+
contents.StateValue = (0, smithy_client_1.expectString)(output["StateValue"]);
|
|
3473
3473
|
}
|
|
3474
3474
|
return contents;
|
|
3475
3475
|
};
|
|
@@ -3488,7 +3488,7 @@ const deserializeAws_queryConcurrentModificationException = (output, context) =>
|
|
|
3488
3488
|
Message: undefined,
|
|
3489
3489
|
};
|
|
3490
3490
|
if (output["Message"] !== undefined) {
|
|
3491
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3491
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3492
3492
|
}
|
|
3493
3493
|
return contents;
|
|
3494
3494
|
};
|
|
@@ -3510,16 +3510,16 @@ const deserializeAws_queryDashboardEntry = (output, context) => {
|
|
|
3510
3510
|
Size: undefined,
|
|
3511
3511
|
};
|
|
3512
3512
|
if (output["DashboardName"] !== undefined) {
|
|
3513
|
-
contents.DashboardName = smithy_client_1.expectString(output["DashboardName"]);
|
|
3513
|
+
contents.DashboardName = (0, smithy_client_1.expectString)(output["DashboardName"]);
|
|
3514
3514
|
}
|
|
3515
3515
|
if (output["DashboardArn"] !== undefined) {
|
|
3516
|
-
contents.DashboardArn = smithy_client_1.expectString(output["DashboardArn"]);
|
|
3516
|
+
contents.DashboardArn = (0, smithy_client_1.expectString)(output["DashboardArn"]);
|
|
3517
3517
|
}
|
|
3518
3518
|
if (output["LastModified"] !== undefined) {
|
|
3519
|
-
contents.LastModified = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastModified"]));
|
|
3519
|
+
contents.LastModified = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastModified"]));
|
|
3520
3520
|
}
|
|
3521
3521
|
if (output["Size"] !== undefined) {
|
|
3522
|
-
contents.Size = smithy_client_1.strictParseLong(output["Size"]);
|
|
3522
|
+
contents.Size = (0, smithy_client_1.strictParseLong)(output["Size"]);
|
|
3523
3523
|
}
|
|
3524
3524
|
return contents;
|
|
3525
3525
|
};
|
|
@@ -3529,14 +3529,14 @@ const deserializeAws_queryDashboardInvalidInputError = (output, context) => {
|
|
|
3529
3529
|
dashboardValidationMessages: undefined,
|
|
3530
3530
|
};
|
|
3531
3531
|
if (output["message"] !== undefined) {
|
|
3532
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
3532
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
3533
3533
|
}
|
|
3534
3534
|
if (output.dashboardValidationMessages === "") {
|
|
3535
3535
|
contents.dashboardValidationMessages = [];
|
|
3536
3536
|
}
|
|
3537
3537
|
if (output["dashboardValidationMessages"] !== undefined &&
|
|
3538
3538
|
output["dashboardValidationMessages"]["member"] !== undefined) {
|
|
3539
|
-
contents.dashboardValidationMessages = deserializeAws_queryDashboardValidationMessages(smithy_client_1.getArrayIfSingleItem(output["dashboardValidationMessages"]["member"]), context);
|
|
3539
|
+
contents.dashboardValidationMessages = deserializeAws_queryDashboardValidationMessages((0, smithy_client_1.getArrayIfSingleItem)(output["dashboardValidationMessages"]["member"]), context);
|
|
3540
3540
|
}
|
|
3541
3541
|
return contents;
|
|
3542
3542
|
};
|
|
@@ -3545,7 +3545,7 @@ const deserializeAws_queryDashboardNotFoundError = (output, context) => {
|
|
|
3545
3545
|
message: undefined,
|
|
3546
3546
|
};
|
|
3547
3547
|
if (output["message"] !== undefined) {
|
|
3548
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
3548
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
3549
3549
|
}
|
|
3550
3550
|
return contents;
|
|
3551
3551
|
};
|
|
@@ -3555,10 +3555,10 @@ const deserializeAws_queryDashboardValidationMessage = (output, context) => {
|
|
|
3555
3555
|
Message: undefined,
|
|
3556
3556
|
};
|
|
3557
3557
|
if (output["DataPath"] !== undefined) {
|
|
3558
|
-
contents.DataPath = smithy_client_1.expectString(output["DataPath"]);
|
|
3558
|
+
contents.DataPath = (0, smithy_client_1.expectString)(output["DataPath"]);
|
|
3559
3559
|
}
|
|
3560
3560
|
if (output["Message"] !== undefined) {
|
|
3561
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
3561
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
3562
3562
|
}
|
|
3563
3563
|
return contents;
|
|
3564
3564
|
};
|
|
@@ -3584,31 +3584,31 @@ const deserializeAws_queryDatapoint = (output, context) => {
|
|
|
3584
3584
|
ExtendedStatistics: undefined,
|
|
3585
3585
|
};
|
|
3586
3586
|
if (output["Timestamp"] !== undefined) {
|
|
3587
|
-
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
3587
|
+
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Timestamp"]));
|
|
3588
3588
|
}
|
|
3589
3589
|
if (output["SampleCount"] !== undefined) {
|
|
3590
|
-
contents.SampleCount = smithy_client_1.strictParseFloat(output["SampleCount"]);
|
|
3590
|
+
contents.SampleCount = (0, smithy_client_1.strictParseFloat)(output["SampleCount"]);
|
|
3591
3591
|
}
|
|
3592
3592
|
if (output["Average"] !== undefined) {
|
|
3593
|
-
contents.Average = smithy_client_1.strictParseFloat(output["Average"]);
|
|
3593
|
+
contents.Average = (0, smithy_client_1.strictParseFloat)(output["Average"]);
|
|
3594
3594
|
}
|
|
3595
3595
|
if (output["Sum"] !== undefined) {
|
|
3596
|
-
contents.Sum = smithy_client_1.strictParseFloat(output["Sum"]);
|
|
3596
|
+
contents.Sum = (0, smithy_client_1.strictParseFloat)(output["Sum"]);
|
|
3597
3597
|
}
|
|
3598
3598
|
if (output["Minimum"] !== undefined) {
|
|
3599
|
-
contents.Minimum = smithy_client_1.strictParseFloat(output["Minimum"]);
|
|
3599
|
+
contents.Minimum = (0, smithy_client_1.strictParseFloat)(output["Minimum"]);
|
|
3600
3600
|
}
|
|
3601
3601
|
if (output["Maximum"] !== undefined) {
|
|
3602
|
-
contents.Maximum = smithy_client_1.strictParseFloat(output["Maximum"]);
|
|
3602
|
+
contents.Maximum = (0, smithy_client_1.strictParseFloat)(output["Maximum"]);
|
|
3603
3603
|
}
|
|
3604
3604
|
if (output["Unit"] !== undefined) {
|
|
3605
|
-
contents.Unit = smithy_client_1.expectString(output["Unit"]);
|
|
3605
|
+
contents.Unit = (0, smithy_client_1.expectString)(output["Unit"]);
|
|
3606
3606
|
}
|
|
3607
3607
|
if (output.ExtendedStatistics === "") {
|
|
3608
3608
|
contents.ExtendedStatistics = {};
|
|
3609
3609
|
}
|
|
3610
3610
|
if (output["ExtendedStatistics"] !== undefined && output["ExtendedStatistics"]["entry"] !== undefined) {
|
|
3611
|
-
contents.ExtendedStatistics = deserializeAws_queryDatapointValueMap(smithy_client_1.getArrayIfSingleItem(output["ExtendedStatistics"]["entry"]), context);
|
|
3611
|
+
contents.ExtendedStatistics = deserializeAws_queryDatapointValueMap((0, smithy_client_1.getArrayIfSingleItem)(output["ExtendedStatistics"]["entry"]), context);
|
|
3612
3612
|
}
|
|
3613
3613
|
return contents;
|
|
3614
3614
|
};
|
|
@@ -3629,7 +3629,7 @@ const deserializeAws_queryDatapointValueMap = (output, context) => {
|
|
|
3629
3629
|
}
|
|
3630
3630
|
return {
|
|
3631
3631
|
...acc,
|
|
3632
|
-
[pair["key"]]: smithy_client_1.strictParseFloat(pair["value"]),
|
|
3632
|
+
[pair["key"]]: (0, smithy_client_1.strictParseFloat)(pair["value"]),
|
|
3633
3633
|
};
|
|
3634
3634
|
}, {});
|
|
3635
3635
|
};
|
|
@@ -3640,7 +3640,7 @@ const deserializeAws_queryDatapointValues = (output, context) => {
|
|
|
3640
3640
|
if (entry === null) {
|
|
3641
3641
|
return null;
|
|
3642
3642
|
}
|
|
3643
|
-
return smithy_client_1.strictParseFloat(entry);
|
|
3643
|
+
return (0, smithy_client_1.strictParseFloat)(entry);
|
|
3644
3644
|
});
|
|
3645
3645
|
};
|
|
3646
3646
|
const deserializeAws_queryDeleteAnomalyDetectorOutput = (output, context) => {
|
|
@@ -3659,7 +3659,7 @@ const deserializeAws_queryDeleteInsightRulesOutput = (output, context) => {
|
|
|
3659
3659
|
contents.Failures = [];
|
|
3660
3660
|
}
|
|
3661
3661
|
if (output["Failures"] !== undefined && output["Failures"]["member"] !== undefined) {
|
|
3662
|
-
contents.Failures = deserializeAws_queryBatchFailures(smithy_client_1.getArrayIfSingleItem(output["Failures"]["member"]), context);
|
|
3662
|
+
contents.Failures = deserializeAws_queryBatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output["Failures"]["member"]), context);
|
|
3663
3663
|
}
|
|
3664
3664
|
return contents;
|
|
3665
3665
|
};
|
|
@@ -3676,10 +3676,10 @@ const deserializeAws_queryDescribeAlarmHistoryOutput = (output, context) => {
|
|
|
3676
3676
|
contents.AlarmHistoryItems = [];
|
|
3677
3677
|
}
|
|
3678
3678
|
if (output["AlarmHistoryItems"] !== undefined && output["AlarmHistoryItems"]["member"] !== undefined) {
|
|
3679
|
-
contents.AlarmHistoryItems = deserializeAws_queryAlarmHistoryItems(smithy_client_1.getArrayIfSingleItem(output["AlarmHistoryItems"]["member"]), context);
|
|
3679
|
+
contents.AlarmHistoryItems = deserializeAws_queryAlarmHistoryItems((0, smithy_client_1.getArrayIfSingleItem)(output["AlarmHistoryItems"]["member"]), context);
|
|
3680
3680
|
}
|
|
3681
3681
|
if (output["NextToken"] !== undefined) {
|
|
3682
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
3682
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
3683
3683
|
}
|
|
3684
3684
|
return contents;
|
|
3685
3685
|
};
|
|
@@ -3691,7 +3691,7 @@ const deserializeAws_queryDescribeAlarmsForMetricOutput = (output, context) => {
|
|
|
3691
3691
|
contents.MetricAlarms = [];
|
|
3692
3692
|
}
|
|
3693
3693
|
if (output["MetricAlarms"] !== undefined && output["MetricAlarms"]["member"] !== undefined) {
|
|
3694
|
-
contents.MetricAlarms = deserializeAws_queryMetricAlarms(smithy_client_1.getArrayIfSingleItem(output["MetricAlarms"]["member"]), context);
|
|
3694
|
+
contents.MetricAlarms = deserializeAws_queryMetricAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["MetricAlarms"]["member"]), context);
|
|
3695
3695
|
}
|
|
3696
3696
|
return contents;
|
|
3697
3697
|
};
|
|
@@ -3705,16 +3705,16 @@ const deserializeAws_queryDescribeAlarmsOutput = (output, context) => {
|
|
|
3705
3705
|
contents.CompositeAlarms = [];
|
|
3706
3706
|
}
|
|
3707
3707
|
if (output["CompositeAlarms"] !== undefined && output["CompositeAlarms"]["member"] !== undefined) {
|
|
3708
|
-
contents.CompositeAlarms = deserializeAws_queryCompositeAlarms(smithy_client_1.getArrayIfSingleItem(output["CompositeAlarms"]["member"]), context);
|
|
3708
|
+
contents.CompositeAlarms = deserializeAws_queryCompositeAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["CompositeAlarms"]["member"]), context);
|
|
3709
3709
|
}
|
|
3710
3710
|
if (output.MetricAlarms === "") {
|
|
3711
3711
|
contents.MetricAlarms = [];
|
|
3712
3712
|
}
|
|
3713
3713
|
if (output["MetricAlarms"] !== undefined && output["MetricAlarms"]["member"] !== undefined) {
|
|
3714
|
-
contents.MetricAlarms = deserializeAws_queryMetricAlarms(smithy_client_1.getArrayIfSingleItem(output["MetricAlarms"]["member"]), context);
|
|
3714
|
+
contents.MetricAlarms = deserializeAws_queryMetricAlarms((0, smithy_client_1.getArrayIfSingleItem)(output["MetricAlarms"]["member"]), context);
|
|
3715
3715
|
}
|
|
3716
3716
|
if (output["NextToken"] !== undefined) {
|
|
3717
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
3717
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
3718
3718
|
}
|
|
3719
3719
|
return contents;
|
|
3720
3720
|
};
|
|
@@ -3727,10 +3727,10 @@ const deserializeAws_queryDescribeAnomalyDetectorsOutput = (output, context) =>
|
|
|
3727
3727
|
contents.AnomalyDetectors = [];
|
|
3728
3728
|
}
|
|
3729
3729
|
if (output["AnomalyDetectors"] !== undefined && output["AnomalyDetectors"]["member"] !== undefined) {
|
|
3730
|
-
contents.AnomalyDetectors = deserializeAws_queryAnomalyDetectors(smithy_client_1.getArrayIfSingleItem(output["AnomalyDetectors"]["member"]), context);
|
|
3730
|
+
contents.AnomalyDetectors = deserializeAws_queryAnomalyDetectors((0, smithy_client_1.getArrayIfSingleItem)(output["AnomalyDetectors"]["member"]), context);
|
|
3731
3731
|
}
|
|
3732
3732
|
if (output["NextToken"] !== undefined) {
|
|
3733
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
3733
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
3734
3734
|
}
|
|
3735
3735
|
return contents;
|
|
3736
3736
|
};
|
|
@@ -3740,13 +3740,13 @@ const deserializeAws_queryDescribeInsightRulesOutput = (output, context) => {
|
|
|
3740
3740
|
InsightRules: undefined,
|
|
3741
3741
|
};
|
|
3742
3742
|
if (output["NextToken"] !== undefined) {
|
|
3743
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
3743
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
3744
3744
|
}
|
|
3745
3745
|
if (output.InsightRules === "") {
|
|
3746
3746
|
contents.InsightRules = [];
|
|
3747
3747
|
}
|
|
3748
3748
|
if (output["InsightRules"] !== undefined && output["InsightRules"]["member"] !== undefined) {
|
|
3749
|
-
contents.InsightRules = deserializeAws_queryInsightRules(smithy_client_1.getArrayIfSingleItem(output["InsightRules"]["member"]), context);
|
|
3749
|
+
contents.InsightRules = deserializeAws_queryInsightRules((0, smithy_client_1.getArrayIfSingleItem)(output["InsightRules"]["member"]), context);
|
|
3750
3750
|
}
|
|
3751
3751
|
return contents;
|
|
3752
3752
|
};
|
|
@@ -3756,10 +3756,10 @@ const deserializeAws_queryDimension = (output, context) => {
|
|
|
3756
3756
|
Value: undefined,
|
|
3757
3757
|
};
|
|
3758
3758
|
if (output["Name"] !== undefined) {
|
|
3759
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
3759
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
3760
3760
|
}
|
|
3761
3761
|
if (output["Value"] !== undefined) {
|
|
3762
|
-
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
3762
|
+
contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
|
|
3763
3763
|
}
|
|
3764
3764
|
return contents;
|
|
3765
3765
|
};
|
|
@@ -3781,7 +3781,7 @@ const deserializeAws_queryDisableInsightRulesOutput = (output, context) => {
|
|
|
3781
3781
|
contents.Failures = [];
|
|
3782
3782
|
}
|
|
3783
3783
|
if (output["Failures"] !== undefined && output["Failures"]["member"] !== undefined) {
|
|
3784
|
-
contents.Failures = deserializeAws_queryBatchFailures(smithy_client_1.getArrayIfSingleItem(output["Failures"]["member"]), context);
|
|
3784
|
+
contents.Failures = deserializeAws_queryBatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output["Failures"]["member"]), context);
|
|
3785
3785
|
}
|
|
3786
3786
|
return contents;
|
|
3787
3787
|
};
|
|
@@ -3793,7 +3793,7 @@ const deserializeAws_queryEnableInsightRulesOutput = (output, context) => {
|
|
|
3793
3793
|
contents.Failures = [];
|
|
3794
3794
|
}
|
|
3795
3795
|
if (output["Failures"] !== undefined && output["Failures"]["member"] !== undefined) {
|
|
3796
|
-
contents.Failures = deserializeAws_queryBatchFailures(smithy_client_1.getArrayIfSingleItem(output["Failures"]["member"]), context);
|
|
3796
|
+
contents.Failures = deserializeAws_queryBatchFailures((0, smithy_client_1.getArrayIfSingleItem)(output["Failures"]["member"]), context);
|
|
3797
3797
|
}
|
|
3798
3798
|
return contents;
|
|
3799
3799
|
};
|
|
@@ -3804,13 +3804,13 @@ const deserializeAws_queryGetDashboardOutput = (output, context) => {
|
|
|
3804
3804
|
DashboardName: undefined,
|
|
3805
3805
|
};
|
|
3806
3806
|
if (output["DashboardArn"] !== undefined) {
|
|
3807
|
-
contents.DashboardArn = smithy_client_1.expectString(output["DashboardArn"]);
|
|
3807
|
+
contents.DashboardArn = (0, smithy_client_1.expectString)(output["DashboardArn"]);
|
|
3808
3808
|
}
|
|
3809
3809
|
if (output["DashboardBody"] !== undefined) {
|
|
3810
|
-
contents.DashboardBody = smithy_client_1.expectString(output["DashboardBody"]);
|
|
3810
|
+
contents.DashboardBody = (0, smithy_client_1.expectString)(output["DashboardBody"]);
|
|
3811
3811
|
}
|
|
3812
3812
|
if (output["DashboardName"] !== undefined) {
|
|
3813
|
-
contents.DashboardName = smithy_client_1.expectString(output["DashboardName"]);
|
|
3813
|
+
contents.DashboardName = (0, smithy_client_1.expectString)(output["DashboardName"]);
|
|
3814
3814
|
}
|
|
3815
3815
|
return contents;
|
|
3816
3816
|
};
|
|
@@ -3827,28 +3827,28 @@ const deserializeAws_queryGetInsightRuleReportOutput = (output, context) => {
|
|
|
3827
3827
|
contents.KeyLabels = [];
|
|
3828
3828
|
}
|
|
3829
3829
|
if (output["KeyLabels"] !== undefined && output["KeyLabels"]["member"] !== undefined) {
|
|
3830
|
-
contents.KeyLabels = deserializeAws_queryInsightRuleContributorKeyLabels(smithy_client_1.getArrayIfSingleItem(output["KeyLabels"]["member"]), context);
|
|
3830
|
+
contents.KeyLabels = deserializeAws_queryInsightRuleContributorKeyLabels((0, smithy_client_1.getArrayIfSingleItem)(output["KeyLabels"]["member"]), context);
|
|
3831
3831
|
}
|
|
3832
3832
|
if (output["AggregationStatistic"] !== undefined) {
|
|
3833
|
-
contents.AggregationStatistic = smithy_client_1.expectString(output["AggregationStatistic"]);
|
|
3833
|
+
contents.AggregationStatistic = (0, smithy_client_1.expectString)(output["AggregationStatistic"]);
|
|
3834
3834
|
}
|
|
3835
3835
|
if (output["AggregateValue"] !== undefined) {
|
|
3836
|
-
contents.AggregateValue = smithy_client_1.strictParseFloat(output["AggregateValue"]);
|
|
3836
|
+
contents.AggregateValue = (0, smithy_client_1.strictParseFloat)(output["AggregateValue"]);
|
|
3837
3837
|
}
|
|
3838
3838
|
if (output["ApproximateUniqueCount"] !== undefined) {
|
|
3839
|
-
contents.ApproximateUniqueCount = smithy_client_1.strictParseLong(output["ApproximateUniqueCount"]);
|
|
3839
|
+
contents.ApproximateUniqueCount = (0, smithy_client_1.strictParseLong)(output["ApproximateUniqueCount"]);
|
|
3840
3840
|
}
|
|
3841
3841
|
if (output.Contributors === "") {
|
|
3842
3842
|
contents.Contributors = [];
|
|
3843
3843
|
}
|
|
3844
3844
|
if (output["Contributors"] !== undefined && output["Contributors"]["member"] !== undefined) {
|
|
3845
|
-
contents.Contributors = deserializeAws_queryInsightRuleContributors(smithy_client_1.getArrayIfSingleItem(output["Contributors"]["member"]), context);
|
|
3845
|
+
contents.Contributors = deserializeAws_queryInsightRuleContributors((0, smithy_client_1.getArrayIfSingleItem)(output["Contributors"]["member"]), context);
|
|
3846
3846
|
}
|
|
3847
3847
|
if (output.MetricDatapoints === "") {
|
|
3848
3848
|
contents.MetricDatapoints = [];
|
|
3849
3849
|
}
|
|
3850
3850
|
if (output["MetricDatapoints"] !== undefined && output["MetricDatapoints"]["member"] !== undefined) {
|
|
3851
|
-
contents.MetricDatapoints = deserializeAws_queryInsightRuleMetricDatapoints(smithy_client_1.getArrayIfSingleItem(output["MetricDatapoints"]["member"]), context);
|
|
3851
|
+
contents.MetricDatapoints = deserializeAws_queryInsightRuleMetricDatapoints((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDatapoints"]["member"]), context);
|
|
3852
3852
|
}
|
|
3853
3853
|
return contents;
|
|
3854
3854
|
};
|
|
@@ -3862,16 +3862,16 @@ const deserializeAws_queryGetMetricDataOutput = (output, context) => {
|
|
|
3862
3862
|
contents.MetricDataResults = [];
|
|
3863
3863
|
}
|
|
3864
3864
|
if (output["MetricDataResults"] !== undefined && output["MetricDataResults"]["member"] !== undefined) {
|
|
3865
|
-
contents.MetricDataResults = deserializeAws_queryMetricDataResults(smithy_client_1.getArrayIfSingleItem(output["MetricDataResults"]["member"]), context);
|
|
3865
|
+
contents.MetricDataResults = deserializeAws_queryMetricDataResults((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataResults"]["member"]), context);
|
|
3866
3866
|
}
|
|
3867
3867
|
if (output["NextToken"] !== undefined) {
|
|
3868
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
3868
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
3869
3869
|
}
|
|
3870
3870
|
if (output.Messages === "") {
|
|
3871
3871
|
contents.Messages = [];
|
|
3872
3872
|
}
|
|
3873
3873
|
if (output["Messages"] !== undefined && output["Messages"]["member"] !== undefined) {
|
|
3874
|
-
contents.Messages = deserializeAws_queryMetricDataResultMessages(smithy_client_1.getArrayIfSingleItem(output["Messages"]["member"]), context);
|
|
3874
|
+
contents.Messages = deserializeAws_queryMetricDataResultMessages((0, smithy_client_1.getArrayIfSingleItem)(output["Messages"]["member"]), context);
|
|
3875
3875
|
}
|
|
3876
3876
|
return contents;
|
|
3877
3877
|
};
|
|
@@ -3881,13 +3881,13 @@ const deserializeAws_queryGetMetricStatisticsOutput = (output, context) => {
|
|
|
3881
3881
|
Datapoints: undefined,
|
|
3882
3882
|
};
|
|
3883
3883
|
if (output["Label"] !== undefined) {
|
|
3884
|
-
contents.Label = smithy_client_1.expectString(output["Label"]);
|
|
3884
|
+
contents.Label = (0, smithy_client_1.expectString)(output["Label"]);
|
|
3885
3885
|
}
|
|
3886
3886
|
if (output.Datapoints === "") {
|
|
3887
3887
|
contents.Datapoints = [];
|
|
3888
3888
|
}
|
|
3889
3889
|
if (output["Datapoints"] !== undefined && output["Datapoints"]["member"] !== undefined) {
|
|
3890
|
-
contents.Datapoints = deserializeAws_queryDatapoints(smithy_client_1.getArrayIfSingleItem(output["Datapoints"]["member"]), context);
|
|
3890
|
+
contents.Datapoints = deserializeAws_queryDatapoints((0, smithy_client_1.getArrayIfSingleItem)(output["Datapoints"]["member"]), context);
|
|
3891
3891
|
}
|
|
3892
3892
|
return contents;
|
|
3893
3893
|
};
|
|
@@ -3905,40 +3905,40 @@ const deserializeAws_queryGetMetricStreamOutput = (output, context) => {
|
|
|
3905
3905
|
OutputFormat: undefined,
|
|
3906
3906
|
};
|
|
3907
3907
|
if (output["Arn"] !== undefined) {
|
|
3908
|
-
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
3908
|
+
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
3909
3909
|
}
|
|
3910
3910
|
if (output["Name"] !== undefined) {
|
|
3911
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
3911
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
3912
3912
|
}
|
|
3913
3913
|
if (output.IncludeFilters === "") {
|
|
3914
3914
|
contents.IncludeFilters = [];
|
|
3915
3915
|
}
|
|
3916
3916
|
if (output["IncludeFilters"] !== undefined && output["IncludeFilters"]["member"] !== undefined) {
|
|
3917
|
-
contents.IncludeFilters = deserializeAws_queryMetricStreamFilters(smithy_client_1.getArrayIfSingleItem(output["IncludeFilters"]["member"]), context);
|
|
3917
|
+
contents.IncludeFilters = deserializeAws_queryMetricStreamFilters((0, smithy_client_1.getArrayIfSingleItem)(output["IncludeFilters"]["member"]), context);
|
|
3918
3918
|
}
|
|
3919
3919
|
if (output.ExcludeFilters === "") {
|
|
3920
3920
|
contents.ExcludeFilters = [];
|
|
3921
3921
|
}
|
|
3922
3922
|
if (output["ExcludeFilters"] !== undefined && output["ExcludeFilters"]["member"] !== undefined) {
|
|
3923
|
-
contents.ExcludeFilters = deserializeAws_queryMetricStreamFilters(smithy_client_1.getArrayIfSingleItem(output["ExcludeFilters"]["member"]), context);
|
|
3923
|
+
contents.ExcludeFilters = deserializeAws_queryMetricStreamFilters((0, smithy_client_1.getArrayIfSingleItem)(output["ExcludeFilters"]["member"]), context);
|
|
3924
3924
|
}
|
|
3925
3925
|
if (output["FirehoseArn"] !== undefined) {
|
|
3926
|
-
contents.FirehoseArn = smithy_client_1.expectString(output["FirehoseArn"]);
|
|
3926
|
+
contents.FirehoseArn = (0, smithy_client_1.expectString)(output["FirehoseArn"]);
|
|
3927
3927
|
}
|
|
3928
3928
|
if (output["RoleArn"] !== undefined) {
|
|
3929
|
-
contents.RoleArn = smithy_client_1.expectString(output["RoleArn"]);
|
|
3929
|
+
contents.RoleArn = (0, smithy_client_1.expectString)(output["RoleArn"]);
|
|
3930
3930
|
}
|
|
3931
3931
|
if (output["State"] !== undefined) {
|
|
3932
|
-
contents.State = smithy_client_1.expectString(output["State"]);
|
|
3932
|
+
contents.State = (0, smithy_client_1.expectString)(output["State"]);
|
|
3933
3933
|
}
|
|
3934
3934
|
if (output["CreationDate"] !== undefined) {
|
|
3935
|
-
contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationDate"]));
|
|
3935
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreationDate"]));
|
|
3936
3936
|
}
|
|
3937
3937
|
if (output["LastUpdateDate"] !== undefined) {
|
|
3938
|
-
contents.LastUpdateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdateDate"]));
|
|
3938
|
+
contents.LastUpdateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastUpdateDate"]));
|
|
3939
3939
|
}
|
|
3940
3940
|
if (output["OutputFormat"] !== undefined) {
|
|
3941
|
-
contents.OutputFormat = smithy_client_1.expectString(output["OutputFormat"]);
|
|
3941
|
+
contents.OutputFormat = (0, smithy_client_1.expectString)(output["OutputFormat"]);
|
|
3942
3942
|
}
|
|
3943
3943
|
return contents;
|
|
3944
3944
|
};
|
|
@@ -3959,16 +3959,16 @@ const deserializeAws_queryInsightRule = (output, context) => {
|
|
|
3959
3959
|
Definition: undefined,
|
|
3960
3960
|
};
|
|
3961
3961
|
if (output["Name"] !== undefined) {
|
|
3962
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
3962
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
3963
3963
|
}
|
|
3964
3964
|
if (output["State"] !== undefined) {
|
|
3965
|
-
contents.State = smithy_client_1.expectString(output["State"]);
|
|
3965
|
+
contents.State = (0, smithy_client_1.expectString)(output["State"]);
|
|
3966
3966
|
}
|
|
3967
3967
|
if (output["Schema"] !== undefined) {
|
|
3968
|
-
contents.Schema = smithy_client_1.expectString(output["Schema"]);
|
|
3968
|
+
contents.Schema = (0, smithy_client_1.expectString)(output["Schema"]);
|
|
3969
3969
|
}
|
|
3970
3970
|
if (output["Definition"] !== undefined) {
|
|
3971
|
-
contents.Definition = smithy_client_1.expectString(output["Definition"]);
|
|
3971
|
+
contents.Definition = (0, smithy_client_1.expectString)(output["Definition"]);
|
|
3972
3972
|
}
|
|
3973
3973
|
return contents;
|
|
3974
3974
|
};
|
|
@@ -3982,16 +3982,16 @@ const deserializeAws_queryInsightRuleContributor = (output, context) => {
|
|
|
3982
3982
|
contents.Keys = [];
|
|
3983
3983
|
}
|
|
3984
3984
|
if (output["Keys"] !== undefined && output["Keys"]["member"] !== undefined) {
|
|
3985
|
-
contents.Keys = deserializeAws_queryInsightRuleContributorKeys(smithy_client_1.getArrayIfSingleItem(output["Keys"]["member"]), context);
|
|
3985
|
+
contents.Keys = deserializeAws_queryInsightRuleContributorKeys((0, smithy_client_1.getArrayIfSingleItem)(output["Keys"]["member"]), context);
|
|
3986
3986
|
}
|
|
3987
3987
|
if (output["ApproximateAggregateValue"] !== undefined) {
|
|
3988
|
-
contents.ApproximateAggregateValue = smithy_client_1.strictParseFloat(output["ApproximateAggregateValue"]);
|
|
3988
|
+
contents.ApproximateAggregateValue = (0, smithy_client_1.strictParseFloat)(output["ApproximateAggregateValue"]);
|
|
3989
3989
|
}
|
|
3990
3990
|
if (output.Datapoints === "") {
|
|
3991
3991
|
contents.Datapoints = [];
|
|
3992
3992
|
}
|
|
3993
3993
|
if (output["Datapoints"] !== undefined && output["Datapoints"]["member"] !== undefined) {
|
|
3994
|
-
contents.Datapoints = deserializeAws_queryInsightRuleContributorDatapoints(smithy_client_1.getArrayIfSingleItem(output["Datapoints"]["member"]), context);
|
|
3994
|
+
contents.Datapoints = deserializeAws_queryInsightRuleContributorDatapoints((0, smithy_client_1.getArrayIfSingleItem)(output["Datapoints"]["member"]), context);
|
|
3995
3995
|
}
|
|
3996
3996
|
return contents;
|
|
3997
3997
|
};
|
|
@@ -4001,10 +4001,10 @@ const deserializeAws_queryInsightRuleContributorDatapoint = (output, context) =>
|
|
|
4001
4001
|
ApproximateValue: undefined,
|
|
4002
4002
|
};
|
|
4003
4003
|
if (output["Timestamp"] !== undefined) {
|
|
4004
|
-
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
4004
|
+
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Timestamp"]));
|
|
4005
4005
|
}
|
|
4006
4006
|
if (output["ApproximateValue"] !== undefined) {
|
|
4007
|
-
contents.ApproximateValue = smithy_client_1.strictParseFloat(output["ApproximateValue"]);
|
|
4007
|
+
contents.ApproximateValue = (0, smithy_client_1.strictParseFloat)(output["ApproximateValue"]);
|
|
4008
4008
|
}
|
|
4009
4009
|
return contents;
|
|
4010
4010
|
};
|
|
@@ -4025,7 +4025,7 @@ const deserializeAws_queryInsightRuleContributorKeyLabels = (output, context) =>
|
|
|
4025
4025
|
if (entry === null) {
|
|
4026
4026
|
return null;
|
|
4027
4027
|
}
|
|
4028
|
-
return smithy_client_1.expectString(entry);
|
|
4028
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4029
4029
|
});
|
|
4030
4030
|
};
|
|
4031
4031
|
const deserializeAws_queryInsightRuleContributorKeys = (output, context) => {
|
|
@@ -4035,7 +4035,7 @@ const deserializeAws_queryInsightRuleContributorKeys = (output, context) => {
|
|
|
4035
4035
|
if (entry === null) {
|
|
4036
4036
|
return null;
|
|
4037
4037
|
}
|
|
4038
|
-
return smithy_client_1.expectString(entry);
|
|
4038
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4039
4039
|
});
|
|
4040
4040
|
};
|
|
4041
4041
|
const deserializeAws_queryInsightRuleContributors = (output, context) => {
|
|
@@ -4060,28 +4060,28 @@ const deserializeAws_queryInsightRuleMetricDatapoint = (output, context) => {
|
|
|
4060
4060
|
Maximum: undefined,
|
|
4061
4061
|
};
|
|
4062
4062
|
if (output["Timestamp"] !== undefined) {
|
|
4063
|
-
contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
|
|
4063
|
+
contents.Timestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["Timestamp"]));
|
|
4064
4064
|
}
|
|
4065
4065
|
if (output["UniqueContributors"] !== undefined) {
|
|
4066
|
-
contents.UniqueContributors = smithy_client_1.strictParseFloat(output["UniqueContributors"]);
|
|
4066
|
+
contents.UniqueContributors = (0, smithy_client_1.strictParseFloat)(output["UniqueContributors"]);
|
|
4067
4067
|
}
|
|
4068
4068
|
if (output["MaxContributorValue"] !== undefined) {
|
|
4069
|
-
contents.MaxContributorValue = smithy_client_1.strictParseFloat(output["MaxContributorValue"]);
|
|
4069
|
+
contents.MaxContributorValue = (0, smithy_client_1.strictParseFloat)(output["MaxContributorValue"]);
|
|
4070
4070
|
}
|
|
4071
4071
|
if (output["SampleCount"] !== undefined) {
|
|
4072
|
-
contents.SampleCount = smithy_client_1.strictParseFloat(output["SampleCount"]);
|
|
4072
|
+
contents.SampleCount = (0, smithy_client_1.strictParseFloat)(output["SampleCount"]);
|
|
4073
4073
|
}
|
|
4074
4074
|
if (output["Average"] !== undefined) {
|
|
4075
|
-
contents.Average = smithy_client_1.strictParseFloat(output["Average"]);
|
|
4075
|
+
contents.Average = (0, smithy_client_1.strictParseFloat)(output["Average"]);
|
|
4076
4076
|
}
|
|
4077
4077
|
if (output["Sum"] !== undefined) {
|
|
4078
|
-
contents.Sum = smithy_client_1.strictParseFloat(output["Sum"]);
|
|
4078
|
+
contents.Sum = (0, smithy_client_1.strictParseFloat)(output["Sum"]);
|
|
4079
4079
|
}
|
|
4080
4080
|
if (output["Minimum"] !== undefined) {
|
|
4081
|
-
contents.Minimum = smithy_client_1.strictParseFloat(output["Minimum"]);
|
|
4081
|
+
contents.Minimum = (0, smithy_client_1.strictParseFloat)(output["Minimum"]);
|
|
4082
4082
|
}
|
|
4083
4083
|
if (output["Maximum"] !== undefined) {
|
|
4084
|
-
contents.Maximum = smithy_client_1.strictParseFloat(output["Maximum"]);
|
|
4084
|
+
contents.Maximum = (0, smithy_client_1.strictParseFloat)(output["Maximum"]);
|
|
4085
4085
|
}
|
|
4086
4086
|
return contents;
|
|
4087
4087
|
};
|
|
@@ -4110,7 +4110,7 @@ const deserializeAws_queryInternalServiceFault = (output, context) => {
|
|
|
4110
4110
|
Message: undefined,
|
|
4111
4111
|
};
|
|
4112
4112
|
if (output["Message"] !== undefined) {
|
|
4113
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4113
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
4114
4114
|
}
|
|
4115
4115
|
return contents;
|
|
4116
4116
|
};
|
|
@@ -4119,7 +4119,7 @@ const deserializeAws_queryInvalidFormatFault = (output, context) => {
|
|
|
4119
4119
|
message: undefined,
|
|
4120
4120
|
};
|
|
4121
4121
|
if (output["message"] !== undefined) {
|
|
4122
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
4122
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4123
4123
|
}
|
|
4124
4124
|
return contents;
|
|
4125
4125
|
};
|
|
@@ -4128,7 +4128,7 @@ const deserializeAws_queryInvalidNextToken = (output, context) => {
|
|
|
4128
4128
|
message: undefined,
|
|
4129
4129
|
};
|
|
4130
4130
|
if (output["message"] !== undefined) {
|
|
4131
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
4131
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4132
4132
|
}
|
|
4133
4133
|
return contents;
|
|
4134
4134
|
};
|
|
@@ -4137,7 +4137,7 @@ const deserializeAws_queryInvalidParameterCombinationException = (output, contex
|
|
|
4137
4137
|
message: undefined,
|
|
4138
4138
|
};
|
|
4139
4139
|
if (output["message"] !== undefined) {
|
|
4140
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
4140
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4141
4141
|
}
|
|
4142
4142
|
return contents;
|
|
4143
4143
|
};
|
|
@@ -4146,7 +4146,7 @@ const deserializeAws_queryInvalidParameterValueException = (output, context) =>
|
|
|
4146
4146
|
message: undefined,
|
|
4147
4147
|
};
|
|
4148
4148
|
if (output["message"] !== undefined) {
|
|
4149
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
4149
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4150
4150
|
}
|
|
4151
4151
|
return contents;
|
|
4152
4152
|
};
|
|
@@ -4155,7 +4155,7 @@ const deserializeAws_queryLimitExceededException = (output, context) => {
|
|
|
4155
4155
|
Message: undefined,
|
|
4156
4156
|
};
|
|
4157
4157
|
if (output["Message"] !== undefined) {
|
|
4158
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4158
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
4159
4159
|
}
|
|
4160
4160
|
return contents;
|
|
4161
4161
|
};
|
|
@@ -4164,7 +4164,7 @@ const deserializeAws_queryLimitExceededFault = (output, context) => {
|
|
|
4164
4164
|
message: undefined,
|
|
4165
4165
|
};
|
|
4166
4166
|
if (output["message"] !== undefined) {
|
|
4167
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
4167
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4168
4168
|
}
|
|
4169
4169
|
return contents;
|
|
4170
4170
|
};
|
|
@@ -4177,10 +4177,10 @@ const deserializeAws_queryListDashboardsOutput = (output, context) => {
|
|
|
4177
4177
|
contents.DashboardEntries = [];
|
|
4178
4178
|
}
|
|
4179
4179
|
if (output["DashboardEntries"] !== undefined && output["DashboardEntries"]["member"] !== undefined) {
|
|
4180
|
-
contents.DashboardEntries = deserializeAws_queryDashboardEntries(smithy_client_1.getArrayIfSingleItem(output["DashboardEntries"]["member"]), context);
|
|
4180
|
+
contents.DashboardEntries = deserializeAws_queryDashboardEntries((0, smithy_client_1.getArrayIfSingleItem)(output["DashboardEntries"]["member"]), context);
|
|
4181
4181
|
}
|
|
4182
4182
|
if (output["NextToken"] !== undefined) {
|
|
4183
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
4183
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
4184
4184
|
}
|
|
4185
4185
|
return contents;
|
|
4186
4186
|
};
|
|
@@ -4193,10 +4193,10 @@ const deserializeAws_queryListMetricsOutput = (output, context) => {
|
|
|
4193
4193
|
contents.Metrics = [];
|
|
4194
4194
|
}
|
|
4195
4195
|
if (output["Metrics"] !== undefined && output["Metrics"]["member"] !== undefined) {
|
|
4196
|
-
contents.Metrics = deserializeAws_queryMetrics(smithy_client_1.getArrayIfSingleItem(output["Metrics"]["member"]), context);
|
|
4196
|
+
contents.Metrics = deserializeAws_queryMetrics((0, smithy_client_1.getArrayIfSingleItem)(output["Metrics"]["member"]), context);
|
|
4197
4197
|
}
|
|
4198
4198
|
if (output["NextToken"] !== undefined) {
|
|
4199
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
4199
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
4200
4200
|
}
|
|
4201
4201
|
return contents;
|
|
4202
4202
|
};
|
|
@@ -4206,13 +4206,13 @@ const deserializeAws_queryListMetricStreamsOutput = (output, context) => {
|
|
|
4206
4206
|
Entries: undefined,
|
|
4207
4207
|
};
|
|
4208
4208
|
if (output["NextToken"] !== undefined) {
|
|
4209
|
-
contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
|
|
4209
|
+
contents.NextToken = (0, smithy_client_1.expectString)(output["NextToken"]);
|
|
4210
4210
|
}
|
|
4211
4211
|
if (output.Entries === "") {
|
|
4212
4212
|
contents.Entries = [];
|
|
4213
4213
|
}
|
|
4214
4214
|
if (output["Entries"] !== undefined && output["Entries"]["member"] !== undefined) {
|
|
4215
|
-
contents.Entries = deserializeAws_queryMetricStreamEntries(smithy_client_1.getArrayIfSingleItem(output["Entries"]["member"]), context);
|
|
4215
|
+
contents.Entries = deserializeAws_queryMetricStreamEntries((0, smithy_client_1.getArrayIfSingleItem)(output["Entries"]["member"]), context);
|
|
4216
4216
|
}
|
|
4217
4217
|
return contents;
|
|
4218
4218
|
};
|
|
@@ -4224,7 +4224,7 @@ const deserializeAws_queryListTagsForResourceOutput = (output, context) => {
|
|
|
4224
4224
|
contents.Tags = [];
|
|
4225
4225
|
}
|
|
4226
4226
|
if (output["Tags"] !== undefined && output["Tags"]["member"] !== undefined) {
|
|
4227
|
-
contents.Tags = deserializeAws_queryTagList(smithy_client_1.getArrayIfSingleItem(output["Tags"]["member"]), context);
|
|
4227
|
+
contents.Tags = deserializeAws_queryTagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["member"]), context);
|
|
4228
4228
|
}
|
|
4229
4229
|
return contents;
|
|
4230
4230
|
};
|
|
@@ -4234,10 +4234,10 @@ const deserializeAws_queryMessageData = (output, context) => {
|
|
|
4234
4234
|
Value: undefined,
|
|
4235
4235
|
};
|
|
4236
4236
|
if (output["Code"] !== undefined) {
|
|
4237
|
-
contents.Code = smithy_client_1.expectString(output["Code"]);
|
|
4237
|
+
contents.Code = (0, smithy_client_1.expectString)(output["Code"]);
|
|
4238
4238
|
}
|
|
4239
4239
|
if (output["Value"] !== undefined) {
|
|
4240
|
-
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
4240
|
+
contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
|
|
4241
4241
|
}
|
|
4242
4242
|
return contents;
|
|
4243
4243
|
};
|
|
@@ -4248,16 +4248,16 @@ const deserializeAws_queryMetric = (output, context) => {
|
|
|
4248
4248
|
Dimensions: undefined,
|
|
4249
4249
|
};
|
|
4250
4250
|
if (output["Namespace"] !== undefined) {
|
|
4251
|
-
contents.Namespace = smithy_client_1.expectString(output["Namespace"]);
|
|
4251
|
+
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
4252
4252
|
}
|
|
4253
4253
|
if (output["MetricName"] !== undefined) {
|
|
4254
|
-
contents.MetricName = smithy_client_1.expectString(output["MetricName"]);
|
|
4254
|
+
contents.MetricName = (0, smithy_client_1.expectString)(output["MetricName"]);
|
|
4255
4255
|
}
|
|
4256
4256
|
if (output.Dimensions === "") {
|
|
4257
4257
|
contents.Dimensions = [];
|
|
4258
4258
|
}
|
|
4259
4259
|
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
4260
|
-
contents.Dimensions = deserializeAws_queryDimensions(smithy_client_1.getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
4260
|
+
contents.Dimensions = deserializeAws_queryDimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
4261
4261
|
}
|
|
4262
4262
|
return contents;
|
|
4263
4263
|
};
|
|
@@ -4292,100 +4292,100 @@ const deserializeAws_queryMetricAlarm = (output, context) => {
|
|
|
4292
4292
|
ThresholdMetricId: undefined,
|
|
4293
4293
|
};
|
|
4294
4294
|
if (output["AlarmName"] !== undefined) {
|
|
4295
|
-
contents.AlarmName = smithy_client_1.expectString(output["AlarmName"]);
|
|
4295
|
+
contents.AlarmName = (0, smithy_client_1.expectString)(output["AlarmName"]);
|
|
4296
4296
|
}
|
|
4297
4297
|
if (output["AlarmArn"] !== undefined) {
|
|
4298
|
-
contents.AlarmArn = smithy_client_1.expectString(output["AlarmArn"]);
|
|
4298
|
+
contents.AlarmArn = (0, smithy_client_1.expectString)(output["AlarmArn"]);
|
|
4299
4299
|
}
|
|
4300
4300
|
if (output["AlarmDescription"] !== undefined) {
|
|
4301
|
-
contents.AlarmDescription = smithy_client_1.expectString(output["AlarmDescription"]);
|
|
4301
|
+
contents.AlarmDescription = (0, smithy_client_1.expectString)(output["AlarmDescription"]);
|
|
4302
4302
|
}
|
|
4303
4303
|
if (output["AlarmConfigurationUpdatedTimestamp"] !== undefined) {
|
|
4304
|
-
contents.AlarmConfigurationUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["AlarmConfigurationUpdatedTimestamp"]));
|
|
4304
|
+
contents.AlarmConfigurationUpdatedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["AlarmConfigurationUpdatedTimestamp"]));
|
|
4305
4305
|
}
|
|
4306
4306
|
if (output["ActionsEnabled"] !== undefined) {
|
|
4307
|
-
contents.ActionsEnabled = smithy_client_1.parseBoolean(output["ActionsEnabled"]);
|
|
4307
|
+
contents.ActionsEnabled = (0, smithy_client_1.parseBoolean)(output["ActionsEnabled"]);
|
|
4308
4308
|
}
|
|
4309
4309
|
if (output.OKActions === "") {
|
|
4310
4310
|
contents.OKActions = [];
|
|
4311
4311
|
}
|
|
4312
4312
|
if (output["OKActions"] !== undefined && output["OKActions"]["member"] !== undefined) {
|
|
4313
|
-
contents.OKActions = deserializeAws_queryResourceList(smithy_client_1.getArrayIfSingleItem(output["OKActions"]["member"]), context);
|
|
4313
|
+
contents.OKActions = deserializeAws_queryResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["OKActions"]["member"]), context);
|
|
4314
4314
|
}
|
|
4315
4315
|
if (output.AlarmActions === "") {
|
|
4316
4316
|
contents.AlarmActions = [];
|
|
4317
4317
|
}
|
|
4318
4318
|
if (output["AlarmActions"] !== undefined && output["AlarmActions"]["member"] !== undefined) {
|
|
4319
|
-
contents.AlarmActions = deserializeAws_queryResourceList(smithy_client_1.getArrayIfSingleItem(output["AlarmActions"]["member"]), context);
|
|
4319
|
+
contents.AlarmActions = deserializeAws_queryResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["AlarmActions"]["member"]), context);
|
|
4320
4320
|
}
|
|
4321
4321
|
if (output.InsufficientDataActions === "") {
|
|
4322
4322
|
contents.InsufficientDataActions = [];
|
|
4323
4323
|
}
|
|
4324
4324
|
if (output["InsufficientDataActions"] !== undefined && output["InsufficientDataActions"]["member"] !== undefined) {
|
|
4325
|
-
contents.InsufficientDataActions = deserializeAws_queryResourceList(smithy_client_1.getArrayIfSingleItem(output["InsufficientDataActions"]["member"]), context);
|
|
4325
|
+
contents.InsufficientDataActions = deserializeAws_queryResourceList((0, smithy_client_1.getArrayIfSingleItem)(output["InsufficientDataActions"]["member"]), context);
|
|
4326
4326
|
}
|
|
4327
4327
|
if (output["StateValue"] !== undefined) {
|
|
4328
|
-
contents.StateValue = smithy_client_1.expectString(output["StateValue"]);
|
|
4328
|
+
contents.StateValue = (0, smithy_client_1.expectString)(output["StateValue"]);
|
|
4329
4329
|
}
|
|
4330
4330
|
if (output["StateReason"] !== undefined) {
|
|
4331
|
-
contents.StateReason = smithy_client_1.expectString(output["StateReason"]);
|
|
4331
|
+
contents.StateReason = (0, smithy_client_1.expectString)(output["StateReason"]);
|
|
4332
4332
|
}
|
|
4333
4333
|
if (output["StateReasonData"] !== undefined) {
|
|
4334
|
-
contents.StateReasonData = smithy_client_1.expectString(output["StateReasonData"]);
|
|
4334
|
+
contents.StateReasonData = (0, smithy_client_1.expectString)(output["StateReasonData"]);
|
|
4335
4335
|
}
|
|
4336
4336
|
if (output["StateUpdatedTimestamp"] !== undefined) {
|
|
4337
|
-
contents.StateUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StateUpdatedTimestamp"]));
|
|
4337
|
+
contents.StateUpdatedTimestamp = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["StateUpdatedTimestamp"]));
|
|
4338
4338
|
}
|
|
4339
4339
|
if (output["MetricName"] !== undefined) {
|
|
4340
|
-
contents.MetricName = smithy_client_1.expectString(output["MetricName"]);
|
|
4340
|
+
contents.MetricName = (0, smithy_client_1.expectString)(output["MetricName"]);
|
|
4341
4341
|
}
|
|
4342
4342
|
if (output["Namespace"] !== undefined) {
|
|
4343
|
-
contents.Namespace = smithy_client_1.expectString(output["Namespace"]);
|
|
4343
|
+
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
4344
4344
|
}
|
|
4345
4345
|
if (output["Statistic"] !== undefined) {
|
|
4346
|
-
contents.Statistic = smithy_client_1.expectString(output["Statistic"]);
|
|
4346
|
+
contents.Statistic = (0, smithy_client_1.expectString)(output["Statistic"]);
|
|
4347
4347
|
}
|
|
4348
4348
|
if (output["ExtendedStatistic"] !== undefined) {
|
|
4349
|
-
contents.ExtendedStatistic = smithy_client_1.expectString(output["ExtendedStatistic"]);
|
|
4349
|
+
contents.ExtendedStatistic = (0, smithy_client_1.expectString)(output["ExtendedStatistic"]);
|
|
4350
4350
|
}
|
|
4351
4351
|
if (output.Dimensions === "") {
|
|
4352
4352
|
contents.Dimensions = [];
|
|
4353
4353
|
}
|
|
4354
4354
|
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
4355
|
-
contents.Dimensions = deserializeAws_queryDimensions(smithy_client_1.getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
4355
|
+
contents.Dimensions = deserializeAws_queryDimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
4356
4356
|
}
|
|
4357
4357
|
if (output["Period"] !== undefined) {
|
|
4358
|
-
contents.Period = smithy_client_1.strictParseInt32(output["Period"]);
|
|
4358
|
+
contents.Period = (0, smithy_client_1.strictParseInt32)(output["Period"]);
|
|
4359
4359
|
}
|
|
4360
4360
|
if (output["Unit"] !== undefined) {
|
|
4361
|
-
contents.Unit = smithy_client_1.expectString(output["Unit"]);
|
|
4361
|
+
contents.Unit = (0, smithy_client_1.expectString)(output["Unit"]);
|
|
4362
4362
|
}
|
|
4363
4363
|
if (output["EvaluationPeriods"] !== undefined) {
|
|
4364
|
-
contents.EvaluationPeriods = smithy_client_1.strictParseInt32(output["EvaluationPeriods"]);
|
|
4364
|
+
contents.EvaluationPeriods = (0, smithy_client_1.strictParseInt32)(output["EvaluationPeriods"]);
|
|
4365
4365
|
}
|
|
4366
4366
|
if (output["DatapointsToAlarm"] !== undefined) {
|
|
4367
|
-
contents.DatapointsToAlarm = smithy_client_1.strictParseInt32(output["DatapointsToAlarm"]);
|
|
4367
|
+
contents.DatapointsToAlarm = (0, smithy_client_1.strictParseInt32)(output["DatapointsToAlarm"]);
|
|
4368
4368
|
}
|
|
4369
4369
|
if (output["Threshold"] !== undefined) {
|
|
4370
|
-
contents.Threshold = smithy_client_1.strictParseFloat(output["Threshold"]);
|
|
4370
|
+
contents.Threshold = (0, smithy_client_1.strictParseFloat)(output["Threshold"]);
|
|
4371
4371
|
}
|
|
4372
4372
|
if (output["ComparisonOperator"] !== undefined) {
|
|
4373
|
-
contents.ComparisonOperator = smithy_client_1.expectString(output["ComparisonOperator"]);
|
|
4373
|
+
contents.ComparisonOperator = (0, smithy_client_1.expectString)(output["ComparisonOperator"]);
|
|
4374
4374
|
}
|
|
4375
4375
|
if (output["TreatMissingData"] !== undefined) {
|
|
4376
|
-
contents.TreatMissingData = smithy_client_1.expectString(output["TreatMissingData"]);
|
|
4376
|
+
contents.TreatMissingData = (0, smithy_client_1.expectString)(output["TreatMissingData"]);
|
|
4377
4377
|
}
|
|
4378
4378
|
if (output["EvaluateLowSampleCountPercentile"] !== undefined) {
|
|
4379
|
-
contents.EvaluateLowSampleCountPercentile = smithy_client_1.expectString(output["EvaluateLowSampleCountPercentile"]);
|
|
4379
|
+
contents.EvaluateLowSampleCountPercentile = (0, smithy_client_1.expectString)(output["EvaluateLowSampleCountPercentile"]);
|
|
4380
4380
|
}
|
|
4381
4381
|
if (output.Metrics === "") {
|
|
4382
4382
|
contents.Metrics = [];
|
|
4383
4383
|
}
|
|
4384
4384
|
if (output["Metrics"] !== undefined && output["Metrics"]["member"] !== undefined) {
|
|
4385
|
-
contents.Metrics = deserializeAws_queryMetricDataQueries(smithy_client_1.getArrayIfSingleItem(output["Metrics"]["member"]), context);
|
|
4385
|
+
contents.Metrics = deserializeAws_queryMetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["Metrics"]["member"]), context);
|
|
4386
4386
|
}
|
|
4387
4387
|
if (output["ThresholdMetricId"] !== undefined) {
|
|
4388
|
-
contents.ThresholdMetricId = smithy_client_1.expectString(output["ThresholdMetricId"]);
|
|
4388
|
+
contents.ThresholdMetricId = (0, smithy_client_1.expectString)(output["ThresholdMetricId"]);
|
|
4389
4389
|
}
|
|
4390
4390
|
return contents;
|
|
4391
4391
|
};
|
|
@@ -4420,25 +4420,25 @@ const deserializeAws_queryMetricDataQuery = (output, context) => {
|
|
|
4420
4420
|
AccountId: undefined,
|
|
4421
4421
|
};
|
|
4422
4422
|
if (output["Id"] !== undefined) {
|
|
4423
|
-
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
4423
|
+
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
4424
4424
|
}
|
|
4425
4425
|
if (output["MetricStat"] !== undefined) {
|
|
4426
4426
|
contents.MetricStat = deserializeAws_queryMetricStat(output["MetricStat"], context);
|
|
4427
4427
|
}
|
|
4428
4428
|
if (output["Expression"] !== undefined) {
|
|
4429
|
-
contents.Expression = smithy_client_1.expectString(output["Expression"]);
|
|
4429
|
+
contents.Expression = (0, smithy_client_1.expectString)(output["Expression"]);
|
|
4430
4430
|
}
|
|
4431
4431
|
if (output["Label"] !== undefined) {
|
|
4432
|
-
contents.Label = smithy_client_1.expectString(output["Label"]);
|
|
4432
|
+
contents.Label = (0, smithy_client_1.expectString)(output["Label"]);
|
|
4433
4433
|
}
|
|
4434
4434
|
if (output["ReturnData"] !== undefined) {
|
|
4435
|
-
contents.ReturnData = smithy_client_1.parseBoolean(output["ReturnData"]);
|
|
4435
|
+
contents.ReturnData = (0, smithy_client_1.parseBoolean)(output["ReturnData"]);
|
|
4436
4436
|
}
|
|
4437
4437
|
if (output["Period"] !== undefined) {
|
|
4438
|
-
contents.Period = smithy_client_1.strictParseInt32(output["Period"]);
|
|
4438
|
+
contents.Period = (0, smithy_client_1.strictParseInt32)(output["Period"]);
|
|
4439
4439
|
}
|
|
4440
4440
|
if (output["AccountId"] !== undefined) {
|
|
4441
|
-
contents.AccountId = smithy_client_1.expectString(output["AccountId"]);
|
|
4441
|
+
contents.AccountId = (0, smithy_client_1.expectString)(output["AccountId"]);
|
|
4442
4442
|
}
|
|
4443
4443
|
return contents;
|
|
4444
4444
|
};
|
|
@@ -4452,31 +4452,31 @@ const deserializeAws_queryMetricDataResult = (output, context) => {
|
|
|
4452
4452
|
Messages: undefined,
|
|
4453
4453
|
};
|
|
4454
4454
|
if (output["Id"] !== undefined) {
|
|
4455
|
-
contents.Id = smithy_client_1.expectString(output["Id"]);
|
|
4455
|
+
contents.Id = (0, smithy_client_1.expectString)(output["Id"]);
|
|
4456
4456
|
}
|
|
4457
4457
|
if (output["Label"] !== undefined) {
|
|
4458
|
-
contents.Label = smithy_client_1.expectString(output["Label"]);
|
|
4458
|
+
contents.Label = (0, smithy_client_1.expectString)(output["Label"]);
|
|
4459
4459
|
}
|
|
4460
4460
|
if (output.Timestamps === "") {
|
|
4461
4461
|
contents.Timestamps = [];
|
|
4462
4462
|
}
|
|
4463
4463
|
if (output["Timestamps"] !== undefined && output["Timestamps"]["member"] !== undefined) {
|
|
4464
|
-
contents.Timestamps = deserializeAws_queryTimestamps(smithy_client_1.getArrayIfSingleItem(output["Timestamps"]["member"]), context);
|
|
4464
|
+
contents.Timestamps = deserializeAws_queryTimestamps((0, smithy_client_1.getArrayIfSingleItem)(output["Timestamps"]["member"]), context);
|
|
4465
4465
|
}
|
|
4466
4466
|
if (output.Values === "") {
|
|
4467
4467
|
contents.Values = [];
|
|
4468
4468
|
}
|
|
4469
4469
|
if (output["Values"] !== undefined && output["Values"]["member"] !== undefined) {
|
|
4470
|
-
contents.Values = deserializeAws_queryDatapointValues(smithy_client_1.getArrayIfSingleItem(output["Values"]["member"]), context);
|
|
4470
|
+
contents.Values = deserializeAws_queryDatapointValues((0, smithy_client_1.getArrayIfSingleItem)(output["Values"]["member"]), context);
|
|
4471
4471
|
}
|
|
4472
4472
|
if (output["StatusCode"] !== undefined) {
|
|
4473
|
-
contents.StatusCode = smithy_client_1.expectString(output["StatusCode"]);
|
|
4473
|
+
contents.StatusCode = (0, smithy_client_1.expectString)(output["StatusCode"]);
|
|
4474
4474
|
}
|
|
4475
4475
|
if (output.Messages === "") {
|
|
4476
4476
|
contents.Messages = [];
|
|
4477
4477
|
}
|
|
4478
4478
|
if (output["Messages"] !== undefined && output["Messages"]["member"] !== undefined) {
|
|
4479
|
-
contents.Messages = deserializeAws_queryMetricDataResultMessages(smithy_client_1.getArrayIfSingleItem(output["Messages"]["member"]), context);
|
|
4479
|
+
contents.Messages = deserializeAws_queryMetricDataResultMessages((0, smithy_client_1.getArrayIfSingleItem)(output["Messages"]["member"]), context);
|
|
4480
4480
|
}
|
|
4481
4481
|
return contents;
|
|
4482
4482
|
};
|
|
@@ -4508,7 +4508,7 @@ const deserializeAws_queryMetricMathAnomalyDetector = (output, context) => {
|
|
|
4508
4508
|
contents.MetricDataQueries = [];
|
|
4509
4509
|
}
|
|
4510
4510
|
if (output["MetricDataQueries"] !== undefined && output["MetricDataQueries"]["member"] !== undefined) {
|
|
4511
|
-
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries(smithy_client_1.getArrayIfSingleItem(output["MetricDataQueries"]["member"]), context);
|
|
4511
|
+
contents.MetricDataQueries = deserializeAws_queryMetricDataQueries((0, smithy_client_1.getArrayIfSingleItem)(output["MetricDataQueries"]["member"]), context);
|
|
4512
4512
|
}
|
|
4513
4513
|
return contents;
|
|
4514
4514
|
};
|
|
@@ -4533,13 +4533,13 @@ const deserializeAws_queryMetricStat = (output, context) => {
|
|
|
4533
4533
|
contents.Metric = deserializeAws_queryMetric(output["Metric"], context);
|
|
4534
4534
|
}
|
|
4535
4535
|
if (output["Period"] !== undefined) {
|
|
4536
|
-
contents.Period = smithy_client_1.strictParseInt32(output["Period"]);
|
|
4536
|
+
contents.Period = (0, smithy_client_1.strictParseInt32)(output["Period"]);
|
|
4537
4537
|
}
|
|
4538
4538
|
if (output["Stat"] !== undefined) {
|
|
4539
|
-
contents.Stat = smithy_client_1.expectString(output["Stat"]);
|
|
4539
|
+
contents.Stat = (0, smithy_client_1.expectString)(output["Stat"]);
|
|
4540
4540
|
}
|
|
4541
4541
|
if (output["Unit"] !== undefined) {
|
|
4542
|
-
contents.Unit = smithy_client_1.expectString(output["Unit"]);
|
|
4542
|
+
contents.Unit = (0, smithy_client_1.expectString)(output["Unit"]);
|
|
4543
4543
|
}
|
|
4544
4544
|
return contents;
|
|
4545
4545
|
};
|
|
@@ -4564,25 +4564,25 @@ const deserializeAws_queryMetricStreamEntry = (output, context) => {
|
|
|
4564
4564
|
OutputFormat: undefined,
|
|
4565
4565
|
};
|
|
4566
4566
|
if (output["Arn"] !== undefined) {
|
|
4567
|
-
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
4567
|
+
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
4568
4568
|
}
|
|
4569
4569
|
if (output["CreationDate"] !== undefined) {
|
|
4570
|
-
contents.CreationDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationDate"]));
|
|
4570
|
+
contents.CreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["CreationDate"]));
|
|
4571
4571
|
}
|
|
4572
4572
|
if (output["LastUpdateDate"] !== undefined) {
|
|
4573
|
-
contents.LastUpdateDate = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdateDate"]));
|
|
4573
|
+
contents.LastUpdateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["LastUpdateDate"]));
|
|
4574
4574
|
}
|
|
4575
4575
|
if (output["Name"] !== undefined) {
|
|
4576
|
-
contents.Name = smithy_client_1.expectString(output["Name"]);
|
|
4576
|
+
contents.Name = (0, smithy_client_1.expectString)(output["Name"]);
|
|
4577
4577
|
}
|
|
4578
4578
|
if (output["FirehoseArn"] !== undefined) {
|
|
4579
|
-
contents.FirehoseArn = smithy_client_1.expectString(output["FirehoseArn"]);
|
|
4579
|
+
contents.FirehoseArn = (0, smithy_client_1.expectString)(output["FirehoseArn"]);
|
|
4580
4580
|
}
|
|
4581
4581
|
if (output["State"] !== undefined) {
|
|
4582
|
-
contents.State = smithy_client_1.expectString(output["State"]);
|
|
4582
|
+
contents.State = (0, smithy_client_1.expectString)(output["State"]);
|
|
4583
4583
|
}
|
|
4584
4584
|
if (output["OutputFormat"] !== undefined) {
|
|
4585
|
-
contents.OutputFormat = smithy_client_1.expectString(output["OutputFormat"]);
|
|
4585
|
+
contents.OutputFormat = (0, smithy_client_1.expectString)(output["OutputFormat"]);
|
|
4586
4586
|
}
|
|
4587
4587
|
return contents;
|
|
4588
4588
|
};
|
|
@@ -4591,7 +4591,7 @@ const deserializeAws_queryMetricStreamFilter = (output, context) => {
|
|
|
4591
4591
|
Namespace: undefined,
|
|
4592
4592
|
};
|
|
4593
4593
|
if (output["Namespace"] !== undefined) {
|
|
4594
|
-
contents.Namespace = smithy_client_1.expectString(output["Namespace"]);
|
|
4594
|
+
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
4595
4595
|
}
|
|
4596
4596
|
return contents;
|
|
4597
4597
|
};
|
|
@@ -4610,7 +4610,7 @@ const deserializeAws_queryMissingRequiredParameterException = (output, context)
|
|
|
4610
4610
|
message: undefined,
|
|
4611
4611
|
};
|
|
4612
4612
|
if (output["message"] !== undefined) {
|
|
4613
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
4613
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4614
4614
|
}
|
|
4615
4615
|
return contents;
|
|
4616
4616
|
};
|
|
@@ -4622,16 +4622,16 @@ const deserializeAws_queryPartialFailure = (output, context) => {
|
|
|
4622
4622
|
FailureDescription: undefined,
|
|
4623
4623
|
};
|
|
4624
4624
|
if (output["FailureResource"] !== undefined) {
|
|
4625
|
-
contents.FailureResource = smithy_client_1.expectString(output["FailureResource"]);
|
|
4625
|
+
contents.FailureResource = (0, smithy_client_1.expectString)(output["FailureResource"]);
|
|
4626
4626
|
}
|
|
4627
4627
|
if (output["ExceptionType"] !== undefined) {
|
|
4628
|
-
contents.ExceptionType = smithy_client_1.expectString(output["ExceptionType"]);
|
|
4628
|
+
contents.ExceptionType = (0, smithy_client_1.expectString)(output["ExceptionType"]);
|
|
4629
4629
|
}
|
|
4630
4630
|
if (output["FailureCode"] !== undefined) {
|
|
4631
|
-
contents.FailureCode = smithy_client_1.expectString(output["FailureCode"]);
|
|
4631
|
+
contents.FailureCode = (0, smithy_client_1.expectString)(output["FailureCode"]);
|
|
4632
4632
|
}
|
|
4633
4633
|
if (output["FailureDescription"] !== undefined) {
|
|
4634
|
-
contents.FailureDescription = smithy_client_1.expectString(output["FailureDescription"]);
|
|
4634
|
+
contents.FailureDescription = (0, smithy_client_1.expectString)(output["FailureDescription"]);
|
|
4635
4635
|
}
|
|
4636
4636
|
return contents;
|
|
4637
4637
|
};
|
|
@@ -4648,7 +4648,7 @@ const deserializeAws_queryPutDashboardOutput = (output, context) => {
|
|
|
4648
4648
|
}
|
|
4649
4649
|
if (output["DashboardValidationMessages"] !== undefined &&
|
|
4650
4650
|
output["DashboardValidationMessages"]["member"] !== undefined) {
|
|
4651
|
-
contents.DashboardValidationMessages = deserializeAws_queryDashboardValidationMessages(smithy_client_1.getArrayIfSingleItem(output["DashboardValidationMessages"]["member"]), context);
|
|
4651
|
+
contents.DashboardValidationMessages = deserializeAws_queryDashboardValidationMessages((0, smithy_client_1.getArrayIfSingleItem)(output["DashboardValidationMessages"]["member"]), context);
|
|
4652
4652
|
}
|
|
4653
4653
|
return contents;
|
|
4654
4654
|
};
|
|
@@ -4661,7 +4661,7 @@ const deserializeAws_queryPutMetricStreamOutput = (output, context) => {
|
|
|
4661
4661
|
Arn: undefined,
|
|
4662
4662
|
};
|
|
4663
4663
|
if (output["Arn"] !== undefined) {
|
|
4664
|
-
contents.Arn = smithy_client_1.expectString(output["Arn"]);
|
|
4664
|
+
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
4665
4665
|
}
|
|
4666
4666
|
return contents;
|
|
4667
4667
|
};
|
|
@@ -4671,10 +4671,10 @@ const deserializeAws_queryRange = (output, context) => {
|
|
|
4671
4671
|
EndTime: undefined,
|
|
4672
4672
|
};
|
|
4673
4673
|
if (output["StartTime"] !== undefined) {
|
|
4674
|
-
contents.StartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["StartTime"]));
|
|
4674
|
+
contents.StartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["StartTime"]));
|
|
4675
4675
|
}
|
|
4676
4676
|
if (output["EndTime"] !== undefined) {
|
|
4677
|
-
contents.EndTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EndTime"]));
|
|
4677
|
+
contents.EndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output["EndTime"]));
|
|
4678
4678
|
}
|
|
4679
4679
|
return contents;
|
|
4680
4680
|
};
|
|
@@ -4685,7 +4685,7 @@ const deserializeAws_queryResourceList = (output, context) => {
|
|
|
4685
4685
|
if (entry === null) {
|
|
4686
4686
|
return null;
|
|
4687
4687
|
}
|
|
4688
|
-
return smithy_client_1.expectString(entry);
|
|
4688
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4689
4689
|
});
|
|
4690
4690
|
};
|
|
4691
4691
|
const deserializeAws_queryResourceNotFound = (output, context) => {
|
|
@@ -4693,7 +4693,7 @@ const deserializeAws_queryResourceNotFound = (output, context) => {
|
|
|
4693
4693
|
message: undefined,
|
|
4694
4694
|
};
|
|
4695
4695
|
if (output["message"] !== undefined) {
|
|
4696
|
-
contents.message = smithy_client_1.expectString(output["message"]);
|
|
4696
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
4697
4697
|
}
|
|
4698
4698
|
return contents;
|
|
4699
4699
|
};
|
|
@@ -4704,13 +4704,13 @@ const deserializeAws_queryResourceNotFoundException = (output, context) => {
|
|
|
4704
4704
|
Message: undefined,
|
|
4705
4705
|
};
|
|
4706
4706
|
if (output["ResourceType"] !== undefined) {
|
|
4707
|
-
contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
|
|
4707
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(output["ResourceType"]);
|
|
4708
4708
|
}
|
|
4709
4709
|
if (output["ResourceId"] !== undefined) {
|
|
4710
|
-
contents.ResourceId = smithy_client_1.expectString(output["ResourceId"]);
|
|
4710
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(output["ResourceId"]);
|
|
4711
4711
|
}
|
|
4712
4712
|
if (output["Message"] !== undefined) {
|
|
4713
|
-
contents.Message = smithy_client_1.expectString(output["Message"]);
|
|
4713
|
+
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
4714
4714
|
}
|
|
4715
4715
|
return contents;
|
|
4716
4716
|
};
|
|
@@ -4722,19 +4722,19 @@ const deserializeAws_querySingleMetricAnomalyDetector = (output, context) => {
|
|
|
4722
4722
|
Stat: undefined,
|
|
4723
4723
|
};
|
|
4724
4724
|
if (output["Namespace"] !== undefined) {
|
|
4725
|
-
contents.Namespace = smithy_client_1.expectString(output["Namespace"]);
|
|
4725
|
+
contents.Namespace = (0, smithy_client_1.expectString)(output["Namespace"]);
|
|
4726
4726
|
}
|
|
4727
4727
|
if (output["MetricName"] !== undefined) {
|
|
4728
|
-
contents.MetricName = smithy_client_1.expectString(output["MetricName"]);
|
|
4728
|
+
contents.MetricName = (0, smithy_client_1.expectString)(output["MetricName"]);
|
|
4729
4729
|
}
|
|
4730
4730
|
if (output.Dimensions === "") {
|
|
4731
4731
|
contents.Dimensions = [];
|
|
4732
4732
|
}
|
|
4733
4733
|
if (output["Dimensions"] !== undefined && output["Dimensions"]["member"] !== undefined) {
|
|
4734
|
-
contents.Dimensions = deserializeAws_queryDimensions(smithy_client_1.getArrayIfSingleItem(output["Dimensions"]["member"]), context);
|
|
4734
|
+
contents.Dimensions = deserializeAws_queryDimensions((0, smithy_client_1.getArrayIfSingleItem)(output["Dimensions"]["member"]), context);
|
|
4735
4735
|
}
|
|
4736
4736
|
if (output["Stat"] !== undefined) {
|
|
4737
|
-
contents.Stat = smithy_client_1.expectString(output["Stat"]);
|
|
4737
|
+
contents.Stat = (0, smithy_client_1.expectString)(output["Stat"]);
|
|
4738
4738
|
}
|
|
4739
4739
|
return contents;
|
|
4740
4740
|
};
|
|
@@ -4752,10 +4752,10 @@ const deserializeAws_queryTag = (output, context) => {
|
|
|
4752
4752
|
Value: undefined,
|
|
4753
4753
|
};
|
|
4754
4754
|
if (output["Key"] !== undefined) {
|
|
4755
|
-
contents.Key = smithy_client_1.expectString(output["Key"]);
|
|
4755
|
+
contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
|
|
4756
4756
|
}
|
|
4757
4757
|
if (output["Value"] !== undefined) {
|
|
4758
|
-
contents.Value = smithy_client_1.expectString(output["Value"]);
|
|
4758
|
+
contents.Value = (0, smithy_client_1.expectString)(output["Value"]);
|
|
4759
4759
|
}
|
|
4760
4760
|
return contents;
|
|
4761
4761
|
};
|
|
@@ -4780,7 +4780,7 @@ const deserializeAws_queryTimestamps = (output, context) => {
|
|
|
4780
4780
|
if (entry === null) {
|
|
4781
4781
|
return null;
|
|
4782
4782
|
}
|
|
4783
|
-
return smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(entry));
|
|
4783
|
+
return (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(entry));
|
|
4784
4784
|
});
|
|
4785
4785
|
};
|
|
4786
4786
|
const deserializeAws_queryUntagResourceOutput = (output, context) => {
|
|
@@ -4823,12 +4823,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
4823
4823
|
};
|
|
4824
4824
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
4825
4825
|
if (encoded.length) {
|
|
4826
|
-
const parsedObj = fast_xml_parser_1.parse(encoded, {
|
|
4826
|
+
const parsedObj = (0, fast_xml_parser_1.parse)(encoded, {
|
|
4827
4827
|
attributeNamePrefix: "",
|
|
4828
4828
|
ignoreAttributes: false,
|
|
4829
4829
|
parseNodeValue: false,
|
|
4830
4830
|
trimValues: false,
|
|
4831
|
-
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : entities_1.decodeHTML(val)),
|
|
4831
|
+
tagValueProcessor: (val) => (val.trim() === "" && val.includes("\n") ? "" : (0, entities_1.decodeHTML)(val)),
|
|
4832
4832
|
});
|
|
4833
4833
|
const textNodeName = "#text";
|
|
4834
4834
|
const key = Object.keys(parsedObj)[0];
|
|
@@ -4837,12 +4837,12 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
4837
4837
|
parsedObjToReturn[key] = parsedObjToReturn[textNodeName];
|
|
4838
4838
|
delete parsedObjToReturn[textNodeName];
|
|
4839
4839
|
}
|
|
4840
|
-
return smithy_client_1.getValueFromTextNode(parsedObjToReturn);
|
|
4840
|
+
return (0, smithy_client_1.getValueFromTextNode)(parsedObjToReturn);
|
|
4841
4841
|
}
|
|
4842
4842
|
return {};
|
|
4843
4843
|
});
|
|
4844
4844
|
const buildFormUrlencodedString = (formEntries) => Object.entries(formEntries)
|
|
4845
|
-
.map(([key, value]) => smithy_client_1.extendedEncodeURIComponent(key) + "=" + smithy_client_1.extendedEncodeURIComponent(value))
|
|
4845
|
+
.map(([key, value]) => (0, smithy_client_1.extendedEncodeURIComponent)(key) + "=" + (0, smithy_client_1.extendedEncodeURIComponent)(value))
|
|
4846
4846
|
.join("&");
|
|
4847
4847
|
const loadQueryErrorCode = (output, data) => {
|
|
4848
4848
|
if (data.Error.Code !== undefined) {
|