Skip to content

Commit 96851ae

Browse files
guiminyaobmoffatt
authored andcommitted
Implement CodePipelineEventDetailExecutionResult
1 parent 57ad85c commit 96851ae

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

events/codepipeline_cloudwatch.go

+12
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ type CodePipelineEventDetail struct {
9393
Region string `json:"region"`
9494

9595
Type CodePipelineEventDetailType `json:"type,omitempty"`
96+
97+
ExecutionResult CodePipelineEventDetailExecutionResult `json:"execution-result,omitempty"`
9698
}
9799

98100
type CodePipelineEventDetailType struct {
@@ -105,3 +107,13 @@ type CodePipelineEventDetailType struct {
105107
// From published EventBridge schema registry this is always int64 not string as documented
106108
Version int64 `json:"version"`
107109
}
110+
111+
type CodePipelineEventDetailExecutionResult struct {
112+
ExternalExecutionUrl string `json:"external-execution-url"`
113+
114+
ExternalExecutionSummary string `json:"external-execution-summary"`
115+
116+
ExternalExecutionID string `json:"external-execution-id"`
117+
118+
ErrorCode string `json:"error-code,omitempty"`
119+
}

0 commit comments

Comments
 (0)