aws lexv2-models create-bot-alias
Creates an alias for the specified version of a bot. Use an alias to enable you to change the version of a bot without updating applications that use the bot. For example, you can create an alias called "PROD" that your applications use to call the Amazon Lex bot
Options
Name | Description |
---|---|
--bot-alias-name <string> | The alias to create. The name must be unique for the bot |
--description <string> | A description of the alias. Use this description to help identify the alias |
--bot-version <string> | The version of the bot that this alias points to. You can use the operation to change the bot version associated with the alias |
--bot-alias-locale-settings <map> | Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales |
--conversation-log-settings <structure> | Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3 |
--sentiment-analysis-settings <structure> | Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances |
--bot-id <string> | The unique identifier of the bot that the alias applies to |
--tags <map> | A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the UpdateBotAlias operation to update the tags on a bot alias. To update tags, use the TagResource operation |
--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 |