Skip to content

List Model Versions

lookoutequipment_list_model_versions R Documentation

Generates a list of all model versions for a given model, including the model version, model version ARN, and status

Description

Generates a list of all model versions for a given model, including the model version, model version ARN, and status. To list a subset of versions, use the MaxModelVersion and MinModelVersion fields.

Usage

lookoutequipment_list_model_versions(ModelName, NextToken, MaxResults,
  Status, SourceType, CreatedAtEndTime, CreatedAtStartTime,
  MaxModelVersion, MinModelVersion)

Arguments

ModelName

[required] Then name of the machine learning model for which the model versions are to be listed.

NextToken

If the total number of results exceeds the limit that the response can display, the response returns an opaque pagination token indicating where to continue the listing of machine learning model versions. Use this token in the NextToken field in the request to list the next page of results.

MaxResults

Specifies the maximum number of machine learning model versions to list.

Status

Filter the results based on the current status of the model version.

SourceType

Filter the results based on the way the model version was generated.

CreatedAtEndTime

Filter results to return all the model versions created before this time.

CreatedAtStartTime

Filter results to return all the model versions created after this time.

MaxModelVersion

Specifies the highest version of the model to return in the list.

MinModelVersion

Specifies the lowest version of the model to return in the list.

Value

A list with the following syntax:

list(
  NextToken = "string",
  ModelVersionSummaries = list(
    list(
      ModelName = "string",
      ModelArn = "string",
      ModelVersion = 123,
      ModelVersionArn = "string",
      CreatedAt = as.POSIXct(
        "2015-01-01"
      ),
      Status = "IN_PROGRESS"|"SUCCESS"|"FAILED"|"IMPORT_IN_PROGRESS"|"CANCELED",
      SourceType = "TRAINING"|"RETRAINING"|"IMPORT",
      ModelQuality = "QUALITY_THRESHOLD_MET"|"CANNOT_DETERMINE_QUALITY"|"POOR_QUALITY_DETECTED"
    )
  )
)

Request syntax

svc$list_model_versions(
  ModelName = "string",
  NextToken = "string",
  MaxResults = 123,
  Status = "IN_PROGRESS"|"SUCCESS"|"FAILED"|"IMPORT_IN_PROGRESS"|"CANCELED",
  SourceType = "TRAINING"|"RETRAINING"|"IMPORT",
  CreatedAtEndTime = as.POSIXct(
    "2015-01-01"
  ),
  CreatedAtStartTime = as.POSIXct(
    "2015-01-01"
  ),
  MaxModelVersion = 123,
  MinModelVersion = 123
)