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)


4108
4109
4110
4111
4112
4113
4114
4115
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4108

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)


4108
4109
4110
4111
4112
4113
4114
4115
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4108

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)


4108
4109
4110
4111
4112
4113
4114
4115
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4108

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)


4108
4109
4110
4111
4112
4113
4114
4115
# File 'lib/aws-sdk-pinpointsmsvoicev2/types.rb', line 4108

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