Frends.AmazonCloudWatch.ListMetrics / 1.0.0
Summary
Lists metrics available in Amazon CloudWatch, one page per call.
Essential parameters. All filters are optional; leave them empty to list all metrics.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| Namespace | String |
– | AWS/EC2 |
Namespace to filter by. Only exact matches are returned. |
| MetricName | String |
– | CPUUtilization |
Name of the metric to filter by. Only exact matches are returned. |
| Dimensions | DimensionFilter[] |
– | [{ Name = "InstanceId", Value = "i-1234567890abcdef0" }] |
Dimensions to filter by. Only metrics having all the given dimensions are returned. Leave the value of a filter empty to match any value of that dimension. |
| RecentlyActive | Boolean |
False |
false |
Return only metrics that have had data points published in the past three hours. |
| IncludeLinkedAccounts | Boolean |
False |
false |
When used in a CloudWatch cross-account monitoring account, include metrics from the linked source accounts. |
| OwningAccount | String |
– | 123456789012 |
ID of a single source account to return metrics from. Leave empty to return metrics from all linked accounts. |
| NextToken | String |
– | eyJOZXh0VG9rZW4iOiJ... |
Token returned in the result of a previous call to get the next page of metrics. Leave empty to get the first page. |