@aws-sdk/client-cloudwatch 3.1064.0 → 3.1066.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 +21 -0
- package/dist-cjs/index.js +42 -0
- package/dist-cjs/models/errors.js +75 -30
- package/dist-cjs/schemas/schemas_0.js +77 -4
- package/dist-es/CloudWatch.js +6 -0
- package/dist-es/commands/AssociateDatasetKmsKeyCommand.js +16 -0
- package/dist-es/commands/DisassociateDatasetKmsKeyCommand.js +16 -0
- package/dist-es/commands/GetDatasetCommand.js +16 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/errors.js +68 -26
- package/dist-es/schemas/schemas_0.js +73 -1
- package/dist-types/CloudWatch.d.ts +21 -0
- package/dist-types/CloudWatchClient.d.ts +5 -2
- package/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +161 -0
- package/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +105 -0
- package/dist-types/commands/GetDatasetCommand.d.ts +91 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/errors.d.ts +74 -23
- package/dist-types/models/models_0.d.ts +90 -0
- package/dist-types/schemas/schemas_0.d.ts +12 -0
- package/dist-types/ts3.4/CloudWatch.d.ts +51 -0
- package/dist-types/ts3.4/CloudWatchClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateDatasetKmsKeyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DisassociateDatasetKmsKeyCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/errors.d.ts +40 -16
- package/dist-types/ts3.4/models/models_0.d.ts +17 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -252,6 +252,13 @@ see LICENSE for more information.
|
|
|
252
252
|
|
|
253
253
|
## Client Commands (Operations List)
|
|
254
254
|
|
|
255
|
+
<details>
|
|
256
|
+
<summary>
|
|
257
|
+
AssociateDatasetKmsKey
|
|
258
|
+
</summary>
|
|
259
|
+
|
|
260
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/AssociateDatasetKmsKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/AssociateDatasetKmsKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/AssociateDatasetKmsKeyCommandOutput/)
|
|
261
|
+
</details>
|
|
255
262
|
<details>
|
|
256
263
|
<summary>
|
|
257
264
|
DeleteAlarmMuteRule
|
|
@@ -352,6 +359,13 @@ DisableInsightRules
|
|
|
352
359
|
</details>
|
|
353
360
|
<details>
|
|
354
361
|
<summary>
|
|
362
|
+
DisassociateDatasetKmsKey
|
|
363
|
+
</summary>
|
|
364
|
+
|
|
365
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/DisassociateDatasetKmsKeyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/DisassociateDatasetKmsKeyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/DisassociateDatasetKmsKeyCommandOutput/)
|
|
366
|
+
</details>
|
|
367
|
+
<details>
|
|
368
|
+
<summary>
|
|
355
369
|
EnableAlarmActions
|
|
356
370
|
</summary>
|
|
357
371
|
|
|
@@ -380,6 +394,13 @@ GetDashboard
|
|
|
380
394
|
</details>
|
|
381
395
|
<details>
|
|
382
396
|
<summary>
|
|
397
|
+
GetDataset
|
|
398
|
+
</summary>
|
|
399
|
+
|
|
400
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudwatch/command/GetDatasetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/GetDatasetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudwatch/Interface/GetDatasetCommandOutput/)
|
|
401
|
+
</details>
|
|
402
|
+
<details>
|
|
403
|
+
<summary>
|
|
383
404
|
GetInsightRuleReport
|
|
384
405
|
</summary>
|
|
385
406
|
|
package/dist-cjs/index.js
CHANGED
|
@@ -110,6 +110,18 @@ class CloudWatchClient extends client.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
class AssociateDatasetKmsKeyCommand extends client.Command
|
|
114
|
+
.classBuilder()
|
|
115
|
+
.ep(commonParams)
|
|
116
|
+
.m(function (Command, cs, config, o) {
|
|
117
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
118
|
+
})
|
|
119
|
+
.s("GraniteServiceVersion20100801", "AssociateDatasetKmsKey", {})
|
|
120
|
+
.n("CloudWatchClient", "AssociateDatasetKmsKeyCommand")
|
|
121
|
+
.sc(schemas_0.AssociateDatasetKmsKey$)
|
|
122
|
+
.build() {
|
|
123
|
+
}
|
|
124
|
+
|
|
113
125
|
class DeleteAlarmMuteRuleCommand extends client.Command
|
|
114
126
|
.classBuilder()
|
|
115
127
|
.ep(commonParams)
|
|
@@ -278,6 +290,18 @@ class DisableInsightRulesCommand extends client.Command
|
|
|
278
290
|
.build() {
|
|
279
291
|
}
|
|
280
292
|
|
|
293
|
+
class DisassociateDatasetKmsKeyCommand extends client.Command
|
|
294
|
+
.classBuilder()
|
|
295
|
+
.ep(commonParams)
|
|
296
|
+
.m(function (Command, cs, config, o) {
|
|
297
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
298
|
+
})
|
|
299
|
+
.s("GraniteServiceVersion20100801", "DisassociateDatasetKmsKey", {})
|
|
300
|
+
.n("CloudWatchClient", "DisassociateDatasetKmsKeyCommand")
|
|
301
|
+
.sc(schemas_0.DisassociateDatasetKmsKey$)
|
|
302
|
+
.build() {
|
|
303
|
+
}
|
|
304
|
+
|
|
281
305
|
class EnableAlarmActionsCommand extends client.Command
|
|
282
306
|
.classBuilder()
|
|
283
307
|
.ep(commonParams)
|
|
@@ -326,6 +350,18 @@ class GetDashboardCommand extends client.Command
|
|
|
326
350
|
.build() {
|
|
327
351
|
}
|
|
328
352
|
|
|
353
|
+
class GetDatasetCommand extends client.Command
|
|
354
|
+
.classBuilder()
|
|
355
|
+
.ep(commonParams)
|
|
356
|
+
.m(function (Command, cs, config, o) {
|
|
357
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
358
|
+
})
|
|
359
|
+
.s("GraniteServiceVersion20100801", "GetDataset", {})
|
|
360
|
+
.n("CloudWatchClient", "GetDatasetCommand")
|
|
361
|
+
.sc(schemas_0.GetDataset$)
|
|
362
|
+
.build() {
|
|
363
|
+
}
|
|
364
|
+
|
|
329
365
|
class GetInsightRuleReportCommand extends client.Command
|
|
330
366
|
.classBuilder()
|
|
331
367
|
.ep(commonParams)
|
|
@@ -775,6 +811,7 @@ const waitUntilCompositeAlarmExists = async (params, input) => {
|
|
|
775
811
|
};
|
|
776
812
|
|
|
777
813
|
const commands = {
|
|
814
|
+
AssociateDatasetKmsKeyCommand,
|
|
778
815
|
DeleteAlarmMuteRuleCommand,
|
|
779
816
|
DeleteAlarmsCommand,
|
|
780
817
|
DeleteAnomalyDetectorCommand,
|
|
@@ -789,10 +826,12 @@ const commands = {
|
|
|
789
826
|
DescribeInsightRulesCommand,
|
|
790
827
|
DisableAlarmActionsCommand,
|
|
791
828
|
DisableInsightRulesCommand,
|
|
829
|
+
DisassociateDatasetKmsKeyCommand,
|
|
792
830
|
EnableAlarmActionsCommand,
|
|
793
831
|
EnableInsightRulesCommand,
|
|
794
832
|
GetAlarmMuteRuleCommand,
|
|
795
833
|
GetDashboardCommand,
|
|
834
|
+
GetDatasetCommand,
|
|
796
835
|
GetInsightRuleReportCommand,
|
|
797
836
|
GetMetricDataCommand,
|
|
798
837
|
GetMetricStatisticsCommand,
|
|
@@ -959,6 +998,7 @@ exports.AlarmMuteRuleStatus = AlarmMuteRuleStatus;
|
|
|
959
998
|
exports.AlarmType = AlarmType;
|
|
960
999
|
exports.AnomalyDetectorStateValue = AnomalyDetectorStateValue;
|
|
961
1000
|
exports.AnomalyDetectorType = AnomalyDetectorType;
|
|
1001
|
+
exports.AssociateDatasetKmsKeyCommand = AssociateDatasetKmsKeyCommand;
|
|
962
1002
|
exports.CloudWatch = CloudWatch;
|
|
963
1003
|
exports.CloudWatchClient = CloudWatchClient;
|
|
964
1004
|
exports.ComparisonOperator = ComparisonOperator;
|
|
@@ -976,11 +1016,13 @@ exports.DescribeAnomalyDetectorsCommand = DescribeAnomalyDetectorsCommand;
|
|
|
976
1016
|
exports.DescribeInsightRulesCommand = DescribeInsightRulesCommand;
|
|
977
1017
|
exports.DisableAlarmActionsCommand = DisableAlarmActionsCommand;
|
|
978
1018
|
exports.DisableInsightRulesCommand = DisableInsightRulesCommand;
|
|
1019
|
+
exports.DisassociateDatasetKmsKeyCommand = DisassociateDatasetKmsKeyCommand;
|
|
979
1020
|
exports.EnableAlarmActionsCommand = EnableAlarmActionsCommand;
|
|
980
1021
|
exports.EnableInsightRulesCommand = EnableInsightRulesCommand;
|
|
981
1022
|
exports.EvaluationState = EvaluationState;
|
|
982
1023
|
exports.GetAlarmMuteRuleCommand = GetAlarmMuteRuleCommand;
|
|
983
1024
|
exports.GetDashboardCommand = GetDashboardCommand;
|
|
1025
|
+
exports.GetDatasetCommand = GetDatasetCommand;
|
|
984
1026
|
exports.GetInsightRuleReportCommand = GetInsightRuleReportCommand;
|
|
985
1027
|
exports.GetMetricDataCommand = GetMetricDataCommand;
|
|
986
1028
|
exports.GetMetricStatisticsCommand = GetMetricStatisticsCommand;
|
|
@@ -1,37 +1,101 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvalidFormatFault = exports.LimitExceededFault = exports.LimitExceededException = exports.InvalidNextToken = exports.
|
|
3
|
+
exports.InvalidFormatFault = exports.LimitExceededFault = exports.LimitExceededException = exports.InvalidNextToken = exports.MissingRequiredParameterException = exports.InvalidParameterValueException = exports.InvalidParameterCombinationException = exports.InternalServiceFault = exports.ResourceNotFound = exports.DashboardNotFoundError = exports.DashboardInvalidInputError = exports.ConcurrentModificationException = exports.ResourceNotFoundException = exports.KmsKeyNotFoundException = exports.KmsKeyDisabledException = exports.KmsAccessDeniedException = exports.ConflictException = void 0;
|
|
4
4
|
const CloudWatchServiceException_1 = require("./CloudWatchServiceException");
|
|
5
|
-
class
|
|
6
|
-
name = "
|
|
5
|
+
class ConflictException extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
6
|
+
name = "ConflictException";
|
|
7
7
|
$fault = "client";
|
|
8
8
|
Message;
|
|
9
9
|
constructor(opts) {
|
|
10
10
|
super({
|
|
11
|
-
name: "
|
|
11
|
+
name: "ConflictException",
|
|
12
12
|
$fault: "client",
|
|
13
13
|
...opts,
|
|
14
14
|
});
|
|
15
|
-
Object.setPrototypeOf(this,
|
|
15
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
16
16
|
this.Message = opts.Message;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
exports.
|
|
20
|
-
class
|
|
21
|
-
name = "
|
|
19
|
+
exports.ConflictException = ConflictException;
|
|
20
|
+
class KmsAccessDeniedException extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
21
|
+
name = "KmsAccessDeniedException";
|
|
22
22
|
$fault = "client";
|
|
23
23
|
Message;
|
|
24
24
|
constructor(opts) {
|
|
25
25
|
super({
|
|
26
|
-
name: "
|
|
26
|
+
name: "KmsAccessDeniedException",
|
|
27
27
|
$fault: "client",
|
|
28
28
|
...opts,
|
|
29
29
|
});
|
|
30
|
-
Object.setPrototypeOf(this,
|
|
30
|
+
Object.setPrototypeOf(this, KmsAccessDeniedException.prototype);
|
|
31
31
|
this.Message = opts.Message;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
exports.
|
|
34
|
+
exports.KmsAccessDeniedException = KmsAccessDeniedException;
|
|
35
|
+
class KmsKeyDisabledException extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
36
|
+
name = "KmsKeyDisabledException";
|
|
37
|
+
$fault = "client";
|
|
38
|
+
Message;
|
|
39
|
+
constructor(opts) {
|
|
40
|
+
super({
|
|
41
|
+
name: "KmsKeyDisabledException",
|
|
42
|
+
$fault: "client",
|
|
43
|
+
...opts,
|
|
44
|
+
});
|
|
45
|
+
Object.setPrototypeOf(this, KmsKeyDisabledException.prototype);
|
|
46
|
+
this.Message = opts.Message;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.KmsKeyDisabledException = KmsKeyDisabledException;
|
|
50
|
+
class KmsKeyNotFoundException extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
51
|
+
name = "KmsKeyNotFoundException";
|
|
52
|
+
$fault = "client";
|
|
53
|
+
Message;
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "KmsKeyNotFoundException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
Object.setPrototypeOf(this, KmsKeyNotFoundException.prototype);
|
|
61
|
+
this.Message = opts.Message;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.KmsKeyNotFoundException = KmsKeyNotFoundException;
|
|
65
|
+
class ResourceNotFoundException extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
66
|
+
name = "ResourceNotFoundException";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
ResourceType;
|
|
69
|
+
ResourceId;
|
|
70
|
+
Message;
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ResourceNotFoundException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
78
|
+
this.ResourceType = opts.ResourceType;
|
|
79
|
+
this.ResourceId = opts.ResourceId;
|
|
80
|
+
this.Message = opts.Message;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
84
|
+
class ConcurrentModificationException extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
85
|
+
name = "ConcurrentModificationException";
|
|
86
|
+
$fault = "client";
|
|
87
|
+
Message;
|
|
88
|
+
constructor(opts) {
|
|
89
|
+
super({
|
|
90
|
+
name: "ConcurrentModificationException",
|
|
91
|
+
$fault: "client",
|
|
92
|
+
...opts,
|
|
93
|
+
});
|
|
94
|
+
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
95
|
+
this.Message = opts.Message;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ConcurrentModificationException = ConcurrentModificationException;
|
|
35
99
|
class DashboardInvalidInputError extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
36
100
|
name = "DashboardInvalidInputError";
|
|
37
101
|
$fault = "client";
|
|
@@ -127,25 +191,6 @@ class MissingRequiredParameterException extends CloudWatchServiceException_1.Clo
|
|
|
127
191
|
}
|
|
128
192
|
}
|
|
129
193
|
exports.MissingRequiredParameterException = MissingRequiredParameterException;
|
|
130
|
-
class ResourceNotFoundException extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
131
|
-
name = "ResourceNotFoundException";
|
|
132
|
-
$fault = "client";
|
|
133
|
-
ResourceType;
|
|
134
|
-
ResourceId;
|
|
135
|
-
Message;
|
|
136
|
-
constructor(opts) {
|
|
137
|
-
super({
|
|
138
|
-
name: "ResourceNotFoundException",
|
|
139
|
-
$fault: "client",
|
|
140
|
-
...opts,
|
|
141
|
-
});
|
|
142
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
143
|
-
this.ResourceType = opts.ResourceType;
|
|
144
|
-
this.ResourceId = opts.ResourceId;
|
|
145
|
-
this.Message = opts.Message;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
149
194
|
class InvalidNextToken extends CloudWatchServiceException_1.CloudWatchServiceException {
|
|
150
195
|
name = "InvalidNextToken";
|
|
151
196
|
$fault = "client";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
3
|
+
exports.DescribeAnomalyDetectorsInput$ = exports.DescribeAlarmsOutput$ = exports.DescribeAlarmsInput$ = exports.DescribeAlarmsForMetricOutput$ = exports.DescribeAlarmsForMetricInput$ = exports.DescribeAlarmHistoryOutput$ = exports.DescribeAlarmHistoryInput$ = exports.DescribeAlarmContributorsOutput$ = exports.DescribeAlarmContributorsInput$ = exports.DeleteMetricStreamOutput$ = exports.DeleteMetricStreamInput$ = exports.DeleteInsightRulesOutput$ = exports.DeleteInsightRulesInput$ = exports.DeleteDashboardsOutput$ = exports.DeleteDashboardsInput$ = exports.DeleteAnomalyDetectorOutput$ = exports.DeleteAnomalyDetectorInput$ = exports.DeleteAlarmsInput$ = exports.DeleteAlarmMuteRuleInput$ = exports.Datapoint$ = exports.DashboardValidationMessage$ = exports.DashboardEntry$ = exports.CompositeAlarm$ = exports.AssociateDatasetKmsKeyOutput$ = exports.AssociateDatasetKmsKeyInput$ = exports.AnomalyDetectorConfiguration$ = exports.AnomalyDetector$ = exports.AlarmPromQLCriteria$ = exports.AlarmMuteRuleSummary$ = exports.AlarmHistoryItem$ = exports.AlarmContributor$ = exports.errorTypeRegistries = exports.ResourceNotFoundException$ = exports.ResourceNotFound$ = exports.MissingRequiredParameterException$ = exports.LimitExceededFault$ = exports.LimitExceededException$ = exports.KmsKeyNotFoundException$ = exports.KmsKeyDisabledException$ = exports.KmsAccessDeniedException$ = exports.InvalidParameterValueException$ = exports.InvalidParameterCombinationException$ = exports.InvalidNextToken$ = exports.InvalidFormatFault$ = exports.InternalServiceFault$ = exports.DashboardNotFoundError$ = exports.DashboardInvalidInputError$ = exports.ConflictException$ = exports.ConcurrentModificationException$ = exports.CloudWatchServiceException$ = void 0;
|
|
4
|
+
exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListMetricStreamsOutput$ = exports.ListMetricStreamsInput$ = exports.ListMetricsOutput$ = exports.ListMetricsInput$ = exports.ListManagedInsightRulesOutput$ = exports.ListManagedInsightRulesInput$ = exports.ListDashboardsOutput$ = exports.ListDashboardsInput$ = exports.ListAlarmMuteRulesOutput$ = exports.ListAlarmMuteRulesInput$ = exports.LabelOptions$ = exports.InsightRuleMetricDatapoint$ = exports.InsightRuleContributorDatapoint$ = exports.InsightRuleContributor$ = exports.InsightRule$ = exports.GetOTelEnrichmentOutput$ = exports.GetOTelEnrichmentInput$ = exports.GetMetricWidgetImageOutput$ = exports.GetMetricWidgetImageInput$ = exports.GetMetricStreamOutput$ = exports.GetMetricStreamInput$ = exports.GetMetricStatisticsOutput$ = exports.GetMetricStatisticsInput$ = exports.GetMetricDataOutput$ = exports.GetMetricDataInput$ = exports.GetInsightRuleReportOutput$ = exports.GetInsightRuleReportInput$ = exports.GetDatasetOutput$ = exports.GetDatasetInput$ = exports.GetDashboardOutput$ = exports.GetDashboardInput$ = exports.GetAlarmMuteRuleOutput$ = exports.GetAlarmMuteRuleInput$ = exports.EntityMetricData$ = exports.Entity$ = exports.EnableInsightRulesOutput$ = exports.EnableInsightRulesInput$ = exports.EnableAlarmActionsInput$ = exports.DisassociateDatasetKmsKeyOutput$ = exports.DisassociateDatasetKmsKeyInput$ = exports.DisableInsightRulesOutput$ = exports.DisableInsightRulesInput$ = exports.DisableAlarmActionsInput$ = exports.DimensionFilter$ = exports.Dimension$ = exports.DescribeInsightRulesOutput$ = exports.DescribeInsightRulesInput$ = exports.DescribeAnomalyDetectorsOutput$ = void 0;
|
|
5
|
+
exports.UntagResourceInput$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.Tag$ = exports.StopOTelEnrichmentOutput$ = exports.StopOTelEnrichmentInput$ = exports.StopMetricStreamsOutput$ = exports.StopMetricStreamsInput$ = exports.StatisticSet$ = exports.StartOTelEnrichmentOutput$ = exports.StartOTelEnrichmentInput$ = exports.StartMetricStreamsOutput$ = exports.StartMetricStreamsInput$ = exports.SingleMetricAnomalyDetector$ = exports.SetAlarmStateInput$ = exports.Schedule$ = exports.Rule$ = exports.Range$ = exports.PutMetricStreamOutput$ = exports.PutMetricStreamInput$ = exports.PutMetricDataInput$ = exports.PutMetricAlarmInput$ = exports.PutManagedInsightRulesOutput$ = exports.PutManagedInsightRulesInput$ = exports.PutInsightRuleOutput$ = exports.PutInsightRuleInput$ = exports.PutDashboardOutput$ = exports.PutDashboardInput$ = exports.PutCompositeAlarmInput$ = exports.PutAnomalyDetectorOutput$ = exports.PutAnomalyDetectorInput$ = exports.PutAlarmMuteRuleInput$ = exports.PartialFailure$ = exports.MuteTargets$ = exports.MetricStreamStatisticsMetric$ = exports.MetricStreamStatisticsConfiguration$ = exports.MetricStreamFilter$ = exports.MetricStreamEntry$ = exports.MetricStat$ = exports.MetricMathAnomalyDetector$ = exports.MetricDatum$ = exports.MetricDataResult$ = exports.MetricDataQuery$ = exports.MetricCharacteristics$ = exports.MetricAlarm$ = exports.Metric$ = exports.MessageData$ = exports.ManagedRuleState$ = exports.ManagedRuleDescription$ = exports.ManagedRule$ = void 0;
|
|
6
|
+
exports.TagResource$ = exports.StopOTelEnrichment$ = exports.StopMetricStreams$ = exports.StartOTelEnrichment$ = exports.StartMetricStreams$ = exports.SetAlarmState$ = exports.PutMetricStream$ = exports.PutMetricData$ = exports.PutMetricAlarm$ = exports.PutManagedInsightRules$ = exports.PutInsightRule$ = exports.PutDashboard$ = exports.PutCompositeAlarm$ = exports.PutAnomalyDetector$ = exports.PutAlarmMuteRule$ = exports.ListTagsForResource$ = exports.ListMetricStreams$ = exports.ListMetrics$ = exports.ListManagedInsightRules$ = exports.ListDashboards$ = exports.ListAlarmMuteRules$ = exports.GetOTelEnrichment$ = exports.GetMetricWidgetImage$ = exports.GetMetricStream$ = exports.GetMetricStatistics$ = exports.GetMetricData$ = exports.GetInsightRuleReport$ = exports.GetDataset$ = exports.GetDashboard$ = exports.GetAlarmMuteRule$ = exports.EnableInsightRules$ = exports.EnableAlarmActions$ = exports.DisassociateDatasetKmsKey$ = exports.DisableInsightRules$ = exports.DisableAlarmActions$ = exports.DescribeInsightRules$ = exports.DescribeAnomalyDetectors$ = exports.DescribeAlarmsForMetric$ = exports.DescribeAlarms$ = exports.DescribeAlarmHistory$ = exports.DescribeAlarmContributors$ = exports.DeleteMetricStream$ = exports.DeleteInsightRules$ = exports.DeleteDashboards$ = exports.DeleteAnomalyDetector$ = exports.DeleteAlarms$ = exports.DeleteAlarmMuteRule$ = exports.AssociateDatasetKmsKey$ = exports.EvaluationCriteria$ = exports.UntagResourceOutput$ = void 0;
|
|
7
|
+
exports.UntagResource$ = void 0;
|
|
7
8
|
const _A = "Average";
|
|
8
9
|
const _AA = "AlarmActions";
|
|
9
10
|
const _AAV = "ApproximateAggregateValue";
|
|
@@ -16,6 +17,9 @@ const _ACl = "AlarmContributors";
|
|
|
16
17
|
const _AD = "AnomalyDetector";
|
|
17
18
|
const _ADC = "AnomalyDetectorConfiguration";
|
|
18
19
|
const _ADETR = "AnomalyDetectorExcludedTimeRanges";
|
|
20
|
+
const _ADKK = "AssociateDatasetKmsKey";
|
|
21
|
+
const _ADKKI = "AssociateDatasetKmsKeyInput";
|
|
22
|
+
const _ADKKO = "AssociateDatasetKmsKeyOutput";
|
|
19
23
|
const _ADT = "AnomalyDetectorTypes";
|
|
20
24
|
const _ADl = "AlarmDescription";
|
|
21
25
|
const _ADn = "AnomalyDetectors";
|
|
@@ -91,11 +95,15 @@ const _DAes = "DescribeAlarms";
|
|
|
91
95
|
const _DB = "DashboardBody";
|
|
92
96
|
const _DD = "DeleteDashboards";
|
|
93
97
|
const _DDI = "DeleteDashboardsInput";
|
|
98
|
+
const _DDKK = "DisassociateDatasetKmsKey";
|
|
99
|
+
const _DDKKI = "DisassociateDatasetKmsKeyInput";
|
|
100
|
+
const _DDKKO = "DisassociateDatasetKmsKeyOutput";
|
|
94
101
|
const _DDO = "DeleteDashboardsOutput";
|
|
95
102
|
const _DE = "DashboardEntry";
|
|
96
103
|
const _DEa = "DashboardEntries";
|
|
97
104
|
const _DF = "DimensionFilter";
|
|
98
105
|
const _DFi = "DimensionFilters";
|
|
106
|
+
const _DI = "DatasetIdentifier";
|
|
99
107
|
const _DIIE = "DashboardInvalidInputError";
|
|
100
108
|
const _DIR = "DeleteInsightRules";
|
|
101
109
|
const _DIRI = "DeleteInsightRulesInput";
|
|
@@ -106,6 +114,7 @@ const _DIROe = "DescribeInsightRulesOutput";
|
|
|
106
114
|
const _DIROi = "DisableInsightRulesOutput";
|
|
107
115
|
const _DIRe = "DescribeInsightRules";
|
|
108
116
|
const _DIRi = "DisableInsightRules";
|
|
117
|
+
const _DIa = "DatasetId";
|
|
109
118
|
const _DMS = "DeleteMetricStream";
|
|
110
119
|
const _DMSI = "DeleteMetricStreamInput";
|
|
111
120
|
const _DMSO = "DeleteMetricStreamOutput";
|
|
@@ -156,7 +165,10 @@ const _GAMRI = "GetAlarmMuteRuleInput";
|
|
|
156
165
|
const _GAMRO = "GetAlarmMuteRuleOutput";
|
|
157
166
|
const _GD = "GetDashboard";
|
|
158
167
|
const _GDI = "GetDashboardInput";
|
|
168
|
+
const _GDIe = "GetDatasetInput";
|
|
159
169
|
const _GDO = "GetDashboardOutput";
|
|
170
|
+
const _GDOe = "GetDatasetOutput";
|
|
171
|
+
const _GDe = "GetDataset";
|
|
160
172
|
const _GIRR = "GetInsightRuleReport";
|
|
161
173
|
const _GIRRI = "GetInsightRuleReportInput";
|
|
162
174
|
const _GIRRO = "GetInsightRuleReportOutput";
|
|
@@ -199,6 +211,10 @@ const _IRn = "InsightRule";
|
|
|
199
211
|
const _ISF = "InternalServiceFault";
|
|
200
212
|
const _K = "Keys";
|
|
201
213
|
const _KA = "KeyAttributes";
|
|
214
|
+
const _KADE = "KmsAccessDeniedException";
|
|
215
|
+
const _KKA = "KmsKeyArn";
|
|
216
|
+
const _KKDE = "KmsKeyDisabledException";
|
|
217
|
+
const _KKNFE = "KmsKeyNotFoundException";
|
|
202
218
|
const _KL = "KeyLabels";
|
|
203
219
|
const _Ke = "Key";
|
|
204
220
|
const _L = "Label";
|
|
@@ -457,6 +473,24 @@ exports.InvalidParameterValueException$ = [-3, n0, _IPVE,
|
|
|
457
473
|
[0]
|
|
458
474
|
];
|
|
459
475
|
n0_registry.registerError(exports.InvalidParameterValueException$, errors_1.InvalidParameterValueException);
|
|
476
|
+
exports.KmsAccessDeniedException$ = [-3, n0, _KADE,
|
|
477
|
+
{ [_e]: _c },
|
|
478
|
+
[_M],
|
|
479
|
+
[0], 1
|
|
480
|
+
];
|
|
481
|
+
n0_registry.registerError(exports.KmsAccessDeniedException$, errors_1.KmsAccessDeniedException);
|
|
482
|
+
exports.KmsKeyDisabledException$ = [-3, n0, _KKDE,
|
|
483
|
+
{ [_e]: _c },
|
|
484
|
+
[_M],
|
|
485
|
+
[0], 1
|
|
486
|
+
];
|
|
487
|
+
n0_registry.registerError(exports.KmsKeyDisabledException$, errors_1.KmsKeyDisabledException);
|
|
488
|
+
exports.KmsKeyNotFoundException$ = [-3, n0, _KKNFE,
|
|
489
|
+
{ [_e]: _c },
|
|
490
|
+
[_M],
|
|
491
|
+
[0], 1
|
|
492
|
+
];
|
|
493
|
+
n0_registry.registerError(exports.KmsKeyNotFoundException$, errors_1.KmsKeyNotFoundException);
|
|
460
494
|
exports.LimitExceededException$ = [-3, n0, _LEE,
|
|
461
495
|
{ [_aQE]: [`LimitExceededException`, 400], [_e]: _c, [_hE]: 400 },
|
|
462
496
|
[_M],
|
|
@@ -521,6 +555,16 @@ exports.AnomalyDetectorConfiguration$ = [3, n0, _ADC,
|
|
|
521
555
|
[_ETR, _MTe],
|
|
522
556
|
[() => AnomalyDetectorExcludedTimeRanges, 0]
|
|
523
557
|
];
|
|
558
|
+
exports.AssociateDatasetKmsKeyInput$ = [3, n0, _ADKKI,
|
|
559
|
+
0,
|
|
560
|
+
[_DI, _KKA],
|
|
561
|
+
[0, 0], 2
|
|
562
|
+
];
|
|
563
|
+
exports.AssociateDatasetKmsKeyOutput$ = [3, n0, _ADKKO,
|
|
564
|
+
0,
|
|
565
|
+
[],
|
|
566
|
+
[]
|
|
567
|
+
];
|
|
524
568
|
exports.CompositeAlarm$ = [3, n0, _CAo,
|
|
525
569
|
0,
|
|
526
570
|
[_AE, _AA, _AAl, _ACUT, _ADl, _AN, _AR, _IDA, _OKA, _SR, _SRD, _SUT, _SV, _STT, _ASB, _ASR, _AS, _ASWP, _ASEP],
|
|
@@ -676,6 +720,16 @@ exports.DisableInsightRulesOutput$ = [3, n0, _DIROi,
|
|
|
676
720
|
[_F],
|
|
677
721
|
[() => BatchFailures]
|
|
678
722
|
];
|
|
723
|
+
exports.DisassociateDatasetKmsKeyInput$ = [3, n0, _DDKKI,
|
|
724
|
+
0,
|
|
725
|
+
[_DI],
|
|
726
|
+
[0], 1
|
|
727
|
+
];
|
|
728
|
+
exports.DisassociateDatasetKmsKeyOutput$ = [3, n0, _DDKKO,
|
|
729
|
+
0,
|
|
730
|
+
[],
|
|
731
|
+
[]
|
|
732
|
+
];
|
|
679
733
|
exports.EnableAlarmActionsInput$ = [3, n0, _EAAI,
|
|
680
734
|
0,
|
|
681
735
|
[_ANl],
|
|
@@ -721,6 +775,16 @@ exports.GetDashboardOutput$ = [3, n0, _GDO,
|
|
|
721
775
|
[_DA, _DB, _DN],
|
|
722
776
|
[0, 0, 0]
|
|
723
777
|
];
|
|
778
|
+
exports.GetDatasetInput$ = [3, n0, _GDIe,
|
|
779
|
+
0,
|
|
780
|
+
[_DI],
|
|
781
|
+
[0], 1
|
|
782
|
+
];
|
|
783
|
+
exports.GetDatasetOutput$ = [3, n0, _GDOe,
|
|
784
|
+
0,
|
|
785
|
+
[_DIa, _Ar, _KKA],
|
|
786
|
+
[0, 0, 0], 2
|
|
787
|
+
];
|
|
724
788
|
exports.GetInsightRuleReportInput$ = [3, n0, _GIRRI,
|
|
725
789
|
0,
|
|
726
790
|
[_RNu, _ST, _ET, _P, _MCC, _Me, _OB],
|
|
@@ -1243,6 +1307,9 @@ exports.EvaluationCriteria$ = [4, n0, _EC,
|
|
|
1243
1307
|
[_PQLC],
|
|
1244
1308
|
[() => exports.AlarmPromQLCriteria$]
|
|
1245
1309
|
];
|
|
1310
|
+
exports.AssociateDatasetKmsKey$ = [9, n0, _ADKK,
|
|
1311
|
+
0, () => exports.AssociateDatasetKmsKeyInput$, () => exports.AssociateDatasetKmsKeyOutput$
|
|
1312
|
+
];
|
|
1246
1313
|
exports.DeleteAlarmMuteRule$ = [9, n0, _DAMR,
|
|
1247
1314
|
0, () => exports.DeleteAlarmMuteRuleInput$, () => __Unit
|
|
1248
1315
|
];
|
|
@@ -1285,6 +1352,9 @@ exports.DisableAlarmActions$ = [9, n0, _DAA,
|
|
|
1285
1352
|
exports.DisableInsightRules$ = [9, n0, _DIRi,
|
|
1286
1353
|
0, () => exports.DisableInsightRulesInput$, () => exports.DisableInsightRulesOutput$
|
|
1287
1354
|
];
|
|
1355
|
+
exports.DisassociateDatasetKmsKey$ = [9, n0, _DDKK,
|
|
1356
|
+
2, () => exports.DisassociateDatasetKmsKeyInput$, () => exports.DisassociateDatasetKmsKeyOutput$
|
|
1357
|
+
];
|
|
1288
1358
|
exports.EnableAlarmActions$ = [9, n0, _EAA,
|
|
1289
1359
|
0, () => exports.EnableAlarmActionsInput$, () => __Unit
|
|
1290
1360
|
];
|
|
@@ -1297,6 +1367,9 @@ exports.GetAlarmMuteRule$ = [9, n0, _GAMR,
|
|
|
1297
1367
|
exports.GetDashboard$ = [9, n0, _GD,
|
|
1298
1368
|
0, () => exports.GetDashboardInput$, () => exports.GetDashboardOutput$
|
|
1299
1369
|
];
|
|
1370
|
+
exports.GetDataset$ = [9, n0, _GDe,
|
|
1371
|
+
0, () => exports.GetDatasetInput$, () => exports.GetDatasetOutput$
|
|
1372
|
+
];
|
|
1300
1373
|
exports.GetInsightRuleReport$ = [9, n0, _GIRR,
|
|
1301
1374
|
0, () => exports.GetInsightRuleReportInput$, () => exports.GetInsightRuleReportOutput$
|
|
1302
1375
|
];
|
package/dist-es/CloudWatch.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { CloudWatchClient } from "./CloudWatchClient";
|
|
3
|
+
import { AssociateDatasetKmsKeyCommand, } from "./commands/AssociateDatasetKmsKeyCommand";
|
|
3
4
|
import { DeleteAlarmMuteRuleCommand, } from "./commands/DeleteAlarmMuteRuleCommand";
|
|
4
5
|
import { DeleteAlarmsCommand, } from "./commands/DeleteAlarmsCommand";
|
|
5
6
|
import { DeleteAnomalyDetectorCommand, } from "./commands/DeleteAnomalyDetectorCommand";
|
|
@@ -14,10 +15,12 @@ import { DescribeAnomalyDetectorsCommand, } from "./commands/DescribeAnomalyDete
|
|
|
14
15
|
import { DescribeInsightRulesCommand, } from "./commands/DescribeInsightRulesCommand";
|
|
15
16
|
import { DisableAlarmActionsCommand, } from "./commands/DisableAlarmActionsCommand";
|
|
16
17
|
import { DisableInsightRulesCommand, } from "./commands/DisableInsightRulesCommand";
|
|
18
|
+
import { DisassociateDatasetKmsKeyCommand, } from "./commands/DisassociateDatasetKmsKeyCommand";
|
|
17
19
|
import { EnableAlarmActionsCommand, } from "./commands/EnableAlarmActionsCommand";
|
|
18
20
|
import { EnableInsightRulesCommand, } from "./commands/EnableInsightRulesCommand";
|
|
19
21
|
import { GetAlarmMuteRuleCommand, } from "./commands/GetAlarmMuteRuleCommand";
|
|
20
22
|
import { GetDashboardCommand, } from "./commands/GetDashboardCommand";
|
|
23
|
+
import { GetDatasetCommand, } from "./commands/GetDatasetCommand";
|
|
21
24
|
import { GetInsightRuleReportCommand, } from "./commands/GetInsightRuleReportCommand";
|
|
22
25
|
import { GetMetricDataCommand, } from "./commands/GetMetricDataCommand";
|
|
23
26
|
import { GetMetricStatisticsCommand, } from "./commands/GetMetricStatisticsCommand";
|
|
@@ -60,6 +63,7 @@ import { waitUntilAlarmExists } from "./waiters/waitForAlarmExists";
|
|
|
60
63
|
import { waitUntilAlarmMuteRuleExists } from "./waiters/waitForAlarmMuteRuleExists";
|
|
61
64
|
import { waitUntilCompositeAlarmExists } from "./waiters/waitForCompositeAlarmExists";
|
|
62
65
|
const commands = {
|
|
66
|
+
AssociateDatasetKmsKeyCommand,
|
|
63
67
|
DeleteAlarmMuteRuleCommand,
|
|
64
68
|
DeleteAlarmsCommand,
|
|
65
69
|
DeleteAnomalyDetectorCommand,
|
|
@@ -74,10 +78,12 @@ const commands = {
|
|
|
74
78
|
DescribeInsightRulesCommand,
|
|
75
79
|
DisableAlarmActionsCommand,
|
|
76
80
|
DisableInsightRulesCommand,
|
|
81
|
+
DisassociateDatasetKmsKeyCommand,
|
|
77
82
|
EnableAlarmActionsCommand,
|
|
78
83
|
EnableInsightRulesCommand,
|
|
79
84
|
GetAlarmMuteRuleCommand,
|
|
80
85
|
GetDashboardCommand,
|
|
86
|
+
GetDatasetCommand,
|
|
81
87
|
GetInsightRuleReportCommand,
|
|
82
88
|
GetMetricDataCommand,
|
|
83
89
|
GetMetricStatisticsCommand,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { AssociateDatasetKmsKey$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class AssociateDatasetKmsKeyCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("GraniteServiceVersion20100801", "AssociateDatasetKmsKey", {})
|
|
13
|
+
.n("CloudWatchClient", "AssociateDatasetKmsKeyCommand")
|
|
14
|
+
.sc(AssociateDatasetKmsKey$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DisassociateDatasetKmsKey$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DisassociateDatasetKmsKeyCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("GraniteServiceVersion20100801", "DisassociateDatasetKmsKey", {})
|
|
13
|
+
.n("CloudWatchClient", "DisassociateDatasetKmsKeyCommand")
|
|
14
|
+
.sc(DisassociateDatasetKmsKey$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetDataset$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetDatasetCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("GraniteServiceVersion20100801", "GetDataset", {})
|
|
13
|
+
.n("CloudWatchClient", "GetDatasetCommand")
|
|
14
|
+
.sc(GetDataset$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AssociateDatasetKmsKeyCommand";
|
|
1
2
|
export * from "./DeleteAlarmMuteRuleCommand";
|
|
2
3
|
export * from "./DeleteAlarmsCommand";
|
|
3
4
|
export * from "./DeleteAnomalyDetectorCommand";
|
|
@@ -12,10 +13,12 @@ export * from "./DescribeAnomalyDetectorsCommand";
|
|
|
12
13
|
export * from "./DescribeInsightRulesCommand";
|
|
13
14
|
export * from "./DisableAlarmActionsCommand";
|
|
14
15
|
export * from "./DisableInsightRulesCommand";
|
|
16
|
+
export * from "./DisassociateDatasetKmsKeyCommand";
|
|
15
17
|
export * from "./EnableAlarmActionsCommand";
|
|
16
18
|
export * from "./EnableInsightRulesCommand";
|
|
17
19
|
export * from "./GetAlarmMuteRuleCommand";
|
|
18
20
|
export * from "./GetDashboardCommand";
|
|
21
|
+
export * from "./GetDatasetCommand";
|
|
19
22
|
export * from "./GetInsightRuleReportCommand";
|
|
20
23
|
export * from "./GetMetricDataCommand";
|
|
21
24
|
export * from "./GetMetricStatisticsCommand";
|