{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-bedrock/json-schema/amazon-bedrock-batch-delete-memory-records-output-schema.json",
  "title": "BatchDeleteMemoryRecordsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-bedrock-memoryrecords-api-openapi.yml#/components/schemas/BatchDeleteMemoryRecordsOutput",
  "type": "object",
  "properties": {
    "successfulRecords": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MemoryRecordOutput"
      },
      "description": "A list of memory records that were successfully deleted during the batch operation."
    },
    "failedRecords": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MemoryRecordOutput"
      },
      "description": "A list of memory records that failed to be deleted, including error details for each failure."
    }
  },
  "required": [
    "successfulRecords",
    "failedRecords"
  ],
  "$defs": {
    "MemoryRecordOutput": {
      "type": "object",
      "properties": {
        "memoryRecordId": {
          "type": "string",
          "description": "The unique ID associated to the memory record."
        },
        "status": {
          "type": "string",
          "enum": [
            "SUCCEEDED",
            "FAILED"
          ],
          "description": "The status of the memory record operation (e.g., SUCCEEDED, FAILED)."
        },
        "requestIdentifier": {
          "type": "string",
          "description": "The client-provided identifier that was used to track this record operation."
        },
        "errorCode": {
          "type": "integer",
          "description": "The error code returned when the memory record operation fails."
        },
        "errorMessage": {
          "type": "string",
          "description": "A human-readable error message describing why the memory record operation failed."
        }
      },
      "required": [
        "memoryRecordId",
        "status"
      ]
    }
  }
}