Skip to content

Bedrock Agentcore  >  Structures  >  Event

Event

Structure Class

Event dataclass

Contains information about an event in an AgentCore Memory resource.

Attributes

actor_id instance-attribute
actor_id: str

The identifier of the actor associated with the event.

branch class-attribute instance-attribute
branch: Branch | None = None

The branch information for the event.

event_id instance-attribute
event_id: str

The unique identifier of the event.

event_timestamp instance-attribute
event_timestamp: datetime

The timestamp when the event occurred.

memory_id instance-attribute
memory_id: str

The identifier of the AgentCore Memory resource containing the event.

metadata class-attribute instance-attribute
metadata: dict[str, MetadataValue] | None = None

Metadata associated with an event.

payload instance-attribute
payload: list[PayloadType]

The content payload of the event.

session_id instance-attribute
session_id: str

The identifier of the session containing the event.