List Pull Requests
codecommit.list_pull_requests
ActionAmazon Web Servicesconnection required
Calls the AWS codecommit API (SigV4).
Returns a list of pull requests for a specified repository. The return list can be refined by pull request status or pull request author ARN.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- AWS CodeCommit
- Secret shape
- {"access_key_id", "secret_access_key"}
- Config it needs
- region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 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 | — | — | — |
repository_name The name of the repository for which you want to list pull requests. | string | Yes | — | — | — |
next_token Continues a previous run of this node: pass that run's paging token here. Leave blank to start at the first page. | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
pullRequestIds | array | — |
nextToken | string | — |
{
"nextToken": "",
"pullRequestIds": []
}Related AWS CodeCommit nodes
See List Pull Requests run in a workflow.
In a technical demo we add the AWS CodeCommit connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.