list_bot_resource_generations
async
¶
list_bot_resource_generations(
bot_id: Id,
bot_version: BotVersion,
locale_id: LocaleId,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = 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/async_lex_models_v2.py
4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 | |