-
Notifications
You must be signed in to change notification settings - Fork 0
/
struct.go
30 lines (25 loc) · 840 Bytes
/
struct.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// SPDX-FileCopyrightText: 2024 Dominik Wombacher <[email protected]>
//
// SPDX-License-Identifier: Apache-2.0
package main
type Params struct {
ChannelArn string
}
type AuditEvent struct {
EventData string `json:"eventData"`
Id string `json:"id"`
}
type UserIdentity struct {
Type string `json:"type"`
PrincipalId string `json:"principalId"`
}
type EventData struct {
Version string `json:"version"`
UserIdentity UserIdentity `json:"userIdentity"`
EventSource string `json:"eventSource"`
EventName string `json:"eventName"`
EventTime string `json:"eventTime"`
UID string
RecipientAccountId string `json:"recipientAccountId"`
AdditionalEventData map[string]interface{} `json:"additionalEventData"`
}