Skip to content

Bedrock Agent Runtime  >  Operations  >  delete_agent_memory

delete_agent_memory

Operation

delete_agent_memory async

delete_agent_memory(input: DeleteAgentMemoryInput, plugins: list[Plugin] | None = None) -> DeleteAgentMemoryOutput

Deletes memory from the specified memory identifier.

Parameters:

Name Type Description Default
input DeleteAgentMemoryInput

An instance of DeleteAgentMemoryInput.

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
DeleteAgentMemoryOutput

An instance of DeleteAgentMemoryOutput.

Input

DeleteAgentMemoryInput dataclass

Dataclass for DeleteAgentMemoryInput structure.

Attributes

agent_alias_id class-attribute instance-attribute
agent_alias_id: str | None = None

The unique identifier of an alias of an agent.

agent_id class-attribute instance-attribute
agent_id: str | None = None

The unique identifier of the agent to which the alias belongs.

memory_id class-attribute instance-attribute
memory_id: str | None = None

The unique identifier of the memory.

session_id class-attribute instance-attribute
session_id: str | None = None

The unique session identifier of the memory.

Output

DeleteAgentMemoryOutput dataclass

Dataclass for DeleteAgentMemoryOutput structure.