Skip to content

Bedrock Agentcore Control  >  Operations  >  delete_memory

delete_memory

Operation

delete_memory async

delete_memory(input: DeleteMemoryInput, plugins: list[Plugin] | None = None) -> DeleteMemoryOutput

Deletes an Amazon Bedrock AgentCore Memory resource.

Parameters:

Name Type Description Default
input DeleteMemoryInput

An instance of DeleteMemoryInput.

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
DeleteMemoryOutput

An instance of DeleteMemoryOutput.

Input

DeleteMemoryInput dataclass

Dataclass for DeleteMemoryInput structure.

Attributes

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

A client token is used for keeping track of idempotent requests. It can contain a session id which can be around 250 chars, combined with a unique AWS identifier.

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

The unique identifier of the memory to delete.

Output

DeleteMemoryOutput dataclass

Dataclass for DeleteMemoryOutput structure.

Attributes

memory_id instance-attribute
memory_id: str

The unique identifier of the deleted AgentCore Memory resource.

status class-attribute instance-attribute
status: MemoryStatus | None = None

The current status of the AgentCore Memory resource deletion.