Skip to content

The list of the test sets

Description

The list of the test sets

Usage

lexmodelsv2_list_test_sets(sortBy, maxResults, nextToken)

Arguments

  • sortBy

The sort order for the list of test sets.

  • maxResults

The maximum number of test sets to return in each page. If there are fewer results than the max page size, only the actual number of results are returned.

  • nextToken

If the response from the ListTestSets operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

Value

A list with the following syntax:

list(
  testSets = list(
    list(
      testSetId = "string",
      testSetName = "string",
      description = "string",
      modality = "Text"|"Audio",
      status = "Importing"|"PendingAnnotation"|"Deleting"|"ValidationError"|"Ready",
      roleArn = "string",
      numTurns = 123,
      storageLocation = list(
        s3BucketName = "string",
        s3Path = "string",
        kmsKeyArn = "string"
      ),
      creationDateTime = as.POSIXct(
        "2015-01-01"
      ),
      lastUpdatedDateTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_test_sets(
  sortBy = list(
    attribute = "TestSetName"|"LastUpdatedDateTime",
    order = "Ascending"|"Descending"
  ),
  maxResults = 123,
  nextToken = "string"
)