@aws-sdk/client-cloudwatch 3.693.0 → 3.696.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 +13 -13
- package/dist-cjs/index.js +110 -17
- package/dist-es/protocols/Aws_query.js +112 -16
- package/dist-types/CloudWatch.d.ts +13 -13
- package/dist-types/CloudWatchClient.d.ts +13 -13
- package/dist-types/commands/DeleteAlarmsCommand.d.ts +18 -16
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +5 -10
- package/dist-types/commands/DeleteDashboardsCommand.d.ts +4 -4
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +2 -3
- package/dist-types/commands/DeleteMetricStreamCommand.d.ts +2 -1
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +7 -5
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +6 -5
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +5 -5
- package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +8 -8
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +2 -2
- package/dist-types/commands/DisableAlarmActionsCommand.d.ts +2 -2
- package/dist-types/commands/DisableInsightRulesCommand.d.ts +2 -2
- package/dist-types/commands/EnableInsightRulesCommand.d.ts +2 -1
- package/dist-types/commands/GetDashboardCommand.d.ts +5 -4
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +23 -14
- package/dist-types/commands/GetMetricDataCommand.d.ts +50 -34
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +38 -27
- package/dist-types/commands/GetMetricStreamCommand.d.ts +2 -1
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +9 -8
- package/dist-types/commands/ListDashboardsCommand.d.ts +9 -9
- package/dist-types/commands/ListManagedInsightRulesCommand.d.ts +3 -6
- package/dist-types/commands/ListMetricStreamsCommand.d.ts +2 -1
- package/dist-types/commands/ListMetricsCommand.d.ts +10 -11
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -3
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +8 -6
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +33 -31
- package/dist-types/commands/PutDashboardCommand.d.ts +15 -12
- package/dist-types/commands/PutInsightRuleCommand.d.ts +6 -5
- package/dist-types/commands/PutManagedInsightRulesCommand.d.ts +9 -16
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +32 -35
- package/dist-types/commands/PutMetricDataCommand.d.ts +85 -38
- package/dist-types/commands/PutMetricStreamCommand.d.ts +22 -21
- package/dist-types/commands/SetAlarmStateCommand.d.ts +16 -16
- package/dist-types/commands/StartMetricStreamsCommand.d.ts +2 -1
- package/dist-types/commands/StopMetricStreamsCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +15 -11
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
- package/dist-types/index.d.ts +13 -13
- package/dist-types/models/models_0.d.ts +1312 -1203
- package/dist-types/ts3.4/models/models_0.d.ts +28 -18
- package/package.json +37 -37
|
@@ -445,6 +445,31 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
445
445
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
446
446
|
);
|
|
447
447
|
}
|
|
448
|
+
export interface Entity {
|
|
449
|
+
KeyAttributes?: Record<string, string> | undefined;
|
|
450
|
+
Attributes?: Record<string, string> | undefined;
|
|
451
|
+
}
|
|
452
|
+
export interface StatisticSet {
|
|
453
|
+
SampleCount: number | undefined;
|
|
454
|
+
Sum: number | undefined;
|
|
455
|
+
Minimum: number | undefined;
|
|
456
|
+
Maximum: number | undefined;
|
|
457
|
+
}
|
|
458
|
+
export interface MetricDatum {
|
|
459
|
+
MetricName: string | undefined;
|
|
460
|
+
Dimensions?: Dimension[] | undefined;
|
|
461
|
+
Timestamp?: Date | undefined;
|
|
462
|
+
Value?: number | undefined;
|
|
463
|
+
StatisticValues?: StatisticSet | undefined;
|
|
464
|
+
Values?: number[] | undefined;
|
|
465
|
+
Counts?: number[] | undefined;
|
|
466
|
+
Unit?: StandardUnit | undefined;
|
|
467
|
+
StorageResolution?: number | undefined;
|
|
468
|
+
}
|
|
469
|
+
export interface EntityMetricData {
|
|
470
|
+
Entity?: Entity | undefined;
|
|
471
|
+
MetricData?: MetricDatum[] | undefined;
|
|
472
|
+
}
|
|
448
473
|
export interface GetDashboardInput {
|
|
449
474
|
DashboardName: string | undefined;
|
|
450
475
|
}
|
|
@@ -733,26 +758,11 @@ export interface PutMetricAlarmInput {
|
|
|
733
758
|
Tags?: Tag[] | undefined;
|
|
734
759
|
ThresholdMetricId?: string | undefined;
|
|
735
760
|
}
|
|
736
|
-
export interface StatisticSet {
|
|
737
|
-
SampleCount: number | undefined;
|
|
738
|
-
Sum: number | undefined;
|
|
739
|
-
Minimum: number | undefined;
|
|
740
|
-
Maximum: number | undefined;
|
|
741
|
-
}
|
|
742
|
-
export interface MetricDatum {
|
|
743
|
-
MetricName: string | undefined;
|
|
744
|
-
Dimensions?: Dimension[] | undefined;
|
|
745
|
-
Timestamp?: Date | undefined;
|
|
746
|
-
Value?: number | undefined;
|
|
747
|
-
StatisticValues?: StatisticSet | undefined;
|
|
748
|
-
Values?: number[] | undefined;
|
|
749
|
-
Counts?: number[] | undefined;
|
|
750
|
-
Unit?: StandardUnit | undefined;
|
|
751
|
-
StorageResolution?: number | undefined;
|
|
752
|
-
}
|
|
753
761
|
export interface PutMetricDataInput {
|
|
754
762
|
Namespace: string | undefined;
|
|
755
|
-
MetricData
|
|
763
|
+
MetricData?: MetricDatum[] | undefined;
|
|
764
|
+
EntityMetricData?: EntityMetricData[] | undefined;
|
|
765
|
+
StrictEntityValidation?: boolean | undefined;
|
|
756
766
|
}
|
|
757
767
|
export interface PutMetricStreamInput {
|
|
758
768
|
Name: string | undefined;
|
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.696.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudwatch",
|
|
@@ -20,46 +20,46 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.1.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-compression": "^3.1.
|
|
42
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
43
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
44
|
-
"@smithy/middleware-retry": "^3.0.
|
|
45
|
-
"@smithy/middleware-serde": "^3.0.
|
|
46
|
-
"@smithy/middleware-stack": "^3.0.
|
|
47
|
-
"@smithy/node-config-provider": "^3.1.
|
|
48
|
-
"@smithy/node-http-handler": "^3.3.
|
|
49
|
-
"@smithy/protocol-http": "^4.1.
|
|
50
|
-
"@smithy/smithy-client": "^3.4.
|
|
51
|
-
"@smithy/types": "^3.7.
|
|
52
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.696.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.696.0",
|
|
25
|
+
"@aws-sdk/core": "3.696.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.696.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.696.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.696.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.696.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.696.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.696.0",
|
|
32
|
+
"@aws-sdk/types": "3.696.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.696.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.696.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.696.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.12",
|
|
37
|
+
"@smithy/core": "^2.5.3",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.1",
|
|
39
|
+
"@smithy/hash-node": "^3.0.10",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.10",
|
|
41
|
+
"@smithy/middleware-compression": "^3.1.3",
|
|
42
|
+
"@smithy/middleware-content-length": "^3.0.12",
|
|
43
|
+
"@smithy/middleware-endpoint": "^3.2.3",
|
|
44
|
+
"@smithy/middleware-retry": "^3.0.27",
|
|
45
|
+
"@smithy/middleware-serde": "^3.0.10",
|
|
46
|
+
"@smithy/middleware-stack": "^3.0.10",
|
|
47
|
+
"@smithy/node-config-provider": "^3.1.11",
|
|
48
|
+
"@smithy/node-http-handler": "^3.3.1",
|
|
49
|
+
"@smithy/protocol-http": "^4.1.7",
|
|
50
|
+
"@smithy/smithy-client": "^3.4.4",
|
|
51
|
+
"@smithy/types": "^3.7.1",
|
|
52
|
+
"@smithy/url-parser": "^3.0.10",
|
|
53
53
|
"@smithy/util-base64": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
58
|
-
"@smithy/util-endpoints": "^2.1.
|
|
59
|
-
"@smithy/util-middleware": "^3.0.
|
|
60
|
-
"@smithy/util-retry": "^3.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^3.0.27",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^3.0.27",
|
|
58
|
+
"@smithy/util-endpoints": "^2.1.6",
|
|
59
|
+
"@smithy/util-middleware": "^3.0.10",
|
|
60
|
+
"@smithy/util-retry": "^3.0.10",
|
|
61
61
|
"@smithy/util-utf8": "^3.0.0",
|
|
62
|
-
"@smithy/util-waiter": "^3.1.
|
|
62
|
+
"@smithy/util-waiter": "^3.1.9",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|