Skip to content

Bedrock Runtime  >  Unions  >  VideoSource

VideoSource

Union Type

VideoSource module-attribute

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.

Union Member Types

VideoSourceBytes dataclass

Video content encoded in base64.

Attributes

value instance-attribute
value: bytes

VideoSourceS3Location dataclass

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.

Attributes

value instance-attribute
value: S3Location

VideoSourceUnknown dataclass

Represents an unknown variant.

If you receive this value, you will need to update your library to receive the parsed value.

This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str