Module Values_2.UpdateRuleRequestSource

Updates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.

Sourcetype nonrec t = {
  1. ruleId : Values_0.RuleId.t;
    (*

    A unique identifier for the rule.

    *)
  2. instanceId : Values_0.InstanceId.t;
    (*

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    *)
  3. name : Values_0.RuleName.t;
    (*

    The name of the rule. You can change the name only if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate

    *)
  4. function_ : Values_0.RuleFunction.t;
    (*

    The conditions of the rule.

    *)
  5. actions : Values_0.RuleActions.t;
    (*

    A list of actions to be run when the rule is triggered.

    *)
  6. publishStatus : Values_0.RulePublishStatus.t;
    (*

    The publish status of the rule.

    *)
}
Sourceval context_ : string
Sourceval make : ruleId:Values_0.RuleId.t -> instanceId:Values_0.InstanceId.t -> name:Values_0.RuleName.t -> function_:Values_0.RuleFunction.t -> actions:Values_0.RuleActions.t -> publishStatus:Values_0.RulePublishStatus.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string | `Structure of (string * [> `Boolean of bool | `Double of float | `String of string | `Structure of 'a list ]) list ]) list ] list | `Map of ([> `String of string ] * [> `Structure of (string * [> `Enum of string | `String of string ]) list ]) list | `String of string | `Structure of (string * [> `Enum of string | `List of [> `String of string | `Structure of (string * [> `Boolean of bool | `Double of float | `String of string | `Structure of 'b list ]) list ] list | `Long of Awso.Import.Int64.t | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string ]) list ]) list ]) list ] list | `String of Values_0.RuleId.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