Module Pinpoint.InAppTemplate

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html

type override_button_configuration = {
  1. button_action : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-overridebuttonconfiguration.html

and body_config = {
  1. alignment : string option;
  2. text_color : string option;
  3. body : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-bodyconfig.html

and default_button_configuration = {
  1. border_radius : int option;
  2. button_action : string option;
  3. text : string option;
  4. text_color : string option;
  5. background_color : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-defaultbuttonconfiguration.html

and header_config = {
  1. alignment : string option;
  2. header : string option;
  3. text_color : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-headerconfig.html

and button_config = {
  1. web : override_button_configuration option;
  2. default_config : default_button_configuration option;
  3. ios : override_button_configuration option;
  4. android : override_button_configuration option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-buttonconfig.html

and in_app_message_content = {
  1. body_config : body_config option;
  2. secondary_btn : button_config option;
  3. image_url : string option;
  4. primary_btn : button_config option;
  5. header_config : header_config option;
  6. background_color : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html

type properties = {
  1. custom_config : Yojson.Safe.t option;
  2. layout : string option;
  3. content : in_app_message_content list option;
  4. template_name : string;
  5. template_description : string option;
  6. tags : Yojson.Safe.t 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_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 ]
type attributes = {
  1. ref_ : string;
  2. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string