Skip to content

Describe Optimization Job

sagemaker_describe_optimization_job R Documentation

Provides the properties of the specified optimization job

Description

Provides the properties of the specified optimization job.

Usage

sagemaker_describe_optimization_job(OptimizationJobName)

Arguments

OptimizationJobName

[required] The name that you assigned to the optimization job.

Value

A list with the following syntax:

list(
  OptimizationJobArn = "string",
  OptimizationJobStatus = "INPROGRESS"|"COMPLETED"|"FAILED"|"STARTING"|"STOPPING"|"STOPPED",
  OptimizationStartTime = as.POSIXct(
    "2015-01-01"
  ),
  OptimizationEndTime = as.POSIXct(
    "2015-01-01"
  ),
  CreationTime = as.POSIXct(
    "2015-01-01"
  ),
  LastModifiedTime = as.POSIXct(
    "2015-01-01"
  ),
  FailureReason = "string",
  OptimizationJobName = "string",
  ModelSource = list(
    S3 = list(
      S3Uri = "string",
      ModelAccessConfig = list(
        AcceptEula = TRUE|FALSE
      )
    )
  ),
  OptimizationEnvironment = list(
    "string"
  ),
  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",
  OptimizationConfigs = list(
    list(
      ModelQuantizationConfig = list(
        Image = "string",
        OverrideEnvironment = list(
          "string"
        )
      ),
      ModelCompilationConfig = list(
        Image = "string",
        OverrideEnvironment = list(
          "string"
        )
      )
    )
  ),
  OutputConfig = list(
    KmsKeyId = "string",
    S3OutputLocation = "string"
  ),
  OptimizationOutput = list(
    RecommendedInferenceImage = "string"
  ),
  RoleArn = "string",
  StoppingCondition = list(
    MaxRuntimeInSeconds = 123,
    MaxWaitTimeInSeconds = 123,
    MaxPendingTimeInSeconds = 123
  ),
  VpcConfig = list(
    SecurityGroupIds = list(
      "string"
    ),
    Subnets = list(
      "string"
    )
  )
)

Request syntax

svc$describe_optimization_job(
  OptimizationJobName = "string"
)