asS3LocationOrNull

Casts this ImageSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.S3Location value. Returns null if the ImageSource is not a S3Location.