stop_bot_recommendation
async
¶
stop_bot_recommendation(
bot_id: Id,
bot_version: DraftBotVersion,
locale_id: LocaleId,
bot_recommendation_id: Id,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = None,
) -> StopBotRecommendationResponse
Stop an already running Bot Recommendation request.
Parameters:
-
bot_id(Id) –The unique identifier of the bot containing the bot recommendation to be stopped.
-
bot_version(DraftBotVersion) –The version of the bot containing the bot recommendation.
-
locale_id(LocaleId) –The identifier of the language and locale of the bot recommendation to stop. 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 stopped.
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.