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(
297
297
would like to deploy the model and endpoint with recommended parameters.
298
298
explainer_config (sagemaker.explainer.ExplainerConfig): Specifies online explainability
299
299
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
303
305
Raises:
304
306
ValueError: If arguments combination check failed in these circumstances:
305
307
- If no role is specified or
Original file line number Diff line number Diff line change @@ -1497,9 +1497,10 @@ def deploy(
1497
1497
inference_ami_version (Optional [str]): Specifies an option from a collection of preconfigured
1498
1498
Amazon Machine Image (AMI) images. For a full list of options, see:
1499
1499
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
1503
1504
Note: Currently this is supported for single model endpoints
1504
1505
Raises:
1505
1506
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(
1616
1616
AsyncInferenceConfig, BatchTransformInferenceConfig, ResourceRequirements]]) :
1617
1617
Additional Config for different deployment types such as
1618
1618
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
1622
1623
Note: Currently this is supported for single model endpoints
1623
1624
Returns:
1624
1625
Transformer for Batch Deployments
Original file line number Diff line number Diff line change @@ -4549,7 +4549,10 @@ def create_endpoint_config(
4549
4549
{
4550
4550
"RoutingStrategy": sagemaker.enums.RoutingStrategy.RANDOM
4551
4551
}
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
4553
4556
4554
4557
Example:
4555
4558
>>> tags = [{'Key': 'tagname', 'Value': 'tagvalue'}]
You can’t perform that action at this time.
0 commit comments