sagemaker_update_endpoint: Deploys the EndpointConfig specified in the request to a new...

View source: R/sagemaker_operations.R

sagemaker_update_endpointR Documentation

Deploys the EndpointConfig specified in the request to a new fleet of instances

Description

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.

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 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.

ExcludeRetainedVariantProperties

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.

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).


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.