Skip to content

PutActionRevision

Source: src/AWS/CodePipeline/PutActionRevision.ts

Runtime binding for codepipeline:PutActionRevision — informs CodePipeline about a new revision available to a source action, starting an execution if the revision is new.

const putRevision = yield* AWS.CodePipeline.PutActionRevision(pipeline);
const { newRevision, pipelineExecutionId } = yield* putRevision({
stageName: "Source",
actionName: "S3Source",
actionRevision: {
revisionId: versionId,
revisionChangeId: changeId,
created: new Date(),
},
});