Module Values.DescribeAlarmsForMetricOutputSource

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 describeAlarmsForMetricResult = {
  1. metricAlarms : MetricAlarms.t option;
    (*

    The information for each alarm with the specified metric.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. describeAlarmsForMetricResult : describeAlarmsForMetricResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?metricAlarms:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of ActionsEnabled.t | `Double of Threshold.t | `Enum of string | `Integer of Period.t | `List of [> `String of ResourceName.t | `Structure of (string * [> `Boolean of ReturnData.t | `Integer of Period.t | `String of DimensionName.t | `Structure of (string * [> `Enum of string | `Integer of Period.t | `String of Stat.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of DimensionName.t ]) list ] list | `String of Namespace.t ]) list ]) list ]) list ] list | `String of AlarmName.t | `Structure of (string * [> `Structure of (string * [> `Integer of PendingPeriod.t | `String of Query.t ]) list ]) list | `Timestamp of Timestamp.t ]) list ] list ]) list ]) 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