@aws-sdk/client-cloudwatch 3.229.0 → 3.231.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 +0 -2
- package/dist-cjs/endpoint/ruleset.js +1 -10
- package/dist-cjs/models/models_0.js +7 -3
- package/dist-cjs/protocols/Aws_query.js +8 -0
- package/dist-es/endpoint/ruleset.js +1 -10
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_query.js +8 -0
- package/dist-types/CloudWatch.d.ts +112 -148
- package/dist-types/CloudWatchClient.d.ts +2 -4
- package/dist-types/commands/DeleteAlarmsCommand.d.ts +4 -4
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +1 -2
- package/dist-types/commands/GetDashboardCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +17 -17
- package/dist-types/commands/GetMetricDataCommand.d.ts +9 -15
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +10 -15
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +7 -9
- package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricsCommand.d.ts +4 -6
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +1 -1
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +10 -12
- package/dist-types/commands/PutDashboardCommand.d.ts +3 -3
- package/dist-types/commands/PutInsightRuleCommand.d.ts +1 -1
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +15 -27
- package/dist-types/commands/PutMetricDataCommand.d.ts +8 -10
- package/dist-types/commands/PutMetricStreamCommand.d.ts +6 -8
- package/dist-types/commands/SetAlarmStateCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +206 -214
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +5 -0
- package/package.json +5 -5
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -308,6 +308,9 @@ export interface DescribeAlarmsInput {
|
|
|
308
308
|
MaxRecords?: number;
|
|
309
309
|
NextToken?: string;
|
|
310
310
|
}
|
|
311
|
+
export declare enum EvaluationState {
|
|
312
|
+
PARTIAL_DATA = "PARTIAL_DATA",
|
|
313
|
+
}
|
|
311
314
|
export declare enum Statistic {
|
|
312
315
|
Average = "Average",
|
|
313
316
|
Maximum = "Maximum",
|
|
@@ -343,6 +346,8 @@ export interface MetricAlarm {
|
|
|
343
346
|
EvaluateLowSampleCountPercentile?: string;
|
|
344
347
|
Metrics?: MetricDataQuery[];
|
|
345
348
|
ThresholdMetricId?: string;
|
|
349
|
+
EvaluationState?: EvaluationState | string;
|
|
350
|
+
StateTransitionedTimestamp?: Date;
|
|
346
351
|
}
|
|
347
352
|
export interface DescribeAlarmsOutput {
|
|
348
353
|
CompositeAlarms?: CompositeAlarm[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.231.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.231.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.231.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.231.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.226.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.226.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.231.0",
|
|
49
49
|
"@aws-sdk/util-endpoints": "3.226.0",
|
|
50
50
|
"@aws-sdk/util-retry": "3.229.0",
|
|
51
51
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|