:doc:`BedrockAgentCore <../../bedrock-agentcore>` / Client / delete_memory_record

********************
delete_memory_record
********************



.. py:method:: BedrockAgentCore.Client.delete_memory_record(**kwargs)

  

  Deletes a memory record from an AgentCore Memory resource. When you delete a memory record, it is permanently removed.

   

  To use this operation, you must have the ``bedrock-agentcore:DeleteMemoryRecord`` permission.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DeleteMemoryRecord>`_  


  **Request Syntax**
  ::

    response = client.delete_memory_record(
        memoryId='string',
        memoryRecordId='string'
    )
    
  :type memoryId: string
  :param memoryId: **[REQUIRED]** 

    The identifier of the AgentCore Memory resource from which to delete the memory record.

    

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

    The identifier of the memory record to delete.

    

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

    
    ::

      {
          'memoryRecordId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **memoryRecordId** *(string) --* 

        The identifier of the memory record that was deleted.

        
  
  **Exceptions**
  
  *   :py:class:`BedrockAgentCore.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`BedrockAgentCore.Client.exceptions.ThrottledException`

  
  *   :py:class:`BedrockAgentCore.Client.exceptions.ServiceException`

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

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

  
  *   :py:class:`BedrockAgentCore.Client.exceptions.InvalidInputException`

  
  *   :py:class:`BedrockAgentCore.Client.exceptions.ResourceNotFoundException`

  