Module Values.DescribeAlarmModelResponseSource

Retrieves information about an alarm model. If you don't specify a value for the alarmModelVersion parameter, the latest version is returned.

Sourcetype nonrec t = {
  1. creationTime : Timestamp.t option;
    (*

    The time the alarm model was created, in the Unix epoch format.

    *)
  2. alarmModelArn : AlarmModelArn.t option;
    (*

    The ARN of the alarm model. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

    *)
  3. alarmModelVersion : AlarmModelVersion.t option;
    (*

    The version of the alarm model.

    *)
  4. lastUpdateTime : Timestamp.t option;
    (*

    The time the alarm model was last updated, in the Unix epoch format.

    *)
  5. status : AlarmModelVersionStatus.t option;
    (*

    The status of the alarm model. The status can be one of the following values: ACTIVE - The alarm model is active and it's ready to evaluate data. ACTIVATING - AWS IoT Events is activating your alarm model. Activating an alarm model can take up to a few minutes. INACTIVE - The alarm model is inactive, so it isn't ready to evaluate data. Check your alarm model information and update the alarm model. FAILED - You couldn't create or update the alarm model. Check your alarm model information and try again.

    *)
  6. statusMessage : StatusMessage.t option;
    (*

    Contains information about the status of the alarm model.

    *)
  7. alarmModelName : AlarmModelName.t option;
    (*

    The name of the alarm model.

    *)
  8. alarmModelDescription : AlarmModelDescription.t option;
    (*

    The description of the alarm model.

    *)
  9. roleArn : AmazonResourceName.t option;
    (*

    The ARN of the IAM role that allows the alarm to perform actions and access AWS resources. For more information, see Amazon Resource Names (ARNs) in the AWS General Reference.

    *)
  10. key : AttributeJsonPath.t option;
    (*

    An input attribute used as a key to create an alarm. AWS IoT Events routes inputs associated with this key to the alarm.

    *)
  11. severity : Severity.t option;
    (*

    A non-negative integer that reflects the severity level of the alarm.

    *)
  12. alarmRule : AlarmRule.t option;
    (*

    Defines when your alarm is invoked.

    *)
  13. alarmNotification : AlarmNotification.t option;
    (*

    Contains information about one or more notification actions.

    *)
  14. alarmEventActions : AlarmEventActions.t option;
    (*

    Contains information about one or more alarm actions.

    *)
  15. alarmCapabilities : AlarmCapabilities.t option;
    (*

    Contains the configuration information of alarm state changes.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailureException of InternalFailureException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ServiceUnavailableException of ServiceUnavailableException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?creationTime:??? -> ?alarmModelArn:??? -> ?alarmModelVersion:??? -> ?lastUpdateTime:??? -> ?status:??? -> ?statusMessage:??? -> ?alarmModelName:??? -> ?alarmModelDescription:??? -> ?roleArn:??? -> ?key:??? -> ?severity:??? -> ?alarmRule:??? -> ?alarmNotification:??? -> ?alarmEventActions:??? -> ?alarmCapabilities:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailureException of InternalFailureException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceUnavailableException of ServiceUnavailableException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Severity.t | `String of AlarmModelArn.t | `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `String of IdentityStoreId.t ]) list ]) list ] list | `String of SMSSenderId.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `String of IdentityStoreId.t ]) list ]) list ] list | `String of EmailSubject.t ]) list ]) list ] list | `Structure of (string * [> `Boolean of UseBase64.t | `String of AmazonResourceName.t | `Structure of (string * [> `Enum of string | `String of AmazonResourceName.t | `Structure of (string * [> `Enum of string | `String of ContentExpression.t ]) list ]) list ]) list ]) list ] list | `Structure of (string * [> `Boolean of DisabledOnInitialization.t | `Enum of string | `String of InputProperty.t ]) list ]) list | `Timestamp of Timestamp.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