Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sagemaker_update_endpoint_weights_and_capacities

Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint


Description

Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint. When it receives the request, Amazon SageMaker sets the endpoint status to Updating. After updating the endpoint, it sets the status to InService. To check the status of an endpoint, use the describe_endpoint API.

Usage

sagemaker_update_endpoint_weights_and_capacities(EndpointName,
  DesiredWeightsAndCapacities)

Arguments

EndpointName

[required] The name of an existing Amazon SageMaker endpoint.

DesiredWeightsAndCapacities

[required] An object that provides new capacity and weight values for a variant.

Value

A list with the following syntax:

list(
  EndpointArn = "string"
)

Request syntax

svc$update_endpoint_weights_and_capacities(
  EndpointName = "string",
  DesiredWeightsAndCapacities = list(
    list(
      VariantName = "string",
      DesiredWeight = 123.0,
      DesiredInstanceCount = 123
    )
  )
)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.