snippet-end:[cloudwatch.go.create_event.imports] Event represents the information for a new event snippet-start:[cloudwatch.go.create_event.event_struct]
| 20 | // Event represents the information for a new event |
| 21 | // snippet-start:[cloudwatch.go.create_event.event_struct] |
| 22 | type Event struct { |
| 23 | Details []struct { |
| 24 | Key string `json:"Key"` |
| 25 | Value string `json:"Value"` |
| 26 | } `json:"Details"` |
| 27 | DetailType string `json:"DetailType"` |
| 28 | Source string `json:"Source"` |
| 29 | } |
| 30 | |
| 31 | var eventFile = "event.json" |
| 32 |