Skip to content

Commit

Permalink
feat(client-cloudwatch): Various quota increases related to dimension…
Browse files Browse the repository at this point in the history
…s and custom metrics
  • Loading branch information
awstools committed Aug 9, 2022
1 parent de2e7f3 commit e4f6fb5
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 25 deletions.
16 changes: 12 additions & 4 deletions clients/client-cloudwatch/src/CloudWatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,15 @@ export class CloudWatch extends CloudWatchClient {
}

/**
* <p>Deletes the specified anomaly detection model from your account.</p>
* <p>
* Deletes the specified anomaly detection model
* from your account.
* For more information
* about
* how to delete an anomaly detection model,
* 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>
* in the <i>CloudWatch User Guide</i>.
* </p>
*/
public deleteAnomalyDetector(
args: DeleteAnomalyDetectorCommandInput,
Expand Down Expand Up @@ -1466,14 +1474,14 @@ export class CloudWatch extends CloudWatchClient {
* the <code>Values</code> and <code>Counts</code> method enables you to publish up to 150 values per metric
* with one <code>PutMetricData</code> request, and
* supports retrieving percentile statistics on this data.</p>
* <p>Each <code>PutMetricData</code> request is limited to 40 KB in size for HTTP POST requests. You can
* <p>Each <code>PutMetricData</code> request is limited to 1 MB in size for HTTP POST requests. You can
* send a payload compressed by gzip. Each request
* is also limited to no more than 20 different metrics.</p>
* is also limited to no more than 1000 different metrics.</p>
* <p>Although the <code>Value</code> parameter accepts numbers of type
* <code>Double</code>, CloudWatch rejects values that are either too small
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
* -Infinity) are not supported.</p>
* <p>You can use up to 10 dimensions per metric to further clarify what data the metric collects. Each dimension
* <p>You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension
* 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
* <i>Amazon CloudWatch User Guide</i>.</p>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,15 @@ export interface DeleteAnomalyDetectorCommandInput extends DeleteAnomalyDetector
export interface DeleteAnomalyDetectorCommandOutput extends DeleteAnomalyDetectorOutput, __MetadataBearer {}

/**
* <p>Deletes the specified anomaly detection model from your account.</p>
* <p>
* Deletes the specified anomaly detection model
* from your account.
* For more information
* about
* how to delete an anomaly detection model,
* 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>
* in the <i>CloudWatch User Guide</i>.
* </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ export interface PutMetricDataCommandOutput extends __MetadataBearer {}
* the <code>Values</code> and <code>Counts</code> method enables you to publish up to 150 values per metric
* with one <code>PutMetricData</code> request, and
* supports retrieving percentile statistics on this data.</p>
* <p>Each <code>PutMetricData</code> request is limited to 40 KB in size for HTTP POST requests. You can
* <p>Each <code>PutMetricData</code> request is limited to 1 MB in size for HTTP POST requests. You can
* send a payload compressed by gzip. Each request
* is also limited to no more than 20 different metrics.</p>
* is also limited to no more than 1000 different metrics.</p>
* <p>Although the <code>Value</code> parameter accepts numbers of type
* <code>Double</code>, CloudWatch rejects values that are either too small
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
* -Infinity) are not supported.</p>
* <p>You can use up to 10 dimensions per metric to further clarify what data the metric collects. Each dimension
* <p>You can use up to 30 dimensions per metric to further clarify what data the metric collects. Each dimension
* 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
* <i>Amazon CloudWatch User Guide</i>.</p>
*
Expand Down
8 changes: 4 additions & 4 deletions clients/client-cloudwatch/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export interface AnomalyDetectorConfiguration {
* your metrics, you are creating a new variation of that metric. For example, many Amazon EC2 metrics publish
* <code>InstanceId</code> as a dimension name, and the actual instance ID as the value for that dimension.</p>
* <p>You
* can assign up to 10 dimensions to a metric.</p>
* can assign up to 30 dimensions to a metric.</p>
*/
export interface Dimension {
/**
Expand Down Expand Up @@ -3095,7 +3095,7 @@ export interface PutMetricAlarmInput {
* works as intended.</p>
* <p>However, if the metric is published with multiple types of units and you don't specify a unit, the alarm's
* behavior is not defined and
* it behaves predictably.</p>
* it behaves unpredictably.</p>
* <p>We recommend omitting <code>Unit</code> so that you don't inadvertently
* specify an incorrect unit that is not published for this metric. Doing so
* causes the alarm to be stuck in the <code>INSUFFICIENT DATA</code> state.</p>
Expand Down Expand Up @@ -3258,7 +3258,7 @@ export interface MetricDatum {
/**
* <p>Array of numbers representing the values for the metric during the period. Each unique value is listed just once
* in this array, and the corresponding number in the <code>Counts</code> array specifies the number of times that value occurred during the period.
* You can include up to 150 unique values in each <code>PutMetricData</code> action that specifies a <code>Values</code> array.</p>
* You can include up to 500 unique values in each <code>PutMetricData</code> action that specifies a <code>Values</code> array.</p>
* <p>Although the <code>Values</code> array accepts numbers of type
* <code>Double</code>, CloudWatch rejects values that are either too small
* or too large. Values must be in the range of -2^360 to 2^360. In addition, special values (for example, NaN, +Infinity,
Expand Down Expand Up @@ -3304,7 +3304,7 @@ export interface PutMetricDataInput {
Namespace: string | undefined;

/**
* <p>The data for the metric. The array can include no more than 20 metrics per call.</p>
* <p>The data for the metric. The array can include no more than 1000 metrics per call.</p>
*/
MetricData: MetricDatum[] | undefined;
}
Expand Down
Loading

0 comments on commit e4f6fb5

Please sign in to comment.