delete_event¶
Operation¶
delete_event
async
¶
delete_event(input: DeleteEventInput, plugins: list[Plugin] | None = None) -> DeleteEventOutput
Deletes an event from an AgentCore Memory resource. When you delete an event, it is permanently removed.
To use this operation, you must have the bedrock-agentcore:DeleteEvent
permission.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
DeleteEventInput
|
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 |
|---|---|
DeleteEventOutput
|
An instance of |
Input¶
DeleteEventInput
dataclass
¶
Dataclass for DeleteEventInput structure.
Attributes¶
actor_id
class-attribute
instance-attribute
¶
actor_id: str | None = None
The identifier of the actor associated with the event to delete.
event_id
class-attribute
instance-attribute
¶
event_id: str | None = None
The identifier of the event to delete.
memory_id
class-attribute
instance-attribute
¶
memory_id: str | None = None
The identifier of the AgentCore Memory resource from which to delete the event.
session_id
class-attribute
instance-attribute
¶
session_id: str | None = None
The identifier of the session containing the event to delete.