Skip to content

Bedrock Runtime  >  Unions  >  GuardrailChecksContentBlock

GuardrailChecksContentBlock

Union Type

GuardrailChecksContentBlock module-attribute

A content block within a message to evaluate.

Union Member Types

GuardrailChecksContentBlockText dataclass

The text content to evaluate.

Attributes

value instance-attribute
value: str

GuardrailChecksContentBlockUnknown 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