asS3

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.