Module Values.DescribeAlarmsForMetricInputSource

Retrieves the alarms for the specified metric. To filter the results, specify a statistic, period, or unit. This operation retrieves only standard alarms that are based on the specified metric. It does not return alarms based on math expressions that use the specified metric, or composite alarms that use the specified metric.

Sourcetype nonrec t = {
  1. metricName : MetricName.t;
    (*

    The name of the metric.

    *)
  2. namespace : Namespace.t;
    (*

    The namespace of the metric.

    *)
  3. statistic : Statistic.t option;
    (*

    The statistic for the metric, other than percentiles. For percentile statistics, use ExtendedStatistics.

    *)
  4. extendedStatistic : ExtendedStatistic.t option;
    (*

    The percentile statistic for the metric. Specify a value between p0.0 and p100.

    *)
  5. dimensions : Dimensions.t option;
    (*

    The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.

    *)
  6. period : Period.t option;
    (*

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

    *)
  7. unit : StandardUnit.t option;
    (*

    The unit for the metric.

    *)
}
Sourceval context_ : string
Sourceval make : ?statistic:??? -> ?extendedStatistic:??? -> ?dimensions:??? -> ?period:??? -> ?unit:??? -> metricName:MetricName.t -> namespace:Namespace.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Period.t | `List of [> `Structure of (string * [> `String of DimensionName.t ]) list ] list | `String of MetricName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t