Skip to content

Update Inference Component

sagemaker_update_inference_component R Documentation

Updates an inference component

Description

Updates an inference component.

Usage

sagemaker_update_inference_component(InferenceComponentName,
  Specification, RuntimeConfig)

Arguments

InferenceComponentName

[required] The name of the inference component.

Specification

Details about the resources to deploy with this inference component, including the model, container, and compute resources.

RuntimeConfig

Runtime settings for a model that is deployed with an inference component.

Value

A list with the following syntax:

list(
  InferenceComponentArn = "string"
)

Request syntax

svc$update_inference_component(
  InferenceComponentName = "string",
  Specification = list(
    ModelName = "string",
    Container = list(
      Image = "string",
      ArtifactUrl = "string",
      Environment = list(
        "string"
      )
    ),
    StartupParameters = list(
      ModelDataDownloadTimeoutInSeconds = 123,
      ContainerStartupHealthCheckTimeoutInSeconds = 123
    ),
    ComputeResourceRequirements = list(
      NumberOfCpuCoresRequired = 123.0,
      NumberOfAcceleratorDevicesRequired = 123.0,
      MinMemoryRequiredInMb = 123,
      MaxMemoryRequiredInMb = 123
    )
  ),
  RuntimeConfig = list(
    CopyCount = 123
  )
)