Skip to content

DocumentAttributeValueDict

Union Type

DocumentAttributeValueDict module-attribute

Dictionary form of DocumentAttributeValue, setting exactly one variant.

Union Member Types

DocumentAttributeValueStringValueDict

Bases: TypedDict

Attributes

string_value instance-attribute
string_value: str

A string.

DocumentAttributeValueStringListValueDict

Bases: TypedDict

Attributes

string_list_value instance-attribute
string_list_value: Sequence[str]

A list of strings.

DocumentAttributeValueLongValueDict

Bases: TypedDict

Attributes

long_value instance-attribute
long_value: int

A long integer value.

DocumentAttributeValueDateValueDict

Bases: TypedDict

Attributes

date_value instance-attribute
date_value: datetime

A date expressed as an ISO 8601 string.

It's important for the time zone to be included in the ISO 8601 date-time format. For example, 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.