List Jobs
batch.list_jobs
ActionAmazon Web Servicesconnection required
Calls the AWS batch API (SigV4).
List jobs on a queue, optionally by status.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- AWS Batch
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
region AWS region (overrides the connection). | string | No | — | — | — |
job_queue Job queue name or ARN. | string | Yes | — | — | — |
job_status SUBMITTED | RUNNING | SUCCEEDED | FAILED | …. | string | No | — | — | — |
next_token Continues from a previous run of this node: pass that run's next_token output here, or leave blank to start at the first page. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
jobs One entry per job: job_arn (what a tagging or cancel step acts on), job_id, job_name, job_definition, status, status_reason, the created/started/stopped timestamps and the container exit code and reason. | array | — |
count | number | — |
next_token Cursor for the next page; empty when there are no further pages. | string | — |
{
"count": 0,
"jobs": [],
"next_token": ""
}Related AWS Batch nodes
See List Jobs run in a workflow.
In a technical demo we add the AWS Batch connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.