ModelPackageArnDataSource¶
Structure Class¶
ModelPackageArnDataSource
dataclass
¶
Contains the Amazon Resource Name (ARN) of a SageMaker AI model package to use as the data source for a custom model.
Attributes¶
model_package_arn
instance-attribute
¶
model_package_arn: str
The Amazon Resource Name (ARN) of the SageMaker AI model package. The
ARN must be for a model package of restricted type.
To use a model package ARN, you must have the
sagemaker:DescribeModelPackage and sagemaker:AccessModelPackageData
permissions on the model package resource.