start_test_set_generation
¶
start_test_set_generation(
test_set_name: Name,
storage_location: TestSetStorageLocation,
generation_data_source: TestSetGenerationDataSource,
role_arn: RoleArn,
*,
config_overrides: Optional[LexModelsV2ClientConfig] = 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/lex_models_v2.py
7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 | |