class Aws::LexModelsV2::Types::CreateBotAliasRequest
@note When making an API call, you may pass CreateBotAliasRequest
data as a hash: { bot_alias_name: "Name", # required description: "Description", bot_version: "NumericalBotVersion", bot_alias_locale_settings: { "LocaleId" => { enabled: false, # required code_hook_specification: { lambda_code_hook: { # required lambda_arn: "LambdaARN", # required code_hook_interface_version: "CodeHookInterfaceVersion", # required }, }, }, }, conversation_log_settings: { text_log_settings: [ { enabled: false, # required destination: { # required cloud_watch: { # required cloud_watch_log_group_arn: "CloudWatchLogGroupArn", # required log_prefix: "LogPrefix", # required }, }, }, ], audio_log_settings: [ { enabled: false, # required destination: { # required s3_bucket: { # required kms_key_arn: "KmsKeyArn", s3_bucket_arn: "S3BucketArn", # required log_prefix: "LogPrefix", # required }, }, }, ], }, sentiment_analysis_settings: { detect_sentiment: false, # required }, bot_id: "Id", # required tags: { "TagKey" => "TagValue", }, }
@!attribute [rw] bot_alias_name
The alias to create. The name must be unique for the bot. @return [String]
@!attribute [rw] description
A description of the alias. Use this description to help identify the alias. @return [String]
@!attribute [rw] bot_version
The version of the bot that this alias points to. You can use the operation to change the bot version associated with the alias. @return [String]
@!attribute [rw] bot_alias_locale_settings
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. @return [Hash<String,Types::BotAliasLocaleSettings>]
@!attribute [rw] conversation_log_settings
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. @return [Types::ConversationLogSettings]
@!attribute [rw] sentiment_analysis_settings
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. @return [Types::SentimentAnalysisSettings]
@!attribute [rw] bot_id
The unique identifier of the bot that the alias applies to. @return [String]
@!attribute [rw] tags
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. @return [Hash<String,String>]
@see docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotAliasRequest AWS API Documentation
Constants
- SENSITIVE