Class: Aws::Pinpoint::Types::SMSChannelRequest

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

Overview

Note:

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

{
  enabled: false,
  sender_id: "__string",
  short_code: "__string",
}

SMS Channel Request

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

If the channel is enabled for sending messages.

Returns:

  • (Boolean)


7483
7484
7485
7486
7487
7488
# File 'lib/aws-sdk-pinpoint/types.rb', line 7483

class SMSChannelRequest < Struct.new(
  :enabled,
  :sender_id,
  :short_code)
  include Aws::Structure
end

#sender_idString

Sender identifier of your messages.

Returns:

  • (String)


7483
7484
7485
7486
7487
7488
# File 'lib/aws-sdk-pinpoint/types.rb', line 7483

class SMSChannelRequest < Struct.new(
  :enabled,
  :sender_id,
  :short_code)
  include Aws::Structure
end

#short_codeString

ShortCode registered with phone provider.

Returns:

  • (String)


7483
7484
7485
7486
7487
7488
# File 'lib/aws-sdk-pinpoint/types.rb', line 7483

class SMSChannelRequest < Struct.new(
  :enabled,
  :sender_id,
  :short_code)
  include Aws::Structure
end