更新异步端点 - Amazon SageMaker
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

更新异步端点

使用 UpdateEndpoint API 更新异步端点。更新终端节点时, SageMaker首先要配置并切换到您指定的新终端节点配置,然后才会删除在之前的终端节点配置中配置的资源。在端点仍处于活动状态时,或者如果端点上正在执行 UpdateEndpointCreateEndpoint 操作时,请不要删除 EndpointConfig

# The name of the endpoint. The name must be unique within an Amazon Region in your Amazon account. endpoint_name='<endpoint-name>' # The name of the endpoint configuration associated with this endpoint. endpoint_config_name='<endpoint-config-name>' sagemaker_client.update_endpoint( EndpointConfigName=endpoint_config_name, EndpointName=endpoint_name )

Amazon SageMaker 收到请求后,会将终端节点状态设置为 “正在更新”。更新异步端点后,它将状态设置为InService。要检查端点的状态,请使用 DescribeEndpoint API。有关在更新端点时可以指定的参数的完整列表,请查看 UpdateEndpoint API。