Class: Aws::Pinpoint::Types::SMSMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Specifies the default settings for a one-time SMS message that’s sent directly to an endpoint.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The body of the SMS message.

Returns:

  • (String)


10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
# File 'lib/aws-sdk-pinpoint/types.rb', line 10752

class SMSMessage < Struct.new(
  :body,
  :keyword,
  :media_url,
  :message_type,
  :origination_number,
  :sender_id,
  :substitutions,
  :entity_id,
  :template_id)
  SENSITIVE = []
  include Aws::Structure
end

#entity_idString

The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.

Returns:

  • (String)


10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
# File 'lib/aws-sdk-pinpoint/types.rb', line 10752

class SMSMessage < Struct.new(
  :body,
  :keyword,
  :media_url,
  :message_type,
  :origination_number,
  :sender_id,
  :substitutions,
  :entity_id,
  :template_id)
  SENSITIVE = []
  include Aws::Structure
end

#keywordString

The SMS program name that you provided to AWS Support when you requested your dedicated number.

Returns:

  • (String)


10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
# File 'lib/aws-sdk-pinpoint/types.rb', line 10752

class SMSMessage < Struct.new(
  :body,
  :keyword,
  :media_url,
  :message_type,
  :origination_number,
  :sender_id,
  :substitutions,
  :entity_id,
  :template_id)
  SENSITIVE = []
  include Aws::Structure
end

#media_urlString

This field is reserved for future use.

Returns:

  • (String)


10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
# File 'lib/aws-sdk-pinpoint/types.rb', line 10752

class SMSMessage < Struct.new(
  :body,
  :keyword,
  :media_url,
  :message_type,
  :origination_number,
  :sender_id,
  :substitutions,
  :entity_id,
  :template_id)
  SENSITIVE = []
  include Aws::Structure
end

#message_typeString

The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren’t critical or time-sensitive, such as marketing messages).

Returns:

  • (String)


10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
# File 'lib/aws-sdk-pinpoint/types.rb', line 10752

class SMSMessage < Struct.new(
  :body,
  :keyword,
  :media_url,
  :message_type,
  :origination_number,
  :sender_id,
  :substitutions,
  :entity_id,
  :template_id)
  SENSITIVE = []
  include Aws::Structure
end

#origination_numberString

The number to send the SMS message from. This value should be one of the dedicated long or short codes that’s assigned to your AWS account. If you don’t specify a long or short code, Amazon Pinpoint assigns a random long code to the SMS message and sends the message from that code.

Returns:

  • (String)


10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
# File 'lib/aws-sdk-pinpoint/types.rb', line 10752

class SMSMessage < Struct.new(
  :body,
  :keyword,
  :media_url,
  :message_type,
  :origination_number,
  :sender_id,
  :substitutions,
  :entity_id,
  :template_id)
  SENSITIVE = []
  include Aws::Structure
end

#sender_idString

The sender ID to display as the sender of the message on a recipient’s device. Support for sender IDs varies by country or region.

Returns:

  • (String)


10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
# File 'lib/aws-sdk-pinpoint/types.rb', line 10752

class SMSMessage < Struct.new(
  :body,
  :keyword,
  :media_url,
  :message_type,
  :origination_number,
  :sender_id,
  :substitutions,
  :entity_id,
  :template_id)
  SENSITIVE = []
  include Aws::Structure
end

#substitutionsHash<String,Array<String>>

The message variables to use in the SMS message. You can override the default variables with individual address variables.

Returns:

  • (Hash<String,Array<String>>)


10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
# File 'lib/aws-sdk-pinpoint/types.rb', line 10752

class SMSMessage < Struct.new(
  :body,
  :keyword,
  :media_url,
  :message_type,
  :origination_number,
  :sender_id,
  :substitutions,
  :entity_id,
  :template_id)
  SENSITIVE = []
  include Aws::Structure
end

#template_idString

The template ID received from the regulatory body for sending SMS in your country.

Returns:

  • (String)


10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
# File 'lib/aws-sdk-pinpoint/types.rb', line 10752

class SMSMessage < Struct.new(
  :body,
  :keyword,
  :media_url,
  :message_type,
  :origination_number,
  :sender_id,
  :substitutions,
  :entity_id,
  :template_id)
  SENSITIVE = []
  include Aws::Structure
end