aws.internal._media_source

(internal) base64 bytes, else an s3:// location. Any other URL is a hard error: Bedrock reads media from the request body or from S3, never from an arbitrary host.

Reference version

Signature

function aws.internal._media_source(
resolved: ai.wire.ResolvedMedia,
kind: string,
preview: bool = …
) -> aws.internal.MediaSource throws ai.errors.InvalidRequest | ai.errors.PreviewUnsupported

(internal) base64 bytes, else an s3:// location. Any other URL is a hard error: Bedrock reads media from the request body or from S3, never from an arbitrary host.

Source:<builtin>/aws/ns_internal/bedrock.bamlbytes 1717218008