@aws-sdk/client-cloudwatch 3.1076.0 → 3.1077.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 +29 -7
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +22 -4
- package/dist-types/commands/DescribeAlarmsCommand.d.ts +6 -0
- package/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +6 -0
- package/dist-types/commands/PutMetricAlarmCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +116 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +32 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +8 -10
package/dist-cjs/index.js
CHANGED
|
@@ -11,9 +11,10 @@ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
|
11
11
|
const { NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS, NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS, resolveCompressionConfig, getCompressionPlugin } = require("@smithy/middleware-compression");
|
|
12
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
13
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
14
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
15
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
16
16
|
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
18
|
|
|
18
19
|
const defaultCloudWatchHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
20
|
return {
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1076.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -531,6 +532,7 @@ const _ET = "EndTime";
|
|
|
531
532
|
const _ETO = "EndTimeOffset";
|
|
532
533
|
const _ETR = "ExcludedTimeRanges";
|
|
533
534
|
const _ETx = "ExceptionType";
|
|
535
|
+
const _EW = "EvaluationWindow";
|
|
534
536
|
const _En = "Entries";
|
|
535
537
|
const _Ex = "Expression";
|
|
536
538
|
const _F = "Failures";
|
|
@@ -766,6 +768,7 @@ const _STT = "StateTransitionedTimestamp";
|
|
|
766
768
|
const _SUT = "StateUpdatedTimestamp";
|
|
767
769
|
const _SV = "StateValue";
|
|
768
770
|
const _SVt = "StatisticValues";
|
|
771
|
+
const _SW = "SlidingWindow";
|
|
769
772
|
const _Sc = "Schema";
|
|
770
773
|
const _Sch = "Schedule";
|
|
771
774
|
const _Si = "Size";
|
|
@@ -796,6 +799,7 @@ const _URI = "UntagResourceInput";
|
|
|
796
799
|
const _URO = "UntagResourceOutput";
|
|
797
800
|
const _V = "Value";
|
|
798
801
|
const _Va = "Values";
|
|
802
|
+
const _WCW = "WallClockWindow";
|
|
799
803
|
const _aQE = "awsQueryError";
|
|
800
804
|
const _c = "client";
|
|
801
805
|
const _dVM = "dashboardValidationMessages";
|
|
@@ -1358,8 +1362,8 @@ var Metric$ = [3, n0, _Met,
|
|
|
1358
1362
|
];
|
|
1359
1363
|
var MetricAlarm$ = [3, n0, _MAe,
|
|
1360
1364
|
0,
|
|
1361
|
-
[_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, _EC, _EI],
|
|
1362
|
-
[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, () => EvaluationCriteria$, 1]
|
|
1365
|
+
[_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],
|
|
1366
|
+
[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]
|
|
1363
1367
|
];
|
|
1364
1368
|
var MetricCharacteristics$ = [3, n0, _MC,
|
|
1365
1369
|
0,
|
|
@@ -1478,8 +1482,8 @@ var PutManagedInsightRulesOutput$ = [3, n0, _PMIRO,
|
|
|
1478
1482
|
];
|
|
1479
1483
|
var PutMetricAlarmInput$ = [3, n0, _PMAI,
|
|
1480
1484
|
0,
|
|
1481
|
-
[_AN, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _Ta, _TMI, _EC, _EI],
|
|
1482
|
-
[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, () => EvaluationCriteria$, 1], 1
|
|
1485
|
+
[_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],
|
|
1486
|
+
[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
|
|
1483
1487
|
];
|
|
1484
1488
|
var PutMetricDataInput$ = [3, n0, _PMDI,
|
|
1485
1489
|
0,
|
|
@@ -1531,6 +1535,11 @@ var SingleMetricAnomalyDetector$ = [3, n0, _SMAD,
|
|
|
1531
1535
|
[_AI, _N, _MN, _D, _St],
|
|
1532
1536
|
[0, 0, 0, () => Dimensions, 0]
|
|
1533
1537
|
];
|
|
1538
|
+
var SlidingWindow$ = [3, n0, _SW,
|
|
1539
|
+
0,
|
|
1540
|
+
[],
|
|
1541
|
+
[]
|
|
1542
|
+
];
|
|
1534
1543
|
var StartMetricStreamsInput$ = [3, n0, _SMSI,
|
|
1535
1544
|
0,
|
|
1536
1545
|
[_Nam],
|
|
@@ -1601,6 +1610,11 @@ var UntagResourceOutput$ = [3, n0, _URO,
|
|
|
1601
1610
|
[],
|
|
1602
1611
|
[]
|
|
1603
1612
|
];
|
|
1613
|
+
var WallClockWindow$ = [3, n0, _WCW,
|
|
1614
|
+
0,
|
|
1615
|
+
[_Ti],
|
|
1616
|
+
[0]
|
|
1617
|
+
];
|
|
1604
1618
|
var __Unit = "unit";
|
|
1605
1619
|
var AlarmContributors = [1, n0, _ACl,
|
|
1606
1620
|
0, () => AlarmContributor$
|
|
@@ -1700,6 +1714,11 @@ var EvaluationCriteria$ = [4, n0, _EC,
|
|
|
1700
1714
|
[_PQLC],
|
|
1701
1715
|
[() => AlarmPromQLCriteria$]
|
|
1702
1716
|
];
|
|
1717
|
+
var EvaluationWindow$ = [4, n0, _EW,
|
|
1718
|
+
0,
|
|
1719
|
+
[_WCW, _SW],
|
|
1720
|
+
[() => WallClockWindow$, () => SlidingWindow$]
|
|
1721
|
+
];
|
|
1703
1722
|
var AssociateDatasetKmsKey$ = [9, n0, _ADKK,
|
|
1704
1723
|
0, () => AssociateDatasetKmsKeyInput$, () => AssociateDatasetKmsKeyOutput$
|
|
1705
1724
|
];
|
|
@@ -1878,6 +1897,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1878
1897
|
awsQueryCompatible: true,
|
|
1879
1898
|
},
|
|
1880
1899
|
serviceId: config?.serviceId ?? "CloudWatch",
|
|
1900
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1881
1901
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1882
1902
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1883
1903
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1913,7 +1933,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1913
1933
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1914
1934
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1915
1935
|
}, config),
|
|
1916
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1917
1936
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1918
1937
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1919
1938
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -3030,6 +3049,7 @@ exports.Entity$ = Entity$;
|
|
|
3030
3049
|
exports.EntityMetricData$ = EntityMetricData$;
|
|
3031
3050
|
exports.EvaluationCriteria$ = EvaluationCriteria$;
|
|
3032
3051
|
exports.EvaluationState = EvaluationState;
|
|
3052
|
+
exports.EvaluationWindow$ = EvaluationWindow$;
|
|
3033
3053
|
exports.GetAlarmMuteRule$ = GetAlarmMuteRule$;
|
|
3034
3054
|
exports.GetAlarmMuteRuleCommand = GetAlarmMuteRuleCommand;
|
|
3035
3055
|
exports.GetAlarmMuteRuleInput$ = GetAlarmMuteRuleInput$;
|
|
@@ -3191,6 +3211,7 @@ exports.SetAlarmState$ = SetAlarmState$;
|
|
|
3191
3211
|
exports.SetAlarmStateCommand = SetAlarmStateCommand;
|
|
3192
3212
|
exports.SetAlarmStateInput$ = SetAlarmStateInput$;
|
|
3193
3213
|
exports.SingleMetricAnomalyDetector$ = SingleMetricAnomalyDetector$;
|
|
3214
|
+
exports.SlidingWindow$ = SlidingWindow$;
|
|
3194
3215
|
exports.StandardUnit = StandardUnit;
|
|
3195
3216
|
exports.StartMetricStreams$ = StartMetricStreams$;
|
|
3196
3217
|
exports.StartMetricStreamsCommand = StartMetricStreamsCommand;
|
|
@@ -3221,6 +3242,7 @@ exports.UntagResource$ = UntagResource$;
|
|
|
3221
3242
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
3222
3243
|
exports.UntagResourceInput$ = UntagResourceInput$;
|
|
3223
3244
|
exports.UntagResourceOutput$ = UntagResourceOutput$;
|
|
3245
|
+
exports.WallClockWindow$ = WallClockWindow$;
|
|
3224
3246
|
exports.errorTypeRegistries = errorTypeRegistries;
|
|
3225
3247
|
exports.paginateDescribeAlarmHistory = paginateDescribeAlarmHistory;
|
|
3226
3248
|
exports.paginateDescribeAlarms = paginateDescribeAlarms;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -26,7 +25,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
25
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
27
26
|
requestMinCompressionSizeBytes: config?.requestMinCompressionSizeBytes ?? DEFAULT_NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES,
|
|
28
27
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
|
-
sha256: config?.sha256 ?? Sha256,
|
|
30
28
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
31
29
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
32
30
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NODE_DISABLE_REQUEST_COMPRESSION_CONFIG_OPTIONS, NODE_REQUEST_MIN_COMPRESSION_SIZE_BYTES_CONFIG_OPTIONS, } from "@smithy/middleware-compression";
|
|
10
10
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
@@ -38,7 +38,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
38
38
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
39
39
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
40
40
|
}, config),
|
|
41
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
42
41
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
43
42
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
44
43
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -33,6 +34,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
33
34
|
awsQueryCompatible: true,
|
|
34
35
|
},
|
|
35
36
|
serviceId: config?.serviceId ?? "CloudWatch",
|
|
37
|
+
sha256: config?.sha256 ?? Sha256,
|
|
36
38
|
urlParser: config?.urlParser ?? parseUrl,
|
|
37
39
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
40
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -150,6 +150,7 @@ const _ET = "EndTime";
|
|
|
150
150
|
const _ETO = "EndTimeOffset";
|
|
151
151
|
const _ETR = "ExcludedTimeRanges";
|
|
152
152
|
const _ETx = "ExceptionType";
|
|
153
|
+
const _EW = "EvaluationWindow";
|
|
153
154
|
const _En = "Entries";
|
|
154
155
|
const _Ex = "Expression";
|
|
155
156
|
const _F = "Failures";
|
|
@@ -385,6 +386,7 @@ const _STT = "StateTransitionedTimestamp";
|
|
|
385
386
|
const _SUT = "StateUpdatedTimestamp";
|
|
386
387
|
const _SV = "StateValue";
|
|
387
388
|
const _SVt = "StatisticValues";
|
|
389
|
+
const _SW = "SlidingWindow";
|
|
388
390
|
const _Sc = "Schema";
|
|
389
391
|
const _Sch = "Schedule";
|
|
390
392
|
const _Si = "Size";
|
|
@@ -415,6 +417,7 @@ const _URI = "UntagResourceInput";
|
|
|
415
417
|
const _URO = "UntagResourceOutput";
|
|
416
418
|
const _V = "Value";
|
|
417
419
|
const _Va = "Values";
|
|
420
|
+
const _WCW = "WallClockWindow";
|
|
418
421
|
const _aQE = "awsQueryError";
|
|
419
422
|
const _c = "client";
|
|
420
423
|
const _dVM = "dashboardValidationMessages";
|
|
@@ -980,8 +983,8 @@ export var Metric$ = [3, n0, _Met,
|
|
|
980
983
|
];
|
|
981
984
|
export var MetricAlarm$ = [3, n0, _MAe,
|
|
982
985
|
0,
|
|
983
|
-
[_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, _EC, _EI],
|
|
984
|
-
[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, () => EvaluationCriteria$, 1]
|
|
986
|
+
[_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],
|
|
987
|
+
[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]
|
|
985
988
|
];
|
|
986
989
|
export var MetricCharacteristics$ = [3, n0, _MC,
|
|
987
990
|
0,
|
|
@@ -1100,8 +1103,8 @@ export var PutManagedInsightRulesOutput$ = [3, n0, _PMIRO,
|
|
|
1100
1103
|
];
|
|
1101
1104
|
export var PutMetricAlarmInput$ = [3, n0, _PMAI,
|
|
1102
1105
|
0,
|
|
1103
|
-
[_AN, _ADl, _AE, _OKA, _AA, _IDA, _MN, _N, _Sta, _ESx, _D, _P, _U, _EP, _DTA, _Th, _CO, _TMD, _ELSCP, _Me, _Ta, _TMI, _EC, _EI],
|
|
1104
|
-
[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, () => EvaluationCriteria$, 1], 1
|
|
1106
|
+
[_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],
|
|
1107
|
+
[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
|
|
1105
1108
|
];
|
|
1106
1109
|
export var PutMetricDataInput$ = [3, n0, _PMDI,
|
|
1107
1110
|
0,
|
|
@@ -1153,6 +1156,11 @@ export var SingleMetricAnomalyDetector$ = [3, n0, _SMAD,
|
|
|
1153
1156
|
[_AI, _N, _MN, _D, _St],
|
|
1154
1157
|
[0, 0, 0, () => Dimensions, 0]
|
|
1155
1158
|
];
|
|
1159
|
+
export var SlidingWindow$ = [3, n0, _SW,
|
|
1160
|
+
0,
|
|
1161
|
+
[],
|
|
1162
|
+
[]
|
|
1163
|
+
];
|
|
1156
1164
|
export var StartMetricStreamsInput$ = [3, n0, _SMSI,
|
|
1157
1165
|
0,
|
|
1158
1166
|
[_Nam],
|
|
@@ -1223,6 +1231,11 @@ export var UntagResourceOutput$ = [3, n0, _URO,
|
|
|
1223
1231
|
[],
|
|
1224
1232
|
[]
|
|
1225
1233
|
];
|
|
1234
|
+
export var WallClockWindow$ = [3, n0, _WCW,
|
|
1235
|
+
0,
|
|
1236
|
+
[_Ti],
|
|
1237
|
+
[0]
|
|
1238
|
+
];
|
|
1226
1239
|
var __Unit = "unit";
|
|
1227
1240
|
var AlarmContributors = [1, n0, _ACl,
|
|
1228
1241
|
0, () => AlarmContributor$
|
|
@@ -1349,6 +1362,11 @@ export var EvaluationCriteria$ = [4, n0, _EC,
|
|
|
1349
1362
|
[_PQLC],
|
|
1350
1363
|
[() => AlarmPromQLCriteria$]
|
|
1351
1364
|
];
|
|
1365
|
+
export var EvaluationWindow$ = [4, n0, _EW,
|
|
1366
|
+
0,
|
|
1367
|
+
[_WCW, _SW],
|
|
1368
|
+
[() => WallClockWindow$, () => SlidingWindow$]
|
|
1369
|
+
];
|
|
1352
1370
|
export var AssociateDatasetKmsKey$ = [9, n0, _ADKK,
|
|
1353
1371
|
0, () => AssociateDatasetKmsKeyInput$, () => AssociateDatasetKmsKeyOutput$
|
|
1354
1372
|
];
|
|
@@ -154,6 +154,12 @@ declare const DescribeAlarmsCommand_base: {
|
|
|
154
154
|
* // ThresholdMetricId: "STRING_VALUE",
|
|
155
155
|
* // EvaluationState: "PARTIAL_DATA" || "EVALUATION_FAILURE" || "EVALUATION_ERROR",
|
|
156
156
|
* // StateTransitionedTimestamp: new Date("TIMESTAMP"),
|
|
157
|
+
* // EvaluationWindow: { // EvaluationWindow Union: only one key present
|
|
158
|
+
* // WallClockWindow: { // WallClockWindow
|
|
159
|
+
* // Timezone: "STRING_VALUE",
|
|
160
|
+
* // },
|
|
161
|
+
* // SlidingWindow: {},
|
|
162
|
+
* // },
|
|
157
163
|
* // EvaluationCriteria: { // EvaluationCriteria Union: only one key present
|
|
158
164
|
* // PromQLCriteria: { // AlarmPromQLCriteria
|
|
159
165
|
* // Query: "STRING_VALUE", // required
|
|
@@ -125,6 +125,12 @@ declare const DescribeAlarmsForMetricCommand_base: {
|
|
|
125
125
|
* // ThresholdMetricId: "STRING_VALUE",
|
|
126
126
|
* // EvaluationState: "PARTIAL_DATA" || "EVALUATION_FAILURE" || "EVALUATION_ERROR",
|
|
127
127
|
* // StateTransitionedTimestamp: new Date("TIMESTAMP"),
|
|
128
|
+
* // EvaluationWindow: { // EvaluationWindow Union: only one key present
|
|
129
|
+
* // WallClockWindow: { // WallClockWindow
|
|
130
|
+
* // Timezone: "STRING_VALUE",
|
|
131
|
+
* // },
|
|
132
|
+
* // SlidingWindow: {},
|
|
133
|
+
* // },
|
|
128
134
|
* // EvaluationCriteria: { // EvaluationCriteria Union: only one key present
|
|
129
135
|
* // PromQLCriteria: { // AlarmPromQLCriteria
|
|
130
136
|
* // Query: "STRING_VALUE", // required
|
|
@@ -151,6 +151,12 @@ declare const PutMetricAlarmCommand_base: {
|
|
|
151
151
|
* },
|
|
152
152
|
* ],
|
|
153
153
|
* ThresholdMetricId: "STRING_VALUE",
|
|
154
|
+
* EvaluationWindow: { // EvaluationWindow Union: only one key present
|
|
155
|
+
* WallClockWindow: { // WallClockWindow
|
|
156
|
+
* Timezone: "STRING_VALUE",
|
|
157
|
+
* },
|
|
158
|
+
* SlidingWindow: {},
|
|
159
|
+
* },
|
|
154
160
|
* EvaluationCriteria: { // EvaluationCriteria Union: only one key present
|
|
155
161
|
* PromQLCriteria: { // AlarmPromQLCriteria
|
|
156
162
|
* Query: "STRING_VALUE", // required
|
|
@@ -1426,6 +1426,98 @@ export declare namespace EvaluationCriteria {
|
|
|
1426
1426
|
_: (name: string, value: any) => T;
|
|
1427
1427
|
}
|
|
1428
1428
|
}
|
|
1429
|
+
/**
|
|
1430
|
+
* <p>An evaluation window that advances each time the alarm is evaluated, forming a rolling
|
|
1431
|
+
* time window. This is the default evaluation window. A sliding window has no additional
|
|
1432
|
+
* configuration options.</p>
|
|
1433
|
+
* <p>Choose a sliding window when you need the fastest detection and the calendar
|
|
1434
|
+
* boundaries of the data don't matter, such as for continuous performance, latency, or
|
|
1435
|
+
* resource-exhaustion monitoring.</p>
|
|
1436
|
+
* @public
|
|
1437
|
+
*/
|
|
1438
|
+
export interface SlidingWindow {
|
|
1439
|
+
}
|
|
1440
|
+
/**
|
|
1441
|
+
* <p>An evaluation window that aligns the evaluated range to fixed clock boundaries that
|
|
1442
|
+
* match the alarm's period, such as the top of the hour, midnight, or the start of the
|
|
1443
|
+
* calendar week, optionally in a specific time zone.</p>
|
|
1444
|
+
* <p>When you use a wall clock window, the alarm's period must be 1 minute (60 seconds),
|
|
1445
|
+
* 5 minutes (300 seconds), 1 hour (3,600 seconds), 1 day (86,400 seconds), or 1 week
|
|
1446
|
+
* (604,800 seconds). Other period values aren't supported with a wall clock window.</p>
|
|
1447
|
+
* <p>Choose a wall clock window when your monitoring is tied to a business or calendar
|
|
1448
|
+
* period, such as daily reports, batch jobs, or backups, or when you want alarm
|
|
1449
|
+
* evaluations to match the periods shown on a metric dashboard.</p>
|
|
1450
|
+
* @public
|
|
1451
|
+
*/
|
|
1452
|
+
export interface WallClockWindow {
|
|
1453
|
+
/**
|
|
1454
|
+
* <p>The time zone to use when the alarm aligns the evaluation window to clock boundaries.
|
|
1455
|
+
* You can specify an IANA time zone name (for example, <code>America/New_York</code>), a
|
|
1456
|
+
* fixed UTC offset (for example, <code>+05:30</code>), or an offset-prefixed identifier
|
|
1457
|
+
* (for example, <code>UTC+05:30</code>). The offset must be aligned to a multiple of
|
|
1458
|
+
* 5 minutes. If you don't specify a time zone, CloudWatch uses
|
|
1459
|
+
* <code>UTC</code>.</p>
|
|
1460
|
+
* <p>The time zone affects window alignment for all periods, including periods of one
|
|
1461
|
+
* hour or shorter.</p>
|
|
1462
|
+
* @public
|
|
1463
|
+
*/
|
|
1464
|
+
Timezone?: string | undefined;
|
|
1465
|
+
}
|
|
1466
|
+
/**
|
|
1467
|
+
* <p>The evaluation window that an alarm uses to select the range of metric data that it
|
|
1468
|
+
* evaluates each time it runs. This is a union type. Set exactly one of its members,
|
|
1469
|
+
* <code>SlidingWindow</code> or <code>WallClockWindow</code>. If you don't set
|
|
1470
|
+
* <code>EvaluationWindow</code>, the alarm uses a <code>SlidingWindow</code> by
|
|
1471
|
+
* default.</p>
|
|
1472
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html">Alarm
|
|
1473
|
+
* evaluation windows</a> in the <i>CloudWatch User
|
|
1474
|
+
* Guide</i>.</p>
|
|
1475
|
+
* @public
|
|
1476
|
+
*/
|
|
1477
|
+
export type EvaluationWindow = EvaluationWindow.SlidingWindowMember | EvaluationWindow.WallClockWindowMember | EvaluationWindow.$UnknownMember;
|
|
1478
|
+
/**
|
|
1479
|
+
* @public
|
|
1480
|
+
*/
|
|
1481
|
+
export declare namespace EvaluationWindow {
|
|
1482
|
+
/**
|
|
1483
|
+
* <p>A wall clock window, which aligns the evaluated range to fixed clock boundaries that
|
|
1484
|
+
* match the alarm's period, such as the top of the hour, midnight, or the start of the
|
|
1485
|
+
* calendar week.</p>
|
|
1486
|
+
* @public
|
|
1487
|
+
*/
|
|
1488
|
+
interface WallClockWindowMember {
|
|
1489
|
+
WallClockWindow: WallClockWindow;
|
|
1490
|
+
SlidingWindow?: never;
|
|
1491
|
+
$unknown?: never;
|
|
1492
|
+
}
|
|
1493
|
+
/**
|
|
1494
|
+
* <p>A sliding window, which advances each time the alarm is evaluated, forming a rolling
|
|
1495
|
+
* time window. This is the default evaluation window.</p>
|
|
1496
|
+
* @public
|
|
1497
|
+
*/
|
|
1498
|
+
interface SlidingWindowMember {
|
|
1499
|
+
WallClockWindow?: never;
|
|
1500
|
+
SlidingWindow: SlidingWindow;
|
|
1501
|
+
$unknown?: never;
|
|
1502
|
+
}
|
|
1503
|
+
/**
|
|
1504
|
+
* @public
|
|
1505
|
+
*/
|
|
1506
|
+
interface $UnknownMember {
|
|
1507
|
+
WallClockWindow?: never;
|
|
1508
|
+
SlidingWindow?: never;
|
|
1509
|
+
$unknown: [string, any];
|
|
1510
|
+
}
|
|
1511
|
+
/**
|
|
1512
|
+
* @deprecated unused in schema-serde mode.
|
|
1513
|
+
*
|
|
1514
|
+
*/
|
|
1515
|
+
interface Visitor<T> {
|
|
1516
|
+
WallClockWindow: (value: WallClockWindow) => T;
|
|
1517
|
+
SlidingWindow: (value: SlidingWindow) => T;
|
|
1518
|
+
_: (name: string, value: any) => T;
|
|
1519
|
+
}
|
|
1520
|
+
}
|
|
1429
1521
|
/**
|
|
1430
1522
|
* <p>The details about a metric alarm.</p>
|
|
1431
1523
|
* @public
|
|
@@ -1613,6 +1705,15 @@ export interface MetricAlarm {
|
|
|
1613
1705
|
* @public
|
|
1614
1706
|
*/
|
|
1615
1707
|
StateTransitionedTimestamp?: Date | undefined;
|
|
1708
|
+
/**
|
|
1709
|
+
* <p>The evaluation window that the alarm uses to select the range of metric data that it
|
|
1710
|
+
* evaluates. This is either a sliding window or a wall clock window. For more information,
|
|
1711
|
+
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html">Alarm
|
|
1712
|
+
* evaluation windows</a> in the <i>CloudWatch User
|
|
1713
|
+
* Guide</i>.</p>
|
|
1714
|
+
* @public
|
|
1715
|
+
*/
|
|
1716
|
+
EvaluationWindow?: EvaluationWindow | undefined;
|
|
1616
1717
|
/**
|
|
1617
1718
|
* <p>The evaluation criteria for the alarm.</p>
|
|
1618
1719
|
* @public
|
|
@@ -5008,6 +5109,21 @@ export interface PutMetricAlarmInput {
|
|
|
5008
5109
|
* @public
|
|
5009
5110
|
*/
|
|
5010
5111
|
ThresholdMetricId?: string | undefined;
|
|
5112
|
+
/**
|
|
5113
|
+
* <p>The evaluation window that the alarm uses to select the range of metric data that it
|
|
5114
|
+
* evaluates. Specify either a sliding window or a wall clock window. If you omit this
|
|
5115
|
+
* parameter, the alarm uses a sliding window.</p>
|
|
5116
|
+
* <p>A sliding window advances each time the alarm is evaluated, forming a rolling time
|
|
5117
|
+
* window. A wall clock window aligns the evaluated range to fixed clock boundaries, such
|
|
5118
|
+
* as the top of the hour or the start of the day.</p>
|
|
5119
|
+
* <p>You can use <code>EvaluationWindow</code> with any type of metric alarm except alarms
|
|
5120
|
+
* that are based on a PromQL query.</p>
|
|
5121
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/alarm-evaluation-window.html">Alarm
|
|
5122
|
+
* evaluation windows</a> in the <i>CloudWatch User
|
|
5123
|
+
* Guide</i>.</p>
|
|
5124
|
+
* @public
|
|
5125
|
+
*/
|
|
5126
|
+
EvaluationWindow?: EvaluationWindow | undefined;
|
|
5011
5127
|
/**
|
|
5012
5128
|
* <p>The evaluation criteria for the alarm. For each <code>PutMetricAlarm</code>
|
|
5013
5129
|
* operation, you must specify either <code>MetricName</code>, a <code>Metrics</code>
|
|
@@ -15,7 +15,6 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
15
15
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
16
16
|
requestMinCompressionSizeBytes: number | import("@smithy/types").Provider<number>;
|
|
17
17
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
18
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
19
18
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
20
19
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
20
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
26
25
|
[setting: string]: unknown;
|
|
27
26
|
};
|
|
28
27
|
apiVersion: string;
|
|
28
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -16,7 +16,6 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
16
16
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
17
17
|
requestMinCompressionSizeBytes: number | import("@smithy/types").Provider<number>;
|
|
18
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
20
19
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
21
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -28,6 +27,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
28
27
|
[setting: string]: unknown;
|
|
29
28
|
};
|
|
30
29
|
apiVersion: string;
|
|
30
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
31
31
|
urlParser: import("@smithy/types").UrlParser;
|
|
32
32
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
33
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -4,7 +4,6 @@ import type { CloudWatchClientConfig } from "./CloudWatchClient";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
8
7
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
8
|
cacheMiddleware?: boolean;
|
|
10
9
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
@@ -13,6 +12,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
13
12
|
[setting: string]: unknown;
|
|
14
13
|
};
|
|
15
14
|
apiVersion: string;
|
|
15
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
16
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
18
|
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
21
21
|
defaultNamespace?: string;
|
|
22
22
|
};
|
|
23
23
|
serviceId: string;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
27
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -147,6 +147,7 @@ export declare var ScheduleConfiguration$: StaticStructureSchema;
|
|
|
147
147
|
export declare var ScheduledQueryConfiguration$: StaticStructureSchema;
|
|
148
148
|
export declare var SetAlarmStateInput$: StaticStructureSchema;
|
|
149
149
|
export declare var SingleMetricAnomalyDetector$: StaticStructureSchema;
|
|
150
|
+
export declare var SlidingWindow$: StaticStructureSchema;
|
|
150
151
|
export declare var StartMetricStreamsInput$: StaticStructureSchema;
|
|
151
152
|
export declare var StartMetricStreamsOutput$: StaticStructureSchema;
|
|
152
153
|
export declare var StartOTelEnrichmentInput$: StaticStructureSchema;
|
|
@@ -161,7 +162,9 @@ export declare var TagResourceInput$: StaticStructureSchema;
|
|
|
161
162
|
export declare var TagResourceOutput$: StaticStructureSchema;
|
|
162
163
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
163
164
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
165
|
+
export declare var WallClockWindow$: StaticStructureSchema;
|
|
164
166
|
export declare var EvaluationCriteria$: StaticUnionSchema;
|
|
167
|
+
export declare var EvaluationWindow$: StaticUnionSchema;
|
|
165
168
|
export declare var AssociateDatasetKmsKey$: StaticOperationSchema;
|
|
166
169
|
export declare var DeleteAlarmMuteRule$: StaticOperationSchema;
|
|
167
170
|
export declare var DeleteAlarms$: StaticOperationSchema;
|
|
@@ -274,6 +274,36 @@ export declare namespace EvaluationCriteria {
|
|
|
274
274
|
_: (name: string, value: any) => T;
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
+
export interface SlidingWindow {}
|
|
278
|
+
export interface WallClockWindow {
|
|
279
|
+
Timezone?: string | undefined;
|
|
280
|
+
}
|
|
281
|
+
export type EvaluationWindow =
|
|
282
|
+
| EvaluationWindow.SlidingWindowMember
|
|
283
|
+
| EvaluationWindow.WallClockWindowMember
|
|
284
|
+
| EvaluationWindow.$UnknownMember;
|
|
285
|
+
export declare namespace EvaluationWindow {
|
|
286
|
+
interface WallClockWindowMember {
|
|
287
|
+
WallClockWindow: WallClockWindow;
|
|
288
|
+
SlidingWindow?: never;
|
|
289
|
+
$unknown?: never;
|
|
290
|
+
}
|
|
291
|
+
interface SlidingWindowMember {
|
|
292
|
+
WallClockWindow?: never;
|
|
293
|
+
SlidingWindow: SlidingWindow;
|
|
294
|
+
$unknown?: never;
|
|
295
|
+
}
|
|
296
|
+
interface $UnknownMember {
|
|
297
|
+
WallClockWindow?: never;
|
|
298
|
+
SlidingWindow?: never;
|
|
299
|
+
$unknown: [string, any];
|
|
300
|
+
}
|
|
301
|
+
interface Visitor<T> {
|
|
302
|
+
WallClockWindow: (value: WallClockWindow) => T;
|
|
303
|
+
SlidingWindow: (value: SlidingWindow) => T;
|
|
304
|
+
_: (name: string, value: any) => T;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
277
307
|
export interface MetricAlarm {
|
|
278
308
|
AlarmName?: string | undefined;
|
|
279
309
|
AlarmArn?: string | undefined;
|
|
@@ -304,6 +334,7 @@ export interface MetricAlarm {
|
|
|
304
334
|
ThresholdMetricId?: string | undefined;
|
|
305
335
|
EvaluationState?: EvaluationState | undefined;
|
|
306
336
|
StateTransitionedTimestamp?: Date | undefined;
|
|
337
|
+
EvaluationWindow?: EvaluationWindow | undefined;
|
|
307
338
|
EvaluationCriteria?: EvaluationCriteria | undefined;
|
|
308
339
|
EvaluationInterval?: number | undefined;
|
|
309
340
|
}
|
|
@@ -739,6 +770,7 @@ export interface PutMetricAlarmInput {
|
|
|
739
770
|
Metrics?: MetricDataQuery[] | undefined;
|
|
740
771
|
Tags?: Tag[] | undefined;
|
|
741
772
|
ThresholdMetricId?: string | undefined;
|
|
773
|
+
EvaluationWindow?: EvaluationWindow | undefined;
|
|
742
774
|
EvaluationCriteria?: EvaluationCriteria | undefined;
|
|
743
775
|
EvaluationInterval?: number | undefined;
|
|
744
776
|
}
|
|
@@ -26,7 +26,6 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
26
26
|
| number
|
|
27
27
|
| import("@smithy/types").Provider<number>;
|
|
28
28
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
29
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
30
29
|
streamCollector: (
|
|
31
30
|
stream:
|
|
32
31
|
| import("stream").Readable
|
|
@@ -48,6 +47,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
48
47
|
[setting: string]: unknown;
|
|
49
48
|
};
|
|
50
49
|
apiVersion: string;
|
|
50
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
51
51
|
urlParser: import("@smithy/types").UrlParser;
|
|
52
52
|
base64Decoder: import("@smithy/types").Decoder;
|
|
53
53
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -27,7 +27,6 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
27
27
|
| number
|
|
28
28
|
| import("@smithy/types").Provider<number>;
|
|
29
29
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
30
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
31
30
|
streamCollector: (
|
|
32
31
|
stream:
|
|
33
32
|
| import("stream").Readable
|
|
@@ -48,6 +47,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
48
47
|
[setting: string]: unknown;
|
|
49
48
|
};
|
|
50
49
|
apiVersion: string;
|
|
50
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
51
51
|
urlParser: import("@smithy/types").UrlParser;
|
|
52
52
|
base64Decoder: import("@smithy/types").Decoder;
|
|
53
53
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CloudWatchClientConfig } from "./CloudWatchClient";
|
|
2
2
|
export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
3
3
|
runtime: string;
|
|
4
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
5
4
|
requestHandler:
|
|
6
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
7
6
|
| import("@smithy/types").FetchHttpHandlerOptions
|
|
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
18
17
|
[setting: string]: unknown;
|
|
19
18
|
};
|
|
20
19
|
apiVersion: string;
|
|
20
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: CloudWatchClientConfig) => {
|
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
};
|
|
26
26
|
serviceId: string;
|
|
27
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
28
|
urlParser: import("@smithy/types").UrlParser;
|
|
28
29
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
29
30
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -147,6 +147,7 @@ export declare var ScheduleConfiguration$: StaticStructureSchema;
|
|
|
147
147
|
export declare var ScheduledQueryConfiguration$: StaticStructureSchema;
|
|
148
148
|
export declare var SetAlarmStateInput$: StaticStructureSchema;
|
|
149
149
|
export declare var SingleMetricAnomalyDetector$: StaticStructureSchema;
|
|
150
|
+
export declare var SlidingWindow$: StaticStructureSchema;
|
|
150
151
|
export declare var StartMetricStreamsInput$: StaticStructureSchema;
|
|
151
152
|
export declare var StartMetricStreamsOutput$: StaticStructureSchema;
|
|
152
153
|
export declare var StartOTelEnrichmentInput$: StaticStructureSchema;
|
|
@@ -161,7 +162,9 @@ export declare var TagResourceInput$: StaticStructureSchema;
|
|
|
161
162
|
export declare var TagResourceOutput$: StaticStructureSchema;
|
|
162
163
|
export declare var UntagResourceInput$: StaticStructureSchema;
|
|
163
164
|
export declare var UntagResourceOutput$: StaticStructureSchema;
|
|
165
|
+
export declare var WallClockWindow$: StaticStructureSchema;
|
|
164
166
|
export declare var EvaluationCriteria$: StaticUnionSchema;
|
|
167
|
+
export declare var EvaluationWindow$: StaticUnionSchema;
|
|
165
168
|
export declare var AssociateDatasetKmsKey$: StaticOperationSchema;
|
|
166
169
|
export declare var DeleteAlarmMuteRule$: StaticOperationSchema;
|
|
167
170
|
export declare var DeleteAlarms$: StaticOperationSchema;
|
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.1077.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -25,20 +25,18 @@
|
|
|
25
25
|
"module": "./dist-es/index.js",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-
|
|
29
|
-
"@aws-
|
|
30
|
-
"@aws-sdk/core": "^3.974.24",
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.59",
|
|
28
|
+
"@aws-sdk/core": "^3.974.25",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.60",
|
|
32
30
|
"@aws-sdk/types": "^3.973.14",
|
|
33
|
-
"@smithy/core": "^3.
|
|
34
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
35
|
-
"@smithy/middleware-compression": "^4.5.
|
|
36
|
-
"@smithy/node-http-handler": "^4.9.
|
|
31
|
+
"@smithy/core": "^3.28.0",
|
|
32
|
+
"@smithy/fetch-http-handler": "^5.6.1",
|
|
33
|
+
"@smithy/middleware-compression": "^4.5.4",
|
|
34
|
+
"@smithy/node-http-handler": "^4.9.1",
|
|
37
35
|
"@smithy/types": "^4.15.0",
|
|
38
36
|
"tslib": "^2.6.2"
|
|
39
37
|
},
|
|
40
38
|
"devDependencies": {
|
|
41
|
-
"@smithy/snapshot-testing": "^2.2.
|
|
39
|
+
"@smithy/snapshot-testing": "^2.2.4",
|
|
42
40
|
"@tsconfig/node20": "20.1.8",
|
|
43
41
|
"@types/node": "^20.14.8",
|
|
44
42
|
"concurrently": "7.0.0",
|