Pinpoint.PushTemplate
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html
type apns_push_notification_template = {
action : string option;
media_url : string option;
title : string option;
sound : string option;
body : string option;
url : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-apnspushnotificationtemplate.html
and android_push_notification_template = {
action : string option;
image_url : string option;
small_image_icon_url : string option;
title : string option;
image_icon_url : string option;
sound : string option;
body : string option;
url : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-androidpushnotificationtemplate.html
and default_push_notification_template = {
action : string option;
title : string option;
sound : string option;
body : string option;
url : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-pushtemplate-defaultpushnotificationtemplate.html
type properties = {
gcm : android_push_notification_template option;
baidu : android_push_notification_template option;
template_name : string;
adm : android_push_notification_template option;
apns : apns_push_notification_template option;
template_description : string option;
default_substitutions : string option;
default : default_push_notification_template option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-pushtemplate.html;
val make_properties :
?gcm:android_push_notification_template ->
?baidu:android_push_notification_template ->
template_name:string ->
?adm:android_push_notification_template ->
?apns:apns_push_notification_template ->
?template_description:string ->
?default_substitutions:string ->
?default:default_push_notification_template ->
?tags:Yojson.Safe.t ->
unit ->
properties
val make_apns_push_notification_template :
?action:string ->
?media_url:string ->
?title:string ->
?sound:string ->
?body:string ->
?url:string ->
unit ->
apns_push_notification_template
val make_android_push_notification_template :
?action:string ->
?image_url:string ->
?small_image_icon_url:string ->
?title:string ->
?image_icon_url:string ->
?sound:string ->
?body:string ->
?url:string ->
unit ->
android_push_notification_template
val make_default_push_notification_template :
?action:string ->
?title:string ->
?sound:string ->
?body:string ->
?url:string ->
unit ->
default_push_notification_template
val yojson_of_apns_push_notification_template :
apns_push_notification_template ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_android_push_notification_template :
android_push_notification_template ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_default_push_notification_template :
default_push_notification_template ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes