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",
}

Specifies the status and settings of the SMS channel for an application.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Specifies whether to enable the SMS channel for the application.

Returns:

  • (Boolean)


12480
12481
12482
12483
12484
12485
# File 'lib/aws-sdk-pinpoint/types.rb', line 12480

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

#sender_idString

The identity that you want to display on recipients’ devices when they receive messages from the SMS channel.

Returns:

  • (String)


12480
12481
12482
12483
12484
12485
# File 'lib/aws-sdk-pinpoint/types.rb', line 12480

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

#short_codeString

The registered short code that you want to use when you send messages through the SMS channel.

Returns:

  • (String)


12480
12481
12482
12483
12484
12485
# File 'lib/aws-sdk-pinpoint/types.rb', line 12480

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