{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-security-hub/json-schema/aws-security-hub-batch-update-findings-response-schema.json",
  "title": "BatchUpdateFindingsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-security-hub-findings-api-openapi.yml#/components/schemas/BatchUpdateFindingsResponse",
  "type": "object",
  "properties": {
    "ProcessedFindings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AwsSecurityFindingIdentifier"
      },
      "description": "The list of findings that were updated successfully."
    },
    "UnprocessedFindings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchUpdateFindingsUnprocessedFinding"
      },
      "description": "The list of findings that were not updated."
    }
  },
  "required": [
    "ProcessedFindings",
    "UnprocessedFindings"
  ],
  "$defs": {
    "AwsSecurityFindingIdentifier": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The identifier of the finding that was specified by the finding provider."
        },
        "ProductArn": {
          "type": "string",
          "description": "The ARN generated by Security Hub CSPM that uniquely identifies a product that generates findings. This can be the ARN for a third-party product that is integrated with Security Hub CSPM, or the ARN for a custom integration."
        }
      },
      "required": [
        "Id",
        "ProductArn"
      ]
    },
    "BatchUpdateFindingsUnprocessedFinding": {
      "type": "object",
      "properties": {
        "FindingIdentifier": {
          "$ref": "#/$defs/AwsSecurityFindingIdentifier"
        },
        "ErrorCode": {
          "type": "string",
          "description": "The code associated with the error. Possible values are: ConcurrentUpdateError - Another request attempted to update the finding while this request was being processed. This error may also occur if you call BatchUpdateFindings and BatchImportFindings at the same time. DuplicatedFindingIdentifier - The request included two or more findings with the same FindingIdentifier. FindingNotFound - The FindingIdentifier included in the request did not match an existing finding. FindingSizeExceeded - The finding size was greater than the permissible value of 240 KB. InternalFailure - An internal service "
        },
        "ErrorMessage": {
          "type": "string",
          "description": "The message associated with the error. Possible values are: Concurrent finding updates detected Finding Identifier is duplicated Finding Not Found Finding size exceeded 240 KB Internal service failure Invalid Input"
        }
      },
      "required": [
        "FindingIdentifier",
        "ErrorCode",
        "ErrorMessage"
      ]
    }
  }
}