asS3Location
Casts this ImageSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.S3Location value. Throws an exception if the ImageSource is not a S3Location.
Casts this ImageSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.S3Location value. Throws an exception if the ImageSource is not a S3Location.