Connect.Rule
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-eventbridgeaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-ruletriggereventsource.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-notificationrecipienttype.html
and field_value = {
double_value : float option;
boolean_value : bool option;
string_value : string option;
empty_value : Yojson.Safe.t option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-fieldvalue.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-reference.html
and task_action = {
description : string option;
references : reference Stdlib__Map.Make(Stdlib.String).t option;
contact_flow_arn : string;
name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-taskaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-field.html
and send_notification_action = {
delivery_method : string;
content_type : string;
content : string;
recipient : notification_recipient_type;
subject : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-sendnotificationaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-createcaseaction.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-updatecaseaction.html
and actions = {
event_bridge_actions : event_bridge_action list option;
update_case_actions : update_case_action list option;
create_case_actions : create_case_action list option;
assign_contact_category_actions : Yojson.Safe.t list option;
task_actions : task_action list option;
send_notification_actions : send_notification_action list option;
end_associated_tasks_actions : Yojson.Safe.t list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-connect-rule-actions.html
type properties = {
function_ : string;
trigger_event_source : rule_trigger_event_source;
actions : actions;
instance_arn : string;
name : string;
publish_status : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-connect-rule.html;
val make_properties :
function_:string ->
trigger_event_source:rule_trigger_event_source ->
actions:actions ->
instance_arn:string ->
?tags:tag list ->
name:string ->
publish_status:string ->
unit ->
properties
val make_event_bridge_action : name:string -> unit -> event_bridge_action
val make_rule_trigger_event_source :
?integration_association_arn:string ->
event_source_name:string ->
unit ->
rule_trigger_event_source
val make_tag : value:string -> key:string -> unit -> tag
val make_notification_recipient_type :
?user_tags:string Stdlib__Map.Make(Stdlib.String).t ->
?user_arns:string list ->
unit ->
notification_recipient_type
val make_field_value :
?double_value:float ->
?boolean_value:bool ->
?string_value:string ->
?empty_value:Yojson.Safe.t ->
unit ->
field_value
val make_reference : type_:string -> value:string -> unit -> reference
val make_task_action :
?description:string ->
?references:reference Stdlib__Map.Make(Stdlib.String).t ->
contact_flow_arn:string ->
name:string ->
unit ->
task_action
val make_field : value:field_value -> id:string -> unit -> field
val make_send_notification_action :
delivery_method:string ->
content_type:string ->
content:string ->
recipient:notification_recipient_type ->
?subject:string ->
unit ->
send_notification_action
val make_create_case_action :
fields:field list ->
template_id:string ->
unit ->
create_case_action
val make_update_case_action : fields:field list -> unit -> update_case_action
val make_actions :
?event_bridge_actions:event_bridge_action list ->
?update_case_actions:update_case_action list ->
?create_case_actions:create_case_action list ->
?assign_contact_category_actions:Yojson.Safe.t list ->
?task_actions:task_action list ->
?send_notification_actions:send_notification_action list ->
?end_associated_tasks_actions:Yojson.Safe.t list ->
unit ->
actions
val yojson_of_event_bridge_action : event_bridge_action -> Yojson.Safe.t
val yojson_of_rule_trigger_event_source :
rule_trigger_event_source ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_notification_recipient_type :
notification_recipient_type ->
Yojson.Safe.t
val yojson_of_field_value : field_value -> Yojson.Safe.t
val yojson_of_reference : reference -> Yojson.Safe.t
val yojson_of_task_action : task_action -> Yojson.Safe.t
val yojson_of_field : field -> Yojson.Safe.t
val yojson_of_send_notification_action :
send_notification_action ->
Yojson.Safe.t
val yojson_of_create_case_action : create_case_action -> Yojson.Safe.t
val yojson_of_update_case_action : update_case_action -> Yojson.Safe.t
val yojson_of_actions : actions -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes