{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-data-pipeline/json-schema/amazon-data-pipeline-poll-for-task-input-schema.json",
  "title": "PollForTaskInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-data-pipeline-operations-api-openapi.yml#/components/schemas/PollForTaskInput",
  "type": "object",
  "properties": {
    "workerGroup": {
      "type": "string",
      "description": "The type of task the task runner is configured to accept and process. The worker group is set as a field on objects in the pipeline when they are created. You can only specify a single value for workerGroup in the call to PollForTask. There are no wildcard values permitted in workerGroup; the string must be an exact, case-sensitive, match."
    },
    "hostname": {
      "type": "string",
      "description": "The public DNS name of the calling task runner."
    },
    "instanceIdentity": {
      "$ref": "#/$defs/InstanceIdentity"
    }
  },
  "required": [
    "workerGroup"
  ],
  "$defs": {
    "InstanceIdentity": {
      "type": "object",
      "properties": {
        "document": {
          "type": "string",
          "description": "A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object."
        },
        "signature": {
          "type": "string",
          "description": "A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document."
        }
      }
    }
  }
}