aws / aws/aws-lambda-go

CodePipelineEvent hardcoded to CodePipelineJob.

Open
#244 1 comment 0 reactions 0 assignees View on GitHub
breaking change / v2
Dominant language
Go
Stars
3.8k
Forks
578
Avg merge
8h 18m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**

`CodePipelineEvent` seems to be hardcoded as a `CodePipelineJob`
- https://github.com/aws/aws-lambda-go/blob/master/events/codepipeline_job.go#L6-L8

This incorrectly makes CodePipeline event unusable for its actual events.

[CodePipelineEvent documentation](CodePipelineEvent)

**Describe the solution you'd like**

I would like to move the current `CodePipelineEvent` into its own `CodePipelineJobEvent` as it seems to be seperate then the documented CodePipelineEvents

**Describe alternatives you've considered**

Considered just leaving it as is and creating `CodePipelineEvent` under some new name like `ActualCodePipelineEvent` but I think this is one of those instances where it would be better to just make the change.

**Additional context**

`Breaking Change`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.