@aws-sdk/client-cloudwatch 3.39.0 → 3.43.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 +44 -0
- package/dist-cjs/endpoints.js +140 -23
- package/dist-cjs/models/models_0.js +44 -27
- package/dist-cjs/protocols/Aws_query.js +146 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +140 -23
- package/dist-es/models/models_0.js +29 -16
- package/dist-es/protocols/Aws_query.js +322 -158
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/CloudWatch.d.ts +19 -5
- package/dist-types/CloudWatchClient.d.ts +8 -0
- package/dist-types/commands/DeleteAlarmsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAnomalyDetectorCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDashboardsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMetricStreamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlarmHistoryCommand.d.ts +4 -1
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +4 -1
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAnomalyDetectorsCommand.d.ts +8 -4
- package/dist-types/commands/DescribeInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/DisableAlarmActionsCommand.d.ts +1 -1
- package/dist-types/commands/DisableInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/EnableAlarmActionsCommand.d.ts +1 -1
- package/dist-types/commands/EnableInsightRulesCommand.d.ts +1 -1
- package/dist-types/commands/GetDashboardCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightRuleReportCommand.d.ts +1 -1
- package/dist-types/commands/GetMetricDataCommand.d.ts +1 -1
- package/dist-types/commands/GetMetricStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetMetricStreamCommand.d.ts +1 -1
- package/dist-types/commands/GetMetricWidgetImageCommand.d.ts +1 -1
- package/dist-types/commands/ListDashboardsCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricStreamsCommand.d.ts +1 -1
- package/dist-types/commands/ListMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PutAnomalyDetectorCommand.d.ts +1 -1
- package/dist-types/commands/PutCompositeAlarmCommand.d.ts +5 -1
- package/dist-types/commands/PutDashboardCommand.d.ts +1 -1
- package/dist-types/commands/PutInsightRuleCommand.d.ts +1 -1
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +2 -2
- package/dist-types/commands/PutMetricDataCommand.d.ts +1 -1
- package/dist-types/commands/PutMetricStreamCommand.d.ts +2 -2
- package/dist-types/commands/SetAlarmStateCommand.d.ts +1 -1
- package/dist-types/commands/StartMetricStreamsCommand.d.ts +1 -1
- package/dist-types/commands/StopMetricStreamsCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +432 -189
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/CloudWatchClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +109 -67
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +24 -24
package/dist-es/endpoints.js
CHANGED
|
@@ -1,29 +1,77 @@
|
|
|
1
1
|
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
3
|
var regionHash = {
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
"us-east-1": {
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "monitoring.us-east-1.amazonaws.com",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
hostname: "monitoring-fips.us-east-1.amazonaws.com",
|
|
12
|
+
tags: ["fips"],
|
|
13
|
+
},
|
|
14
|
+
],
|
|
7
15
|
},
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
16
|
+
"us-east-2": {
|
|
17
|
+
variants: [
|
|
18
|
+
{
|
|
19
|
+
hostname: "monitoring.us-east-2.amazonaws.com",
|
|
20
|
+
tags: [],
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
hostname: "monitoring-fips.us-east-2.amazonaws.com",
|
|
24
|
+
tags: ["fips"],
|
|
25
|
+
},
|
|
26
|
+
],
|
|
11
27
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
28
|
+
"us-gov-east-1": {
|
|
29
|
+
variants: [
|
|
30
|
+
{
|
|
31
|
+
hostname: "monitoring.us-gov-east-1.amazonaws.com",
|
|
32
|
+
tags: [],
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
hostname: "monitoring.us-gov-east-1.amazonaws.com",
|
|
36
|
+
tags: ["fips"],
|
|
37
|
+
},
|
|
38
|
+
],
|
|
15
39
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
40
|
+
"us-gov-west-1": {
|
|
41
|
+
variants: [
|
|
42
|
+
{
|
|
43
|
+
hostname: "monitoring.us-gov-west-1.amazonaws.com",
|
|
44
|
+
tags: [],
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
hostname: "monitoring.us-gov-west-1.amazonaws.com",
|
|
48
|
+
tags: ["fips"],
|
|
49
|
+
},
|
|
50
|
+
],
|
|
19
51
|
},
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
52
|
+
"us-west-1": {
|
|
53
|
+
variants: [
|
|
54
|
+
{
|
|
55
|
+
hostname: "monitoring.us-west-1.amazonaws.com",
|
|
56
|
+
tags: [],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
hostname: "monitoring-fips.us-west-1.amazonaws.com",
|
|
60
|
+
tags: ["fips"],
|
|
61
|
+
},
|
|
62
|
+
],
|
|
23
63
|
},
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
64
|
+
"us-west-2": {
|
|
65
|
+
variants: [
|
|
66
|
+
{
|
|
67
|
+
hostname: "monitoring.us-west-2.amazonaws.com",
|
|
68
|
+
tags: [],
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
hostname: "monitoring-fips.us-west-2.amazonaws.com",
|
|
72
|
+
tags: ["fips"],
|
|
73
|
+
},
|
|
74
|
+
],
|
|
27
75
|
},
|
|
28
76
|
};
|
|
29
77
|
var partitionHash = {
|
|
@@ -56,27 +104,96 @@ var partitionHash = {
|
|
|
56
104
|
"us-west-2",
|
|
57
105
|
],
|
|
58
106
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
59
|
-
|
|
107
|
+
variants: [
|
|
108
|
+
{
|
|
109
|
+
hostname: "monitoring.{region}.amazonaws.com",
|
|
110
|
+
tags: [],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
hostname: "monitoring-fips.{region}.amazonaws.com",
|
|
114
|
+
tags: ["fips"],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
hostname: "monitoring-fips.{region}.api.aws",
|
|
118
|
+
tags: ["dualstack", "fips"],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
hostname: "monitoring.{region}.api.aws",
|
|
122
|
+
tags: ["dualstack"],
|
|
123
|
+
},
|
|
124
|
+
],
|
|
60
125
|
},
|
|
61
126
|
"aws-cn": {
|
|
62
127
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
63
128
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
64
|
-
|
|
129
|
+
variants: [
|
|
130
|
+
{
|
|
131
|
+
hostname: "monitoring.{region}.amazonaws.com.cn",
|
|
132
|
+
tags: [],
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
hostname: "monitoring-fips.{region}.amazonaws.com.cn",
|
|
136
|
+
tags: ["fips"],
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
hostname: "monitoring-fips.{region}.api.amazonwebservices.com.cn",
|
|
140
|
+
tags: ["dualstack", "fips"],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
hostname: "monitoring.{region}.api.amazonwebservices.com.cn",
|
|
144
|
+
tags: ["dualstack"],
|
|
145
|
+
},
|
|
146
|
+
],
|
|
65
147
|
},
|
|
66
148
|
"aws-iso": {
|
|
67
149
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
68
150
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
69
|
-
|
|
151
|
+
variants: [
|
|
152
|
+
{
|
|
153
|
+
hostname: "monitoring.{region}.c2s.ic.gov",
|
|
154
|
+
tags: [],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
hostname: "monitoring-fips.{region}.c2s.ic.gov",
|
|
158
|
+
tags: ["fips"],
|
|
159
|
+
},
|
|
160
|
+
],
|
|
70
161
|
},
|
|
71
162
|
"aws-iso-b": {
|
|
72
163
|
regions: ["us-isob-east-1"],
|
|
73
164
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
74
|
-
|
|
165
|
+
variants: [
|
|
166
|
+
{
|
|
167
|
+
hostname: "monitoring.{region}.sc2s.sgov.gov",
|
|
168
|
+
tags: [],
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
hostname: "monitoring-fips.{region}.sc2s.sgov.gov",
|
|
172
|
+
tags: ["fips"],
|
|
173
|
+
},
|
|
174
|
+
],
|
|
75
175
|
},
|
|
76
176
|
"aws-us-gov": {
|
|
77
177
|
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
78
178
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
79
|
-
|
|
179
|
+
variants: [
|
|
180
|
+
{
|
|
181
|
+
hostname: "monitoring.{region}.amazonaws.com",
|
|
182
|
+
tags: [],
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
hostname: "monitoring.{region}.amazonaws.com",
|
|
186
|
+
tags: ["fips"],
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
hostname: "monitoring-fips.{region}.api.aws",
|
|
190
|
+
tags: ["dualstack", "fips"],
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
hostname: "monitoring.{region}.api.aws",
|
|
194
|
+
tags: ["dualstack"],
|
|
195
|
+
},
|
|
196
|
+
],
|
|
80
197
|
},
|
|
81
198
|
};
|
|
82
199
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
@@ -15,10 +15,35 @@ export var Dimension;
|
|
|
15
15
|
(function (Dimension) {
|
|
16
16
|
Dimension.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
17
|
})(Dimension || (Dimension = {}));
|
|
18
|
+
export var Metric;
|
|
19
|
+
(function (Metric) {
|
|
20
|
+
Metric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
+
})(Metric || (Metric = {}));
|
|
22
|
+
export var MetricStat;
|
|
23
|
+
(function (MetricStat) {
|
|
24
|
+
MetricStat.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
25
|
+
})(MetricStat || (MetricStat = {}));
|
|
26
|
+
export var MetricDataQuery;
|
|
27
|
+
(function (MetricDataQuery) {
|
|
28
|
+
MetricDataQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
+
})(MetricDataQuery || (MetricDataQuery = {}));
|
|
30
|
+
export var MetricMathAnomalyDetector;
|
|
31
|
+
(function (MetricMathAnomalyDetector) {
|
|
32
|
+
MetricMathAnomalyDetector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
+
})(MetricMathAnomalyDetector || (MetricMathAnomalyDetector = {}));
|
|
34
|
+
export var SingleMetricAnomalyDetector;
|
|
35
|
+
(function (SingleMetricAnomalyDetector) {
|
|
36
|
+
SingleMetricAnomalyDetector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
+
})(SingleMetricAnomalyDetector || (SingleMetricAnomalyDetector = {}));
|
|
18
38
|
export var AnomalyDetector;
|
|
19
39
|
(function (AnomalyDetector) {
|
|
20
40
|
AnomalyDetector.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
41
|
})(AnomalyDetector || (AnomalyDetector = {}));
|
|
42
|
+
export var AnomalyDetectorType;
|
|
43
|
+
(function (AnomalyDetectorType) {
|
|
44
|
+
AnomalyDetectorType["METRIC_MATH"] = "METRIC_MATH";
|
|
45
|
+
AnomalyDetectorType["SINGLE_METRIC"] = "SINGLE_METRIC";
|
|
46
|
+
})(AnomalyDetectorType || (AnomalyDetectorType = {}));
|
|
22
47
|
export var PartialFailure;
|
|
23
48
|
(function (PartialFailure) {
|
|
24
49
|
PartialFailure.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -71,6 +96,10 @@ export var InternalServiceFault;
|
|
|
71
96
|
(function (InternalServiceFault) {
|
|
72
97
|
InternalServiceFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
98
|
})(InternalServiceFault || (InternalServiceFault = {}));
|
|
99
|
+
export var InvalidParameterCombinationException;
|
|
100
|
+
(function (InvalidParameterCombinationException) {
|
|
101
|
+
InvalidParameterCombinationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
102
|
+
})(InvalidParameterCombinationException || (InvalidParameterCombinationException = {}));
|
|
74
103
|
export var InvalidParameterValueException;
|
|
75
104
|
(function (InvalidParameterValueException) {
|
|
76
105
|
InvalidParameterValueException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -128,18 +157,6 @@ export var DescribeAlarmsInput;
|
|
|
128
157
|
(function (DescribeAlarmsInput) {
|
|
129
158
|
DescribeAlarmsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
159
|
})(DescribeAlarmsInput || (DescribeAlarmsInput = {}));
|
|
131
|
-
export var Metric;
|
|
132
|
-
(function (Metric) {
|
|
133
|
-
Metric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
|
-
})(Metric || (Metric = {}));
|
|
135
|
-
export var MetricStat;
|
|
136
|
-
(function (MetricStat) {
|
|
137
|
-
MetricStat.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
138
|
-
})(MetricStat || (MetricStat = {}));
|
|
139
|
-
export var MetricDataQuery;
|
|
140
|
-
(function (MetricDataQuery) {
|
|
141
|
-
MetricDataQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
142
|
-
})(MetricDataQuery || (MetricDataQuery = {}));
|
|
143
160
|
export var MetricAlarm;
|
|
144
161
|
(function (MetricAlarm) {
|
|
145
162
|
MetricAlarm.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -270,10 +287,6 @@ export var GetMetricStatisticsOutput;
|
|
|
270
287
|
(function (GetMetricStatisticsOutput) {
|
|
271
288
|
GetMetricStatisticsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
272
289
|
})(GetMetricStatisticsOutput || (GetMetricStatisticsOutput = {}));
|
|
273
|
-
export var InvalidParameterCombinationException;
|
|
274
|
-
(function (InvalidParameterCombinationException) {
|
|
275
|
-
InvalidParameterCombinationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
276
|
-
})(InvalidParameterCombinationException || (InvalidParameterCombinationException = {}));
|
|
277
290
|
export var GetMetricStreamInput;
|
|
278
291
|
(function (GetMetricStreamInput) {
|
|
279
292
|
GetMetricStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|