Skip to content

List Language Models

transcribeservice_list_language_models R Documentation

Provides a list of custom language models that match the specified criteria

Description

Provides a list of custom language models that match the specified criteria. If no criteria are specified, all custom language models are returned.

To get detailed information about a specific custom language model, use the operation.

Usage

transcribeservice_list_language_models(StatusEquals, NameContains,
  NextToken, MaxResults)

Arguments

StatusEquals

Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include StatusEquals, all custom language models are returned.

NameContains

Returns only the custom language models that contain the specified string. The search is not case sensitive.

NextToken

If your list_language_models request returns more results than can be displayed, NextToken is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, including NextToken with the value of the copied string. Repeat as needed to view all your results.

MaxResults

The maximum number of custom language models to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.

Value

A list with the following syntax:

list(
  NextToken = "string",
  Models = list(
    list(
      ModelName = "string",
      CreateTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      LanguageCode = "en-US"|"hi-IN"|"es-US"|"en-GB"|"en-AU"|"de-DE"|"ja-JP",
      BaseModelName = "NarrowBand"|"WideBand",
      ModelStatus = "IN_PROGRESS"|"FAILED"|"COMPLETED",
      UpgradeAvailability = TRUE|FALSE,
      FailureReason = "string",
      InputDataConfig = list(
        S3Uri = "string",
        TuningDataS3Uri = "string",
        DataAccessRoleArn = "string"
      )
    )
  )
)

Request syntax

svc$list_language_models(
  StatusEquals = "IN_PROGRESS"|"FAILED"|"COMPLETED",
  NameContains = "string",
  NextToken = "string",
  MaxResults = 123
)