BedrockAgentCore / Client / start_memory_extraction_job
start_memory_extraction_job¶
- BedrockAgentCore.Client.start_memory_extraction_job(**kwargs)¶
Starts a memory extraction job that processes events that failed extraction previously in an AgentCore Memory resource and produces structured memory records. When earlier extraction attempts have left events unprocessed, this job will pick up and extract those as well.
To use this operation, you must have the
bedrock-agentcore:StartMemoryExtractionJobpermission.See also: AWS API Documentation
Request Syntax
response = client.start_memory_extraction_job( memoryId='string', extractionJob={ 'jobId': 'string' }, clientToken='string' )
- Parameters:
memoryId (string) –
[REQUIRED]
The unique identifier of the memory for which to start extraction jobs.
extractionJob (dict) –
[REQUIRED]
Extraction job to start in this operation.
jobId (string) – [REQUIRED]
The unique identifier of the extraction job.
clientToken (string) –
A unique, case-sensitive identifier to ensure idempotent processing of the request.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'jobId': 'string' }
Response Structure
(dict) –
jobId (string) –
Extraction Job ID that was attempted to start.
Exceptions
BedrockAgentCore.Client.exceptions.ServiceQuotaExceededExceptionBedrockAgentCore.Client.exceptions.ThrottledExceptionBedrockAgentCore.Client.exceptions.ServiceExceptionBedrockAgentCore.Client.exceptions.AccessDeniedExceptionBedrockAgentCore.Client.exceptions.ValidationExceptionBedrockAgentCore.Client.exceptions.ResourceNotFoundException