AgentsforBedrockRuntime / Client / delete_agent_memory

delete_agent_memory#

AgentsforBedrockRuntime.Client.delete_agent_memory(**kwargs)#

Deletes memory from the specified memory identifier.

See also: AWS API Documentation

Request Syntax

response = client.delete_agent_memory(
    agentAliasId='string',
    agentId='string',
    memoryId='string',
    sessionId='string'
)
Parameters:
  • agentAliasId (string) –

    [REQUIRED]

    The unique identifier of an alias of an agent.

  • agentId (string) –

    [REQUIRED]

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

  • memoryId (string) – The unique identifier of the memory.

  • sessionId (string) – The unique session identifier of the memory.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • AgentsforBedrockRuntime.Client.exceptions.ConflictException

  • AgentsforBedrockRuntime.Client.exceptions.ResourceNotFoundException

  • AgentsforBedrockRuntime.Client.exceptions.ValidationException

  • AgentsforBedrockRuntime.Client.exceptions.InternalServerException

  • AgentsforBedrockRuntime.Client.exceptions.DependencyFailedException

  • AgentsforBedrockRuntime.Client.exceptions.BadGatewayException

  • AgentsforBedrockRuntime.Client.exceptions.ThrottlingException

  • AgentsforBedrockRuntime.Client.exceptions.AccessDeniedException

  • AgentsforBedrockRuntime.Client.exceptions.ServiceQuotaExceededException