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.



4412
4413
4414
4415
4416
4417
4418
4419
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4412

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.



4412
4413
4414
4415
4416
4417
4418
4419
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4412

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

#keyword_messageString

The message associated with the keyword.



4412
4413
4414
4415
4416
4417
4418
4419
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4412

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 End User MessagingSMS resource then you must use the full Amazon Resource Name(ARN).



4412
4413
4414
4415
4416
4417
4418
4419
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4412

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