list_bot_analyzer_history
¶
list_bot_analyzer_history(
bot_id: Id,
*,
config_overrides: Optional[LexModelsV2ClientConfig] = 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/lex_models_v2.py
4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 | |