Module Values.GetAlarmsRequestSource

Returns information about the configured alarms. Specify an alarm name in your request to return information about a specific alarm, or specify a monitored resource name to return information about all alarms for a specific resource. An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail.

Sourcetype nonrec t = {
  1. alarmName : ResourceName.t option;
    (*

    The name of the alarm. Specify an alarm name to return information about a specific alarm.

    *)
  2. pageToken : String_.t option;
    (*

    The token to advance to the next page of results from your request. To get a page token, perform an initial GetAlarms request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

    *)
  3. monitoredResourceName : ResourceName.t option;
    (*

    The name of the Lightsail resource being monitored by the alarm. Specify a monitored resource name to return information about all alarms for a specific resource.

    *)
}
Sourceval make : ?alarmName:??? -> ?pageToken:??? -> ?monitoredResourceName:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceName.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