update_bot_alias
async
¶
update_bot_alias(
bot_alias_id: BotAliasId,
bot_alias_name: Name,
bot_id: Id,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = 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/async_lex_models_v2.py
7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 | |