Skip to content

Commit e4f6fb5

Browse files
author
awstools
committed
feat(client-cloudwatch): Various quota increases related to dimensions and custom metrics
1 parent de2e7f3 commit e4f6fb5

File tree

5 files changed

+38
-25
lines changed

5 files changed

+38
-25
lines changed

clients/client-cloudwatch/src/CloudWatch.ts

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,15 @@ export class CloudWatch extends CloudWatchClient {
238238
}
239239

240240
/**
241-
* <p>Deletes the specified anomaly detection model from your account.</p>
241+
* <p>
242+
* Deletes the specified anomaly detection model
243+
* from your account.
244+
* For more information
245+
* about
246+
* how to delete an anomaly detection model,
247+
* 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>
248+
* in the <i>CloudWatch User Guide</i>.
249+
* </p>
242250
*/
243251
public deleteAnomalyDetector(
244252
args: DeleteAnomalyDetectorCommandInput,
@@ -1466,14 +1474,14 @@ export class CloudWatch extends CloudWatchClient {
14661474
* the <code>Values</code> and <code>Counts</code> method enables you to publish up to 150 values per metric
14671475
* with one <code>PutMetricData</code> request, and
14681476
* supports retrieving percentile statistics on this data.</p>
1469-
* <p>Each <code>PutMetricData</code> request is limited to 40 KB in size for HTTP POST requests. You can
1477+
* <p>Each <code>PutMetricData</code> request is limited to 1 MB in size for HTTP POST requests. You can
14701478
* send a payload compressed by gzip. Each request
1471-
* is also limited to no more than 20 different metrics.</p>
1479+
* is also limited to no more than 1000 different metrics.</p>
14721480
* <p>Although the <code>Value</code> parameter accepts numbers of type
14731481
* <code>Double</code>, CloudWatch rejects values that are either too small
14741482
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
14751483
* -Infinity) are not supported.</p>
1476-
* <p>You can use up to 10 dimensions per metric to further clarify what data the metric collects. Each dimension
1484+
* <p>You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension
14771485
* 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
14781486
* <i>Amazon CloudWatch User Guide</i>.</p>
14791487
*

clients/client-cloudwatch/src/commands/DeleteAnomalyDetectorCommand.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@ export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetector
2828
export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetectorOutput, __MetadataBearer {}
2929

3030
/**
31-
* <p>Deletes the specified anomaly detection model from your account.</p>
31+
* <p>
32+
* Deletes the specified anomaly detection model
33+
* from your account.
34+
* For more information
35+
* about
36+
* how to delete an anomaly detection model,
37+
* 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>
38+
* in the <i>CloudWatch User Guide</i>.
39+
* </p>
3240
* @example
3341
* Use a bare-bones client and the command you need to make an API call.
3442
* ```javascript

clients/client-cloudwatch/src/commands/PutMetricDataCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ export interface PutMetricDataCommandOutput extends __MetadataBearer {}
3434
* the <code>Values</code> and <code>Counts</code> method enables you to publish up to 150 values per metric
3535
* with one <code>PutMetricData</code> request, and
3636
* supports retrieving percentile statistics on this data.</p>
37-
* <p>Each <code>PutMetricData</code> request is limited to 40 KB in size for HTTP POST requests. You can
37+
* <p>Each <code>PutMetricData</code> request is limited to 1 MB in size for HTTP POST requests. You can
3838
* send a payload compressed by gzip. Each request
39-
* is also limited to no more than 20 different metrics.</p>
39+
* is also limited to no more than 1000 different metrics.</p>
4040
* <p>Although the <code>Value</code> parameter accepts numbers of type
4141
* <code>Double</code>, CloudWatch rejects values that are either too small
4242
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
4343
* -Infinity) are not supported.</p>
44-
* <p>You can use up to 10 dimensions per metric to further clarify what data the metric collects. Each dimension
44+
* <p>You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension
4545
* 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
4646
* <i>Amazon CloudWatch User Guide</i>.</p>
4747
*

clients/client-cloudwatch/src/models/models_0.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export interface AnomalyDetectorConfiguration {
9595
* your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish
9696
* <code>InstanceId</code> as a dimension name, and the actual instance ID as the value for that dimension.</p>
9797
* <p>You
98-
* can assign up to 10 dimensions to a metric.</p>
98+
* can assign up to 30 dimensions to a metric.</p>
9999
*/
100100
export interface Dimension {
101101
/**
@@ -3095,7 +3095,7 @@ export interface PutMetricAlarmInput {
30953095
* works as intended.</p>
30963096
* <p>However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's
30973097
* behavior is not defined and
3098-
* it behaves predictably.</p>
3098+
* it behaves unpredictably.</p>
30993099
* <p>We recommend omitting <code>Unit</code> so that you don't inadvertently
31003100
* specify an incorrect unit that is not published for this metric. Doing so
31013101
* causes the alarm to be stuck in the <code>INSUFFICIENT DATA</code> state.</p>
@@ -3258,7 +3258,7 @@ export interface MetricDatum {
32583258
/**
32593259
* <p>Array of numbers representing the values for the metric during the period. Each unique value is listed just once
32603260
* in this array, and the corresponding number in the <code>Counts</code> array specifies the number of times that value occurred during the period.
3261-
* You can include up to 150 unique values in each <code>PutMetricData</code> action that specifies a <code>Values</code> array.</p>
3261+
* You can include up to 500 unique values in each <code>PutMetricData</code> action that specifies a <code>Values</code> array.</p>
32623262
* <p>Although the <code>Values</code> array accepts numbers of type
32633263
* <code>Double</code>, CloudWatch rejects values that are either too small
32643264
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
@@ -3304,7 +3304,7 @@ export interface PutMetricDataInput {
33043304
Namespace: string | undefined;
33053305

33063306
/**
3307-
* <p>The data for the metric. The array can include no more than 20 metrics per call.</p>
3307+
* <p>The data for the metric. The array can include no more than 1000 metrics per call.</p>
33083308
*/
33093309
MetricData: MetricDatum[] | undefined;
33103310
}

0 commit comments

Comments
 (0)