You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-cloudwatch): This release adds support for CloudWatch Anomaly Detection on cross-account metrics. SingleMetricAnomalyDetector and MetricDataQuery inputs to Anomaly Detection APIs now take an optional AccountId field.
* <p>Creates an anomaly detection model for a CloudWatch metric. You can use the model
31
31
* to display a band of expected normal values when the metric is graphed.</p>
32
+
* <p>If you have enabled unified cross-account observability, and this account is a monitoring
33
+
* account, the metric can be in the same account or a source account. You can specify the account ID
34
+
* in the object you specify in the <code>SingleMetricAnomalyDetector</code> parameter.</p>
32
35
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Anomaly_Detection.html">CloudWatch Anomaly Detection</a>.</p>
33
36
* @example
34
37
* Use a bare-bones client and the command you need to make an API call.
* take up to fifteen minutes for the metric to appear in calls to <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html">ListMetrics</a>.</p>
35
35
* <p>You can publish either individual data points in the <code>Value</code> field, or
36
36
* arrays of values and the number of times each value occurred during the period by using the
37
-
* <code>Values</code> and <code>Counts</code> fields in the <code>MetricDatum</code> structure. Using
37
+
* <code>Values</code> and <code>Counts</code> fields in the <code>MetricData</code> structure. Using
38
38
* the <code>Values</code> and <code>Counts</code> method enables you to publish up to 150 values per metric
39
39
* with one <code>PutMetricData</code> request, and
40
40
* supports retrieving percentile statistics on this data.</p>
* <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
3573
+
* </code>
3574
+
* </p>
3575
+
* </li>
3576
+
* <li>
3577
+
* <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
3578
+
* </code>
3579
+
* </p>
3580
+
* </li>
3581
+
* <li>
3582
+
* <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
* <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
3695
+
* </code>
3696
+
* </p>
3697
+
* </li>
3698
+
* <li>
3699
+
* <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
3700
+
* </code>
3701
+
* </p>
3702
+
* </li>
3703
+
* <li>
3704
+
* <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
3705
+
* </code>
3706
+
* </p>
3707
+
* </li>
3708
+
* </ul>
3642
3709
* @public
3643
3710
*/
3644
3711
InsufficientDataActions?: string[];
3645
3712
3646
3713
/**
3647
3714
* <p>The actions to execute when this alarm transitions to an <code>OK</code> state
3648
3715
* from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>
* <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
3730
+
* </code>
3731
+
* </p>
3732
+
* </li>
3733
+
* <li>
3734
+
* <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
3735
+
* </code>
3736
+
* </p>
3737
+
* </li>
3738
+
* <li>
3739
+
* <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
3740
+
* </code>
3741
+
* </p>
3742
+
* </li>
3743
+
* </ul>
3652
3744
* @public
3653
3745
*/
3654
3746
OKActions?: string[];
3655
3747
3656
3748
/**
3657
-
* <p>A list of key-value pairs to associate with the composite alarm. You can associate as many as 50 tags with an alarm.</p>
3658
-
* <p>Tags can help you organize and categorize your
3659
-
* resources. You can also use them to scope user permissions, by granting a user permission to access or change only resources with
3660
-
* certain tag values.</p>
3749
+
* <p>A list of key-value pairs to associate with the alarm. You can associate as many as 50 tags with an alarm.
3750
+
* To be able to associate tags with the alarm when you create the alarm, you must
3751
+
* have the <code>cloudwatch:TagResource</code> permission.</p>
3752
+
* <p>Tags can help you organize and categorize your resources. You can also use them to scope user
3753
+
* permissions by granting a user
3754
+
* permission to access or change only resources with certain tag values.</p>
3755
+
* <p>If you are using this operation to update an existing alarm, any tags
3756
+
* you specify in this parameter are ignored. To change the tags of an existing alarm, use
* <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
4087
+
* </code>
4088
+
* </p>
4089
+
* </li>
4090
+
* <li>
4091
+
* <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
4092
+
* </code>
4093
+
* </p>
4094
+
* </li>
4095
+
* <li>
4096
+
* <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
* <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
4198
+
* </code>
4199
+
* </p>
4200
+
* </li>
4201
+
* <li>
4202
+
* <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
4203
+
* </code>
4204
+
* </p>
4205
+
* </li>
4206
+
* <li>
4207
+
* <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
* <p>Invoke the latest version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>
4309
+
* </code>
4310
+
* </p>
4311
+
* </li>
4312
+
* <li>
4313
+
* <p>Invoke a specific version of a Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>version-number</i>
4314
+
* </code>
4315
+
* </p>
4316
+
* </li>
4317
+
* <li>
4318
+
* <p>Invoke a function by using an alias Lambda function: <code>arn:aws:lambda:<i>region</i>:<i>account-id</i>:function:<i>function-name</i>:<i>alias-name</i>
0 commit comments