PutJobSuccessResult - CodePipeline
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


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

Request Syntax

{ "continuationToken": "string", "currentRevision": { "changeIdentifier": "string", "created": number, "revision": "string", "revisionSummary": "string" }, "executionDetails": { "externalExecutionId": "string", "percentComplete": number, "summary": "string" }, "jobId": "string", "outputVariables": { "string" : "string" } }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.


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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Required: No


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

Type: CurrentRevision object

Required: No


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

Type: ExecutionDetails object

Required: No


The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.

Type: String

Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}

Required: Yes


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.

Type: String to string map

Key Pattern: [A-Za-z0-9@\-_]+

Required: No

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.


For information about the errors that are common to all actions, see Common Errors.


The job state was specified in an invalid format.

HTTP Status Code: 400


The job was specified in an invalid format or cannot be found.

HTTP Status Code: 400


Exceeded the total size limit for all variables in the pipeline.

HTTP Status Code: 400


The validation was specified in an invalid format.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: