@aws-sdk/client-cloudwatch 3.1114.0 → 3.1116.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/dist-cjs/index.js +18 -9
- package/dist-es/schemas/schemas_0.js +16 -8
- package/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +19 -10
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +8 -0
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +14 -7
- package/dist-types/commands/PutLogAlarmCommand.d.ts +4 -0
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +70 -4
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +10 -10
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.1115.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -683,6 +683,7 @@ const _OAw = "OwningAccounts";
|
|
|
683
683
|
const _OB = "OrderBy";
|
|
684
684
|
const _OF = "OutputFormat";
|
|
685
685
|
const _OKA = "OKActions";
|
|
686
|
+
const _OSEAWUPE = "OnlyStartEvaluatingAfterWarmUpPeriodEnds";
|
|
686
687
|
const _P = "Period";
|
|
687
688
|
const _PAD = "PutAnomalyDetector";
|
|
688
689
|
const _PADI = "PutAnomalyDetectorInput";
|
|
@@ -803,6 +804,8 @@ const _URO = "UntagResourceOutput";
|
|
|
803
804
|
const _V = "Value";
|
|
804
805
|
const _Va = "Values";
|
|
805
806
|
const _WCW = "WallClockWindow";
|
|
807
|
+
const _WUC = "WarmUpConfiguration";
|
|
808
|
+
const _WUPDIM = "WarmUpPeriodDurationInMinutes";
|
|
806
809
|
const _aQE = "awsQueryError";
|
|
807
810
|
const _c = "client";
|
|
808
811
|
const _dVM = "dashboardValidationMessages";
|
|
@@ -1335,8 +1338,8 @@ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
|
1335
1338
|
];
|
|
1336
1339
|
var LogAlarm$ = [3, n0, _LAo,
|
|
1337
1340
|
0,
|
|
1338
|
-
[_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _SQC, _QRTE, _QRTA, _Th, _CO, _TMD, _STT, _ESv, _ALLC, _ALLRA],
|
|
1339
|
-
[0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, () => ScheduledQueryConfiguration$, 1, 1, 1, 0, 0, 4, 0, 1, 0]
|
|
1341
|
+
[_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _SQC, _QRTE, _QRTA, _Th, _CO, _TMD, _STT, _ESv, _ALLC, _ALLRA, _WUC],
|
|
1342
|
+
[0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, () => ScheduledQueryConfiguration$, 1, 1, 1, 0, 0, 4, 0, 1, 0, () => WarmUpConfiguration$]
|
|
1340
1343
|
];
|
|
1341
1344
|
var ManagedRule$ = [3, n0, _MRan,
|
|
1342
1345
|
0,
|
|
@@ -1365,8 +1368,8 @@ var Metric$ = [3, n0, _Met,
|
|
|
1365
1368
|
];
|
|
1366
1369
|
var MetricAlarm$ = [3, n0, _MAe,
|
|
1367
1370
|
0,
|
|
1368
|
-
[_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _TMI, _ESv, _STT, _EW, _EC, _EI],
|
|
1369
|
-
[0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, 0, 0, 4, () => EvaluationWindow$, () => EvaluationCriteria$, 1]
|
|
1371
|
+
[_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _TMI, _ESv, _STT, _EW, _WUC, _EC, _EI],
|
|
1372
|
+
[0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, 0, 0, 4, () => EvaluationWindow$, () => WarmUpConfiguration$, () => EvaluationCriteria$, 1]
|
|
1370
1373
|
];
|
|
1371
1374
|
var MetricCharacteristics$ = [3, n0, _MC,
|
|
1372
1375
|
0,
|
|
@@ -1470,8 +1473,8 @@ var PutInsightRuleOutput$ = [3, n0, _PIRO,
|
|
|
1470
1473
|
];
|
|
1471
1474
|
var PutLogAlarmInput$ = [3, n0, _PLAI,
|
|
1472
1475
|
0,
|
|
1473
|
-
[_AN, _SQC, _QRTE, _QRTA, _Th, _CO, _ADl, _ALLC, _ALLRA, _AE, _OKA, _AA, _IDA, _TMD, _Ta],
|
|
1474
|
-
[0, () => ScheduledQueryConfiguration$, 1, 1, 1, 0, 0, 1, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, () => TagList], 6
|
|
1476
|
+
[_AN, _SQC, _QRTE, _QRTA, _Th, _CO, _ADl, _ALLC, _ALLRA, _AE, _OKA, _AA, _IDA, _TMD, _Ta, _WUC],
|
|
1477
|
+
[0, () => ScheduledQueryConfiguration$, 1, 1, 1, 0, 0, 1, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, () => TagList, () => WarmUpConfiguration$], 6
|
|
1475
1478
|
];
|
|
1476
1479
|
var PutManagedInsightRulesInput$ = [3, n0, _PMIRI,
|
|
1477
1480
|
0,
|
|
@@ -1485,8 +1488,8 @@ var PutManagedInsightRulesOutput$ = [3, n0, _PMIRO,
|
|
|
1485
1488
|
];
|
|
1486
1489
|
var PutMetricAlarmInput$ = [3, n0, _PMAI,
|
|
1487
1490
|
0,
|
|
1488
|
-
[_AN, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _Ta, _TMI, _EW, _EC, _EI],
|
|
1489
|
-
[0, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, () => TagList, 0, () => EvaluationWindow$, () => EvaluationCriteria$, 1], 1
|
|
1491
|
+
[_AN, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _Ta, _TMI, _EW, _WUC, _EC, _EI],
|
|
1492
|
+
[0, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, () => TagList, 0, () => EvaluationWindow$, () => WarmUpConfiguration$, () => EvaluationCriteria$, 1], 1
|
|
1490
1493
|
];
|
|
1491
1494
|
var PutMetricDataInput$ = [3, n0, _PMDI,
|
|
1492
1495
|
0,
|
|
@@ -1618,6 +1621,11 @@ var WallClockWindow$ = [3, n0, _WCW,
|
|
|
1618
1621
|
[_Ti],
|
|
1619
1622
|
[0]
|
|
1620
1623
|
];
|
|
1624
|
+
var WarmUpConfiguration$ = [3, n0, _WUC,
|
|
1625
|
+
0,
|
|
1626
|
+
[_WUPDIM, _OSEAWUPE],
|
|
1627
|
+
[1, 2], 1
|
|
1628
|
+
];
|
|
1621
1629
|
var __Unit = "unit";
|
|
1622
1630
|
var AlarmContributors = [1, n0, _ACl,
|
|
1623
1631
|
0, () => AlarmContributor$
|
|
@@ -2800,6 +2808,7 @@ exports.UntagResourceCommand = UntagResourceCommand;
|
|
|
2800
2808
|
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
2801
2809
|
exports.UntagResourceOutput$ = UntagResourceOutput$;
|
|
2802
2810
|
exports.WallClockWindow$ = WallClockWindow$;
|
|
2811
|
+
exports.WarmUpConfiguration$ = WarmUpConfiguration$;
|
|
2803
2812
|
exports.errorTypeRegistries = errorTypeRegistries;
|
|
2804
2813
|
exports.paginateDescribeAlarmHistory = paginateDescribeAlarmHistory;
|
|
2805
2814
|
exports.paginateDescribeAlarms = paginateDescribeAlarms;
|
|
@@ -300,6 +300,7 @@ const _OAw = "OwningAccounts";
|
|
|
300
300
|
const _OB = "OrderBy";
|
|
301
301
|
const _OF = "OutputFormat";
|
|
302
302
|
const _OKA = "OKActions";
|
|
303
|
+
const _OSEAWUPE = "OnlyStartEvaluatingAfterWarmUpPeriodEnds";
|
|
303
304
|
const _P = "Period";
|
|
304
305
|
const _PAD = "PutAnomalyDetector";
|
|
305
306
|
const _PADI = "PutAnomalyDetectorInput";
|
|
@@ -420,6 +421,8 @@ const _URO = "UntagResourceOutput";
|
|
|
420
421
|
const _V = "Value";
|
|
421
422
|
const _Va = "Values";
|
|
422
423
|
const _WCW = "WallClockWindow";
|
|
424
|
+
const _WUC = "WarmUpConfiguration";
|
|
425
|
+
const _WUPDIM = "WarmUpPeriodDurationInMinutes";
|
|
423
426
|
const _aQE = "awsQueryError";
|
|
424
427
|
const _c = "client";
|
|
425
428
|
const _dVM = "dashboardValidationMessages";
|
|
@@ -955,8 +958,8 @@ export var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
|
|
|
955
958
|
];
|
|
956
959
|
export var LogAlarm$ = [3, n0, _LAo,
|
|
957
960
|
0,
|
|
958
|
-
[_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _SQC, _QRTE, _QRTA, _Th, _CO, _TMD, _STT, _ESv, _ALLC, _ALLRA],
|
|
959
|
-
[0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, () => ScheduledQueryConfiguration$, 1, 1, 1, 0, 0, 4, 0, 1, 0]
|
|
961
|
+
[_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _SQC, _QRTE, _QRTA, _Th, _CO, _TMD, _STT, _ESv, _ALLC, _ALLRA, _WUC],
|
|
962
|
+
[0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, () => ScheduledQueryConfiguration$, 1, 1, 1, 0, 0, 4, 0, 1, 0, () => WarmUpConfiguration$]
|
|
960
963
|
];
|
|
961
964
|
export var ManagedRule$ = [3, n0, _MRan,
|
|
962
965
|
0,
|
|
@@ -985,8 +988,8 @@ export var Metric$ = [3, n0, _Met,
|
|
|
985
988
|
];
|
|
986
989
|
export var MetricAlarm$ = [3, n0, _MAe,
|
|
987
990
|
0,
|
|
988
|
-
[_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _TMI, _ESv, _STT, _EW, _EC, _EI],
|
|
989
|
-
[0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, 0, 0, 4, () => EvaluationWindow$, () => EvaluationCriteria$, 1]
|
|
991
|
+
[_AN, _AAl, _ADl, _ACUT, _AE, _OKA, _AA, _IDA, _SV, _SR, _SRD, _SUT, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _TMI, _ESv, _STT, _EW, _WUC, _EC, _EI],
|
|
992
|
+
[0, 0, 0, 4, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 4, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, 0, 0, 4, () => EvaluationWindow$, () => WarmUpConfiguration$, () => EvaluationCriteria$, 1]
|
|
990
993
|
];
|
|
991
994
|
export var MetricCharacteristics$ = [3, n0, _MC,
|
|
992
995
|
0,
|
|
@@ -1090,8 +1093,8 @@ export var PutInsightRuleOutput$ = [3, n0, _PIRO,
|
|
|
1090
1093
|
];
|
|
1091
1094
|
export var PutLogAlarmInput$ = [3, n0, _PLAI,
|
|
1092
1095
|
0,
|
|
1093
|
-
[_AN, _SQC, _QRTE, _QRTA, _Th, _CO, _ADl, _ALLC, _ALLRA, _AE, _OKA, _AA, _IDA, _TMD, _Ta],
|
|
1094
|
-
[0, () => ScheduledQueryConfiguration$, 1, 1, 1, 0, 0, 1, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, () => TagList], 6
|
|
1096
|
+
[_AN, _SQC, _QRTE, _QRTA, _Th, _CO, _ADl, _ALLC, _ALLRA, _AE, _OKA, _AA, _IDA, _TMD, _Ta, _WUC],
|
|
1097
|
+
[0, () => ScheduledQueryConfiguration$, 1, 1, 1, 0, 0, 1, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, () => TagList, () => WarmUpConfiguration$], 6
|
|
1095
1098
|
];
|
|
1096
1099
|
export var PutManagedInsightRulesInput$ = [3, n0, _PMIRI,
|
|
1097
1100
|
0,
|
|
@@ -1105,8 +1108,8 @@ export var PutManagedInsightRulesOutput$ = [3, n0, _PMIRO,
|
|
|
1105
1108
|
];
|
|
1106
1109
|
export var PutMetricAlarmInput$ = [3, n0, _PMAI,
|
|
1107
1110
|
0,
|
|
1108
|
-
[_AN, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _Ta, _TMI, _EW, _EC, _EI],
|
|
1109
|
-
[0, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, () => TagList, 0, () => EvaluationWindow$, () => EvaluationCriteria$, 1], 1
|
|
1111
|
+
[_AN, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _Ta, _TMI, _EW, _WUC, _EC, _EI],
|
|
1112
|
+
[0, 0, 2, 64 | 0, 64 | 0, 64 | 0, 0, 0, 0, 0, () => Dimensions, 1, 0, 1, 1, 1, 0, 0, 0, () => MetricDataQueries, () => TagList, 0, () => EvaluationWindow$, () => WarmUpConfiguration$, () => EvaluationCriteria$, 1], 1
|
|
1110
1113
|
];
|
|
1111
1114
|
export var PutMetricDataInput$ = [3, n0, _PMDI,
|
|
1112
1115
|
0,
|
|
@@ -1238,6 +1241,11 @@ export var WallClockWindow$ = [3, n0, _WCW,
|
|
|
1238
1241
|
[_Ti],
|
|
1239
1242
|
[0]
|
|
1240
1243
|
];
|
|
1244
|
+
export var WarmUpConfiguration$ = [3, n0, _WUC,
|
|
1245
|
+
0,
|
|
1246
|
+
[_WUPDIM, _OSEAWUPE],
|
|
1247
|
+
[1, 2], 1
|
|
1248
|
+
];
|
|
1241
1249
|
var __Unit = "unit";
|
|
1242
1250
|
var AlarmContributors = [1, n0, _ACl,
|
|
1243
1251
|
0, () => AlarmContributor$
|
|
@@ -33,9 +33,17 @@ declare const AssociateDatasetKmsKeyCommand_base: {
|
|
|
33
33
|
* is implicit for every account in every Region — you do not need to create it before
|
|
34
34
|
* calling this operation.</p>
|
|
35
35
|
* <p>You can call <code>AssociateDatasetKmsKey</code> on a dataset that is already
|
|
36
|
-
* associated with a KMS key to replace the existing key with a different one.
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* associated with a KMS key to replace the existing key with a different one. The
|
|
37
|
+
* caller must have <code>kms:Decrypt</code> permission on both the current key and
|
|
38
|
+
* the new key.</p>
|
|
39
|
+
* <note>
|
|
40
|
+
* <p>If the currently associated key has been deleted, is scheduled for deletion,
|
|
41
|
+
* is pending import, is unavailable, or has been disabled, Amazon CloudWatch
|
|
42
|
+
* does not require <code>kms:Decrypt</code> permission on the current key and
|
|
43
|
+
* the rotation proceeds. If the key was only disabled, consider re-enabling it
|
|
44
|
+
* instead of rotating, because re-enabling allows Amazon CloudWatch to
|
|
45
|
+
* resume decrypting your existing metric data encrypted with that key.</p>
|
|
46
|
+
* </note>
|
|
39
47
|
* <p>The KMS key that you specify must meet all of the following requirements:</p>
|
|
40
48
|
* <ul>
|
|
41
49
|
* <li>
|
|
@@ -73,13 +81,14 @@ declare const AssociateDatasetKmsKeyCommand_base: {
|
|
|
73
81
|
* checks include <code>kms:DescribeKey</code>, <code>kms:GenerateDataKey</code>,
|
|
74
82
|
* <code>kms:Encrypt</code>, <code>kms:Decrypt</code>, and <code>kms:ReEncrypt*</code>.
|
|
75
83
|
* After those succeed, a <code>kms:Decrypt</code> dry-run is run with the caller's
|
|
76
|
-
* credentials to verify that the calling principal can use the key. When you are
|
|
77
|
-
* replacing an existing key, the caller's <code>kms:Decrypt</code> dry-run is run
|
|
78
|
-
*
|
|
79
|
-
* <p>If any of these checks fails, the operation fails and the existing
|
|
80
|
-
* (if any) remains unchanged. Common failure causes include the key
|
|
81
|
-
* key policy not granting the required permissions to
|
|
82
|
-
* caller lacking <code>kms:Decrypt</code> permission on
|
|
84
|
+
* credentials to verify that the calling principal can use the new key. When you are
|
|
85
|
+
* replacing an existing key, the caller's <code>kms:Decrypt</code> dry-run is also run
|
|
86
|
+
* on the current key.</p>
|
|
87
|
+
* <p>If any of these checks on the new key fails, the operation fails and the existing
|
|
88
|
+
* key association (if any) remains unchanged. Common failure causes include the new key
|
|
89
|
+
* being disabled, the key policy not granting the required permissions to
|
|
90
|
+
* Amazon CloudWatch, or the caller lacking <code>kms:Decrypt</code> permission on
|
|
91
|
+
* the new key.</p>
|
|
83
92
|
* <p>For more information about using customer managed keys with Amazon CloudWatch,
|
|
84
93
|
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cmk-encryption.html">Encryption at rest
|
|
85
94
|
* with customer managed keys</a> in the <i>Amazon CloudWatch User
|
|
@@ -155,6 +155,10 @@ declare const DescribeAlarmsCommand_base: {
|
|
|
155
155
|
* // },
|
|
156
156
|
* // SlidingWindow: {},
|
|
157
157
|
* // },
|
|
158
|
+
* // WarmUpConfiguration: { // WarmUpConfiguration
|
|
159
|
+
* // WarmUpPeriodDurationInMinutes: Number("int"), // required
|
|
160
|
+
* // OnlyStartEvaluatingAfterWarmUpPeriodEnds: true || false,
|
|
161
|
+
* // },
|
|
158
162
|
* // EvaluationCriteria: { // EvaluationCriteria Union: only one key present
|
|
159
163
|
* // PromQLCriteria: { // AlarmPromQLCriteria
|
|
160
164
|
* // Query: "STRING_VALUE", // required
|
|
@@ -208,6 +212,10 @@ declare const DescribeAlarmsCommand_base: {
|
|
|
208
212
|
* // EvaluationState: "PARTIAL_DATA" || "EVALUATION_FAILURE" || "EVALUATION_ERROR",
|
|
209
213
|
* // ActionLogLineCount: Number("int"),
|
|
210
214
|
* // ActionLogLineRoleArn: "STRING_VALUE",
|
|
215
|
+
* // WarmUpConfiguration: {
|
|
216
|
+
* // WarmUpPeriodDurationInMinutes: Number("int"), // required
|
|
217
|
+
* // OnlyStartEvaluatingAfterWarmUpPeriodEnds: true || false,
|
|
218
|
+
* // },
|
|
211
219
|
* // },
|
|
212
220
|
* // ],
|
|
213
221
|
* // NextToken: "STRING_VALUE",
|
|
@@ -126,6 +126,10 @@ declare const DescribeAlarmsForMetricCommand_base: {
|
|
|
126
126
|
* // },
|
|
127
127
|
* // SlidingWindow: {},
|
|
128
128
|
* // },
|
|
129
|
+
* // WarmUpConfiguration: { // WarmUpConfiguration
|
|
130
|
+
* // WarmUpPeriodDurationInMinutes: Number("int"), // required
|
|
131
|
+
* // OnlyStartEvaluatingAfterWarmUpPeriodEnds: true || false,
|
|
132
|
+
* // },
|
|
129
133
|
* // EvaluationCriteria: { // EvaluationCriteria Union: only one key present
|
|
130
134
|
* // PromQLCriteria: { // AlarmPromQLCriteria
|
|
131
135
|
* // Query: "STRING_VALUE", // required
|
|
@@ -32,18 +32,25 @@ declare const DisassociateDatasetKmsKeyCommand_base: {
|
|
|
32
32
|
* dataset must currently have a customer managed KMS key associated with it. If the
|
|
33
33
|
* dataset has no associated KMS key, the operation fails with
|
|
34
34
|
* <code>ResourceNotFoundException</code>.</p>
|
|
35
|
-
* <p>Amazon CloudWatch performs a dry-run <code>kms:Decrypt</code> call on the
|
|
36
|
-
* as part of this operation.
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
35
|
+
* <p>Amazon CloudWatch performs a dry-run <code>kms:Decrypt</code> call on the
|
|
36
|
+
* currently associated key as part of this operation. The caller must have
|
|
37
|
+
* <code>kms:Decrypt</code> permission on the currently associated key. If the key is
|
|
38
|
+
* accessible but the caller lacks <code>kms:Decrypt</code> permission, the operation
|
|
39
|
+
* fails with <code>AccessDeniedException</code>.</p>
|
|
40
|
+
* <note>
|
|
41
|
+
* <p>If the currently associated key has been deleted, is scheduled for deletion,
|
|
42
|
+
* is pending import, is unavailable, or has been disabled, Amazon CloudWatch
|
|
43
|
+
* does not require <code>kms:Decrypt</code> permission on that key and the
|
|
44
|
+
* disassociation proceeds. If the key was only disabled, consider re-enabling it
|
|
45
|
+
* instead of disassociating, because re-enabling allows Amazon CloudWatch to
|
|
46
|
+
* resume decrypting your existing metric data.</p>
|
|
47
|
+
* </note>
|
|
41
48
|
* <important>
|
|
42
49
|
* <p>Disassociating a KMS key from a dataset does not immediately remove the
|
|
43
50
|
* <code>kms:Decrypt</code> requirement on data plane operations. For up to three
|
|
44
51
|
* hours after disassociation, callers must continue to have
|
|
45
52
|
* <code>kms:Decrypt</code> permission on the previously associated key. Some data
|
|
46
|
-
*
|
|
53
|
+
* might still be encrypted with that key during this window. After this enforcement
|
|
47
54
|
* window elapses, the <code>kms:Decrypt</code> requirement is lifted.</p>
|
|
48
55
|
* </important>
|
|
49
56
|
* <p>For more information about using customer managed keys with Amazon CloudWatch,
|
|
@@ -86,6 +86,10 @@ declare const PutLogAlarmCommand_base: {
|
|
|
86
86
|
* Value: "STRING_VALUE", // required
|
|
87
87
|
* },
|
|
88
88
|
* ],
|
|
89
|
+
* WarmUpConfiguration: { // WarmUpConfiguration
|
|
90
|
+
* WarmUpPeriodDurationInMinutes: Number("int"), // required
|
|
91
|
+
* OnlyStartEvaluatingAfterWarmUpPeriodEnds: true || false,
|
|
92
|
+
* },
|
|
89
93
|
* };
|
|
90
94
|
* const command = new PutLogAlarmCommand(input);
|
|
91
95
|
* const response = await client.send(command);
|
|
@@ -152,6 +152,10 @@ declare const PutMetricAlarmCommand_base: {
|
|
|
152
152
|
* },
|
|
153
153
|
* SlidingWindow: {},
|
|
154
154
|
* },
|
|
155
|
+
* WarmUpConfiguration: { // WarmUpConfiguration
|
|
156
|
+
* WarmUpPeriodDurationInMinutes: Number("int"), // required
|
|
157
|
+
* OnlyStartEvaluatingAfterWarmUpPeriodEnds: true || false,
|
|
158
|
+
* },
|
|
155
159
|
* EvaluationCriteria: { // EvaluationCriteria Union: only one key present
|
|
156
160
|
* PromQLCriteria: { // AlarmPromQLCriteria
|
|
157
161
|
* Query: "STRING_VALUE", // required
|
|
@@ -1290,6 +1290,36 @@ export interface ScheduledQueryConfiguration {
|
|
|
1290
1290
|
*/
|
|
1291
1291
|
Tags?: Tag[] | undefined;
|
|
1292
1292
|
}
|
|
1293
|
+
/**
|
|
1294
|
+
* <p>The configuration settings that define the warm-up behavior for an alarm. Use these
|
|
1295
|
+
* settings to delay alarm evaluation after you create or update the alarm, which reduces
|
|
1296
|
+
* alarm noise while a new resource or service starts publishing data.</p>
|
|
1297
|
+
* <p>During the warm-up period, the alarm stays in <code>INSUFFICIENT_DATA</code> and
|
|
1298
|
+
* does not perform alarm actions.</p>
|
|
1299
|
+
* @public
|
|
1300
|
+
*/
|
|
1301
|
+
export interface WarmUpConfiguration {
|
|
1302
|
+
/**
|
|
1303
|
+
* <p>The length of the warm-up period, in minutes. After you create or update the alarm,
|
|
1304
|
+
* the alarm stays in <code>INSUFFICIENT_DATA</code> for this duration. During this time,
|
|
1305
|
+
* the alarm does not perform alarm actions.</p>
|
|
1306
|
+
* <p>You can change this value at any time, including after the warm-up period ends. If
|
|
1307
|
+
* you change it after the warm-up period ends, the new value does not restart the
|
|
1308
|
+
* warm-up period.</p>
|
|
1309
|
+
* @public
|
|
1310
|
+
*/
|
|
1311
|
+
WarmUpPeriodDurationInMinutes: number | undefined;
|
|
1312
|
+
/**
|
|
1313
|
+
* <p>Specifies whether the alarm waits for the full warm-up period before it starts
|
|
1314
|
+
* to evaluate. The default is <code>false</code>. If <code>true</code>, the alarm waits
|
|
1315
|
+
* the entire <code>WarmUpPeriodDurationInMinutes</code> before it starts to evaluate, even
|
|
1316
|
+
* if metric data arrives earlier. If <code>false</code>, the alarm ends the warm-up period
|
|
1317
|
+
* early. Evaluation begins as soon as the alarm has enough metric data to fill its
|
|
1318
|
+
* evaluation window.</p>
|
|
1319
|
+
* @public
|
|
1320
|
+
*/
|
|
1321
|
+
OnlyStartEvaluatingAfterWarmUpPeriodEnds?: boolean | undefined;
|
|
1322
|
+
}
|
|
1293
1323
|
/**
|
|
1294
1324
|
* <p>The details about a log alarm.</p>
|
|
1295
1325
|
* @public
|
|
@@ -1407,6 +1437,15 @@ export interface LogAlarm {
|
|
|
1407
1437
|
* @public
|
|
1408
1438
|
*/
|
|
1409
1439
|
ActionLogLineRoleArn?: string | undefined;
|
|
1440
|
+
/**
|
|
1441
|
+
* <p>The warm-up configuration for the alarm. A warm-up period delays alarm evaluation
|
|
1442
|
+
* after you create or update the alarm. During the warm-up period, the alarm stays in
|
|
1443
|
+
* <code>INSUFFICIENT_DATA</code> and does not perform alarm actions.</p>
|
|
1444
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html">Alarm warm-up
|
|
1445
|
+
* periods</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
1446
|
+
* @public
|
|
1447
|
+
*/
|
|
1448
|
+
WarmUpConfiguration?: WarmUpConfiguration | undefined;
|
|
1410
1449
|
}
|
|
1411
1450
|
/**
|
|
1412
1451
|
* <p>The evaluation criteria for an alarm. This is a union type that currently supports
|
|
@@ -1730,6 +1769,15 @@ export interface MetricAlarm {
|
|
|
1730
1769
|
* @public
|
|
1731
1770
|
*/
|
|
1732
1771
|
EvaluationWindow?: EvaluationWindow | undefined;
|
|
1772
|
+
/**
|
|
1773
|
+
* <p>The warm-up configuration for the alarm. A warm-up period delays alarm evaluation
|
|
1774
|
+
* after you create or update the alarm. During the warm-up period, the alarm stays in
|
|
1775
|
+
* <code>INSUFFICIENT_DATA</code> and does not perform alarm actions.</p>
|
|
1776
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html">Alarm warm-up
|
|
1777
|
+
* periods</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
1778
|
+
* @public
|
|
1779
|
+
*/
|
|
1780
|
+
WarmUpConfiguration?: WarmUpConfiguration | undefined;
|
|
1733
1781
|
/**
|
|
1734
1782
|
* <p>The evaluation criteria for the alarm.</p>
|
|
1735
1783
|
* @public
|
|
@@ -3180,7 +3228,7 @@ export interface MetricStreamStatisticsMetric {
|
|
|
3180
3228
|
* <code>SUM</code>, and <code>SAMPLECOUNT</code> statistics for each metric that is
|
|
3181
3229
|
* streamed. This structure contains information for one metric that includes additional
|
|
3182
3230
|
* statistics in the stream. For more information about statistics, see CloudWatch,
|
|
3183
|
-
* listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
|
|
3231
|
+
* listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html">
|
|
3184
3232
|
* CloudWatch statistics definitions</a>.</p>
|
|
3185
3233
|
* @public
|
|
3186
3234
|
*/
|
|
@@ -3204,7 +3252,7 @@ export interface MetricStreamStatisticsConfiguration {
|
|
|
3204
3252
|
* </code> percentile statistics such as
|
|
3205
3253
|
* <code>p90</code>, <code>p99</code> and so on.</p>
|
|
3206
3254
|
* <p>If the <code>OutputFormat</code> for the stream is <code>json</code>, the valid values
|
|
3207
|
-
* include the abbreviations for all of the statistics listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
|
|
3255
|
+
* include the abbreviations for all of the statistics listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html">
|
|
3208
3256
|
* CloudWatch statistics definitions</a>. For example, this includes
|
|
3209
3257
|
* <code>tm98, </code>
|
|
3210
3258
|
* <code>wm90</code>, <code>PR(:300)</code>, and so on.</p>
|
|
@@ -3276,7 +3324,7 @@ export interface GetMetricStreamOutput {
|
|
|
3276
3324
|
/**
|
|
3277
3325
|
* <p>Each entry in this array displays information about one or more metrics that include
|
|
3278
3326
|
* additional statistics in the metric stream. For more information about the additional
|
|
3279
|
-
* statistics, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
|
|
3327
|
+
* statistics, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html">
|
|
3280
3328
|
* CloudWatch statistics definitions</a>. </p>
|
|
3281
3329
|
* @public
|
|
3282
3330
|
*/
|
|
@@ -4464,6 +4512,15 @@ export interface PutLogAlarmInput {
|
|
|
4464
4512
|
* @public
|
|
4465
4513
|
*/
|
|
4466
4514
|
Tags?: Tag[] | undefined;
|
|
4515
|
+
/**
|
|
4516
|
+
* <p>The warm-up configuration for the alarm. A warm-up period delays alarm evaluation
|
|
4517
|
+
* after you create or update the alarm. The warm-up period reduces alarm noise from
|
|
4518
|
+
* missing data while a new resource or service starts publishing data.</p>
|
|
4519
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html">Alarm warm-up
|
|
4520
|
+
* periods</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
4521
|
+
* @public
|
|
4522
|
+
*/
|
|
4523
|
+
WarmUpConfiguration?: WarmUpConfiguration | undefined;
|
|
4467
4524
|
}
|
|
4468
4525
|
/**
|
|
4469
4526
|
* <p> Contains the information that's required to enable a managed Contributor Insights
|
|
@@ -5153,6 +5210,15 @@ export interface PutMetricAlarmInput {
|
|
|
5153
5210
|
* @public
|
|
5154
5211
|
*/
|
|
5155
5212
|
EvaluationWindow?: EvaluationWindow | undefined;
|
|
5213
|
+
/**
|
|
5214
|
+
* <p>The warm-up configuration for the alarm. A warm-up period delays alarm evaluation
|
|
5215
|
+
* after you create or update the alarm. The warm-up period reduces alarm noise from
|
|
5216
|
+
* missing data while a new resource or service starts publishing metrics.</p>
|
|
5217
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-warm-up.html">Alarm warm-up
|
|
5218
|
+
* periods</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
5219
|
+
* @public
|
|
5220
|
+
*/
|
|
5221
|
+
WarmUpConfiguration?: WarmUpConfiguration | undefined;
|
|
5156
5222
|
/**
|
|
5157
5223
|
* <p>The evaluation criteria for the alarm. For each <code>PutMetricAlarm</code>
|
|
5158
5224
|
* operation, you must specify either <code>MetricName</code>, a <code>Metrics</code>
|
|
@@ -5349,7 +5415,7 @@ export interface PutMetricStreamInput {
|
|
|
5349
5415
|
* additional statistics to stream for those metrics. The additional statistics that you
|
|
5350
5416
|
* can stream depend on the stream's <code>OutputFormat</code>. If the
|
|
5351
5417
|
* <code>OutputFormat</code> is <code>json</code>, you can stream any additional
|
|
5352
|
-
* statistic that is supported by CloudWatch, listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html
|
|
5418
|
+
* statistic that is supported by CloudWatch, listed in <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html">
|
|
5353
5419
|
* CloudWatch statistics definitions</a>. If the <code>OutputFormat</code>
|
|
5354
5420
|
* is <code>opentelemetry1.0</code> or <code>opentelemetry0.7</code>, you can stream
|
|
5355
5421
|
* percentile statistics such as p95, p99.9, and so on.</p>
|
|
@@ -163,6 +163,7 @@ export declare var TagResourceOutput$: StaticStructureSchema;
|
|
|
163
163
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
164
164
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
165
165
|
export declare var WallClockWindow$: StaticStructureSchema;
|
|
166
|
+
export declare var WarmUpConfiguration$: StaticStructureSchema;
|
|
166
167
|
export declare var EvaluationCriteria$: StaticUnionSchema;
|
|
167
168
|
export declare var EvaluationWindow$: StaticUnionSchema;
|
|
168
169
|
export declare var AssociateDatasetKmsKey$: StaticOperationSchema;
|
|
@@ -235,6 +235,10 @@ export interface ScheduledQueryConfiguration {
|
|
|
235
235
|
AggregationExpression: string | undefined;
|
|
236
236
|
Tags?: Tag[] | undefined;
|
|
237
237
|
}
|
|
238
|
+
export interface WarmUpConfiguration {
|
|
239
|
+
WarmUpPeriodDurationInMinutes: number | undefined;
|
|
240
|
+
OnlyStartEvaluatingAfterWarmUpPeriodEnds?: boolean | undefined;
|
|
241
|
+
}
|
|
238
242
|
export interface LogAlarm {
|
|
239
243
|
AlarmName?: string | undefined;
|
|
240
244
|
AlarmArn?: string | undefined;
|
|
@@ -258,6 +262,7 @@ export interface LogAlarm {
|
|
|
258
262
|
EvaluationState?: EvaluationState | undefined;
|
|
259
263
|
ActionLogLineCount?: number | undefined;
|
|
260
264
|
ActionLogLineRoleArn?: string | undefined;
|
|
265
|
+
WarmUpConfiguration?: WarmUpConfiguration | undefined;
|
|
261
266
|
}
|
|
262
267
|
export type EvaluationCriteria =
|
|
263
268
|
| EvaluationCriteria.PromQLCriteriaMember
|
|
@@ -337,6 +342,7 @@ export interface MetricAlarm {
|
|
|
337
342
|
EvaluationState?: EvaluationState | undefined;
|
|
338
343
|
StateTransitionedTimestamp?: Date | undefined;
|
|
339
344
|
EvaluationWindow?: EvaluationWindow | undefined;
|
|
345
|
+
WarmUpConfiguration?: WarmUpConfiguration | undefined;
|
|
340
346
|
EvaluationCriteria?: EvaluationCriteria | undefined;
|
|
341
347
|
EvaluationInterval?: number | undefined;
|
|
342
348
|
}
|
|
@@ -740,6 +746,7 @@ export interface PutLogAlarmInput {
|
|
|
740
746
|
ComparisonOperator: ComparisonOperator | undefined;
|
|
741
747
|
TreatMissingData?: string | undefined;
|
|
742
748
|
Tags?: Tag[] | undefined;
|
|
749
|
+
WarmUpConfiguration?: WarmUpConfiguration | undefined;
|
|
743
750
|
}
|
|
744
751
|
export interface ManagedRule {
|
|
745
752
|
TemplateName: string | undefined;
|
|
@@ -776,6 +783,7 @@ export interface PutMetricAlarmInput {
|
|
|
776
783
|
Tags?: Tag[] | undefined;
|
|
777
784
|
ThresholdMetricId?: string | undefined;
|
|
778
785
|
EvaluationWindow?: EvaluationWindow | undefined;
|
|
786
|
+
WarmUpConfiguration?: WarmUpConfiguration | undefined;
|
|
779
787
|
EvaluationCriteria?: EvaluationCriteria | undefined;
|
|
780
788
|
EvaluationInterval?: number | undefined;
|
|
781
789
|
}
|
|
@@ -163,6 +163,7 @@ export declare var TagResourceOutput$: StaticStructureSchema;
|
|
|
163
163
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
164
164
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
165
165
|
export declare var WallClockWindow$: StaticStructureSchema;
|
|
166
|
+
export declare var WarmUpConfiguration$: StaticStructureSchema;
|
|
166
167
|
export declare var EvaluationCriteria$: StaticUnionSchema;
|
|
167
168
|
export declare var EvaluationWindow$: StaticUnionSchema;
|
|
168
169
|
export declare var AssociateDatasetKmsKey$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1116.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudwatch",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,18 +52,18 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.977.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/types": "^3.974.
|
|
58
|
-
"@smithy/core": "^3.
|
|
59
|
-
"@smithy/fetch-http-handler": "^5.
|
|
60
|
-
"@smithy/middleware-compression": "^4.
|
|
61
|
-
"@smithy/node-http-handler": "^4.
|
|
62
|
-
"@smithy/types": "^4.
|
|
55
|
+
"@aws-sdk/core": "^3.977.9",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.81",
|
|
57
|
+
"@aws-sdk/types": "^3.974.5",
|
|
58
|
+
"@smithy/core": "^3.33.3",
|
|
59
|
+
"@smithy/fetch-http-handler": "^5.7.2",
|
|
60
|
+
"@smithy/middleware-compression": "^4.6.2",
|
|
61
|
+
"@smithy/node-http-handler": "^4.11.3",
|
|
62
|
+
"@smithy/types": "^4.17.2",
|
|
63
63
|
"tslib": "^2.6.2"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@smithy/snapshot-testing": "^2.2
|
|
66
|
+
"@smithy/snapshot-testing": "^2.3.2",
|
|
67
67
|
"@tsconfig/node20": "20.1.8",
|
|
68
68
|
"@types/node": "^20.14.8",
|
|
69
69
|
"concurrently": "7.0.0",
|