@aws-sdk/client-cloudwatch 3.388.0 → 3.393.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.
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
5
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://monitoring.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://monitoring.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1188,8 +1188,13 @@ export interface DescribeAlarmsInput {
|
|
|
1188
1188
|
AlarmNamePrefix?: string;
|
|
1189
1189
|
/**
|
|
1190
1190
|
* @public
|
|
1191
|
-
* <p>Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you
|
|
1192
|
-
*
|
|
1191
|
+
* <p>Use this parameter to specify whether you want the operation to return metric alarms or composite alarms. If you
|
|
1192
|
+
* omit this parameter,
|
|
1193
|
+
* only metric alarms are returned, even if composite alarms exist in the account.</p>
|
|
1194
|
+
* <p>For example, if you omit this parameter or specify <code>MetricAlarms</code>, the operation returns only a list of metric
|
|
1195
|
+
* alarms. It does not return any composite alarms, even if composite alarms exist in the account.</p>
|
|
1196
|
+
* <p>If you specify <code>CompositeAlarms</code>, the operation returns only a list of composite
|
|
1197
|
+
* alarms, and does not return any metric alarms.</p>
|
|
1193
1198
|
*/
|
|
1194
1199
|
AlarmTypes?: (AlarmType | string)[];
|
|
1195
1200
|
/**
|
|
@@ -1863,7 +1868,7 @@ export interface GetInsightRuleReportInput {
|
|
|
1863
1868
|
Metrics?: string[];
|
|
1864
1869
|
/**
|
|
1865
1870
|
* @public
|
|
1866
|
-
* <p>Determines what statistic to use to rank the contributors. Valid values are
|
|
1871
|
+
* <p>Determines what statistic to use to rank the contributors. Valid values are <code>Sum</code> and <code>Maximum</code>.</p>
|
|
1867
1872
|
*/
|
|
1868
1873
|
OrderBy?: string;
|
|
1869
1874
|
}
|
|
@@ -3751,10 +3756,70 @@ export interface PutMetricAlarmInput {
|
|
|
3751
3756
|
Statistic?: Statistic | string;
|
|
3752
3757
|
/**
|
|
3753
3758
|
* @public
|
|
3754
|
-
* <p>The
|
|
3755
|
-
*
|
|
3759
|
+
* <p>The extended statistic for the metric specified in <code>MetricName</code>. When you
|
|
3760
|
+
* call <code>PutMetricAlarm</code> and specify
|
|
3756
3761
|
* a <code>MetricName</code>, you must
|
|
3757
|
-
* specify either <code>Statistic</code> or <code>ExtendedStatistic
|
|
3762
|
+
* specify either <code>Statistic</code> or <code>ExtendedStatistic</code> but not both.</p>
|
|
3763
|
+
* <p>If you specify <code>ExtendedStatistic</code>, the following are valid values:</p>
|
|
3764
|
+
* <ul>
|
|
3765
|
+
* <li>
|
|
3766
|
+
* <p>
|
|
3767
|
+
* <code>p90</code>
|
|
3768
|
+
* </p>
|
|
3769
|
+
* </li>
|
|
3770
|
+
* <li>
|
|
3771
|
+
* <p>
|
|
3772
|
+
* <code>tm90</code>
|
|
3773
|
+
* </p>
|
|
3774
|
+
* </li>
|
|
3775
|
+
* <li>
|
|
3776
|
+
* <p>
|
|
3777
|
+
* <code>tc90</code>
|
|
3778
|
+
* </p>
|
|
3779
|
+
* </li>
|
|
3780
|
+
* <li>
|
|
3781
|
+
* <p>
|
|
3782
|
+
* <code>ts90</code>
|
|
3783
|
+
* </p>
|
|
3784
|
+
* </li>
|
|
3785
|
+
* <li>
|
|
3786
|
+
* <p>
|
|
3787
|
+
* <code>wm90</code>
|
|
3788
|
+
* </p>
|
|
3789
|
+
* </li>
|
|
3790
|
+
* <li>
|
|
3791
|
+
* <p>
|
|
3792
|
+
* <code>IQM</code>
|
|
3793
|
+
* </p>
|
|
3794
|
+
* </li>
|
|
3795
|
+
* <li>
|
|
3796
|
+
* <p>
|
|
3797
|
+
* <code>PR(<i>n</i>:<i>m</i>)</code> where n and m are values
|
|
3798
|
+
* of the metric</p>
|
|
3799
|
+
* </li>
|
|
3800
|
+
* <li>
|
|
3801
|
+
* <p>
|
|
3802
|
+
* <code>TC(<i>X</i>%:<i>X</i>%)</code> where X is between
|
|
3803
|
+
* 10 and 90 inclusive.</p>
|
|
3804
|
+
* </li>
|
|
3805
|
+
* <li>
|
|
3806
|
+
* <p>
|
|
3807
|
+
* <code>TM(<i>X</i>%:<i>X</i>%)</code> where X is between
|
|
3808
|
+
* 10 and 90 inclusive.</p>
|
|
3809
|
+
* </li>
|
|
3810
|
+
* <li>
|
|
3811
|
+
* <p>
|
|
3812
|
+
* <code>TS(<i>X</i>%:<i>X</i>%)</code> where X is between
|
|
3813
|
+
* 10 and 90 inclusive.</p>
|
|
3814
|
+
* </li>
|
|
3815
|
+
* <li>
|
|
3816
|
+
* <p>
|
|
3817
|
+
* <code>WM(<i>X</i>%:<i>X</i>%)</code> where X is between
|
|
3818
|
+
* 10 and 90 inclusive.</p>
|
|
3819
|
+
* </li>
|
|
3820
|
+
* </ul>
|
|
3821
|
+
* <p>For more information about these extended statistics, see
|
|
3822
|
+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html">CloudWatch statistics definitions</a>.</p>
|
|
3758
3823
|
*/
|
|
3759
3824
|
ExtendedStatistic?: string;
|
|
3760
3825
|
/**
|
|
@@ -3873,7 +3938,9 @@ export interface PutMetricAlarmInput {
|
|
|
3873
3938
|
Metrics?: MetricDataQuery[];
|
|
3874
3939
|
/**
|
|
3875
3940
|
* @public
|
|
3876
|
-
* <p>A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm
|
|
3941
|
+
* <p>A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm.
|
|
3942
|
+
* To be able to associate tags with the alarm when you create the alarm, you must
|
|
3943
|
+
* have the <code>cloudwatch:TagResource</code> permission.</p>
|
|
3877
3944
|
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
|
|
3878
3945
|
* permissions by granting a user
|
|
3879
3946
|
* permission to access or change only resources with certain tag values.</p>
|
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.393.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,40 +21,40 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.0.
|
|
36
|
-
"@smithy/fetch-http-handler": "^2.0.
|
|
37
|
-
"@smithy/hash-node": "^2.0.
|
|
38
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
39
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^2.0.
|
|
41
|
-
"@smithy/middleware-retry": "^2.0.
|
|
42
|
-
"@smithy/middleware-serde": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.391.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.391.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.391.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.391.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.391.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.391.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.391.0",
|
|
31
|
+
"@aws-sdk/types": "3.391.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.391.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.391.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.391.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.0.3",
|
|
36
|
+
"@smithy/fetch-http-handler": "^2.0.3",
|
|
37
|
+
"@smithy/hash-node": "^2.0.3",
|
|
38
|
+
"@smithy/invalid-dependency": "^2.0.3",
|
|
39
|
+
"@smithy/middleware-content-length": "^2.0.3",
|
|
40
|
+
"@smithy/middleware-endpoint": "^2.0.3",
|
|
41
|
+
"@smithy/middleware-retry": "^2.0.3",
|
|
42
|
+
"@smithy/middleware-serde": "^2.0.3",
|
|
43
43
|
"@smithy/middleware-stack": "^2.0.0",
|
|
44
|
-
"@smithy/node-config-provider": "^2.0.
|
|
45
|
-
"@smithy/node-http-handler": "^2.0.
|
|
46
|
-
"@smithy/protocol-http": "^2.0.
|
|
47
|
-
"@smithy/smithy-client": "^2.0.
|
|
48
|
-
"@smithy/types": "^2.
|
|
49
|
-
"@smithy/url-parser": "^2.0.
|
|
44
|
+
"@smithy/node-config-provider": "^2.0.3",
|
|
45
|
+
"@smithy/node-http-handler": "^2.0.3",
|
|
46
|
+
"@smithy/protocol-http": "^2.0.3",
|
|
47
|
+
"@smithy/smithy-client": "^2.0.3",
|
|
48
|
+
"@smithy/types": "^2.2.0",
|
|
49
|
+
"@smithy/url-parser": "^2.0.3",
|
|
50
50
|
"@smithy/util-base64": "^2.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^2.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^2.0.3",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^2.0.3",
|
|
55
55
|
"@smithy/util-retry": "^2.0.0",
|
|
56
56
|
"@smithy/util-utf8": "^2.0.0",
|
|
57
|
-
"@smithy/util-waiter": "^2.0.
|
|
57
|
+
"@smithy/util-waiter": "^2.0.3",
|
|
58
58
|
"fast-xml-parser": "4.2.5",
|
|
59
59
|
"tslib": "^2.5.0"
|
|
60
60
|
},
|