aws.internal.ContentBlock

The `ContentBlock` union of a Converse message. Exactly one member is set; build with the static constructors rather than the literal.

Reference version

Signature

class aws.internal.ContentBlock

The ContentBlock union of a Converse message. Exactly one member is set; build with the static constructors rather than the literal.

Source:<builtin>/aws/ns_internal/bedrock.bamlbytes 6059–7631

Fields

text

string | null

cachePoint

baml.json.json | null

Static methods

function

of_cache_delimiter

(args: baml.json.json) -> aws.internal.ContentBlock throws never

A cachePoint block carrying args exactly as the prompt wrote it.

function

of_text

(text: string) -> aws.internal.ContentBlock throws never