class
Amazonite::CloudWatch::ListMetricsInput
- Amazonite::CloudWatch::ListMetricsInput
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cloudwatch/list_metrics_input.crConstructors
- .new(pull : JSON::PullParser)
- .new(namespace : String | Nil = nil, metric_name : String | Nil = nil, dimensions : Array(DimensionFilter) | Nil = nil, next_token : String | Nil = nil, recently_active : RecentlyActive | Nil = nil, include_linked_accounts : Bool | Nil = nil, owning_account : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#dimensions : Array(DimensionFilter) | Nil
The dimensions to filter against.
-
#dimensions=(dimensions : Array(DimensionFilter) | Nil)
The dimensions to filter against.
-
#hash(hasher)
See
Object#hash(hasher) -
#include_linked_accounts : Bool | Nil
If you are using this operation in a monitoring account, specify
trueto include metrics from source accounts in the returned data. -
#include_linked_accounts=(include_linked_accounts : Bool | Nil)
If you are using this operation in a monitoring account, specify
trueto include metrics from source accounts in the returned data. -
#metric_name : String | Nil
The name of the metric to filter against.
-
#metric_name=(metric_name : String | Nil)
The name of the metric to filter against.
-
#namespace : String | Nil
The metric namespace to filter against.
-
#namespace=(namespace : String | Nil)
The metric namespace to filter against.
-
#next_token : String | Nil
The token returned by a previous call to indicate that there is more data available.
-
#next_token=(next_token : String | Nil)
The token returned by a previous call to indicate that there is more data available.
-
#owning_account : String | Nil
When you use this operation in a monitoring account, use this field to return metrics only from one source account.
-
#owning_account=(owning_account : String | Nil)
When you use this operation in a monitoring account, use this field to return metrics only from one source account.
-
#recently_active : RecentlyActive | Nil
To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of
PT3H. -
#recently_active=(recently_active : RecentlyActive | Nil)
To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of
PT3H. - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The dimensions to filter against. Only the dimension with names that match exactly will be returned. If you specify one dimension name and a metric has that dimension and also other dimensions, it will be returned.
The dimensions to filter against. Only the dimension with names that match exactly will be returned. If you specify one dimension name and a metric has that dimension and also other dimensions, it will be returned.
If you are using this operation in a monitoring account, specify true to include metrics from
source accounts in the returned data.
The default is false.
If you are using this operation in a monitoring account, specify true to include metrics from
source accounts in the returned data.
The default is false.
The name of the metric to filter against. Only the metrics with names that match exactly will be returned.
The name of the metric to filter against. Only the metrics with names that match exactly will be returned.
The metric namespace to filter against. Only the namespace that matches exactly will be returned.
The metric namespace to filter against. Only the namespace that matches exactly will be returned.
The token returned by a previous call to indicate that there is more data available.
The token returned by a previous call to indicate that there is more data available.
When you use this operation in a monitoring account, use this field to return metrics only from
one source account. To do so, specify that source account ID in this field, and also specify
true for IncludeLinkedAccounts.
When you use this operation in a monitoring account, use this field to return metrics only from
one source account. To do so, specify that source account ID in this field, and also specify
true for IncludeLinkedAccounts.
To filter the results to show only metrics that have had data points published in the past three
hours, specify this parameter with a value of PT3H. This is the only valid value for this
parameter.
The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 50 minutes more than the specified time interval.
To filter the results to show only metrics that have had data points published in the past three
hours, specify this parameter with a value of PT3H. This is the only valid value for this
parameter.
The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 50 minutes more than the specified time interval.