Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement CodePipelineEventDetailExecutionResult #486

Merged
merged 1 commit into from
Mar 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions events/codepipeline_cloudwatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ type CodePipelineEventDetail struct {
Region string `json:"region"`

Type CodePipelineEventDetailType `json:"type,omitempty"`

ExecutionResult CodePipelineEventDetailExecutionResult `json:"execution-result,omitempty"`
}

type CodePipelineEventDetailType struct {
Expand All @@ -105,3 +107,13 @@ type CodePipelineEventDetailType struct {
// From published EventBridge schema registry this is always int64 not string as documented
Version int64 `json:"version"`
}

type CodePipelineEventDetailExecutionResult struct {
ExternalExecutionUrl string `json:"external-execution-url"`

ExternalExecutionSummary string `json:"external-execution-summary"`

ExternalExecutionID string `json:"external-execution-id"`

ErrorCode string `json:"error-code,omitempty"`
}