Skip to content

List Optimization Jobs

sagemaker_list_optimization_jobs R Documentation

Lists the optimization jobs in your account and their properties

Description

Lists the optimization jobs in your account and their properties.

Usage

sagemaker_list_optimization_jobs(NextToken, MaxResults,
  CreationTimeAfter, CreationTimeBefore, LastModifiedTimeAfter,
  LastModifiedTimeBefore, OptimizationContains, NameContains,
  StatusEquals, SortBy, SortOrder)

Arguments

NextToken

A token that you use to get the next set of results following a truncated response. If the response to the previous request was truncated, that response provides the value for this token.

MaxResults

The maximum number of optimization jobs to return in the response. The default is 50.

CreationTimeAfter

Filters the results to only those optimization jobs that were created after the specified time.

CreationTimeBefore

Filters the results to only those optimization jobs that were created before the specified time.

LastModifiedTimeAfter

Filters the results to only those optimization jobs that were updated after the specified time.

LastModifiedTimeBefore

Filters the results to only those optimization jobs that were updated before the specified time.

OptimizationContains

Filters the results to only those optimization jobs that apply the specified optimization techniques. You can specify either Quantization or Compilation.

NameContains

Filters the results to only those optimization jobs with a name that contains the specified string.

StatusEquals

Filters the results to only those optimization jobs with the specified status.

SortBy

The field by which to sort the optimization jobs in the response. The default is CreationTime

SortOrder

The sort order for results. The default is Ascending

Value

A list with the following syntax:

list(
  OptimizationJobSummaries = list(
    list(
      OptimizationJobName = "string",
      OptimizationJobArn = "string",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      OptimizationJobStatus = "INPROGRESS"|"COMPLETED"|"FAILED"|"STARTING"|"STOPPING"|"STOPPED",
      OptimizationStartTime = as.POSIXct(
        "2015-01-01"
      ),
      OptimizationEndTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModifiedTime = as.POSIXct(
        "2015-01-01"
      ),
      DeploymentInstanceType = "ml.p4d.24xlarge"|"ml.p4de.24xlarge"|"ml.p5.48xlarge"|"ml.g5.xlarge"|"ml.g5.2xlarge"|"ml.g5.4xlarge"|"ml.g5.8xlarge"|"ml.g5.12xlarge"|"ml.g5.16xlarge"|"ml.g5.24xlarge"|"ml.g5.48xlarge"|"ml.g6.xlarge"|"ml.g6.2xlarge"|"ml.g6.4xlarge"|"ml.g6.8xlarge"|"ml.g6.12xlarge"|"ml.g6.16xlarge"|"ml.g6.24xlarge"|"ml.g6.48xlarge"|"ml.inf2.xlarge"|"ml.inf2.8xlarge"|"ml.inf2.24xlarge"|"ml.inf2.48xlarge"|"ml.trn1.2xlarge"|"ml.trn1.32xlarge"|"ml.trn1n.32xlarge",
      OptimizationTypes = list(
        "string"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_optimization_jobs(
  NextToken = "string",
  MaxResults = 123,
  CreationTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  CreationTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedTimeAfter = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedTimeBefore = as.POSIXct(
    "2015-01-01"
  ),
  OptimizationContains = "string",
  NameContains = "string",
  StatusEquals = "INPROGRESS"|"COMPLETED"|"FAILED"|"STARTING"|"STOPPING"|"STOPPED",
  SortBy = "Name"|"CreationTime"|"Status",
  SortOrder = "Ascending"|"Descending"
)