BedrockAgentCoreDataPlaneFrontingLayer / Client / delete_memory_record
delete_memory_record¶
- BedrockAgentCoreDataPlaneFrontingLayer.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
Request Syntax
response = client.delete_memory_record( memoryId='string', memoryRecordId='string' )
- Parameters:
memoryId (string) –
[REQUIRED]
The identifier of the AgentCore Memory resource from which to delete the memory record.
memoryRecordId (string) –
[REQUIRED]
The identifier of the memory record to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'memoryRecordId': 'string' }
Response Structure
(dict) –
memoryRecordId (string) –
The identifier of the memory record that was deleted.
Exceptions
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ServiceQuotaExceededException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.AccessDeniedException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ValidationException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.InvalidInputException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ResourceNotFoundException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ThrottledException
BedrockAgentCoreDataPlaneFrontingLayer.Client.exceptions.ServiceException