start_bot_recommendation
async
¶
start_bot_recommendation(
bot_id: Id,
bot_version: DraftBotVersion,
locale_id: LocaleId,
transcript_source_setting: TranscriptSourceSetting,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = 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/async_lex_models_v2.py
7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 | |