update_bot_recommendation
async
¶
update_bot_recommendation(
bot_id: Id,
bot_version: DraftBotVersion,
locale_id: LocaleId,
bot_recommendation_id: Id,
encryption_setting: EncryptionSetting,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = 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/async_lex_models_v2.py
7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 | |