View a markdown version of this page

Event - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Event

Contains information about an event in an AgentCore Memory resource.

Contents

actorId

The identifier of the actor associated with the event.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [a-zA-Z0-9][a-zA-Z0-9-_/]*(?::[a-zA-Z0-9-_/]+)*[a-zA-Z0-9-_/]*

Required: Yes

eventId

The unique identifier of the event.

Type: String

Pattern: [0-9]+#[a-fA-F0-9]+

Required: Yes

eventTimestamp

The timestamp when the event occurred.

Type: Timestamp

Required: Yes

memoryId

The identifier of the AgentCore Memory resource containing the event.

Type: String

Length Constraints: Minimum length of 12.

Pattern: (arn:(aws|aws-cn|aws-us-gov):bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:memory/)?[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}

Required: Yes

payload

The content payload of the event.

Type: Array of PayloadType objects

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Required: Yes

sessionId

The identifier of the session containing the event.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: [a-zA-Z0-9][a-zA-Z0-9-_]*

Required: Yes

branch

The branch information for the event.

Type: Branch object

Required: No

metadata

Metadata associated with an event.

Type: String to MetadataValue object map

Map Entries: Minimum number of 0 items. Maximum number of 15 items.

Key Length Constraints: Minimum length of 1. Maximum length of 128.

Key Pattern: [a-zA-Z0-9\s._:/=+@-]*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: