{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-guardduty/json-schema/amazon-guardduty-create-threat-entity-set-request-schema.json",
  "title": "CreateThreatEntitySetRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-guardduty-threatentityset-api-openapi.yml#/components/schemas/CreateThreatEntitySetRequest",
  "type": "object",
  "properties": {
    "DetectorId": {
      "type": "string",
      "description": "The unique ID of the detector of the GuardDuty account for which you want to create a threat entity set. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API."
    },
    "Name": {
      "type": "string",
      "description": "A user-friendly name to identify the threat entity set. The name of your list can include lowercase letters, uppercase letters, numbers, dash (-), and underscore (_)."
    },
    "Format": {
      "type": "string",
      "enum": [
        "TXT",
        "STIX",
        "OTX_CSV",
        "ALIEN_VAULT",
        "PROOF_POINT",
        "FIRE_EYE"
      ],
      "description": "The format of the file that contains the threat entity set."
    },
    "Location": {
      "type": "string",
      "description": "The URI of the file that contains the threat entity set. The format of the Location URL must be a valid Amazon S3 URL format. Invalid URL formats will result in an error, regardless of whether you activate the entity set or not. For more information about format of the location URLs, see Format of location URL under Step 2: Adding trusted or threat intelligence data in the Amazon GuardDuty User Guide."
    },
    "ExpectedBucketOwner": {
      "type": "string",
      "description": "The Amazon Web Services account ID that owns the Amazon S3 bucket specified in the location parameter."
    },
    "Activate": {
      "type": "boolean",
      "description": "A boolean value that indicates whether GuardDuty should start using the uploaded threat entity set to generate findings."
    },
    "ClientToken": {
      "type": "string",
      "description": "The idempotency token for the create request."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The tags to be added to a new threat entity set resource."
    }
  },
  "required": [
    "DetectorId",
    "Name",
    "Format",
    "Location",
    "Activate"
  ]
}