Module Values.CustomerActionSource

Contains information about the action that you can take to respond to the alarm.

Sourcetype nonrec t = {
  1. actionName : CustomerActionName.t option;
    (*

    The name of the action. The action name can be one of the following values: SNOOZE - When you snooze the alarm, the alarm state changes to SNOOZE_DISABLED. ENABLE - When you enable the alarm, the alarm state changes to NORMAL. DISABLE - When you disable the alarm, the alarm state changes to DISABLED. ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to ACKNOWLEDGED. RESET - When you reset the alarm, the alarm state changes to NORMAL. For more information, see the AlarmState API.

    *)
  2. snoozeActionConfiguration : SnoozeActionConfiguration.t option;
    (*

    Contains the configuration information of a snooze action.

    *)
  3. enableActionConfiguration : EnableActionConfiguration.t option;
    (*

    Contains the configuration information of an enable action.

    *)
  4. disableActionConfiguration : DisableActionConfiguration.t option;
    (*

    Contains the configuration information of a disable action.

    *)
  5. acknowledgeActionConfiguration : AcknowledgeActionConfiguration.t option;
    (*

    Contains the configuration information of an acknowledge action.

    *)
  6. resetActionConfiguration : ResetActionConfiguration.t option;
    (*

    Contains the configuration information of a reset action.

    *)
}
Sourceval make : ?actionName:??? -> ?snoozeActionConfiguration:??? -> ?enableActionConfiguration:??? -> ?disableActionConfiguration:??? -> ?acknowledgeActionConfiguration:??? -> ?resetActionConfiguration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Integer of SnoozeDuration.t | `String of Note.t ]) 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