{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-macie/json-schema/amazon-macie-batch-update-automated-discovery-accounts-request-schema.json",
  "title": "BatchUpdateAutomatedDiscoveryAccountsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-macie-automated-discovery-api-openapi.yml#/components/schemas/BatchUpdateAutomatedDiscoveryAccountsRequest",
  "type": "object",
  "properties": {
    "accounts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AutomatedDiscoveryAccountUpdate"
      },
      "description": "An array of objects, one for each account to change the status of automated sensitive data discovery for. Each object specifies the Amazon Web Services account ID for an account and a new status for that account."
    }
  },
  "$defs": {
    "AutomatedDiscoveryAccountUpdate": {
      "type": "object",
      "properties": {
        "accountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID for the account."
        },
        "status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, perform automated sensitive data discovery activities for the account; and, DISABLED, don't perform automated sensitive data discovery activities for the account."
        }
      }
    }
  }
}