Skip to content

PutJobSuccessResult

Source: src/AWS/CodePipeline/PutJobSuccessResult.ts

Runtime binding for codepipeline:PutJobSuccessResult — reports success for a job handed to the workload by a pipeline Invoke (Lambda) or custom action. Without this call the action times out.

CodePipeline job operations do not support resource-level permissions, so the grant is on *. The binding takes no resource — the job id arrives with the invocation event.

const putJobSuccess = yield* AWS.CodePipeline.PutJobSuccessResult();
yield* putJobSuccess({
jobId: event["CodePipeline.job"].id,
outputVariables: { RELEASE: version },
});