Skip to content

SourceAlgorithm

Source code in docs_src/capo_sagemaker/types/source_algorithm.py
class SourceAlgorithm(TypedDict, closed=True):
    model_data_url: NotRequired["capo_sagemaker.types.url.Url"]
    """<p>The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single <code>gzip</code> compressed tar archive (<code>.tar.gz</code> suffix).</p> <note> <p>The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.</p> </note>"""
    model_data_source: NotRequired[
        "capo_sagemaker.types.model_data_source.ModelDataSource"
    ]
    """<p>Specifies the location of ML model data to deploy during endpoint creation.</p>"""
    model_data_e_tag: NotRequired["capo_sagemaker.types.string.String"]
    """<p>The ETag associated with Model Data URL.</p>"""
    algorithm_name: NotRequired["capo_sagemaker.types.arn_or_name.ArnOrName"]
    """<p>The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.</p>"""

algorithm_name instance-attribute

algorithm_name: NotRequired[ArnOrName]

The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.

model_data_e_tag instance-attribute

model_data_e_tag: NotRequired[String]

The ETag associated with Model Data URL.

model_data_source instance-attribute

model_data_source: NotRequired[ModelDataSource]

Specifies the location of ML model data to deploy during endpoint creation.

model_data_url instance-attribute

model_data_url: NotRequired[Url]

The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.