Module Types.MetricAlarm
type t
=
{
alarm_name : Aws.BaseTypes.String.t option;
alarm_arn : Aws.BaseTypes.String.t option;
alarm_description : Aws.BaseTypes.String.t option;
alarm_configuration_updated_timestamp : Aws.BaseTypes.DateTime.t option;
actions_enabled : Aws.BaseTypes.Boolean.t option;
o_k_actions : ResourceList.t;
alarm_actions : ResourceList.t;
insufficient_data_actions : ResourceList.t;
state_value : StateValue.t option;
state_reason : Aws.BaseTypes.String.t option;
state_reason_data : Aws.BaseTypes.String.t option;
state_updated_timestamp : Aws.BaseTypes.DateTime.t option;
metric_name : Aws.BaseTypes.String.t option;
namespace : Aws.BaseTypes.String.t option;
statistic : Statistic.t option;
extended_statistic : Aws.BaseTypes.String.t option;
dimensions : Dimensions.t;
period : Aws.BaseTypes.Integer.t option;
unit : StandardUnit.t option;
evaluation_periods : Aws.BaseTypes.Integer.t option;
datapoints_to_alarm : Aws.BaseTypes.Integer.t option;
threshold : Aws.BaseTypes.Double.t option;
comparison_operator : ComparisonOperator.t option;
treat_missing_data : Aws.BaseTypes.String.t option;
evaluate_low_sample_count_percentile : Aws.BaseTypes.String.t option;
metrics : MetricDataQueries.t;
threshold_metric_id : Aws.BaseTypes.String.t option;
}
val make : ?alarm_name:Aws.BaseTypes.String.t -> ?alarm_arn:Aws.BaseTypes.String.t -> ?alarm_description:Aws.BaseTypes.String.t -> ?alarm_configuration_updated_timestamp:Aws.BaseTypes.DateTime.t -> ?actions_enabled:Aws.BaseTypes.Boolean.t -> ?o_k_actions:ResourceList.t -> ?alarm_actions:ResourceList.t -> ?insufficient_data_actions:ResourceList.t -> ?state_value:StateValue.t -> ?state_reason:Aws.BaseTypes.String.t -> ?state_reason_data:Aws.BaseTypes.String.t -> ?state_updated_timestamp:Aws.BaseTypes.DateTime.t -> ?metric_name:Aws.BaseTypes.String.t -> ?namespace:Aws.BaseTypes.String.t -> ?statistic:Statistic.t -> ?extended_statistic:Aws.BaseTypes.String.t -> ?dimensions:Dimensions.t -> ?period:Aws.BaseTypes.Integer.t -> ?unit:StandardUnit.t -> ?evaluation_periods:Aws.BaseTypes.Integer.t -> ?datapoints_to_alarm:Aws.BaseTypes.Integer.t -> ?threshold:Aws.BaseTypes.Double.t -> ?comparison_operator:ComparisonOperator.t -> ?treat_missing_data:Aws.BaseTypes.String.t -> ?evaluate_low_sample_count_percentile:Aws.BaseTypes.String.t -> ?metrics:MetricDataQueries.t -> ?threshold_metric_id:Aws.BaseTypes.String.t -> unit -> t
val parse : Ezxmlm.nodes -> t option
val to_query : t -> Aws.Query.t
val to_json : t -> [> `Assoc of (string * Aws.Json.t) list ]
val of_json : Aws.Json.t -> t