Module Values.GetAlarmsResultSource

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. alarms : AlarmsList.t option;
    (*

    An array of objects that describe the alarms.

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

    The token to advance to the next page of results from your request. A next page token is not returned if there are no more results to display. To get the next page of results, perform another GetAlarms request and specify the next page token using the pageToken parameter.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InvalidInputException of InvalidInputException.t
  3. | `NotFoundException of NotFoundException.t
  4. | `OperationFailureException of OperationFailureException.t
  5. | `RegionSetupInProgressException of RegionSetupInProgressException.t
  6. | `ServiceException of ServiceException.t
  7. | `UnauthenticatedException of UnauthenticatedException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?alarms:??? -> ?nextPageToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InvalidInputException of InvalidInputException.t | `NotFoundException of NotFoundException.t | `OperationFailureException of OperationFailureException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InvalidInputException of InvalidInputException.t | `NotFoundException of NotFoundException.t | `OperationFailureException of OperationFailureException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Enum of string | `Integer of Integer.t | `List of [> `Enum of string | `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of ResourceName.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) list ] list | `String of String_.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