You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Pinpoint::Types::CreatePushTemplateRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::CreatePushTemplateRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CreatePushTemplateRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
push_notification_template_request: { # required
adm: {
action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
body: "__string",
image_icon_url: "__string",
image_url: "__string",
raw_content: "__string",
small_image_icon_url: "__string",
sound: "__string",
title: "__string",
url: "__string",
},
apns: {
action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
body: "__string",
media_url: "__string",
raw_content: "__string",
sound: "__string",
title: "__string",
url: "__string",
},
baidu: {
action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
body: "__string",
image_icon_url: "__string",
image_url: "__string",
raw_content: "__string",
small_image_icon_url: "__string",
sound: "__string",
title: "__string",
url: "__string",
},
default: {
action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
body: "__string",
sound: "__string",
title: "__string",
url: "__string",
},
default_substitutions: "__string",
gcm: {
action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
body: "__string",
image_icon_url: "__string",
image_url: "__string",
raw_content: "__string",
small_image_icon_url: "__string",
sound: "__string",
title: "__string",
url: "__string",
},
recommender_id: "__string",
tags: {
"__string" => "__string",
},
template_description: "__string",
},
template_name: "__string", # required
}
Instance Attribute Summary collapse
-
#push_notification_template_request ⇒ Types::PushNotificationTemplateRequest
Specifies the content and settings for a message template that can be used in messages that are sent through a push notification channel.
.
-
#template_name ⇒ String
Instance Attribute Details
#push_notification_template_request ⇒ Types::PushNotificationTemplateRequest
Specifies the content and settings for a message template that can be used in messages that are sent through a push notification channel.