SourceLocation

sealed class SourceLocation

The source location for a notebook import in Amazon SageMaker Unified Studio.

Inheritors

Types

Link copied to clipboard
data class S3(val value: String) : SourceLocation

The Amazon Simple Storage Service URI of the notebook source file.

Link copied to clipboard

Functions

Link copied to clipboard
fun asS3(): String

Casts this SourceLocation as a S3 and retrieves its kotlin.String value. Throws an exception if the SourceLocation is not a S3.

Link copied to clipboard

Casts this SourceLocation as a S3 and retrieves its kotlin.String value. Returns null if the SourceLocation is not a S3.