Values.GetAutomationRuleV2ResponseSourceReturns an automation rule for the V2 service.
type nonrec t = {ruleArn : NonEmptyString.t option;The ARN of the V2 automation rule.
*)ruleId : NonEmptyString.t option;The ID of the V2 automation rule.
*)ruleOrder : RuleOrderValueV2.t option;The value for the rule priority.
*)ruleName : NonEmptyString.t option;The name of the V2 automation rule.
*)ruleStatus : RuleStatusV2.t option;The status of the V2 automation automation rule.
*)description : NonEmptyString.t option;A description of the automation rule.
*)criteria : Criteria.t option;The filtering type and configuration of the V2 automation rule.
*)actions : AutomationRulesActionListV2.t option;A list of actions performed when the rule criteria is met.
*)createdAt : Timestamp.t option;The timestamp when the V2 automation rule was created.
*)updatedAt : Timestamp.t option;The timestamp when the V2 automation rule was updated.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val 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 ]val 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 ]val 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 ]