Skip to content

Model

Source code in docs_src/capo_sagemaker/types/model.py
class Model(TypedDict, closed=True):
    model_name: NotRequired["capo_sagemaker.types.model_name.ModelName"]
    """<p>The name of the model.</p>"""
    primary_container: NotRequired[
        "capo_sagemaker.types.container_definition.ContainerDefinition"
    ]
    containers: NotRequired[
        "capo_sagemaker.types.container_definition_list.ContainerDefinitionList"
    ]
    """<p>The containers in the inference pipeline.</p>"""
    inference_execution_config: NotRequired[
        "capo_sagemaker.types.inference_execution_config.InferenceExecutionConfig"
    ]
    execution_role_arn: NotRequired["capo_sagemaker.types.role_arn.RoleArn"]
    """<p>The Amazon Resource Name (ARN) of the IAM role that you specified for the model.</p>"""
    vpc_config: NotRequired["capo_sagemaker.types.vpc_config.VpcConfig"]
    creation_time: NotRequired["capo_sagemaker.types.timestamp.Timestamp"]
    """<p>A timestamp that indicates when the model was created.</p>"""
    model_arn: NotRequired["capo_sagemaker.types.model_arn.ModelArn"]
    """<p>The Amazon Resource Name (ARN) of the model.</p>"""
    enable_network_isolation: NotRequired["capo_sagemaker.types.boolean.Boolean"]
    """<p>Isolates the model container. No inbound or outbound network calls can be made to or from the model container.</p>"""
    tags: NotRequired["capo_sagemaker.types.tag_list.TagList"]
    """<p>A list of key-value pairs associated with the model. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the <i>Amazon Web Services General Reference Guide</i>.</p>"""
    deployment_recommendation: NotRequired[
        "capo_sagemaker.types.deployment_recommendation.DeploymentRecommendation"
    ]
    """<p>A set of recommended deployment configurations for the model.</p>"""

containers instance-attribute

containers: NotRequired[ContainerDefinitionList]

The containers in the inference pipeline.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

A timestamp that indicates when the model was created.

deployment_recommendation instance-attribute

deployment_recommendation: NotRequired[DeploymentRecommendation]

A set of recommended deployment configurations for the model.

enable_network_isolation instance-attribute

enable_network_isolation: NotRequired[Boolean]

Isolates the model container. No inbound or outbound network calls can be made to or from the model container.

execution_role_arn instance-attribute

execution_role_arn: NotRequired[RoleArn]

The Amazon Resource Name (ARN) of the IAM role that you specified for the model.

inference_execution_config instance-attribute

inference_execution_config: NotRequired[InferenceExecutionConfig]

model_arn instance-attribute

model_arn: NotRequired[ModelArn]

The Amazon Resource Name (ARN) of the model.

model_name instance-attribute

model_name: NotRequired[ModelName]

The name of the model.

primary_container instance-attribute

primary_container: NotRequired[ContainerDefinition]

tags instance-attribute

tags: NotRequired[TagList]

A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.

vpc_config instance-attribute

vpc_config: NotRequired[VpcConfig]