File tree Expand file tree Collapse file tree 4 files changed +17
-10
lines changed Expand file tree Collapse file tree 4 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -297,9 +297,11 @@ def deploy(
297297 would like to deploy the model and endpoint with recommended parameters.
298298 explainer_config (sagemaker.explainer.ExplainerConfig): Specifies online explainability
299299 configuration for use with Amazon SageMaker Clarify. (default: None)
300- update_endpoint (Optional[bool]): Flag to update the model in an existing Amazon SageMaker endpoint.
301- If True, this will deploy a new EndpointConfig to an already existing endpoint and
302- delete resources corresponding to the previous EndpointConfig. Default: False
300+ update_endpoint (Optional[bool]):
301+ Flag to update the model in an existing Amazon SageMaker endpoint.
302+ If True, this will deploy a new EndpointConfig to an already existing endpoint
303+ and delete resources corresponding to the previous EndpointConfig. Default: False
304+ Note: Currently this is supported for single model endpoints
303305 Raises:
304306 ValueError: If arguments combination check failed in these circumstances:
305307 - If no role is specified or
Original file line number Diff line number Diff line change @@ -1497,9 +1497,10 @@ def deploy(
14971497 inference_ami_version (Optional [str]): Specifies an option from a collection of preconfigured
14981498 Amazon Machine Image (AMI) images. For a full list of options, see:
14991499 https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ProductionVariant.html
1500- update_endpoint (Optional[bool]): Flag to update the model in an existing Amazon SageMaker endpoint.
1501- If True, this will deploy a new EndpointConfig to an already existing endpoint and delete resources
1502- corresponding to the previous EndpointConfig. Default: False
1500+ update_endpoint (Optional[bool]):
1501+ Flag to update the model in an existing Amazon SageMaker endpoint.
1502+ If True, this will deploy a new EndpointConfig to an already existing endpoint
1503+ and delete resources corresponding to the previous EndpointConfig. Default: False
15031504 Note: Currently this is supported for single model endpoints
15041505 Raises:
15051506 ValueError: If arguments combination check failed in these circumstances:
Original file line number Diff line number Diff line change @@ -1616,9 +1616,10 @@ def deploy(
16161616 AsyncInferenceConfig, BatchTransformInferenceConfig, ResourceRequirements]]) :
16171617 Additional Config for different deployment types such as
16181618 serverless, async, batch and multi-model/container
1619- update_endpoint (Optional[bool]): Flag to update the model in an existing Amazon SageMaker endpoint.
1620- If True, this will deploy a new EndpointConfig to an already existing endpoint and delete resources
1621- corresponding to the previous EndpointConfig. Default: False
1619+ update_endpoint (Optional[bool]):
1620+ Flag to update the model in an existing Amazon SageMaker endpoint.
1621+ If True, this will deploy a new EndpointConfig to an already existing endpoint
1622+ and delete resources corresponding to the previous EndpointConfig. Default: False
16221623 Note: Currently this is supported for single model endpoints
16231624 Returns:
16241625 Transformer for Batch Deployments
Original file line number Diff line number Diff line change @@ -4549,7 +4549,10 @@ def create_endpoint_config(
45494549 {
45504550 "RoutingStrategy": sagemaker.enums.RoutingStrategy.RANDOM
45514551 }
4552- inference_ami_version (Optional [str]): Specifies an option from a collection of preconfigured
4552+ inference_ami_version (Optional [str]):
4553+ Specifies an option from a collection of preconfigured
4554+ Amazon Machine Image (AMI) images. For a full list of options, see:
4555+ https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ProductionVariant.html
45534556
45544557 Example:
45554558 >>> tags = [{'Key': 'tagname', 'Value': 'tagvalue'}]
You can’t perform that action at this time.
0 commit comments