Class: Aws::SageMaker::Types::AIAdapterSource
- Inherits:
-
Struct
- Object
- Struct
- Aws::SageMaker::Types::AIAdapterSource
- Defined in:
- gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb
Overview
AIAdapterSource is a union - when making an API calls you must set exactly one of the members.
AIAdapterSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AIAdapterSource corresponding to the set member.
The source of LoRA adapters for an AI recommendation job. This is a union type — specify exactly one of the members.
Defined Under Namespace
Classes: ModelPackageArns, S3Uris, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#model_package_arns ⇒ Array<Types::AIAdapterModelPackageEntry>
A list of LoRA adapters identified by their model package ARNs.
-
#s3_uris ⇒ Array<Types::AIAdapterS3Entry>
A list of LoRA adapters identified by their Amazon S3 URIs.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#model_package_arns ⇒ Array<Types::AIAdapterModelPackageEntry>
A list of LoRA adapters identified by their model package ARNs. Use this when your adapters were produced by a SageMaker AI fine-tuning workflow that registers model packages.
81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 81 class AIAdapterSource < Struct.new( :model_package_arns, :s3_uris, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ModelPackageArns < AIAdapterSource; end class S3Uris < AIAdapterSource; end class Unknown < AIAdapterSource; end end |
#s3_uris ⇒ Array<Types::AIAdapterS3Entry>
A list of LoRA adapters identified by their Amazon S3 URIs. Use this when your adapters are stored as raw artifacts in Amazon S3.
81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 81 class AIAdapterSource < Struct.new( :model_package_arns, :s3_uris, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ModelPackageArns < AIAdapterSource; end class S3Uris < AIAdapterSource; end class Unknown < AIAdapterSource; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
81 82 83 |
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 81 def unknown @unknown end |