Pinpoint.InAppTemplate
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-overridebuttonconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-bodyconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-headerconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-buttonconfig.html
and in_app_message_content = {
body_config : body_config option;
secondary_btn : button_config option;
image_url : string option;
primary_btn : button_config option;
header_config : header_config option;
background_color : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html
type properties = {
custom_config : Yojson.Safe.t option;
layout : string option;
content : in_app_message_content list option;
template_name : string;
template_description : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html;
val make_properties :
?custom_config:Yojson.Safe.t ->
?layout:string ->
?content:in_app_message_content list ->
template_name:string ->
?template_description:string ->
?tags:Yojson.Safe.t ->
unit ->
properties
val make_override_button_configuration :
?button_action:string ->
?link:string ->
unit ->
override_button_configuration
val make_body_config :
?alignment:string ->
?text_color:string ->
?body:string ->
unit ->
body_config
val make_default_button_configuration :
?border_radius:int ->
?button_action:string ->
?text:string ->
?text_color:string ->
?link:string ->
?background_color:string ->
unit ->
default_button_configuration
val make_header_config :
?alignment:string ->
?header:string ->
?text_color:string ->
unit ->
header_config
val make_button_config :
?web:override_button_configuration ->
?default_config:default_button_configuration ->
?ios:override_button_configuration ->
?android:override_button_configuration ->
unit ->
button_config
val make_in_app_message_content :
?body_config:body_config ->
?secondary_btn:button_config ->
?image_url:string ->
?primary_btn:button_config ->
?header_config:header_config ->
?background_color:string ->
unit ->
in_app_message_content
val yojson_of_override_button_configuration :
override_button_configuration ->
Yojson.Safe.t
val yojson_of_body_config : body_config -> Yojson.Safe.t
val yojson_of_default_button_configuration :
default_button_configuration ->
Yojson.Safe.t
val yojson_of_header_config : header_config -> Yojson.Safe.t
val yojson_of_button_config : button_config -> Yojson.Safe.t
val yojson_of_in_app_message_content :
in_app_message_content ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes