LexModelsV2 / Client / update_test_set

update_test_set#

LexModelsV2.Client.update_test_set(**kwargs)#

The action to update the test set.

See also: AWS API Documentation

Request Syntax

response = client.update_test_set(
    testSetId='string',
    testSetName='string',
    description='string'
)
Parameters:
  • testSetId (string) –

    [REQUIRED]

    The test set Id for which update test operation to be performed.

  • testSetName (string) –

    [REQUIRED]

    The new test set name.

  • description (string) – The new test set description.

Return type:

dict

Returns:

Response Syntax

{
    'testSetId': 'string',
    'testSetName': 'string',
    'description': 'string',
    'modality': 'Text'|'Audio',
    'status': 'Importing'|'PendingAnnotation'|'Deleting'|'ValidationError'|'Ready',
    'roleArn': 'string',
    'numTurns': 123,
    'storageLocation': {
        's3BucketName': 'string',
        's3Path': 'string',
        'kmsKeyArn': 'string'
    },
    'creationDateTime': datetime(2015, 1, 1),
    'lastUpdatedDateTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • testSetId (string) –

      The test set Id for which update test operation to be performed.

    • testSetName (string) –

      The test set name for the updated test set.

    • description (string) –

      The test set description for the updated test set.

    • modality (string) –

      Indicates whether audio or text is used for the updated test set.

    • status (string) –

      The status for the updated test set.

    • roleArn (string) –

      The roleARN used for any operation in the test set to access resources in the Amazon Web Services account.

    • numTurns (integer) –

      The number of conversation turns from the updated test set.

    • storageLocation (dict) –

      The Amazon S3 storage location for the updated test set.

      • s3BucketName (string) –

        The name of the Amazon S3 bucket in which the test set is stored.

      • s3Path (string) –

        The path inside the Amazon S3 bucket where the test set is stored.

      • kmsKeyArn (string) –

        The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting the test set.

    • creationDateTime (datetime) –

      The creation date and time for the updated test set.

    • lastUpdatedDateTime (datetime) –

      The date and time of the last update for the updated test set.

Exceptions