Collect Analytics data for your application using Amazon Pinpoint.
{ credentials : AWS.Amplify.Auth.Credentials
, clientInfo : AWS.Amplify.ClientInfo.ClientInfo
, applicationId : String
, sessionId : String
, sessionStartTime : Time.Posix
, identityId : String
, region : AWS.Config.Region
}
Analytics config
{ endpointId : String
, requestId : String
}
Endpoint request
configure : Config -> Endpoint -> Task (AWS.Http.Error AWS.Http.AWSAppError) AWS.Pinpoint.UpdateEndpointResponse
Configure analytics
{ eventId : String
, eventTime : Time.Posix
, name : String
, attributes : Dict String String
}
Event record
record : Config -> Event -> Task (AWS.Http.Error AWS.Http.AWSAppError) AWS.Pinpoint.PutEventsResponse
Record an event