{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-glue/json-schema/aws-glue-batch-get-triggers-response-schema.json",
  "title": "BatchGetTriggersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-glue-aws-glue-x-amz-target-awsglue-batchgettriggers-api-api-openapi.yml#/components/schemas/BatchGetTriggersResponse",
  "type": "object",
  "properties": {
    "Triggers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Trigger"
      },
      "description": "A list of trigger definitions."
    },
    "TriggersNotFound": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of names of triggers not found."
    }
  },
  "$defs": {
    "Action": {
      "type": "object",
      "properties": {
        "JobName": {
          "type": "string",
          "description": "The name of a job to be run."
        },
        "Arguments": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself. You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes. For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide. For information about the key-value pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide."
        },
        "Timeout": {
          "type": "integer",
          "description": "The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status. This overrides the timeout value set in the parent job. Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception. When the value is left blank, the timeout is defaulted to 2,880 minutes for Glue version 4.0 and earlier, or 480 minutes for Glue version 5.0 and later. Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a tim"
        },
        "SecurityConfiguration": {
          "type": "string",
          "description": "The name of the SecurityConfiguration structure to be used with this action."
        },
        "NotificationProperty": {
          "$ref": "#/$defs/NotificationProperty"
        },
        "CrawlerName": {
          "type": "string",
          "description": "The name of the crawler to be used with this action."
        }
      }
    },
    "Condition": {
      "type": "object",
      "properties": {
        "LogicalOperator": {
          "type": "string",
          "enum": [
            "EQUALS"
          ],
          "description": "A logical operator."
        },
        "JobName": {
          "type": "string",
          "description": "The name of the job whose JobRuns this condition applies to, and on which this trigger waits."
        },
        "State": {
          "type": "string",
          "enum": [
            "STARTING",
            "RUNNING",
            "STOPPING",
            "STOPPED",
            "SUCCEEDED",
            "FAILED",
            "TIMEOUT",
            "ERROR",
            "WAITING",
            "EXPIRED"
          ],
          "description": "The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED."
        },
        "CrawlerName": {
          "type": "string",
          "description": "The name of the crawler to which this condition applies."
        },
        "CrawlState": {
          "type": "string",
          "enum": [
            "RUNNING",
            "CANCELLING",
            "CANCELLED",
            "SUCCEEDED",
            "FAILED",
            "ERROR"
          ],
          "description": "The state of the crawler to which this condition applies."
        }
      }
    },
    "EventBatchingCondition": {
      "type": "object",
      "properties": {
        "BatchSize": {
          "type": "integer",
          "description": "Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires."
        },
        "BatchWindow": {
          "type": "integer",
          "description": "Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received."
        }
      },
      "required": [
        "BatchSize"
      ]
    },
    "NotificationProperty": {
      "type": "object",
      "properties": {
        "NotifyDelayAfter": {
          "type": "integer",
          "description": "After a job run starts, the number of minutes to wait before sending a job run delay notification."
        }
      }
    },
    "Predicate": {
      "type": "object",
      "properties": {
        "Logical": {
          "type": "string",
          "enum": [
            "AND",
            "ANY"
          ],
          "description": "An optional field if only one condition is listed. If multiple conditions are listed, then this field is required."
        },
        "Conditions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Condition"
          },
          "description": "A list of the conditions that determine when the trigger will fire."
        }
      }
    },
    "Trigger": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the trigger."
        },
        "WorkflowName": {
          "type": "string",
          "description": "The name of the workflow associated with the trigger."
        },
        "Id": {
          "type": "string",
          "description": "Reserved for future use."
        },
        "Type": {
          "type": "string",
          "enum": [
            "SCHEDULED",
            "CONDITIONAL",
            "ON_DEMAND",
            "EVENT"
          ],
          "description": "The type of trigger that this is."
        },
        "State": {
          "type": "string",
          "enum": [
            "CREATING",
            "CREATED",
            "ACTIVATING",
            "ACTIVATED",
            "DEACTIVATING",
            "DEACTIVATED",
            "DELETING",
            "UPDATING"
          ],
          "description": "The current state of the trigger."
        },
        "Description": {
          "type": "string",
          "description": "A description of this trigger."
        },
        "Schedule": {
          "type": "string",
          "description": "A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *)."
        },
        "Actions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Action"
          },
          "description": "The actions initiated by this trigger."
        },
        "Predicate": {
          "$ref": "#/$defs/Predicate"
        },
        "EventBatchingCondition": {
          "$ref": "#/$defs/EventBatchingCondition"
        }
      }
    }
  }
}