CodePipelineProcessResumeWithPromptRequest
Resumes a code pipeline run that failed, was killed or has had its questions answered, with a prompt for the agent. The step that failed or was interrupted carries on in the agent’s same session with this prompt, instead of starting over with its own.
Kind: an object, used in requests.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
continuationPrompt | string | yes | What to tell the agent, for example what went wrong and how to carry on. Constraints: required (empty or whitespace-only strings are rejected). |
credentials | CodePipelineProcessCredentialsInput[] | null | New credentials for the run’s engines, to replace the ones it started with, for example when a token has expired. Null or empty: keep the run’s credentials. | |
credentialStack | string | null | A credential stack (name or id) to run on from here, snapshotted now, in place of the credentials or stack the run started with. Not with credentials. Null: keep the run’s stack. Sending credentials instead moves the run off its stack and onto them. | |
repos | CodePipelineProcessRepoInput[] | null | New repositories, with fresh git credentials, to replace the ones the run started with, for example when a short-lived token has expired. Null or empty: keep the run’s repositories. |
Example
Section titled “Example”{ "continuationPrompt": "...", "credentials": [ { "type": "apiKey" } ], "credentialStack": "...", "repos": [ { "type": "http" } ]}Where it’s used
Section titled “Where it’s used”pipelineRuns.resumeWithPrompt(PUT /code-pipelines/processes/by-id/{id}/resume-with-prompt)