Skip to content

Start Test Set Generation

lexmodelsv2_start_test_set_generation R Documentation

The action to start the generation of test set

Description

The action to start the generation of test set.

Usage

lexmodelsv2_start_test_set_generation(testSetName, description,
  storageLocation, generationDataSource, roleArn, testSetTags)

Arguments

testSetName

[required] The test set name for the test set generation request.

description

The test set description for the test set generation request.

storageLocation

[required] The Amazon S3 storage location for the test set generation.

generationDataSource

[required] The data source for the test set generation.

roleArn

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

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

Value

A list with the following syntax:

list(
  testSetGenerationId = "string",
  creationDateTime = as.POSIXct(
    "2015-01-01"
  ),
  testSetGenerationStatus = "Generating"|"Ready"|"Failed"|"Pending",
  testSetName = "string",
  description = "string",
  storageLocation = list(
    s3BucketName = "string",
    s3Path = "string",
    kmsKeyArn = "string"
  ),
  generationDataSource = list(
    conversationLogsDataSource = list(
      botId = "string",
      botAliasId = "string",
      localeId = "string",
      filter = list(
        startTime = as.POSIXct(
          "2015-01-01"
        ),
        endTime = as.POSIXct(
          "2015-01-01"
        ),
        inputMode = "Speech"|"Text"
      )
    )
  ),
  roleArn = "string",
  testSetTags = list(
    "string"
  )
)

Request syntax

svc$start_test_set_generation(
  testSetName = "string",
  description = "string",
  storageLocation = list(
    s3BucketName = "string",
    s3Path = "string",
    kmsKeyArn = "string"
  ),
  generationDataSource = list(
    conversationLogsDataSource = list(
      botId = "string",
      botAliasId = "string",
      localeId = "string",
      filter = list(
        startTime = as.POSIXct(
          "2015-01-01"
        ),
        endTime = as.POSIXct(
          "2015-01-01"
        ),
        inputMode = "Speech"|"Text"
      )
    )
  ),
  roleArn = "string",
  testSetTags = list(
    "string"
  )
)