Module Values.GetAutomationRuleV2ResponseSource

Returns an automation rule for the V2 service.

Sourcetype nonrec t = {
  1. ruleArn : NonEmptyString.t option;
    (*

    The ARN of the V2 automation rule.

    *)
  2. ruleId : NonEmptyString.t option;
    (*

    The ID of the V2 automation rule.

    *)
  3. ruleOrder : RuleOrderValueV2.t option;
    (*

    The value for the rule priority.

    *)
  4. ruleName : NonEmptyString.t option;
    (*

    The name of the V2 automation rule.

    *)
  5. ruleStatus : RuleStatusV2.t option;
    (*

    The status of the V2 automation automation rule.

    *)
  6. description : NonEmptyString.t option;
    (*

    A description of the automation rule.

    *)
  7. criteria : Criteria.t option;
    (*

    The filtering type and configuration of the V2 automation rule.

    *)
  8. actions : AutomationRulesActionListV2.t option;
    (*

    A list of actions performed when the rule criteria is met.

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

    The timestamp when the V2 automation rule was created.

    *)
  10. updatedAt : Timestamp.t option;
    (*

    The timestamp when the V2 automation rule was updated.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?ruleArn:??? -> ?ruleId:??? -> ?ruleOrder:??? -> ?ruleName:??? -> ?ruleStatus:??? -> ?description:??? -> ?criteria:??? -> ?actions:??? -> ?createdAt:??? -> ?updatedAt:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Float of RuleOrderValueV2.t | `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Integer of Integer.t | `String of NonEmptyString.t ]) list ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `Structure of (string * Awso.Botodata.value) 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