Updates variant weight of one or more variants associated with an existing endpoint, or capacity of one variant associated with an existing endpoint
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.
sagemaker_update_endpoint_weights_and_capacities(EndpointName, DesiredWeightsAndCapacities)
EndpointName |
[required] The name of an existing Amazon SageMaker endpoint. |
DesiredWeightsAndCapacities |
[required] An object that provides new capacity and weight values for a variant. |
A list with the following syntax:
list( EndpointArn = "string" )
svc$update_endpoint_weights_and_capacities( EndpointName = "string", DesiredWeightsAndCapacities = list( list( VariantName = "string", DesiredWeight = 123.0, DesiredInstanceCount = 123 ) ) )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.