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): Adds cross-account support to the GetMetricData API. Adds cross-account support to the ListMetrics API through the usage of the IncludeLinkedAccounts flag and the new OwningAccounts field.
Copy file name to clipboardExpand all lines: clients/client-cloudwatch/src/CloudWatch.ts
+21-21Lines changed: 21 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -216,7 +216,7 @@ export class CloudWatch extends CloudWatchClient {
216
216
* because there is always still a composite alarm that depends on that alarm that you want to delete.</p>
217
217
* <p>To get out of such a situation, you must
218
218
* break the cycle by changing the rule of one of the composite alarms in the cycle to remove a dependency that creates the cycle. The simplest
219
-
* change to make to break a cycle is to change the <code>AlarmRule</code> of one of the alarms to <code>False</code>. </p>
219
+
* change to make to break a cycle is to change the <code>AlarmRule</code> of one of the alarms to <code>false</code>. </p>
220
220
* <p>Additionally, the evaluation of composite alarms stops if CloudWatch detects a cycle in the evaluation path.
221
221
* </p>
222
222
* </note>
@@ -1128,14 +1128,15 @@ export class CloudWatch extends CloudWatchClient {
1128
1128
}
1129
1129
1130
1130
/**
1131
-
* <p>List the specified metrics. You can use the returned metrics with
1132
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or
1133
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html">GetMetricStatistics</a> to obtain statistical data.</p>
1131
+
* <p>List the specified metrics. You can use the returned metrics with <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html">GetMetricStatistics</a> to get statistical data.</p>
1134
1132
* <p>Up to 500 results are returned for any one call. To retrieve additional results,
1135
1133
* use the returned token with subsequent calls.</p>
1136
-
* <p>After you create a metric, allow up to 15 minutes before the metric appears.
1137
-
* You can see statistics about the metric sooner by using <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or
* <p>After you create a metric, allow up to 15 minutes for the metric to appear. To see metric
1135
+
* statistics sooner, use <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html">GetMetricStatistics</a>.</p>
1136
+
*
1137
+
* <p>If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and
1138
+
* view metrics from the linked source accounts. For more information, see
* <p>List the specified metrics. You can use the returned metrics with
30
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or
31
-
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html">GetMetricStatistics</a> to obtain statistical data.</p>
29
+
* <p>List the specified metrics. You can use the returned metrics with <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html">GetMetricStatistics</a> to get statistical data.</p>
32
30
* <p>Up to 500 results are returned for any one call. To retrieve additional results,
33
31
* use the returned token with subsequent calls.</p>
34
-
* <p>After you create a metric, allow up to 15 minutes before the metric appears.
35
-
* You can see statistics about the metric sooner by using <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or
* <p>After you create a metric, allow up to 15 minutes for the metric to appear. To see metric
33
+
* statistics sooner, use <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html">GetMetricData</a> or <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html">GetMetricStatistics</a>.</p>
34
+
*
35
+
* <p>If you are using CloudWatch cross-account observability, you can use this operation in a monitoring account and
36
+
* view metrics from the linked source accounts. For more information, see
0 commit comments