Amazon SageMaker
Developer Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.


Specifies weight and capacity values for a production variant.



The variant's capacity.

Type: Integer

Valid Range: Minimum value of 1.

Required: No


The variant's weight.

Type: Float

Valid Range: Minimum value of 0.

Required: No


The name of the variant to update.

Type: String

Length Constraints: Maximum length of 63.

Pattern: ^[a-zA-Z0-9](-*[a-zA-Z0-9])*

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: