1 | import { Handler } from "../handler";
|
2 |
|
3 | export type CodeCommitHandler = Handler<CodeCommitTrigger, void>;
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | export interface CodeCommitTrigger {
|
10 | awsRegion: string;
|
11 | codecommit: {
|
12 | references: Array<{
|
13 | commit: string;
|
14 | created?: boolean;
|
15 | deleted?: boolean;
|
16 | ref: string;
|
17 | }>;
|
18 | };
|
19 | customData?: string;
|
20 | eventId: string;
|
21 | eventName: string;
|
22 | eventPartNumber: number;
|
23 | eventSource: string;
|
24 | eventSourceARN: string;
|
25 | eventTime: string;
|
26 | eventTotalParts: number;
|
27 | eventTriggerConfigId: string;
|
28 | eventTriggerName: string;
|
29 | eventVersion: string;
|
30 | userIdentityARN: string;
|
31 | }
|
32 |
|
33 | export interface CodeCommitTriggerEvent {
|
34 | Records: CodeCommitTrigger[];
|
35 | }
|