update_bot_recommendation
¶
update_bot_recommendation(
bot_id: Id,
bot_version: DraftBotVersion,
locale_id: LocaleId,
bot_recommendation_id: Id,
encryption_setting: EncryptionSetting,
*,
config_overrides: Optional[LexModelsV2ClientConfig] = None,
) -> UpdateBotRecommendationResponse
Updates an existing bot recommendation request.
Parameters:
-
bot_id(Id) –The unique identifier of the bot containing the bot recommendation to be updated.
-
bot_version(DraftBotVersion) –The version of the bot containing the bot recommendation to be updated.
-
locale_id(LocaleId) –The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages
-
bot_recommendation_id(Id) –The unique identifier of the bot recommendation to be updated.
-
encryption_setting(EncryptionSetting) –The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
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.
-
ResourceNotFoundException–You asked to describe a resource that doesn't exist. Check the resource that you are requesting 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
7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 | |