Module Values.GetAlarmMuteRuleOutputSource

Retrieves details for a specific alarm mute rule. This operation returns complete information about the mute rule, including its configuration, status, targeted alarms, and metadata. The returned status indicates the current state of the mute rule: SCHEDULED: The mute rule is configured and will become active in the future ACTIVE: The mute rule is currently muting alarm actions EXPIRED: The mute rule has passed its expiration date and will no longer become active Permissions To retrieve details for a mute rule, you need the cloudwatch:GetAlarmMuteRule permission on the alarm mute rule resource.

Sourcetype getAlarmMuteRuleResult = {
  1. name : Name.t option;
    (*

    The name of the alarm mute rule.

    *)
  2. alarmMuteRuleArn : Arn.t option;
    (*

    The Amazon Resource Name (ARN) of the alarm mute rule.

    *)
  3. description : AlarmDescription.t option;
    (*

    The description of the alarm mute rule.

    *)
  4. rule : Rule.t option;
    (*

    The configuration that defines when and how long alarms are muted.

    *)
  5. muteTargets : MuteTargets.t option;
    (*

    Specifies which alarms this rule applies to.

    *)
  6. startDate : Timestamp.t option;
    (*

    The date and time when the mute rule becomes active. If not set, the rule is active immediately.

    *)
  7. expireDate : Timestamp.t option;
    (*

    The date and time when the mute rule expires and is no longer evaluated.

    *)
  8. status : AlarmMuteRuleStatus.t option;
    (*

    The current status of the alarm mute rule. Valid values are SCHEDULED, ACTIVE, or EXPIRED.

    *)
  9. lastUpdatedTimestamp : Timestamp.t option;
    (*

    The date and time when the mute rule was last updated.

    *)
  10. muteType : MuteType.t option;
    (*

    Indicates whether the mute rule is one-time or recurring. Valid values are ONE_TIME or RECURRING.

    *)
}
Sourceand responseMetaData = unit
Sourceand t = {
  1. getAlarmMuteRuleResult : getAlarmMuteRuleResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `ResourceNotFoundException of ResourceNotFoundException.t
  2. | `Unknown_operation_error of string * string option
]
Sourceval context_ : string
Sourceval make : ?name:??? -> ?alarmMuteRuleArn:??? -> ?description:??? -> ?rule:??? -> ?muteTargets:??? -> ?startDate:??? -> ?expireDate:??? -> ?status:??? -> ?lastUpdatedTimestamp:??? -> ?muteType:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of Name.t | `Structure of (string * [> `List of [> `String of Name.t ] list | `Structure of (string * [> `String of Expression.t ]) list ]) list | `Timestamp of Timestamp.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