MCPcopy Create free account
hub / github.com/awsdocs/aws-doc-sdk-examples / Event

Struct Event

go/cloudwatch/SendEvent/SendEvent.go:22–29  ·  view source on GitHub ↗

snippet-end:[cloudwatch.go.create_event.imports] Event represents the information for a new event snippet-start:[cloudwatch.go.create_event.event_struct]

Source from the content-addressed store, hash-verified

20// Event represents the information for a new event
21// snippet-start:[cloudwatch.go.create_event.event_struct]
22type 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
31var eventFile = "event.json"
32

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected