AlarmMetricDataQuery

data class AlarmMetricDataQuery(val accountId: String? = null, val expression: String? = null, val id: String, val label: String? = null, val metricStat: AlarmMetricStat? = null, val period: Int? = null, val returnData: Boolean? = null)

This property type specifies the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a math expression on metric data.

Constructors

Link copied to clipboard
fun AlarmMetricDataQuery(accountId: String? = null, expression: String? = null, id: String, label: String? = null, metricStat: AlarmMetricStat? = null, period: Int? = null, returnData: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accountId: String? = null

The ID of the account where the metrics are located, if this is a cross-account alarm.

Link copied to clipboard
val expression: String? = null

The math expression to be performed on the returned data.

Link copied to clipboard
val id: String

A short name used to tie this object to the results in the response.

Link copied to clipboard
val label: String? = null

A human-readable label for this metric or expression.

Link copied to clipboard

The metric to be returned, along with statistics, period, and units.

Link copied to clipboard
val period: Int? = null

The period in seconds, over which the statistic is applied.

Link copied to clipboard
val returnData: Boolean? = null

This option indicates whether to return the timestamps and raw data values of this metric.