Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . pinpoint-sms-voice-v2 ]



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, Amazon Pinpoint responds with a customizable message.

If you specify a keyword that isn't valid, an Error is returned.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.


--origination-identity <value>
--keyword <value>
--keyword-message <value>
[--keyword-action <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--origination-identity (string)

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.

--keyword (string)

The new keyword to add.

--keyword-message (string)

The message associated with the keyword.

  • 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-action (string)

The action to perform for the new keyword when it is received.

Possible values:

  • OPT_IN

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.


OriginationIdentityArn -> (string)

The PhoneNumberArn or PoolArn that the keyword was associated with.

OriginationIdentity -> (string)

The PhoneNumberId or PoolId that the keyword was associated with.

Keyword -> (string)

The keyword that was added.

KeywordMessage -> (string)

The message associated with the keyword.

KeywordAction -> (string)

The action to perform when the keyword is used.