Event
public struct Event : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
A collection of key-value pairs that give additional context to the event. The key-value pairs are specified by the developer. This collection can be empty or the attribute object can be omitted.
Declaration
Swift
public let attributes: [String : String]? -
A name signifying an event that occurred in your app. This is used for grouping and aggregating like events together for reporting purposes.
Declaration
Swift
public let eventType: String -
A collection of key-value pairs that gives additional, measurable context to the event. The key-value pairs are specified by the developer. This collection can be empty or the attribute object can be omitted.
Declaration
Swift
public let metrics: [String : Double]? -
The session the event occured within.
Declaration
Swift
public let session: Session? -
The time the event occurred in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z
Declaration
Swift
public let timestamp: String -
The version of the event.
Declaration
Swift
public let version: String? -
Undocumented
Declaration
Swift
public init(attributes: [String : String]? = nil, eventType: String, metrics: [String : Double]? = nil, session: Session? = nil, timestamp: String, version: String? = nil) -
Declaration
Swift
public func validate(name: String) throws
View on GitHub
Event Structure Reference