AiModelSource

sealed class AiModelSource

The source of the model for an AI recommendation job. This is a union type.

Inheritors

Types

Link copied to clipboard
data class S3(val value: AiModelSourceS3) : AiModelSource

The Amazon S3 location of the model artifacts.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this AiModelSource as a S3 and retrieves its aws.sdk.kotlin.services.sagemaker.model.AiModelSourceS3 value. Throws an exception if the AiModelSource is not a S3.

Link copied to clipboard

Casts this AiModelSource as a S3 and retrieves its aws.sdk.kotlin.services.sagemaker.model.AiModelSourceS3 value. Returns null if the AiModelSource is not a S3.