Skip to content

ModelDeployConfig

Source code in docs_src/capo_sagemaker/types/model_deploy_config.py
class ModelDeployConfig(TypedDict, closed=True):
    auto_generate_endpoint_name: NotRequired[
        "capo_sagemaker.types.auto_generate_endpoint_name.AutoGenerateEndpointName"
    ]
    """<p>Set to <code>True</code> to automatically generate an endpoint name for a one-click Autopilot model deployment; set to <code>False</code> otherwise. The default value is <code>False</code>.</p> <note> <p>If you set <code>AutoGenerateEndpointName</code> to <code>True</code>, do not specify the <code>EndpointName</code>; otherwise a 400 error is thrown.</p> </note>"""
    endpoint_name: NotRequired["capo_sagemaker.types.endpoint_name.EndpointName"]
    """<p>Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.</p> <note> <p>Specify the <code>EndpointName</code> if and only if you set <code>AutoGenerateEndpointName</code> to <code>False</code>; otherwise a 400 error is thrown.</p> </note>"""

auto_generate_endpoint_name instance-attribute

auto_generate_endpoint_name: NotRequired[AutoGenerateEndpointName]

Set to True to automatically generate an endpoint name for a one-click Autopilot model deployment; set to False otherwise. The default value is False.

If you set AutoGenerateEndpointName to True, do not specify the EndpointName; otherwise a 400 error is thrown.

endpoint_name instance-attribute

endpoint_name: NotRequired[EndpointName]

Specifies the endpoint name to use for a one-click Autopilot model deployment if the endpoint name is not generated automatically.

Specify the EndpointName if and only if you set AutoGenerateEndpointName to False; otherwise a 400 error is thrown.