@aws-sdk/client-cloudwatch 3.1167.0 → 3.1169.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/README.md +28 -0
- package/dist-cjs/index.js +123 -1
- package/dist-es/CloudWatch.js +10 -0
- package/dist-es/commands/DeleteMetricDataQueryDefinitionCommand.js +4 -0
- package/dist-es/commands/GetMetricDataQueryDefinitionCommand.js +4 -0
- package/dist-es/commands/ListMetricDataQueryDefinitionsCommand.js +4 -0
- package/dist-es/commands/PutMetricDataQueryDefinitionCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/pagination/ListMetricDataQueryDefinitionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +79 -0
- package/dist-types/CloudWatch.d.ts +36 -0
- package/dist-types/CloudWatchClient.d.ts +6 -2
- package/dist-types/commands/DeleteMetricDataQueryDefinitionCommand.d.ts +78 -0
- package/dist-types/commands/GetMetricDataQueryDefinitionCommand.d.ts +87 -0
- package/dist-types/commands/ListMetricDataQueryDefinitionsCommand.d.ts +91 -0
- package/dist-types/commands/PutMetricDataQueryDefinitionCommand.d.ts +118 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +264 -1
- package/dist-types/pagination/ListMetricDataQueryDefinitionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +13 -0
- package/dist-types/ts3.4/CloudWatch.d.ts +76 -0
- package/dist-types/ts3.4/CloudWatchClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteMetricDataQueryDefinitionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetMetricDataQueryDefinitionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListMetricDataQueryDefinitionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutMetricDataQueryDefinitionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -0
- package/dist-types/ts3.4/pagination/ListMetricDataQueryDefinitionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -341,6 +341,13 @@ DeleteInsightRules
|
|
|
341
341
|
</details>
|
|
342
342
|
<details>
|
|
343
343
|
<summary>
|
|
344
|
+
DeleteMetricDataQueryDefinition
|
|
345
|
+
</summary>
|
|
346
|
+
|
|
347
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/DeleteMetricDataQueryDefinitionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/DeleteMetricDataQueryDefinitionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/DeleteMetricDataQueryDefinitionCommandOutput/)
|
|
348
|
+
</details>
|
|
349
|
+
<details>
|
|
350
|
+
<summary>
|
|
344
351
|
DeleteMetricStream
|
|
345
352
|
</summary>
|
|
346
353
|
|
|
@@ -467,6 +474,13 @@ GetMetricData
|
|
|
467
474
|
</details>
|
|
468
475
|
<details>
|
|
469
476
|
<summary>
|
|
477
|
+
GetMetricDataQueryDefinition
|
|
478
|
+
</summary>
|
|
479
|
+
|
|
480
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/GetMetricDataQueryDefinitionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/GetMetricDataQueryDefinitionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/GetMetricDataQueryDefinitionCommandOutput/)
|
|
481
|
+
</details>
|
|
482
|
+
<details>
|
|
483
|
+
<summary>
|
|
470
484
|
GetMetricStatistics
|
|
471
485
|
</summary>
|
|
472
486
|
|
|
@@ -523,6 +537,13 @@ ListManagedInsightRules
|
|
|
523
537
|
</details>
|
|
524
538
|
<details>
|
|
525
539
|
<summary>
|
|
540
|
+
ListMetricDataQueryDefinitions
|
|
541
|
+
</summary>
|
|
542
|
+
|
|
543
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/ListMetricDataQueryDefinitionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/ListMetricDataQueryDefinitionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/ListMetricDataQueryDefinitionsCommandOutput/)
|
|
544
|
+
</details>
|
|
545
|
+
<details>
|
|
546
|
+
<summary>
|
|
526
547
|
ListMetrics
|
|
527
548
|
</summary>
|
|
528
549
|
|
|
@@ -607,6 +628,13 @@ PutMetricData
|
|
|
607
628
|
</details>
|
|
608
629
|
<details>
|
|
609
630
|
<summary>
|
|
631
|
+
PutMetricDataQueryDefinition
|
|
632
|
+
</summary>
|
|
633
|
+
|
|
634
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/PutMetricDataQueryDefinitionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/PutMetricDataQueryDefinitionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/PutMetricDataQueryDefinitionCommandOutput/)
|
|
635
|
+
</details>
|
|
636
|
+
<details>
|
|
637
|
+
<summary>
|
|
610
638
|
PutMetricStream
|
|
611
639
|
</summary>
|
|
612
640
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1168.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -535,6 +535,9 @@ const _DIROi = "DisableInsightRulesOutput";
|
|
|
535
535
|
const _DIRe = "DescribeInsightRules";
|
|
536
536
|
const _DIRi = "DisableInsightRules";
|
|
537
537
|
const _DIa = "DatasetId";
|
|
538
|
+
const _DMDQD = "DeleteMetricDataQueryDefinition";
|
|
539
|
+
const _DMDQDI = "DeleteMetricDataQueryDefinitionInput";
|
|
540
|
+
const _DMDQDO = "DeleteMetricDataQueryDefinitionOutput";
|
|
538
541
|
const _DMS = "DeleteMetricStream";
|
|
539
542
|
const _DMSI = "DeleteMetricStreamInput";
|
|
540
543
|
const _DMSO = "DeleteMetricStreamOutput";
|
|
@@ -602,6 +605,9 @@ const _GIRRO = "GetInsightRuleReportOutput";
|
|
|
602
605
|
const _GMD = "GetMetricData";
|
|
603
606
|
const _GMDI = "GetMetricDataInput";
|
|
604
607
|
const _GMDO = "GetMetricDataOutput";
|
|
608
|
+
const _GMDQD = "GetMetricDataQueryDefinition";
|
|
609
|
+
const _GMDQDI = "GetMetricDataQueryDefinitionInput";
|
|
610
|
+
const _GMDQDO = "GetMetricDataQueryDefinitionOutput";
|
|
605
611
|
const _GMS = "GetMetricStatistics";
|
|
606
612
|
const _GMSI = "GetMetricStatisticsInput";
|
|
607
613
|
const _GMSIe = "GetMetricStreamInput";
|
|
@@ -640,6 +646,7 @@ const _IRMDn = "InsightRuleMetricDatapoints";
|
|
|
640
646
|
const _IRn = "InsightRule";
|
|
641
647
|
const _ISF = "InternalServiceFault";
|
|
642
648
|
const _ITK = "IncludedTagKeys";
|
|
649
|
+
const _It = "Items";
|
|
643
650
|
const _K = "Keys";
|
|
644
651
|
const _KA = "KeyAttributes";
|
|
645
652
|
const _KADE = "KmsAccessDeniedException";
|
|
@@ -661,6 +668,9 @@ const _LEE = "LimitExceededException";
|
|
|
661
668
|
const _LEF = "LimitExceededFault";
|
|
662
669
|
const _LGI = "LogGroupIdentifiers";
|
|
663
670
|
const _LM = "LastModified";
|
|
671
|
+
const _LMDQD = "ListMetricDataQueryDefinitions";
|
|
672
|
+
const _LMDQDI = "ListMetricDataQueryDefinitionsInput";
|
|
673
|
+
const _LMDQDO = "ListMetricDataQueryDefinitionsOutput";
|
|
664
674
|
const _LMI = "ListMetricsInput";
|
|
665
675
|
const _LMIR = "ListManagedInsightRules";
|
|
666
676
|
const _LMIRI = "ListManagedInsightRulesInput";
|
|
@@ -684,6 +694,8 @@ const _MCC = "MaxContributorCount";
|
|
|
684
694
|
const _MCV = "MaxContributorValue";
|
|
685
695
|
const _MD = "MetricData";
|
|
686
696
|
const _MDQ = "MetricDataQueries";
|
|
697
|
+
const _MDQDS = "MetricDataQueryDefinitionSummary";
|
|
698
|
+
const _MDQDSe = "MetricDataQueryDefinitionSummaries";
|
|
687
699
|
const _MDQe = "MetricDataQuery";
|
|
688
700
|
const _MDR = "MetricDataResults";
|
|
689
701
|
const _MDRM = "MetricDataResultMessages";
|
|
@@ -692,6 +704,7 @@ const _MDa = "MaxDatapoints";
|
|
|
692
704
|
const _MDe = "MetricDatapoints";
|
|
693
705
|
const _MDes = "MessageData";
|
|
694
706
|
const _MDet = "MetricDatum";
|
|
707
|
+
const _MES = "MetricExpressionString";
|
|
695
708
|
const _MMAD = "MetricMathAnomalyDetector";
|
|
696
709
|
const _MN = "MetricName";
|
|
697
710
|
const _MNe = "MetricNames";
|
|
@@ -757,6 +770,9 @@ const _PMA = "PutMetricAlarm";
|
|
|
757
770
|
const _PMAI = "PutMetricAlarmInput";
|
|
758
771
|
const _PMD = "PutMetricData";
|
|
759
772
|
const _PMDI = "PutMetricDataInput";
|
|
773
|
+
const _PMDQD = "PutMetricDataQueryDefinition";
|
|
774
|
+
const _PMDQDI = "PutMetricDataQueryDefinitionInput";
|
|
775
|
+
const _PMDQDO = "PutMetricDataQueryDefinitionOutput";
|
|
760
776
|
const _PMIR = "PutManagedInsightRules";
|
|
761
777
|
const _PMIRI = "PutManagedInsightRulesInput";
|
|
762
778
|
const _PMIRO = "PutManagedInsightRulesOutput";
|
|
@@ -767,6 +783,7 @@ const _POAN = "ParentsOfAlarmName";
|
|
|
767
783
|
const _PP = "PendingPeriod";
|
|
768
784
|
const _PQLC = "PromQLCriteria";
|
|
769
785
|
const _PS = "PeriodicSpikes";
|
|
786
|
+
const _Pa = "Path";
|
|
770
787
|
const _Q = "Query";
|
|
771
788
|
const _QARN = "QueryARN";
|
|
772
789
|
const _QRTA = "QueryResultsToAlarm";
|
|
@@ -852,6 +869,7 @@ const _Tag = "Tag";
|
|
|
852
869
|
const _Th = "Threshold";
|
|
853
870
|
const _Ti = "Timezone";
|
|
854
871
|
const _Tim = "Timestamps";
|
|
872
|
+
const _Ty = "Type";
|
|
855
873
|
const _U = "Unit";
|
|
856
874
|
const _UA = "UpdatedAt";
|
|
857
875
|
const _UC = "UniqueContributors";
|
|
@@ -1001,6 +1019,7 @@ const errorTypeRegistries = [
|
|
|
1001
1019
|
_s_registry,
|
|
1002
1020
|
n0_registry,
|
|
1003
1021
|
];
|
|
1022
|
+
var MetricExpressionString = [0, n0, _MES, 8, 0];
|
|
1004
1023
|
var ActionConfiguration$ = [3, n0, _AC,
|
|
1005
1024
|
0,
|
|
1006
1025
|
[_ATP],
|
|
@@ -1121,6 +1140,16 @@ var DeleteInsightRulesOutput$ = [3, n0, _DIRO,
|
|
|
1121
1140
|
[_F],
|
|
1122
1141
|
[() => BatchFailures]
|
|
1123
1142
|
];
|
|
1143
|
+
var DeleteMetricDataQueryDefinitionInput$ = [3, n0, _DMDQDI,
|
|
1144
|
+
0,
|
|
1145
|
+
[_I],
|
|
1146
|
+
[0], 1
|
|
1147
|
+
];
|
|
1148
|
+
var DeleteMetricDataQueryDefinitionOutput$ = [3, n0, _DMDQDO,
|
|
1149
|
+
0,
|
|
1150
|
+
[],
|
|
1151
|
+
[]
|
|
1152
|
+
];
|
|
1124
1153
|
var DeleteMetricStreamInput$ = [3, n0, _DMSI,
|
|
1125
1154
|
0,
|
|
1126
1155
|
[_Na],
|
|
@@ -1311,6 +1340,16 @@ var GetMetricDataOutput$ = [3, n0, _GMDO,
|
|
|
1311
1340
|
[_MDR, _NT, _Mes],
|
|
1312
1341
|
[() => MetricDataResults, 0, () => MetricDataResultMessages]
|
|
1313
1342
|
];
|
|
1343
|
+
var GetMetricDataQueryDefinitionInput$ = [3, n0, _GMDQDI,
|
|
1344
|
+
0,
|
|
1345
|
+
[_I],
|
|
1346
|
+
[0], 1
|
|
1347
|
+
];
|
|
1348
|
+
var GetMetricDataQueryDefinitionOutput$ = [3, n0, _GMDQDO,
|
|
1349
|
+
0,
|
|
1350
|
+
[_I, _Ar, _Pa, _Ex, _Ty, _CAr, _UA],
|
|
1351
|
+
[0, 0, 0, [() => MetricExpressionString, 0], 0, 4, 4], 7
|
|
1352
|
+
];
|
|
1314
1353
|
var GetMetricStatisticsInput$ = [3, n0, _GMSI,
|
|
1315
1354
|
0,
|
|
1316
1355
|
[_N, _MN, _ST, _ET, _P, _D, _Stat, _ES, _U],
|
|
@@ -1416,6 +1455,16 @@ var ListManagedInsightRulesOutput$ = [3, n0, _LMIRO,
|
|
|
1416
1455
|
[_MRana, _NT],
|
|
1417
1456
|
[() => ManagedRuleDescriptions, 0]
|
|
1418
1457
|
];
|
|
1458
|
+
var ListMetricDataQueryDefinitionsInput$ = [3, n0, _LMDQDI,
|
|
1459
|
+
0,
|
|
1460
|
+
[_MRa, _NT],
|
|
1461
|
+
[1, 0]
|
|
1462
|
+
];
|
|
1463
|
+
var ListMetricDataQueryDefinitionsOutput$ = [3, n0, _LMDQDO,
|
|
1464
|
+
0,
|
|
1465
|
+
[_It, _NT],
|
|
1466
|
+
[() => MetricDataQueryDefinitionSummaries, 0], 1
|
|
1467
|
+
];
|
|
1419
1468
|
var ListMetricsInput$ = [3, n0, _LMI,
|
|
1420
1469
|
0,
|
|
1421
1470
|
[_N, _MN, _D, _NT, _RAe, _ILA, _OA],
|
|
@@ -1491,6 +1540,11 @@ var MetricDataQuery$ = [3, n0, _MDQe,
|
|
|
1491
1540
|
[_I, _MSe, _Ex, _L, _RD, _P, _AI],
|
|
1492
1541
|
[0, () => MetricStat$, 0, 0, 2, 1, 0], 1
|
|
1493
1542
|
];
|
|
1543
|
+
var MetricDataQueryDefinitionSummary$ = [3, n0, _MDQDS,
|
|
1544
|
+
0,
|
|
1545
|
+
[_I, _Pa, _Ty, _UA],
|
|
1546
|
+
[0, 0, 0, 4], 3
|
|
1547
|
+
];
|
|
1494
1548
|
var MetricDataResult$ = [3, n0, _MDRe,
|
|
1495
1549
|
0,
|
|
1496
1550
|
[_I, _L, _Tim, _Va, _SCta, _Mes],
|
|
@@ -1611,6 +1665,16 @@ var PutMetricDataInput$ = [3, n0, _PMDI,
|
|
|
1611
1665
|
[_N, _MD, _EMD, _SEV],
|
|
1612
1666
|
[0, () => MetricData, () => EntityMetricDataList, 2], 1
|
|
1613
1667
|
];
|
|
1668
|
+
var PutMetricDataQueryDefinitionInput$ = [3, n0, _PMDQDI,
|
|
1669
|
+
0,
|
|
1670
|
+
[_Pa, _Ex, _Ty, _I, _Ta],
|
|
1671
|
+
[0, [() => MetricExpressionString, 0], 0, 0, () => TagList], 3
|
|
1672
|
+
];
|
|
1673
|
+
var PutMetricDataQueryDefinitionOutput$ = [3, n0, _PMDQDO,
|
|
1674
|
+
0,
|
|
1675
|
+
[_I, _Ar, _Pa, _Ex, _Ty, _CAr, _UA],
|
|
1676
|
+
[0, 0, 0, [() => MetricExpressionString, 0], 0, 4, 4], 7
|
|
1677
|
+
];
|
|
1614
1678
|
var PutMetricStreamInput$ = [3, n0, _PMSI,
|
|
1615
1679
|
0,
|
|
1616
1680
|
[_Na, _FA, _RAo, _OF, _IF, _EF, _Ta, _SCt, _ILAM],
|
|
@@ -1841,6 +1905,9 @@ var MetricData = [1, n0, _MD,
|
|
|
1841
1905
|
var MetricDataQueries = [1, n0, _MDQ,
|
|
1842
1906
|
0, () => MetricDataQuery$
|
|
1843
1907
|
];
|
|
1908
|
+
var MetricDataQueryDefinitionSummaries = [1, n0, _MDQDSe,
|
|
1909
|
+
0, () => MetricDataQueryDefinitionSummary$
|
|
1910
|
+
];
|
|
1844
1911
|
var MetricDataResultMessages = [1, n0, _MDRM,
|
|
1845
1912
|
0, () => MessageData$
|
|
1846
1913
|
];
|
|
@@ -1902,6 +1969,9 @@ var DeleteDashboards$ = [9, n0, _DD,
|
|
|
1902
1969
|
var DeleteInsightRules$ = [9, n0, _DIR,
|
|
1903
1970
|
0, () => DeleteInsightRulesInput$, () => DeleteInsightRulesOutput$
|
|
1904
1971
|
];
|
|
1972
|
+
var DeleteMetricDataQueryDefinition$ = [9, n0, _DMDQD,
|
|
1973
|
+
2, () => DeleteMetricDataQueryDefinitionInput$, () => DeleteMetricDataQueryDefinitionOutput$
|
|
1974
|
+
];
|
|
1905
1975
|
var DeleteMetricStream$ = [9, n0, _DMS,
|
|
1906
1976
|
0, () => DeleteMetricStreamInput$, () => DeleteMetricStreamOutput$
|
|
1907
1977
|
];
|
|
@@ -1956,6 +2026,9 @@ var GetInsightRuleReport$ = [9, n0, _GIRR,
|
|
|
1956
2026
|
var GetMetricData$ = [9, n0, _GMD,
|
|
1957
2027
|
0, () => GetMetricDataInput$, () => GetMetricDataOutput$
|
|
1958
2028
|
];
|
|
2029
|
+
var GetMetricDataQueryDefinition$ = [9, n0, _GMDQD,
|
|
2030
|
+
0, () => GetMetricDataQueryDefinitionInput$, () => GetMetricDataQueryDefinitionOutput$
|
|
2031
|
+
];
|
|
1959
2032
|
var GetMetricStatistics$ = [9, n0, _GMS,
|
|
1960
2033
|
0, () => GetMetricStatisticsInput$, () => GetMetricStatisticsOutput$
|
|
1961
2034
|
];
|
|
@@ -1980,6 +2053,9 @@ var ListDashboards$ = [9, n0, _LD,
|
|
|
1980
2053
|
var ListManagedInsightRules$ = [9, n0, _LMIR,
|
|
1981
2054
|
0, () => ListManagedInsightRulesInput$, () => ListManagedInsightRulesOutput$
|
|
1982
2055
|
];
|
|
2056
|
+
var ListMetricDataQueryDefinitions$ = [9, n0, _LMDQD,
|
|
2057
|
+
0, () => ListMetricDataQueryDefinitionsInput$, () => ListMetricDataQueryDefinitionsOutput$
|
|
2058
|
+
];
|
|
1983
2059
|
var ListMetrics$ = [9, n0, _LMi,
|
|
1984
2060
|
0, () => ListMetricsInput$, () => ListMetricsOutput$
|
|
1985
2061
|
];
|
|
@@ -2016,6 +2092,9 @@ var PutMetricAlarm$ = [9, n0, _PMA,
|
|
|
2016
2092
|
var PutMetricData$ = [9, n0, _PMD,
|
|
2017
2093
|
0, () => PutMetricDataInput$, () => __Unit
|
|
2018
2094
|
];
|
|
2095
|
+
var PutMetricDataQueryDefinition$ = [9, n0, _PMDQD,
|
|
2096
|
+
2, () => PutMetricDataQueryDefinitionInput$, () => PutMetricDataQueryDefinitionOutput$
|
|
2097
|
+
];
|
|
2019
2098
|
var PutMetricStream$ = [9, n0, _PMS,
|
|
2020
2099
|
0, () => PutMetricStreamInput$, () => PutMetricStreamOutput$
|
|
2021
2100
|
];
|
|
@@ -2229,6 +2308,9 @@ class DeleteDashboardsCommand extends command(_ep0, _mw0, "DeleteDashboards", De
|
|
|
2229
2308
|
class DeleteInsightRulesCommand extends command(_ep0, _mw0, "DeleteInsightRules", DeleteInsightRules$) {
|
|
2230
2309
|
}
|
|
2231
2310
|
|
|
2311
|
+
class DeleteMetricDataQueryDefinitionCommand extends command(_ep0, _mw0, "DeleteMetricDataQueryDefinition", DeleteMetricDataQueryDefinition$) {
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2232
2314
|
class DeleteMetricStreamCommand extends command(_ep0, _mw0, "DeleteMetricStream", DeleteMetricStream$) {
|
|
2233
2315
|
}
|
|
2234
2316
|
|
|
@@ -2283,6 +2365,9 @@ class GetInsightRuleReportCommand extends command(_ep0, _mw0, "GetInsightRuleRep
|
|
|
2283
2365
|
class GetMetricDataCommand extends command(_ep0, _mw0, "GetMetricData", GetMetricData$) {
|
|
2284
2366
|
}
|
|
2285
2367
|
|
|
2368
|
+
class GetMetricDataQueryDefinitionCommand extends command(_ep0, _mw0, "GetMetricDataQueryDefinition", GetMetricDataQueryDefinition$) {
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2286
2371
|
class GetMetricStatisticsCommand extends command(_ep0, _mw0, "GetMetricStatistics", GetMetricStatistics$) {
|
|
2287
2372
|
}
|
|
2288
2373
|
|
|
@@ -2307,6 +2392,9 @@ class ListDashboardsCommand extends command(_ep0, _mw0, "ListDashboards", ListDa
|
|
|
2307
2392
|
class ListManagedInsightRulesCommand extends command(_ep0, _mw0, "ListManagedInsightRules", ListManagedInsightRules$) {
|
|
2308
2393
|
}
|
|
2309
2394
|
|
|
2395
|
+
class ListMetricDataQueryDefinitionsCommand extends command(_ep0, _mw0, "ListMetricDataQueryDefinitions", ListMetricDataQueryDefinitions$) {
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2310
2398
|
class ListMetricsCommand extends command(_ep0, _mw0, "ListMetrics", ListMetrics$) {
|
|
2311
2399
|
}
|
|
2312
2400
|
|
|
@@ -2343,6 +2431,9 @@ class PutMetricAlarmCommand extends command(_ep0, _mw0, "PutMetricAlarm", PutMet
|
|
|
2343
2431
|
class PutMetricDataCommand extends command(_ep0, _mw1, "PutMetricData", PutMetricData$) {
|
|
2344
2432
|
}
|
|
2345
2433
|
|
|
2434
|
+
class PutMetricDataQueryDefinitionCommand extends command(_ep0, _mw0, "PutMetricDataQueryDefinition", PutMetricDataQueryDefinition$) {
|
|
2435
|
+
}
|
|
2436
|
+
|
|
2346
2437
|
class PutMetricStreamCommand extends command(_ep0, _mw0, "PutMetricStream", PutMetricStream$) {
|
|
2347
2438
|
}
|
|
2348
2439
|
|
|
@@ -2389,6 +2480,8 @@ const paginateListDashboards = createPaginator(CloudWatchClient, ListDashboardsC
|
|
|
2389
2480
|
|
|
2390
2481
|
const paginateListManagedInsightRules = createPaginator(CloudWatchClient, ListManagedInsightRulesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2391
2482
|
|
|
2483
|
+
const paginateListMetricDataQueryDefinitions = createPaginator(CloudWatchClient, ListMetricDataQueryDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2484
|
+
|
|
2392
2485
|
const paginateListMetrics = createPaginator(CloudWatchClient, ListMetricsCommand, "NextToken", "NextToken", "");
|
|
2393
2486
|
|
|
2394
2487
|
const paginateListMetricStreams = createPaginator(CloudWatchClient, ListMetricStreamsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -2519,6 +2612,7 @@ const commands = {
|
|
|
2519
2612
|
DeleteAnomalyDetectorCommand,
|
|
2520
2613
|
DeleteDashboardsCommand,
|
|
2521
2614
|
DeleteInsightRulesCommand,
|
|
2615
|
+
DeleteMetricDataQueryDefinitionCommand,
|
|
2522
2616
|
DeleteMetricStreamCommand,
|
|
2523
2617
|
DeleteResourceMetricsConfigurationCommand,
|
|
2524
2618
|
DescribeAlarmContributorsCommand,
|
|
@@ -2537,6 +2631,7 @@ const commands = {
|
|
|
2537
2631
|
GetDatasetCommand,
|
|
2538
2632
|
GetInsightRuleReportCommand,
|
|
2539
2633
|
GetMetricDataCommand,
|
|
2634
|
+
GetMetricDataQueryDefinitionCommand,
|
|
2540
2635
|
GetMetricStatisticsCommand,
|
|
2541
2636
|
GetMetricStreamCommand,
|
|
2542
2637
|
GetMetricWidgetImageCommand,
|
|
@@ -2545,6 +2640,7 @@ const commands = {
|
|
|
2545
2640
|
ListAlarmMuteRulesCommand,
|
|
2546
2641
|
ListDashboardsCommand,
|
|
2547
2642
|
ListManagedInsightRulesCommand,
|
|
2643
|
+
ListMetricDataQueryDefinitionsCommand,
|
|
2548
2644
|
ListMetricsCommand,
|
|
2549
2645
|
ListMetricStreamsCommand,
|
|
2550
2646
|
ListTagsForResourceCommand,
|
|
@@ -2557,6 +2653,7 @@ const commands = {
|
|
|
2557
2653
|
PutManagedInsightRulesCommand,
|
|
2558
2654
|
PutMetricAlarmCommand,
|
|
2559
2655
|
PutMetricDataCommand,
|
|
2656
|
+
PutMetricDataQueryDefinitionCommand,
|
|
2560
2657
|
PutMetricStreamCommand,
|
|
2561
2658
|
SetAlarmStateCommand,
|
|
2562
2659
|
StartMetricStreamsCommand,
|
|
@@ -2577,6 +2674,7 @@ const paginators = {
|
|
|
2577
2674
|
paginateListAlarmMuteRules,
|
|
2578
2675
|
paginateListDashboards,
|
|
2579
2676
|
paginateListManagedInsightRules,
|
|
2677
|
+
paginateListMetricDataQueryDefinitions,
|
|
2580
2678
|
paginateListMetrics,
|
|
2581
2679
|
paginateListMetricStreams,
|
|
2582
2680
|
};
|
|
@@ -2696,6 +2794,11 @@ const StatusCode = {
|
|
|
2696
2794
|
INTERNAL_ERROR: "InternalError",
|
|
2697
2795
|
PARTIAL_DATA: "PartialData",
|
|
2698
2796
|
};
|
|
2797
|
+
const QueryType = {
|
|
2798
|
+
METRIC_MATH: "METRIC_MATH",
|
|
2799
|
+
PROMQL: "PROMQL",
|
|
2800
|
+
SQL: "SQL",
|
|
2801
|
+
};
|
|
2699
2802
|
const MetricStreamOutputFormat = {
|
|
2700
2803
|
JSON: "json",
|
|
2701
2804
|
OPEN_TELEMETRY_0_7: "opentelemetry0.7",
|
|
@@ -2767,6 +2870,10 @@ exports.DeleteInsightRules$ = DeleteInsightRules$;
|
|
|
2767
2870
|
exports.DeleteInsightRulesCommand = DeleteInsightRulesCommand;
|
|
2768
2871
|
exports.DeleteInsightRulesInput$ = DeleteInsightRulesInput$;
|
|
2769
2872
|
exports.DeleteInsightRulesOutput$ = DeleteInsightRulesOutput$;
|
|
2873
|
+
exports.DeleteMetricDataQueryDefinition$ = DeleteMetricDataQueryDefinition$;
|
|
2874
|
+
exports.DeleteMetricDataQueryDefinitionCommand = DeleteMetricDataQueryDefinitionCommand;
|
|
2875
|
+
exports.DeleteMetricDataQueryDefinitionInput$ = DeleteMetricDataQueryDefinitionInput$;
|
|
2876
|
+
exports.DeleteMetricDataQueryDefinitionOutput$ = DeleteMetricDataQueryDefinitionOutput$;
|
|
2770
2877
|
exports.DeleteMetricStream$ = DeleteMetricStream$;
|
|
2771
2878
|
exports.DeleteMetricStreamCommand = DeleteMetricStreamCommand;
|
|
2772
2879
|
exports.DeleteMetricStreamInput$ = DeleteMetricStreamInput$;
|
|
@@ -2844,6 +2951,10 @@ exports.GetMetricData$ = GetMetricData$;
|
|
|
2844
2951
|
exports.GetMetricDataCommand = GetMetricDataCommand;
|
|
2845
2952
|
exports.GetMetricDataInput$ = GetMetricDataInput$;
|
|
2846
2953
|
exports.GetMetricDataOutput$ = GetMetricDataOutput$;
|
|
2954
|
+
exports.GetMetricDataQueryDefinition$ = GetMetricDataQueryDefinition$;
|
|
2955
|
+
exports.GetMetricDataQueryDefinitionCommand = GetMetricDataQueryDefinitionCommand;
|
|
2956
|
+
exports.GetMetricDataQueryDefinitionInput$ = GetMetricDataQueryDefinitionInput$;
|
|
2957
|
+
exports.GetMetricDataQueryDefinitionOutput$ = GetMetricDataQueryDefinitionOutput$;
|
|
2847
2958
|
exports.GetMetricStatistics$ = GetMetricStatistics$;
|
|
2848
2959
|
exports.GetMetricStatisticsCommand = GetMetricStatisticsCommand;
|
|
2849
2960
|
exports.GetMetricStatisticsInput$ = GetMetricStatisticsInput$;
|
|
@@ -2902,6 +3013,10 @@ exports.ListManagedInsightRules$ = ListManagedInsightRules$;
|
|
|
2902
3013
|
exports.ListManagedInsightRulesCommand = ListManagedInsightRulesCommand;
|
|
2903
3014
|
exports.ListManagedInsightRulesInput$ = ListManagedInsightRulesInput$;
|
|
2904
3015
|
exports.ListManagedInsightRulesOutput$ = ListManagedInsightRulesOutput$;
|
|
3016
|
+
exports.ListMetricDataQueryDefinitions$ = ListMetricDataQueryDefinitions$;
|
|
3017
|
+
exports.ListMetricDataQueryDefinitionsCommand = ListMetricDataQueryDefinitionsCommand;
|
|
3018
|
+
exports.ListMetricDataQueryDefinitionsInput$ = ListMetricDataQueryDefinitionsInput$;
|
|
3019
|
+
exports.ListMetricDataQueryDefinitionsOutput$ = ListMetricDataQueryDefinitionsOutput$;
|
|
2905
3020
|
exports.ListMetricStreams$ = ListMetricStreams$;
|
|
2906
3021
|
exports.ListMetricStreamsCommand = ListMetricStreamsCommand;
|
|
2907
3022
|
exports.ListMetricStreamsInput$ = ListMetricStreamsInput$;
|
|
@@ -2923,6 +3038,7 @@ exports.Metric$ = Metric$;
|
|
|
2923
3038
|
exports.MetricAlarm$ = MetricAlarm$;
|
|
2924
3039
|
exports.MetricCharacteristics$ = MetricCharacteristics$;
|
|
2925
3040
|
exports.MetricDataQuery$ = MetricDataQuery$;
|
|
3041
|
+
exports.MetricDataQueryDefinitionSummary$ = MetricDataQueryDefinitionSummary$;
|
|
2926
3042
|
exports.MetricDataResult$ = MetricDataResult$;
|
|
2927
3043
|
exports.MetricDatum$ = MetricDatum$;
|
|
2928
3044
|
exports.MetricMathAnomalyDetector$ = MetricMathAnomalyDetector$;
|
|
@@ -2969,10 +3085,15 @@ exports.PutMetricAlarmInput$ = PutMetricAlarmInput$;
|
|
|
2969
3085
|
exports.PutMetricData$ = PutMetricData$;
|
|
2970
3086
|
exports.PutMetricDataCommand = PutMetricDataCommand;
|
|
2971
3087
|
exports.PutMetricDataInput$ = PutMetricDataInput$;
|
|
3088
|
+
exports.PutMetricDataQueryDefinition$ = PutMetricDataQueryDefinition$;
|
|
3089
|
+
exports.PutMetricDataQueryDefinitionCommand = PutMetricDataQueryDefinitionCommand;
|
|
3090
|
+
exports.PutMetricDataQueryDefinitionInput$ = PutMetricDataQueryDefinitionInput$;
|
|
3091
|
+
exports.PutMetricDataQueryDefinitionOutput$ = PutMetricDataQueryDefinitionOutput$;
|
|
2972
3092
|
exports.PutMetricStream$ = PutMetricStream$;
|
|
2973
3093
|
exports.PutMetricStreamCommand = PutMetricStreamCommand;
|
|
2974
3094
|
exports.PutMetricStreamInput$ = PutMetricStreamInput$;
|
|
2975
3095
|
exports.PutMetricStreamOutput$ = PutMetricStreamOutput$;
|
|
3096
|
+
exports.QueryType = QueryType;
|
|
2976
3097
|
exports.Range$ = Range$;
|
|
2977
3098
|
exports.RecentlyActive = RecentlyActive;
|
|
2978
3099
|
exports.ResourceConflict = ResourceConflict;
|
|
@@ -3044,6 +3165,7 @@ exports.paginateGetMetricData = paginateGetMetricData;
|
|
|
3044
3165
|
exports.paginateListAlarmMuteRules = paginateListAlarmMuteRules;
|
|
3045
3166
|
exports.paginateListDashboards = paginateListDashboards;
|
|
3046
3167
|
exports.paginateListManagedInsightRules = paginateListManagedInsightRules;
|
|
3168
|
+
exports.paginateListMetricDataQueryDefinitions = paginateListMetricDataQueryDefinitions;
|
|
3047
3169
|
exports.paginateListMetricStreams = paginateListMetricStreams;
|
|
3048
3170
|
exports.paginateListMetrics = paginateListMetrics;
|
|
3049
3171
|
exports.waitForAlarmExists = waitForAlarmExists;
|
package/dist-es/CloudWatch.js
CHANGED
|
@@ -7,6 +7,7 @@ import { DeleteAlarmsCommand, } from "./commands/DeleteAlarmsCommand";
|
|
|
7
7
|
import { DeleteAnomalyDetectorCommand, } from "./commands/DeleteAnomalyDetectorCommand";
|
|
8
8
|
import { DeleteDashboardsCommand, } from "./commands/DeleteDashboardsCommand";
|
|
9
9
|
import { DeleteInsightRulesCommand, } from "./commands/DeleteInsightRulesCommand";
|
|
10
|
+
import { DeleteMetricDataQueryDefinitionCommand, } from "./commands/DeleteMetricDataQueryDefinitionCommand";
|
|
10
11
|
import { DeleteMetricStreamCommand, } from "./commands/DeleteMetricStreamCommand";
|
|
11
12
|
import { DeleteResourceMetricsConfigurationCommand, } from "./commands/DeleteResourceMetricsConfigurationCommand";
|
|
12
13
|
import { DescribeAlarmContributorsCommand, } from "./commands/DescribeAlarmContributorsCommand";
|
|
@@ -25,6 +26,7 @@ import { GetDashboardCommand, } from "./commands/GetDashboardCommand";
|
|
|
25
26
|
import { GetDatasetCommand, } from "./commands/GetDatasetCommand";
|
|
26
27
|
import { GetInsightRuleReportCommand, } from "./commands/GetInsightRuleReportCommand";
|
|
27
28
|
import { GetMetricDataCommand, } from "./commands/GetMetricDataCommand";
|
|
29
|
+
import { GetMetricDataQueryDefinitionCommand, } from "./commands/GetMetricDataQueryDefinitionCommand";
|
|
28
30
|
import { GetMetricStatisticsCommand, } from "./commands/GetMetricStatisticsCommand";
|
|
29
31
|
import { GetMetricStreamCommand, } from "./commands/GetMetricStreamCommand";
|
|
30
32
|
import { GetMetricWidgetImageCommand, } from "./commands/GetMetricWidgetImageCommand";
|
|
@@ -33,6 +35,7 @@ import { GetResourceMetricsConfigurationCommand, } from "./commands/GetResourceM
|
|
|
33
35
|
import { ListAlarmMuteRulesCommand, } from "./commands/ListAlarmMuteRulesCommand";
|
|
34
36
|
import { ListDashboardsCommand, } from "./commands/ListDashboardsCommand";
|
|
35
37
|
import { ListManagedInsightRulesCommand, } from "./commands/ListManagedInsightRulesCommand";
|
|
38
|
+
import { ListMetricDataQueryDefinitionsCommand, } from "./commands/ListMetricDataQueryDefinitionsCommand";
|
|
36
39
|
import { ListMetricsCommand, } from "./commands/ListMetricsCommand";
|
|
37
40
|
import { ListMetricStreamsCommand, } from "./commands/ListMetricStreamsCommand";
|
|
38
41
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -45,6 +48,7 @@ import { PutLogAlarmCommand, } from "./commands/PutLogAlarmCommand";
|
|
|
45
48
|
import { PutManagedInsightRulesCommand, } from "./commands/PutManagedInsightRulesCommand";
|
|
46
49
|
import { PutMetricAlarmCommand, } from "./commands/PutMetricAlarmCommand";
|
|
47
50
|
import { PutMetricDataCommand, } from "./commands/PutMetricDataCommand";
|
|
51
|
+
import { PutMetricDataQueryDefinitionCommand, } from "./commands/PutMetricDataQueryDefinitionCommand";
|
|
48
52
|
import { PutMetricStreamCommand, } from "./commands/PutMetricStreamCommand";
|
|
49
53
|
import { SetAlarmStateCommand, } from "./commands/SetAlarmStateCommand";
|
|
50
54
|
import { StartMetricStreamsCommand, } from "./commands/StartMetricStreamsCommand";
|
|
@@ -63,6 +67,7 @@ import { paginateGetMetricData } from "./pagination/GetMetricDataPaginator";
|
|
|
63
67
|
import { paginateListAlarmMuteRules } from "./pagination/ListAlarmMuteRulesPaginator";
|
|
64
68
|
import { paginateListDashboards } from "./pagination/ListDashboardsPaginator";
|
|
65
69
|
import { paginateListManagedInsightRules } from "./pagination/ListManagedInsightRulesPaginator";
|
|
70
|
+
import { paginateListMetricDataQueryDefinitions } from "./pagination/ListMetricDataQueryDefinitionsPaginator";
|
|
66
71
|
import { paginateListMetrics } from "./pagination/ListMetricsPaginator";
|
|
67
72
|
import { paginateListMetricStreams } from "./pagination/ListMetricStreamsPaginator";
|
|
68
73
|
import { waitUntilAlarmExists } from "./waiters/waitForAlarmExists";
|
|
@@ -77,6 +82,7 @@ const commands = {
|
|
|
77
82
|
DeleteAnomalyDetectorCommand,
|
|
78
83
|
DeleteDashboardsCommand,
|
|
79
84
|
DeleteInsightRulesCommand,
|
|
85
|
+
DeleteMetricDataQueryDefinitionCommand,
|
|
80
86
|
DeleteMetricStreamCommand,
|
|
81
87
|
DeleteResourceMetricsConfigurationCommand,
|
|
82
88
|
DescribeAlarmContributorsCommand,
|
|
@@ -95,6 +101,7 @@ const commands = {
|
|
|
95
101
|
GetDatasetCommand,
|
|
96
102
|
GetInsightRuleReportCommand,
|
|
97
103
|
GetMetricDataCommand,
|
|
104
|
+
GetMetricDataQueryDefinitionCommand,
|
|
98
105
|
GetMetricStatisticsCommand,
|
|
99
106
|
GetMetricStreamCommand,
|
|
100
107
|
GetMetricWidgetImageCommand,
|
|
@@ -103,6 +110,7 @@ const commands = {
|
|
|
103
110
|
ListAlarmMuteRulesCommand,
|
|
104
111
|
ListDashboardsCommand,
|
|
105
112
|
ListManagedInsightRulesCommand,
|
|
113
|
+
ListMetricDataQueryDefinitionsCommand,
|
|
106
114
|
ListMetricsCommand,
|
|
107
115
|
ListMetricStreamsCommand,
|
|
108
116
|
ListTagsForResourceCommand,
|
|
@@ -115,6 +123,7 @@ const commands = {
|
|
|
115
123
|
PutManagedInsightRulesCommand,
|
|
116
124
|
PutMetricAlarmCommand,
|
|
117
125
|
PutMetricDataCommand,
|
|
126
|
+
PutMetricDataQueryDefinitionCommand,
|
|
118
127
|
PutMetricStreamCommand,
|
|
119
128
|
SetAlarmStateCommand,
|
|
120
129
|
StartMetricStreamsCommand,
|
|
@@ -135,6 +144,7 @@ const paginators = {
|
|
|
135
144
|
paginateListAlarmMuteRules,
|
|
136
145
|
paginateListDashboards,
|
|
137
146
|
paginateListManagedInsightRules,
|
|
147
|
+
paginateListMetricDataQueryDefinitions,
|
|
138
148
|
paginateListMetrics,
|
|
139
149
|
paginateListMetricStreams,
|
|
140
150
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { DeleteMetricDataQueryDefinition$ } from "../schemas/schemas_0";
|
|
3
|
+
export class DeleteMetricDataQueryDefinitionCommand extends command(_ep0, _mw0, "DeleteMetricDataQueryDefinition", DeleteMetricDataQueryDefinition$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { GetMetricDataQueryDefinition$ } from "../schemas/schemas_0";
|
|
3
|
+
export class GetMetricDataQueryDefinitionCommand extends command(_ep0, _mw0, "GetMetricDataQueryDefinition", GetMetricDataQueryDefinition$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListMetricDataQueryDefinitions$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListMetricDataQueryDefinitionsCommand extends command(_ep0, _mw0, "ListMetricDataQueryDefinitions", ListMetricDataQueryDefinitions$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { PutMetricDataQueryDefinition$ } from "../schemas/schemas_0";
|
|
3
|
+
export class PutMetricDataQueryDefinitionCommand extends command(_ep0, _mw0, "PutMetricDataQueryDefinition", PutMetricDataQueryDefinition$) {
|
|
4
|
+
}
|
|
@@ -5,6 +5,7 @@ export * from "./DeleteAlarmsCommand";
|
|
|
5
5
|
export * from "./DeleteAnomalyDetectorCommand";
|
|
6
6
|
export * from "./DeleteDashboardsCommand";
|
|
7
7
|
export * from "./DeleteInsightRulesCommand";
|
|
8
|
+
export * from "./DeleteMetricDataQueryDefinitionCommand";
|
|
8
9
|
export * from "./DeleteMetricStreamCommand";
|
|
9
10
|
export * from "./DeleteResourceMetricsConfigurationCommand";
|
|
10
11
|
export * from "./DescribeAlarmContributorsCommand";
|
|
@@ -23,6 +24,7 @@ export * from "./GetDashboardCommand";
|
|
|
23
24
|
export * from "./GetDatasetCommand";
|
|
24
25
|
export * from "./GetInsightRuleReportCommand";
|
|
25
26
|
export * from "./GetMetricDataCommand";
|
|
27
|
+
export * from "./GetMetricDataQueryDefinitionCommand";
|
|
26
28
|
export * from "./GetMetricStatisticsCommand";
|
|
27
29
|
export * from "./GetMetricStreamCommand";
|
|
28
30
|
export * from "./GetMetricWidgetImageCommand";
|
|
@@ -31,6 +33,7 @@ export * from "./GetResourceMetricsConfigurationCommand";
|
|
|
31
33
|
export * from "./ListAlarmMuteRulesCommand";
|
|
32
34
|
export * from "./ListDashboardsCommand";
|
|
33
35
|
export * from "./ListManagedInsightRulesCommand";
|
|
36
|
+
export * from "./ListMetricDataQueryDefinitionsCommand";
|
|
34
37
|
export * from "./ListMetricStreamsCommand";
|
|
35
38
|
export * from "./ListMetricsCommand";
|
|
36
39
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -43,6 +46,7 @@ export * from "./PutLogAlarmCommand";
|
|
|
43
46
|
export * from "./PutManagedInsightRulesCommand";
|
|
44
47
|
export * from "./PutMetricAlarmCommand";
|
|
45
48
|
export * from "./PutMetricDataCommand";
|
|
49
|
+
export * from "./PutMetricDataQueryDefinitionCommand";
|
|
46
50
|
export * from "./PutMetricStreamCommand";
|
|
47
51
|
export * from "./SetAlarmStateCommand";
|
|
48
52
|
export * from "./StartMetricStreamsCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -104,6 +104,11 @@ export const StatusCode = {
|
|
|
104
104
|
INTERNAL_ERROR: "InternalError",
|
|
105
105
|
PARTIAL_DATA: "PartialData",
|
|
106
106
|
};
|
|
107
|
+
export const QueryType = {
|
|
108
|
+
METRIC_MATH: "METRIC_MATH",
|
|
109
|
+
PROMQL: "PROMQL",
|
|
110
|
+
SQL: "SQL",
|
|
111
|
+
};
|
|
107
112
|
export const MetricStreamOutputFormat = {
|
|
108
113
|
JSON: "json",
|
|
109
114
|
OPEN_TELEMETRY_0_7: "opentelemetry0.7",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudWatchClient } from "../CloudWatchClient";
|
|
3
|
+
import { ListMetricDataQueryDefinitionsCommand, } from "../commands/ListMetricDataQueryDefinitionsCommand";
|
|
4
|
+
export const paginateListMetricDataQueryDefinitions = createPaginator(CloudWatchClient, ListMetricDataQueryDefinitionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -7,5 +7,6 @@ export * from "./GetMetricDataPaginator";
|
|
|
7
7
|
export * from "./ListAlarmMuteRulesPaginator";
|
|
8
8
|
export * from "./ListDashboardsPaginator";
|
|
9
9
|
export * from "./ListManagedInsightRulesPaginator";
|
|
10
|
+
export * from "./ListMetricDataQueryDefinitionsPaginator";
|
|
10
11
|
export * from "./ListMetricsPaginator";
|
|
11
12
|
export * from "./ListMetricStreamsPaginator";
|