Put Keyword
pinpointsmsvoicev2_put_keyword | R Documentation |
Creates or updates a keyword configuration on an origination phone number or pool¶
Description¶
Creates or updates a keyword configuration on an origination phone number or pool.
A keyword is a word that you can search for on a particular phone number or pool. It is also a specific word or phrase that an end user can send to your number to elicit a response, such as an informational message or a special offer. When your number receives a message that begins with a keyword, AWS End User Messaging SMS and Voice responds with a customizable message.
If you specify a keyword that isn't valid, an error is returned.
Usage¶
pinpointsmsvoicev2_put_keyword(OriginationIdentity, Keyword,
KeywordMessage, KeywordAction)
Arguments¶
OriginationIdentity |
[required] The origination identity to use such as a
PhoneNumberId, PhoneNumberArn, SenderId or SenderIdArn. You can use
If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN). |
Keyword |
[required] The new keyword to add. |
KeywordMessage |
[required] The message associated with the keyword. |
KeywordAction |
The action to perform for the new keyword when it is received.
|
Value¶
A list with the following syntax:
list(
OriginationIdentityArn = "string",
OriginationIdentity = "string",
Keyword = "string",
KeywordMessage = "string",
KeywordAction = "AUTOMATIC_RESPONSE"|"OPT_OUT"|"OPT_IN"
)
Request syntax¶
svc$put_keyword(
OriginationIdentity = "string",
Keyword = "string",
KeywordMessage = "string",
KeywordAction = "AUTOMATIC_RESPONSE"|"OPT_OUT"|"OPT_IN"
)