VideoSource
A video source. You can upload a smaller video as a base64-encoded string as long as the encoded file is less than 25MB. You can also transfer videos up to 1GB in size from an S3 bucket.
Inheritors
Types
Video content encoded in base64.
The location of a video object in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.
Functions
Casts this VideoSource as a Bytes and retrieves its kotlin.ByteArray value. Throws an exception if the VideoSource is not a Bytes.
Casts this VideoSource as a Bytes and retrieves its kotlin.ByteArray value. Returns null if the VideoSource is not a Bytes.
Casts this VideoSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.S3Location value. Throws an exception if the VideoSource is not a S3Location.
Casts this VideoSource as a S3Location and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.S3Location value. Returns null if the VideoSource is not a S3Location.