Class: Aws::PinpointSMSVoiceV2::Types::PutKeywordRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keywordString

The new keyword to add.

Returns:

  • (String)


4321
4322
4323
4324
4325
4326
4327
4328
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4321

class PutKeywordRequest < Struct.new(
  :origination_identity,
  :keyword,
  :keyword_message,
  :keyword_action)
  SENSITIVE = []
  include Aws::Structure
end

#keyword_actionString

The action to perform for the new keyword when it is received.

  • AUTOMATIC_RESPONSE: A message is sent to the recipient.

  • OPT_OUT: Keeps the recipient from receiving future messages.

  • OPT_IN: The recipient wants to receive future messages.

Returns:

  • (String)


4321
4322
4323
4324
4325
4326
4327
4328
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4321

class PutKeywordRequest < Struct.new(
  :origination_identity,
  :keyword,
  :keyword_message,
  :keyword_action)
  SENSITIVE = []
  include Aws::Structure
end

#keyword_messageString

The message associated with the keyword.

Returns:

  • (String)


4321
4322
4323
4324
4325
4326
4327
4328
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4321

class PutKeywordRequest < Struct.new(
  :origination_identity,
  :keyword,
  :keyword_message,
  :keyword_action)
  SENSITIVE = []
  include Aws::Structure
end

#origination_identityString

The origination identity to use such as a PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use DescribePhoneNumbers get the values for PhoneNumberId and PhoneNumberArn while DescribeSenderIds can be used to get the values for SenderId and SenderIdArn.

If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).

Returns:

  • (String)


4321
4322
4323
4324
4325
4326
4327
4328
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4321

class PutKeywordRequest < Struct.new(
  :origination_identity,
  :keyword,
  :keyword_message,
  :keyword_action)
  SENSITIVE = []
  include Aws::Structure
end