v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143021,9861.6 MB

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, SageMaker sets the endpoint status to <code>Updating</code>. After updating the endpoint, it sets the status to <code>InService</code>. To check the status of an endpoint, use the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DescribeEndpoint.html">DescribeEndpoint</a> API.

post/#X-Amz-Target=SageMaker.UpdateEndpointWeightsAndCapacities

Headers

X-Amz-Target'SageMaker.UpdateEndpointWeightsAndCapacities' required

Request body

EndpointNamestring required

The name of an existing SageMaker endpoint.

Response

Success

EndpointArnstring required

The Amazon Resource Name (ARN) of the updated endpoint.