list_bot_analyzer_history
async
¶
list_bot_analyzer_history(
bot_id: Id,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = None,
locale_id: Optional[LocaleId] = None,
bot_version: Optional[DraftBotVersion] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListBotAnalyzerHistoryResponse
Retrieves a list of historical bot analysis executions for a specific bot. You can filter the results by locale and bot version.
The history includes all analysis executions regardless of their status, allowing you to track past analyses and their outcomes.
Parameters:
-
bot_id(Id) –The unique identifier of the bot.
-
locale_id(Optional[LocaleId], default:None) –The locale identifier to filter the history. If not specified, returns history for all locales.
-
bot_version(Optional[DraftBotVersion], default:None) –The bot version to filter the history. If not specified, defaults to
DRAFT. -
next_token(Optional[NextToken], default:None) –If the response from a previous request was truncated, the
nextTokenvalue is used to retrieve the next page of history entries. -
max_results(Optional[MaxResults], default:None) –The maximum number of history entries to return in the response. The default is 10.
Raises:
-
InternalServerException–The service encountered an unexpected condition. Try your request again.
-
ResourceNotFoundException–You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
-
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
4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 | |