Skip to content

AIAdapterModelPackageEntry

Source code in docs_src/capo_sagemaker/types/ai_adapter_model_package_entry.py
class AIAdapterModelPackageEntry(TypedDict, closed=True):
    adapter_id: NotRequired["capo_sagemaker.types.ai_adapter_id.AIAdapterId"]
    """<p>A unique identifier for the adapter. This ID is used as the inference component name when the adapter is deployed. The ID must start and end with an alphanumeric character, can contain hyphens between alphanumeric characters, and can be up to 63 characters long.</p>"""
    model_package_arn: NotRequired[
        "capo_sagemaker.types.model_package_arn.ModelPackageArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the model package that contains the LoRA adapter artifacts.</p>"""

adapter_id instance-attribute

adapter_id: NotRequired[AIAdapterId]

A unique identifier for the adapter. This ID is used as the inference component name when the adapter is deployed. The ID must start and end with an alphanumeric character, can contain hyphens between alphanumeric characters, and can be up to 63 characters long.

model_package_arn instance-attribute

model_package_arn: NotRequired[ModelPackageArn]

The Amazon Resource Name (ARN) of the model package that contains the LoRA adapter artifacts.