:doc:`AgentsforBedrockRuntime <../../bedrock-agent-runtime>` / Client / delete_agent_memory

*******************
delete_agent_memory
*******************



.. py:method:: AgentsforBedrockRuntime.Client.delete_agent_memory(**kwargs)

  

  Deletes memory from the specified memory identifier.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/DeleteAgentMemory>`_  


  **Request Syntax**
  ::

    response = client.delete_agent_memory(
        agentAliasId='string',
        agentId='string',
        memoryId='string',
        sessionId='string'
    )
    
  :type agentAliasId: string
  :param agentAliasId: **[REQUIRED]** 

    The unique identifier of an alias of an agent.

    

  
  :type agentId: string
  :param agentId: **[REQUIRED]** 

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

    

  
  :type memoryId: string
  :param memoryId: 

    The unique identifier of the memory.

    

  
  :type sessionId: string
  :param sessionId: 

    The unique session identifier of the memory.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.ConflictException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.ValidationException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.InternalServerException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.DependencyFailedException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.BadGatewayException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.ThrottlingException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`AgentsforBedrockRuntime.Client.exceptions.ServiceQuotaExceededException`

  