PutKeywordRequest
¶
Source code in docs_src/capo_pinpoint_sms_voice_v2/types/put_keyword_request.py
keyword_action
instance-attribute
¶
keyword_action: NotRequired[KeywordAction]
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.
keyword_message
instance-attribute
¶
keyword_message: KeywordMessage
The message associated with the keyword.
origination_identity
instance-attribute
¶
origination_identity: PhoneOrPoolIdOrArn
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 Messaging SMS resource then you must use the full Amazon Resource Name(ARN).