Creates a new event to record for endpoints, or creates or updates endpoint data that existing events are associated with.
pinpoint_put_events(ApplicationId, EventsRequest)
[required] The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
[required]
svc$put_events( ApplicationId = "string", EventsRequest = list( BatchItem = list( list( Endpoint = list( Address = "string", Attributes = list( list( "string" ) ), ChannelType = "GCM"|"APNS"|"APNS_SANDBOX"|"APNS_VOIP"|"APNS_VOIP_SANDBOX"|"ADM"|"SMS"|"VOICE"|"EMAIL"|"BAIDU"|"CUSTOM", Demographic = list( AppVersion = "string", Locale = "string", Make = "string", Model = "string", ModelVersion = "string", Platform = "string", PlatformVersion = "string", Timezone = "string" ), EffectiveDate = "string", EndpointStatus = "string", Location = list( City = "string", Country = "string", Latitude = 123.0, Longitude = 123.0, PostalCode = "string", Region = "string" ), Metrics = list( 123.0 ), OptOut = "string", RequestId = "string", User = list( UserAttributes = list( list( "string" ) ), UserId = "string" ) ), Events = list( list( AppPackageName = "string", AppTitle = "string", AppVersionCode = "string", Attributes = list( "string" ), ClientSdkVersion = "string", EventType = "string", Metrics = list( 123.0 ), SdkName = "string", Session = list( Duration = 123, Id = "string", StartTimestamp = "string", StopTimestamp = "string" ), Timestamp = "string" ) ) ) ) ) )