GuardrailContentBlock
module-attribute
¶
GuardrailContentBlock = Union[GuardrailContentBlockText | GuardrailContentBlockImage | GuardrailContentBlockUnknown]
The content block to be evaluated by the guardrail.
Union Members¶
GuardrailContentBlockText
dataclass
¶
Text within content block to be evaluated by the guardrail.
Source code in src/aws_sdk_bedrock_runtime/models.py
1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 | |
GuardrailContentBlockImage
dataclass
¶
Image within guardrail content block to be evaluated by the guardrail.
Source code in src/aws_sdk_bedrock_runtime/models.py
1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 | |
GuardrailContentBlockUnknown
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.
Source code in src/aws_sdk_bedrock_runtime/models.py
1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 | |