Skip to content

BedrockSessionContentBlockDict

Union Type

BedrockSessionContentBlockDict module-attribute

Dictionary form of BedrockSessionContentBlock, setting exactly one variant.

Union Member Types

BedrockSessionContentBlockTextDict

Bases: TypedDict

Attributes

text instance-attribute
text: str

The text in the invocation step.

BedrockSessionContentBlockImageDict

Bases: TypedDict

Attributes

image instance-attribute

The image in the invocation step.