update_bot_alias
¶
update_bot_alias(
bot_alias_id: BotAliasId,
bot_alias_name: Name,
bot_id: Id,
*,
config_overrides: Optional[LexModelsV2ClientConfig] = None,
description: Optional[Description] = None,
bot_version: Optional[BotVersion] = None,
bot_alias_locale_settings: Optional[BotAliasLocaleSettingsMap] = None,
conversation_log_settings: Optional[ConversationLogSettings] = None,
sentiment_analysis_settings: Optional[SentimentAnalysisSettings] = None,
) -> UpdateBotAliasResponse
Updates the configuration of an existing bot alias.
Parameters:
-
bot_alias_id(BotAliasId) –The unique identifier of the bot alias.
-
bot_alias_name(Name) –The new name to assign to the bot alias.
-
description(Optional[Description], default:None) –The new description to assign to the bot alias.
-
bot_version(Optional[BotVersion], default:None) –The new bot version to assign to the bot alias.
-
bot_alias_locale_settings(Optional[BotAliasLocaleSettingsMap], default:None) –The new Lambda functions to use in each locale for the bot alias.
-
conversation_log_settings(Optional[ConversationLogSettings], default:None) –The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
-
bot_id(Id) –The identifier of the bot with the updated alias.
Raises:
-
ConflictException–The action that you tried to perform couldn't be completed because the resource is in a conflicting state. For example, deleting a bot that is in the CREATING state. Try your request again.
-
InternalServerException–The service encountered an unexpected condition. Try your request again.
-
PreconditionFailedException–Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
-
ServiceQuotaExceededException–You have reached a quota for your bot.
-
ThrottlingException–Your request rate is too high. Reduce the frequency of requests.
-
ValidationException–One of the input parameters in your request isn't valid. Check the parameters and try your request again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lex_models_v2/_services/lex_models_v2.py
7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 | |