start_bot_recommendation
¶
start_bot_recommendation(
bot_id: Id,
bot_version: DraftBotVersion,
locale_id: LocaleId,
transcript_source_setting: TranscriptSourceSetting,
*,
config_overrides: Optional[LexModelsV2ClientConfig] = None,
encryption_setting: Optional[EncryptionSetting] = None,
) -> StartBotRecommendationResponse
Use this to provide your transcript data, and to start the bot recommendation process.
Parameters:
-
bot_id(Id) –The unique identifier of the bot containing the bot recommendation.
-
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 start. The string must match one of the supported locales. For more information, see Supported languages
-
transcript_source_setting(TranscriptSourceSetting) –The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.
-
encryption_setting(Optional[EncryptionSetting], default:None) –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
6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 | |