Class: Aws::SageMaker::Types::AIAdapterSource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

AIAdapterSource is a union - when making an API calls you must set exactly one of the members.

Note:

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

Instance Attribute Details

#model_package_arnsArray<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_urisArray<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.

Returns:



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

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



81
82
83
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 81

def unknown
  @unknown
end