Skip to content

Bedrock Agent  >  Structures  >  MetadataAttributeValue

MetadataAttributeValue

Structure Class

MetadataAttributeValue dataclass

Contains the value of the metadata attribute. Choose a type and include the field that corresponds to it.

Attributes

boolean_value class-attribute instance-attribute
boolean_value: bool | None = None

The value of the Boolean metadata attribute.

number_value class-attribute instance-attribute
number_value: float | None = field(repr=False, default=None)

The value of the numeric metadata attribute.

string_list_value class-attribute instance-attribute
string_list_value: list[str] | None = None

An array of strings that define the value of the metadata attribute.

string_value class-attribute instance-attribute
string_value: str | None = field(repr=False, default=None)

The value of the string metadata attribute.

type instance-attribute

The type of the metadata attribute.