BedrockAgentCoreClient.batch_delete_memory_records
rboto-bedrock-agentcore==0.4.0 · Service index · Types
Model summary (excerpt): Deletes multiple memory records in a single batch operation from the specified memory.
Install and imports
from rboto import BedrockAgentCoreClient
from collections.abc import Sequence
from rboto_bedrock_agentcore.types import (
BatchDeleteMemoryRecordsOutput,
MemoryRecordDeleteInput,
)
Signature
async def batch_delete_memory_records(
*,
memory_id: str,
records: Sequence[MemoryRecordDeleteInput],
) -> BatchDeleteMemoryRecordsOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
memory_id |
Yes | The unique ID of the memory resource where records will be deleted. |
records |
Yes | A list of memory record deletion inputs to be processed in the batch operation. |
Output
BatchDeleteMemoryRecordsOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
successful_records |
list[MemoryRecordValueValueOutput] |
Always present | MemoryRecordValueValueOutput |
failed_records |
list[MemoryRecordValueValueOutput] |
Always present | MemoryRecordValueValueOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
BatchDeleteMemoryRecordsOutput, MemoryRecordDeleteInput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agentcore.exceptions:
AccessDeniedError, ResourceNotFoundError, ServiceError, ServiceQuotaExceededError, ThrottledError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.