Skip to content

List Trained Model Versions

cleanroomsml_list_trained_model_versions R Documentation

Returns a list of trained model versions for a specified trained model

Description

Returns a list of trained model versions for a specified trained model. This operation allows you to view all versions of a trained model, including information about their status and creation details. You can use this to track the evolution of your trained models and select specific versions for inference or further training.

Usage

cleanroomsml_list_trained_model_versions(nextToken, maxResults,
  membershipIdentifier, trainedModelArn, status)

Arguments

nextToken

The pagination token from a previous list_trained_model_versions request. Use this token to retrieve the next page of results.

maxResults

The maximum number of trained model versions to return in a single page. The default value is 10, and the maximum value is 100.

membershipIdentifier

[required] The membership identifier for the collaboration that contains the trained model.

trainedModelArn

[required] The Amazon Resource Name (ARN) of the trained model for which to list versions.

status

Filter the results to only include trained model versions with the specified status. Valid values include CREATE_PENDING, CREATE_IN_PROGRESS, ACTIVE, CREATE_FAILED, and others.

Value

A list with the following syntax:

list(
  nextToken = "string",
  trainedModels = list(
    list(
      createTime = as.POSIXct(
        "2015-01-01"
      ),
      updateTime = as.POSIXct(
        "2015-01-01"
      ),
      trainedModelArn = "string",
      versionIdentifier = "string",
      incrementalTrainingDataChannels = list(
        list(
          channelName = "string",
          versionIdentifier = "string",
          modelName = "string"
        )
      ),
      name = "string",
      description = "string",
      membershipIdentifier = "string",
      collaborationIdentifier = "string",
      status = "CREATE_PENDING"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"ACTIVE"|"DELETE_PENDING"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"INACTIVE"|"CANCEL_PENDING"|"CANCEL_IN_PROGRESS"|"CANCEL_FAILED",
      configuredModelAlgorithmAssociationArn = "string",
      mlModelTrainingPayerAccountId = "string"
    )
  )
)

Request syntax

svc$list_trained_model_versions(
  nextToken = "string",
  maxResults = 123,
  membershipIdentifier = "string",
  trainedModelArn = "string",
  status = "CREATE_PENDING"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"ACTIVE"|"DELETE_PENDING"|"DELETE_IN_PROGRESS"|"DELETE_FAILED"|"INACTIVE"|"CANCEL_PENDING"|"CANCEL_IN_PROGRESS"|"CANCEL_FAILED"
)