[{"name":"AWS.Amplify.Analytics","comment":" Collect Analytics data for your application using Amazon Pinpoint.\n\n\n# Configure\n\n@docs Config, Endpoint, configure\n\n\n# Record\n\n@docs Event, record\n\n","unions":[],"aliases":[{"name":"Config","comment":" Analytics config\n","args":[],"type":"{ credentials : AWS.Credentials.Credentials, clientInfo : AWS.Amplify.ClientInfo.ClientInfo, applicationId : String.String, sessionId : String.String, identityId : String.String, region : AWS.Config.Region }"},{"name":"Endpoint","comment":" Endpoint request\n","args":[],"type":"{ endpointId : String.String, requestId : String.String }"},{"name":"Event","comment":" Event record\n","args":[],"type":"{ eventId : String.String, name : String.String, timestamp : Time.Posix, attributes : Dict.Dict String.String String.String }"}],"values":[{"name":"configure","comment":" Configure analytics\n","type":"AWS.Amplify.Analytics.Config -> AWS.Amplify.Analytics.Endpoint -> Task.Task (AWS.Http.Error AWS.Http.AWSAppError) AWS.Pinpoint.UpdateEndpointResponse"},{"name":"record","comment":" Record an event\n","type":"AWS.Amplify.Analytics.Config -> AWS.Amplify.Analytics.Event -> Task.Task (AWS.Http.Error AWS.Http.AWSAppError) AWS.Pinpoint.PutEventsResponse"}],"binops":[]},{"name":"AWS.Amplify.Auth","comment":" Configure authentication using Amazon Cognito.\n\n\n# Identity\n\n@docs Identity\n\n\n# Configure\n\n@docs Config, configure\n\n","unions":[],"aliases":[{"name":"Config","comment":" Auth config\n","args":[],"type":"{ region : AWS.Config.Region, identityPoolId : String.String }"},{"name":"Identity","comment":" IdentityId\n","args":[],"type":"{ identityId : String.String, credentials : AWS.Credentials.Credentials }"}],"values":[{"name":"configure","comment":" Configure authentication.\n\nFetches identity id from identity pool and then fetches credentials for identity id.\n\n    AWS.Amplify.Auth.configure\n        { region = \"ap-southeast-2\"\n        , identityPoolId = \"ap-southeast-2:123e4567-e89b-12d3-a456-426614174000\"\n        }\n\n","type":"AWS.Amplify.Auth.Config -> Task.Task (AWS.Http.Error AWS.Http.AWSAppError) AWS.Amplify.Auth.Identity"}],"binops":[]},{"name":"AWS.Amplify.ClientInfo","comment":" ClientInfo data type.\n\n\n# ClientInfo\n\n@docs ClientInfo, decoder\n\n","unions":[],"aliases":[{"name":"ClientInfo","comment":" Data type for storing client information.\n\nSee [ClientDevice/browser.ts][browser] for how to populate this record\n\n[browser]: https://github.com/aws-amplify/amplify-js/blob/5b4641b8568e3106db81958f1cb2ce0b6d684ab6/packages/core/src/ClientDevice/browser.ts\n\n","args":[],"type":"{ platform : String.String, make : String.String, model : String.String, version : String.String, appVersion : String.String, language : String.String, timezone : String.String }"}],"values":[{"name":"decoder","comment":" Json Decoder for ClientInfo\n","type":"Json.Decode.Decoder AWS.Amplify.ClientInfo.ClientInfo"}],"binops":[]}]