Deploys the EndpointConfig specified in the request to a new fleet of instances
Source:R/sagemaker_operations.R
sagemaker_update_endpoint.RdDeploys 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.
Usage
sagemaker_update_endpoint(
EndpointName,
EndpointConfigName,
RetainAllVariantProperties = NULL,
ExcludeRetainedVariantProperties = NULL,
DeploymentConfig = NULL,
RetainDeploymentConfig = NULL
)Arguments
- EndpointName
[required] The name of the endpoint whose configuration you want to update.
- EndpointConfigName
[required] The name of the new endpoint configuration.
- RetainAllVariantProperties
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
RetainAllVariantPropertiestotrue. To use the variant properties specified in a newEndpointConfigcall when updating an endpoint, setRetainAllVariantPropertiestofalse. The default isfalse.- ExcludeRetainedVariantProperties
When you are updating endpoint resources with
RetainAllVariantProperties, whose value is set totrue,ExcludeRetainedVariantPropertiesspecifies the list of type VariantProperty to override with the values provided byEndpointConfig. If you don't specify a value forExcludeRetainedVariantProperties, no variant properties are overridden.- DeploymentConfig
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
- RetainDeploymentConfig
Specifies whether to reuse the last deployment configuration. The default value is false (the configuration is not reused).