Edit a keyword in a phone pool
Use the AWS End User Messaging console or AWS CLI to edit keyword responses for your phone pool.
- Edit a keyword (Console)
-
Use the AWS End User Messaging console to edit keywords in your pool.
To edit a keyword
Open the AWS End User Messaging console at https://console.aws.amazon.com/end-user-messaging/
. -
In the navigation pane, under Configurations, choose Phone pools.
-
On the Phone Pools page, choose the pool that contains the keyword.
-
On the Keywords tab, choose the keyword to edit and then Edit keyword.
-
In the Custom Keyword pane modify any of the following:
Keyword – The keyword to edit.
Response message – The message to send back to the recipient.
Keyword action – The action to perform when the keyword is received.
Choose Save keyword.
- Add or edit a keyword (AWS CLI)
-
You can use the put-keyword command to create a new keyword or edit. If the keyword already exists then it will be over written.
To create a keyword, run the following command in the AWS CLI:
$aws pinpoint-sms-voice-v2 put-keyword \>--origination-identityOriginationIdentity\>--keywordKeyword\>--keyword-messageKeywordMessage\>--keyword-actionKeywordActionIn the preceding command, make the following changes:
Replace
OriginationIdentitywith the unique ID or Amazon Resource Name (ARN) of the pool that you want to add the keyword to.Replace
Keywordwith the new keyword.Replace
KeywordMessagewith the message to use when responding to the keyword.Replace
KeywordActionthe action (AUTOMATIC_RESPONSE,OPT_OUT,OPT_IN) to perform when the keyword is received.