Skip to content

ContentBlock module-attribute

ContentBlock: TypeAlias = (
    ContentBlockTextMember | ContentBlockCachePointMember | UnknownUnionMember
)

ContentBlockTextMember

Source code in docs_src/capo_bedrock_agent/types/content_block.py
class ContentBlockTextMember(TypedDict, closed=True):
    text: "str"

text instance-attribute

text: str

ContentBlockCachePointMember

Source code in docs_src/capo_bedrock_agent/types/content_block.py
class ContentBlockCachePointMember(TypedDict, closed=True):
    cachePoint: "capo_bedrock_agent.types.cache_point_block.CachePointBlock"

cachePoint instance-attribute

cachePoint: CachePointBlock