Skip to main content

DeploymentEventsPayload

Events delivered by the deploymentEvents subscription.

A single-deployment feed. Fires on creation and every status transition. For log content, subscribe to deploymentLogs — log deltas don't travel on this feed.

union DeploymentEventsPayload = DeploymentEvent

Possible types​

DeploymentEventsPayload.DeploymentEvent object​

A lifecycle event for a deployment.

Emitted when a deployment is created (CREATED) and each time its status transitions (UPDATED) — e.g., PENDING → RUNNING → COMPLETED. Log deltas are not carried on this event; subscribe to deploymentLogs for streaming log content.

Subscribe via deploymentEvents for a single deployment's feed, or via instanceEvents / environmentEvents to see every deployment in an instance or environment.

On UPDATED, re-select whichever fields you need (typically status and elapsedTime) — Apollo will merge the payload into its cache by Deployment:id.

Returned By​

deploymentEvents subscription