

# AIAdapterModelPackageEntry
<a name="API_AIAdapterModelPackageEntry"></a>

A LoRA adapter entry identified by a model package ARN.

## Contents
<a name="API_AIAdapterModelPackageEntry_Contents"></a>

 ** AdapterId **   <a name="sagemaker-Type-AIAdapterModelPackageEntry-AdapterId"></a>
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.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 63.  
Pattern: `[a-zA-Z0-9](-*[a-zA-Z0-9])*`   
Required: Yes

 ** ModelPackageArn **   <a name="sagemaker-Type-AIAdapterModelPackageEntry-ModelPackageArn"></a>
The Amazon Resource Name (ARN) of the model package that contains the LoRA adapter artifacts.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Pattern: `arn:aws[a-z\-]*:sagemaker:[a-z0-9\-]{9,16}:[0-9]{12}:model-package/[\S]{1,2048}`   
Required: Yes

## See Also
<a name="API_AIAdapterModelPackageEntry_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/sagemaker-2017-07-24/AIAdapterModelPackageEntry) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/sagemaker-2017-07-24/AIAdapterModelPackageEntry) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/sagemaker-2017-07-24/AIAdapterModelPackageEntry) 