PushNotificationTemplateResponse
public struct PushNotificationTemplateResponse : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The message template that’s used for the ADM (Amazon Device Messaging) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
Declaration
Swift
public let adm: AndroidPushNotificationTemplate?
-
The message template that’s used for the APNs (Apple Push Notification service) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
Declaration
Swift
public let apns: APNSPushNotificationTemplate?
-
The Amazon Resource Name (ARN) of the message template.
Declaration
Swift
public let arn: String?
-
The message template that’s used for the Baidu (Baidu Cloud Push) channel. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
Declaration
Swift
public let baidu: AndroidPushNotificationTemplate?
-
The date, in ISO 8601 format, when the message template was created.
Declaration
Swift
public let creationDate: String
-
The default message template that’s used for push notification channels.
Declaration
Swift
public let `default`: DefaultPushNotificationTemplate?
-
The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
Declaration
Swift
public let defaultSubstitutions: String?
-
The message template that’s used for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message template overrides the default template for push notification channels (DefaultPushNotificationTemplate).
Declaration
Swift
public let gcm: AndroidPushNotificationTemplate?
-
The date, in ISO 8601 format, when the message template was last modified.
Declaration
Swift
public let lastModifiedDate: String
-
The unique identifier for the recommender model that’s used by the message template.
Declaration
Swift
public let recommenderId: String?
-
A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
Declaration
Swift
public let tags: [String : String]?
-
The custom description of the message template.
Declaration
Swift
public let templateDescription: String?
-
The name of the message template.
Declaration
Swift
public let templateName: String
-
The type of channel that the message template is designed for. For a push notification template, this value is PUSH.
Declaration
Swift
public let templateType: TemplateType
-
The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
Declaration
Swift
public let version: String?
-
init(adm:apns:arn:baidu:creationDate:default:defaultSubstitutions:gcm:lastModifiedDate:recommenderId:tags:templateDescription:templateName:templateType:version:)
Undocumented
Declaration
Swift
public init(adm: AndroidPushNotificationTemplate? = nil, apns: APNSPushNotificationTemplate? = nil, arn: String? = nil, baidu: AndroidPushNotificationTemplate? = nil, creationDate: String, default: DefaultPushNotificationTemplate? = nil, defaultSubstitutions: String? = nil, gcm: AndroidPushNotificationTemplate? = nil, lastModifiedDate: String, recommenderId: String? = nil, tags: [String : String]? = nil, templateDescription: String? = nil, templateName: String, templateType: TemplateType, version: String? = nil)