DescribeModelPackageOutput
¶
Source code in docs_src/capo_sagemaker/types/describe_model_package_output.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | |
additional_inference_specifications
instance-attribute
¶
additional_inference_specifications: NotRequired[AdditionalInferenceSpecifications]
An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
approval_description
instance-attribute
¶
approval_description: NotRequired[ApprovalDescription]
A description provided for the model approval.
certify_for_marketplace
instance-attribute
¶
certify_for_marketplace: NotRequired[CertifyForMarketplace]
Whether the model package is certified for listing on Amazon Web Services Marketplace.
creation_time
instance-attribute
¶
creation_time: NotRequired[CreationTime]
A timestamp specifying when the model package was created.
customer_metadata_properties
instance-attribute
¶
customer_metadata_properties: NotRequired[CustomerMetadataMap]
The metadata properties associated with the model package versions.
domain
instance-attribute
¶
domain: NotRequired[String]
The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.
drift_check_baselines
instance-attribute
¶
drift_check_baselines: NotRequired[DriftCheckBaselines]
Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide.
inference_specification
instance-attribute
¶
inference_specification: NotRequired[InferenceSpecification]
Details about inference jobs that you can run with models based on this model package.
last_modified_time
instance-attribute
¶
last_modified_time: NotRequired[Timestamp]
The last time that the model package was modified.
managed_storage_type
instance-attribute
¶
managed_storage_type: NotRequired[ManagedStorageType]
The storage type of the model package.
model_approval_status
instance-attribute
¶
model_approval_status: NotRequired[ModelApprovalStatus]
The approval status of the model package.
model_card
instance-attribute
¶
model_card: NotRequired[ModelPackageModelCard]
The model card associated with the model package. Since ModelPackageModelCard is tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema of ModelCard. The ModelPackageModelCard schema does not include model_package_details, and model_overview is composed of the model_creator and model_artifact properties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.
When you set IncludedData to MetadataOnly in the request, ModelCardStatus is preserved and ModelCardContent is sanitized to include only the following JSON paths, when present in the model card:
-
model_overview.model_id -
model_overview.model_name -
intended_uses.risk_rating -
model_package_details.model_package_group_name -
model_package_details.model_package_arn
Because the ModelPackageModelCard schema does not include model_package_details and limits model_overview to model_creator and model_artifact, the sanitized ModelCardContent for a model package typically contains only intended_uses.risk_rating if it was provided when the model card was created. To retrieve the complete ModelCardContent, set IncludedData to AllData or omit the parameter.
model_life_cycle
instance-attribute
¶
model_life_cycle: NotRequired[ModelLifeCycle]
A structure describing the current state of the model in its life cycle.
model_package_arn
instance-attribute
¶
model_package_arn: NotRequired[ModelPackageArn]
The Amazon Resource Name (ARN) of the model package.
model_package_description
instance-attribute
¶
model_package_description: NotRequired[EntityDescription]
A brief summary of the model package.
model_package_group_name
instance-attribute
¶
model_package_group_name: NotRequired[EntityName]
If the model is a versioned model, the name of the model group that the versioned model belongs to.
model_package_name
instance-attribute
¶
model_package_name: NotRequired[EntityName]
The name of the model package being described.
model_package_registration_type
instance-attribute
¶
model_package_registration_type: NotRequired[ModelPackageRegistrationType]
The package registration type of the model package output.
model_package_status
instance-attribute
¶
model_package_status: NotRequired[ModelPackageStatus]
The current status of the model package.
model_package_status_details
instance-attribute
¶
model_package_status_details: NotRequired[ModelPackageStatusDetails]
Details about the current status of the model package.
model_package_version
instance-attribute
¶
model_package_version: NotRequired[ModelPackageVersion]
The version of the model package.
sample_payload_url
instance-attribute
¶
sample_payload_url: NotRequired[String]
The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).
security_config
instance-attribute
¶
security_config: NotRequired[ModelPackageSecurityConfig]
The KMS Key ID (KMSKeyId) used for encryption of model package information.
skip_model_validation
instance-attribute
¶
skip_model_validation: NotRequired[SkipModelValidation]
Indicates if you want to skip model validation.
source_algorithm_specification
instance-attribute
¶
source_algorithm_specification: NotRequired[SourceAlgorithmSpecification]
Details about the algorithm that was used to create the model package.
source_uri
instance-attribute
¶
source_uri: NotRequired[ModelPackageSourceUri]
The URI of the source for the model package.
task
instance-attribute
¶
task: NotRequired[String]
The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.
validation_specification
instance-attribute
¶
validation_specification: NotRequired[ModelPackageValidationSpecification]
Configurations for one or more transform jobs that SageMaker runs to test the model package.