Skip to main content

model_package

Gets an individual model_package resource

Overview

Namemodel_package
TypeResource
Descriptionmodel_package
Idawscc.sagemaker.model_package

Fields

NameDatatypeDescription
tagsarrayAn array of key-value pairs to apply to this resource.
additional_inference_specificationsarray
certify_for_marketplaceboolean
client_tokenstring
customer_metadata_propertiesobject
domainstring
drift_check_baselinesobject
inference_specificationobject
metadata_propertiesobject
model_approval_statusstring
model_metricsobject
model_package_descriptionstring
model_package_group_namestring
model_package_namestring
sample_payload_urlstring
skip_model_validationstring
source_algorithm_specificationobject
taskstring
validation_specificationobject
model_package_arnstring
approval_descriptionstring
creation_timestring
last_modified_timestring
model_package_statusstring
model_package_versioninteger
additional_inference_specifications_to_addarray
model_package_status_detailsobject
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
tags,
additional_inference_specifications,
certify_for_marketplace,
client_token,
customer_metadata_properties,
domain,
drift_check_baselines,
inference_specification,
metadata_properties,
model_approval_status,
model_metrics,
model_package_description,
model_package_group_name,
model_package_name,
sample_payload_url,
skip_model_validation,
source_algorithm_specification,
task,
validation_specification,
model_package_arn,
approval_description,
creation_time,
last_modified_time,
model_package_status,
model_package_version,
additional_inference_specifications_to_add,
model_package_status_details
FROM awscc.sagemaker.model_package
WHERE data__Identifier = '<ModelPackageArn>';

Permissions

To operate on the model_package resource, the following permissions are required:

Read

sagemaker:DescribeModelPackage,
sagemaker:ListTags

Update

sagemaker:UpdateModelPackage,
sagemaker:DescribeModelPackage,
sagemaker:ListTags,
sagemaker:AddTags,
sagemaker:DeleteTags

Delete

sagemaker:DeleteModelPackage,
sagemaker:DescribeModelPackage