@aws-sdk/client-cloudwatch 3.142.0 → 3.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.150.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.149.0...v3.150.0) (2022-08-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudwatch
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.146.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.145.0...v3.146.0) (2022-08-09)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-cloudwatch:** Various quota increases related to dimensions and custom metrics ([e4f6fb5](https://github.com/aws/aws-sdk-js-v3/commit/e4f6fb583df1eaca859392e5ddc9252c0a62396e))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.145.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.144.0...v3.145.0) (2022-08-08)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudwatch
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.142.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.141.0...v3.142.0) (2022-08-02)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -76,7 +76,15 @@ export declare class CloudWatch extends CloudWatchClient {
|
|
|
76
76
|
deleteAlarms(args: DeleteAlarmsCommandInput, cb: (err: any, data?: DeleteAlarmsCommandOutput) => void): void;
|
|
77
77
|
deleteAlarms(args: DeleteAlarmsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlarmsCommandOutput) => void): void;
|
|
78
78
|
/**
|
|
79
|
-
* <p>
|
|
79
|
+
* <p>
|
|
80
|
+
* Deletes the specified anomaly detection model
|
|
81
|
+
* from your account.
|
|
82
|
+
* For more information
|
|
83
|
+
* about
|
|
84
|
+
* how to delete an anomaly detection model,
|
|
85
|
+
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Anomaly_Detection_Alarm.html#Delete_Anomaly_Detection_Model">Deleting an anomaly detection model</a>
|
|
86
|
+
* in the <i>CloudWatch User Guide</i>.
|
|
87
|
+
* </p>
|
|
80
88
|
*/
|
|
81
89
|
deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAnomalyDetectorCommandOutput>;
|
|
82
90
|
deleteAnomalyDetector(args: DeleteAnomalyDetectorCommandInput, cb: (err: any, data?: DeleteAnomalyDetectorCommandOutput) => void): void;
|
|
@@ -588,14 +596,14 @@ export declare class CloudWatch extends CloudWatchClient {
|
|
|
588
596
|
* the <code>Values</code> and <code>Counts</code> method enables you to publish up to 150 values per metric
|
|
589
597
|
* with one <code>PutMetricData</code> request, and
|
|
590
598
|
* supports retrieving percentile statistics on this data.</p>
|
|
591
|
-
* <p>Each <code>PutMetricData</code> request is limited to
|
|
599
|
+
* <p>Each <code>PutMetricData</code> request is limited to 1 MB in size for HTTP POST requests. You can
|
|
592
600
|
* send a payload compressed by gzip. Each request
|
|
593
|
-
* is also limited to no more than
|
|
601
|
+
* is also limited to no more than 1000 different metrics.</p>
|
|
594
602
|
* <p>Although the <code>Value</code> parameter accepts numbers of type
|
|
595
603
|
* <code>Double</code>, CloudWatch rejects values that are either too small
|
|
596
604
|
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
|
|
597
605
|
* -Infinity) are not supported.</p>
|
|
598
|
-
* <p>You can use up to
|
|
606
|
+
* <p>You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension
|
|
599
607
|
* consists of a Name and Value pair. For more information about specifying dimensions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html">Publishing Metrics</a> in the
|
|
600
608
|
* <i>Amazon CloudWatch User Guide</i>.</p>
|
|
601
609
|
*
|
|
@@ -7,7 +7,15 @@ export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetector
|
|
|
7
7
|
export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetectorOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
10
|
+
* <p>
|
|
11
|
+
* Deletes the specified anomaly detection model
|
|
12
|
+
* from your account.
|
|
13
|
+
* For more information
|
|
14
|
+
* about
|
|
15
|
+
* how to delete an anomaly detection model,
|
|
16
|
+
* see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Anomaly_Detection_Alarm.html#Delete_Anomaly_Detection_Model">Deleting an anomaly detection model</a>
|
|
17
|
+
* in the <i>CloudWatch User Guide</i>.
|
|
18
|
+
* </p>
|
|
11
19
|
* @example
|
|
12
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
21
|
* ```javascript
|
|
@@ -18,14 +18,14 @@ export interface PutMetricDataCommandOutput extends __MetadataBearer {
|
|
|
18
18
|
* the <code>Values</code> and <code>Counts</code> method enables you to publish up to 150 values per metric
|
|
19
19
|
* with one <code>PutMetricData</code> request, and
|
|
20
20
|
* supports retrieving percentile statistics on this data.</p>
|
|
21
|
-
* <p>Each <code>PutMetricData</code> request is limited to
|
|
21
|
+
* <p>Each <code>PutMetricData</code> request is limited to 1 MB in size for HTTP POST requests. You can
|
|
22
22
|
* send a payload compressed by gzip. Each request
|
|
23
|
-
* is also limited to no more than
|
|
23
|
+
* is also limited to no more than 1000 different metrics.</p>
|
|
24
24
|
* <p>Although the <code>Value</code> parameter accepts numbers of type
|
|
25
25
|
* <code>Double</code>, CloudWatch rejects values that are either too small
|
|
26
26
|
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
|
|
27
27
|
* -Infinity) are not supported.</p>
|
|
28
|
-
* <p>You can use up to
|
|
28
|
+
* <p>You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension
|
|
29
29
|
* consists of a Name and Value pair. For more information about specifying dimensions, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html">Publishing Metrics</a> in the
|
|
30
30
|
* <i>Amazon CloudWatch User Guide</i>.</p>
|
|
31
31
|
*
|
|
@@ -79,7 +79,7 @@ export interface AnomalyDetectorConfiguration {
|
|
|
79
79
|
* your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish
|
|
80
80
|
* <code>InstanceId</code> as a dimension name, and the actual instance ID as the value for that dimension.</p>
|
|
81
81
|
* <p>You
|
|
82
|
-
* can assign up to
|
|
82
|
+
* can assign up to 30 dimensions to a metric.</p>
|
|
83
83
|
*/
|
|
84
84
|
export interface Dimension {
|
|
85
85
|
/**
|
|
@@ -2631,7 +2631,7 @@ export interface PutMetricAlarmInput {
|
|
|
2631
2631
|
* works as intended.</p>
|
|
2632
2632
|
* <p>However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's
|
|
2633
2633
|
* behavior is not defined and
|
|
2634
|
-
* it behaves
|
|
2634
|
+
* it behaves unpredictably.</p>
|
|
2635
2635
|
* <p>We recommend omitting <code>Unit</code> so that you don't inadvertently
|
|
2636
2636
|
* specify an incorrect unit that is not published for this metric. Doing so
|
|
2637
2637
|
* causes the alarm to be stuck in the <code>INSUFFICIENT DATA</code> state.</p>
|
|
@@ -2775,7 +2775,7 @@ export interface MetricDatum {
|
|
|
2775
2775
|
/**
|
|
2776
2776
|
* <p>Array of numbers representing the values for the metric during the period. Each unique value is listed just once
|
|
2777
2777
|
* in this array, and the corresponding number in the <code>Counts</code> array specifies the number of times that value occurred during the period.
|
|
2778
|
-
* You can include up to
|
|
2778
|
+
* You can include up to 500 unique values in each <code>PutMetricData</code> action that specifies a <code>Values</code> array.</p>
|
|
2779
2779
|
* <p>Although the <code>Values</code> array accepts numbers of type
|
|
2780
2780
|
* <code>Double</code>, CloudWatch rejects values that are either too small
|
|
2781
2781
|
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
|
|
@@ -2816,7 +2816,7 @@ export interface PutMetricDataInput {
|
|
|
2816
2816
|
*/
|
|
2817
2817
|
Namespace: string | undefined;
|
|
2818
2818
|
/**
|
|
2819
|
-
* <p>The data for the metric. The array can include no more than
|
|
2819
|
+
* <p>The data for the metric. The array can include no more than 1000 metrics per call.</p>
|
|
2820
2820
|
*/
|
|
2821
2821
|
MetricData: MetricDatum[] | undefined;
|
|
2822
2822
|
}
|
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.150.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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.150.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.130.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.150.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.131.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.127.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
@@ -64,6 +64,11 @@
|
|
|
64
64
|
"typedoc": "0.19.2",
|
|
65
65
|
"typescript": "~4.6.2"
|
|
66
66
|
},
|
|
67
|
+
"overrides": {
|
|
68
|
+
"typedoc": {
|
|
69
|
+
"typescript": "~4.6.2"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
67
72
|
"engines": {
|
|
68
73
|
"node": ">=12.0.0"
|
|
69
74
|
},
|