ImageSource
Types
Functions
Link copied to clipboard
Casts this ImageSource as a Bytes and retrieves its kotlin.ByteArray value. Throws an exception if the ImageSource is not a Bytes.
Link copied to clipboard
Casts this ImageSource as a Bytes and retrieves its kotlin.ByteArray value. Returns null if the ImageSource is not a Bytes.
Link copied to clipboard
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.
Link copied to clipboard
Casts this ImageSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.S3Location value. Returns null if the ImageSource is not a S3Location.