ImageInputSource

sealed class ImageInputSource

Details about the source of an input image in the result from a function in the action group invocation.

Inheritors

Types

Link copied to clipboard
data class Bytes(val value: ByteArray) : ImageInputSource

The raw image bytes for the image. If you use an Amazon Web Services SDK, you don't need to encode the image bytes in base64.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this ImageInputSource as a Bytes and retrieves its kotlin.ByteArray value. Throws an exception if the ImageInputSource is not a Bytes.

Link copied to clipboard

Casts this ImageInputSource as a Bytes and retrieves its kotlin.ByteArray value. Returns null if the ImageInputSource is not a Bytes.