Skip to content

Put Job Success Result

codepipeline_put_job_success_result R Documentation

Represents the success of a job as returned to the pipeline by a job worker

Description

Represents the success of a job as returned to the pipeline by a job worker. Used for custom actions only.

Usage

codepipeline_put_job_success_result(jobId, currentRevision,
  continuationToken, executionDetails, outputVariables)

Arguments

jobId

[required] The unique system-generated ID of the job that succeeded. This is the same ID returned from poll_for_jobs.

currentRevision

The ID of the current revision of the artifact successfully worked on by the job.

continuationToken

A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.

executionDetails

The execution details of the successful job, such as the actions taken by the job worker.

outputVariables

Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration. outputVariables can be included only when there is no continuation token on the request.

Value

An empty list.

Request syntax

svc$put_job_success_result(
  jobId = "string",
  currentRevision = list(
    revision = "string",
    changeIdentifier = "string",
    created = as.POSIXct(
      "2015-01-01"
    ),
    revisionSummary = "string"
  ),
  continuationToken = "string",
  executionDetails = list(
    summary = "string",
    externalExecutionId = "string",
    percentComplete = 123
  ),
  outputVariables = list(
    "string"
  )
)