Deploys the EndpointConfig
specified in the request to a new fleet of instances. SageMaker shifts endpoint traffic to the new instances with the updated endpoint configuration and then deletes the old instances using the previous EndpointConfig
(there is no availability loss). For more information about how to control the update and traffic shifting process, see Update models in production.
See https://www.paws-r-sdk.com/docs/sagemaker_update_endpoint/ for full documentation.
sagemaker_update_endpoint(
EndpointName,
EndpointConfigName,
RetainAllVariantProperties = NULL,
ExcludeRetainedVariantProperties = NULL,
DeploymentConfig = NULL,
RetainDeploymentConfig = NULL
)
[required] The name of the endpoint whose configuration you want to update.
[required] The name of the new endpoint configuration.
When updating endpoint resources, enables or disables the retention of
variant properties,
such as the instance count or the variant weight. To retain the variant
properties of an endpoint when updating it, set
RetainAllVariantProperties
to true
. To use the variant properties
specified in a new EndpointConfig
call when updating an endpoint, set
RetainAllVariantProperties
to false
. The default is false
.
When you are updating endpoint resources with
RetainAllVariantProperties
, whose value is set to true
,
ExcludeRetainedVariantProperties
specifies the list of type
VariantProperty
to override with the values provided by EndpointConfig
. If you don't
specify a value for ExcludeRetainedVariantProperties
, no variant
properties are overridden.
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).