list_bot_resource_generations
¶
list_bot_resource_generations(
bot_id: Id,
bot_version: BotVersion,
locale_id: LocaleId,
*,
config_overrides: Optional[LexModelsV2ClientConfig] = None,
sort_by: Optional[GenerationSortBy] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListBotResourceGenerationsResponse
Lists the generation requests made for a bot locale.
Parameters:
-
bot_id(Id) –The unique identifier of the bot whose generation requests you want to view.
-
bot_version(BotVersion) –The version of the bot whose generation requests you want to view.
-
locale_id(LocaleId) –The locale of the bot whose generation requests you want to view.
-
sort_by(Optional[GenerationSortBy], default:None) –An object containing information about the attribute and the method by which to sort the results
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response.
-
next_token(Optional[NextToken], default:None) –If the total number of results is greater than the number specified in the
maxResults, the response returns a token in thenextTokenfield. Use this token when making a request to return the next batch of results.
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
4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 | |