start_test_set_generation
async
¶
start_test_set_generation(
test_set_name: Name,
storage_location: TestSetStorageLocation,
generation_data_source: TestSetGenerationDataSource,
role_arn: RoleArn,
*,
config_overrides: Optional[AsyncLexModelsV2ClientConfig] = None,
description: Optional[Description] = None,
test_set_tags: Optional[TagMap] = None,
) -> StartTestSetGenerationResponse
The action to start the generation of test set.
Parameters:
-
test_set_name(Name) –The test set name for the test set generation request.
-
description(Optional[Description], default:None) –The test set description for the test set generation request.
-
storage_location(TestSetStorageLocation) –The Amazon S3 storage location for the test set generation.
-
generation_data_source(TestSetGenerationDataSource) –The data source for the test set generation.
-
role_arn(RoleArn) –The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.
-
test_set_tags(Optional[TagMap], default:None) –A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the
UpdateTestSetoperation to update tags. To update tags, use theTagResourceoperation.
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.
-
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
7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 | |