Learn R Programming

paws.customer.engagement (version 0.1.6)

pinpoint_create_push_template: Creates a message template for messages that are sent through a push notification channel

Description

Creates a message template for messages that are sent through a push notification channel.

Usage

pinpoint_create_push_template(PushNotificationTemplateRequest,
  TemplateName)

Arguments

PushNotificationTemplateRequest

[required]

TemplateName

[required] The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (\_), or hyphens (-). Template names are case sensitive.

Request syntax

svc$create_push_template(
  PushNotificationTemplateRequest = list(
    ADM = list(
      Action = "OPEN_APP"|"DEEP_LINK"|"URL",
      Body = "string",
      ImageIconUrl = "string",
      ImageUrl = "string",
      RawContent = "string",
      SmallImageIconUrl = "string",
      Sound = "string",
      Title = "string",
      Url = "string"
    ),
    APNS = list(
      Action = "OPEN_APP"|"DEEP_LINK"|"URL",
      Body = "string",
      MediaUrl = "string",
      RawContent = "string",
      Sound = "string",
      Title = "string",
      Url = "string"
    ),
    Baidu = list(
      Action = "OPEN_APP"|"DEEP_LINK"|"URL",
      Body = "string",
      ImageIconUrl = "string",
      ImageUrl = "string",
      RawContent = "string",
      SmallImageIconUrl = "string",
      Sound = "string",
      Title = "string",
      Url = "string"
    ),
    Default = list(
      Action = "OPEN_APP"|"DEEP_LINK"|"URL",
      Body = "string",
      Sound = "string",
      Title = "string",
      Url = "string"
    ),
    DefaultSubstitutions = "string",
    GCM = list(
      Action = "OPEN_APP"|"DEEP_LINK"|"URL",
      Body = "string",
      ImageIconUrl = "string",
      ImageUrl = "string",
      RawContent = "string",
      SmallImageIconUrl = "string",
      Sound = "string",
      Title = "string",
      Url = "string"
    ),
    tags = list(
      "string"
    ),
    TemplateDescription = "string"
  ),
  TemplateName = "string"
)