TemplateResponse

public struct TemplateResponse : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • arn

    The Amazon Resource Name (ARN) of the message template. This value isn’t included in a TemplateResponse object. To retrieve the ARN of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the ARN for.

    Declaration

    Swift

    public let arn: String?
  • The date, in ISO 8601 format, when the message template was created.

    Declaration

    Swift

    public let creationDate: String
  • The JSON object that specifies the default values that are used for message variables in the message template. This object isn’t included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.

    Declaration

    Swift

    public let defaultSubstitutions: String?
  • The date, in ISO 8601 format, when the message template was last modified.

    Declaration

    Swift

    public let lastModifiedDate: String
  • A map of key-value pairs that identifies the tags that are associated with the message template. This object isn’t included in a TemplateResponse object. To retrieve this object for a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the object for.

    Declaration

    Swift

    public let tags: [String : String]?
  • The custom description of the message template. This value isn’t included in a TemplateResponse object. To retrieve the description of a template, use the GetEmailTemplate, GetPushTemplate, GetSmsTemplate, or GetVoiceTemplate operation, depending on the type of template that you want to retrieve the description for.

    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. Possible values are: EMAIL, PUSH, SMS, and VOICE.

    Declaration

    Swift

    public let templateType: TemplateType
  • The unique identifier, as an integer, for the active version of the message template.

    Declaration

    Swift

    public let version: String?
  • Undocumented

    Declaration

    Swift

    public init(arn: String? = nil, creationDate: String, defaultSubstitutions: String? = nil, lastModifiedDate: String, tags: [String : String]? = nil, templateDescription: String? = nil, templateName: String, templateType: TemplateType, version: String? = nil)