You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::MessageTemplateType

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb

Overview

Note:

When making an API call, you may pass MessageTemplateType data as a hash:

{
  sms_message: "SmsVerificationMessageType",
  email_message: "EmailVerificationMessageType",
  email_subject: "EmailVerificationSubjectType",
}

The message template structure.

Instance Attribute Summary collapse

Instance Attribute Details

#email_messageString

The message template for email messages.

Returns:

  • (String)


4099
4100
4101
4102
4103
4104
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4099

class MessageTemplateType < Struct.new(
  :sms_message,
  :email_message,
  :email_subject)
  include Aws::Structure
end

#email_subjectString

The subject line for email messages.

Returns:

  • (String)


4099
4100
4101
4102
4103
4104
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4099

class MessageTemplateType < Struct.new(
  :sms_message,
  :email_message,
  :email_subject)
  include Aws::Structure
end

#sms_messageString

The message template for SMS messages.

Returns:

  • (String)


4099
4100
4101
4102
4103
4104
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4099

class MessageTemplateType < Struct.new(
  :sms_message,
  :email_message,
  :email_subject)
  include Aws::Structure
end