BedrockAgentCoreDataPlaneFrontingLayer / Client / delete_event
delete_event¶
- BedrockAgentCoreDataPlaneFrontingLayer.Client.delete_event(**kwargs)¶
Deletes an event from a memory store. When you delete an event, it is permanently removed.
To use this operation, you must have the
genesismemory:DeleteEvent
permission.See also: AWS API Documentation
Request Syntax
response = client.delete_event( memoryId='string', sessionId='string', eventId='string', actorId='string' )
- Parameters:
memoryId (string) –
[REQUIRED]
The identifier of the memory store from which to delete the event.
sessionId (string) –
[REQUIRED]
The identifier of the session containing the event to delete.
eventId (string) –
[REQUIRED]
The identifier of the event to delete.
actorId (string) –
[REQUIRED]
The identifier of the actor associated with the event to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'eventId': 'string' }
Response Structure
(dict) –
eventId (string) –
The identifier of the event 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