View a markdown version of this page

AIAdapterModelPackageEntry - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AIAdapterModelPackageEntry

A LoRA adapter entry identified by a model package ARN.

Contents

AdapterId

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

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

For more information about using this API in one of the language-specific Amazon SDKs, see the following: