list_events¶
Operation¶
list_events
async
¶
list_events(input: ListEventsInput, plugins: list[Plugin] | None = None) -> ListEventsOutput
Lists events in an AgentCore Memory resource based on specified criteria. We recommend using pagination to ensure that the operation returns quickly and successfully.
To use this operation, you must have the bedrock-agentcore:ListEvents
permission.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListEventsInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
ListEventsOutput
|
An instance of |
Input¶
ListEventsInput
dataclass
¶
Dataclass for ListEventsInput structure.
Attributes¶
actor_id
class-attribute
instance-attribute
¶
actor_id: str | None = None
The identifier of the actor for which to list events.
filter
class-attribute
instance-attribute
¶
filter: FilterInput | None = None
Filter criteria to apply when listing events.
include_payloads
class-attribute
instance-attribute
¶
include_payloads: bool = True
Specifies whether to include event payloads in the response. Set to true to include payloads, or false to exclude them.
max_results
class-attribute
instance-attribute
¶
max_results: int = 100
The maximum number of results to return in a single call. The default value is 20.
memory_id
class-attribute
instance-attribute
¶
memory_id: str | None = None
The identifier of the AgentCore Memory resource for which to list events.