TestSetImportResourceSpecification - Amazon Lex API Reference

TestSetImportResourceSpecification

Contains information about the test set that is imported.

Contents

importInputLocation

Contains information about the input location from where test-set should be imported.

Type: TestSetImportInputLocation object

Required: Yes

modality

Specifies whether the test-set being imported contains written or spoken data.

Type: String

Valid Values: Text | Audio

Required: Yes

roleArn

The Amazon Resource Name (ARN) of an IAM role that has permission to access the test set.

Type: String

Length Constraints: Minimum length of 32. Maximum length of 2048.

Pattern: ^arn:aws:iam::[0-9]{12}:role/.*$

Required: Yes

storageLocation

Contains information about the location that Amazon Lex uses to store the test-set.

Type: TestSetStorageLocation object

Required: Yes

testSetName

The name of the test set.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: ^([0-9a-zA-Z][_-]?){1,100}$

Required: Yes

description

The description of the test set.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 200.

Required: No

testSetTags

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 UpdateTestSet operation to update tags. To update tags, use the TagResource operation.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 200 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Value Length Constraints: Minimum length of 0. Maximum length of 256.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: