Records an Analytic event to Pinpoint. Events will be buffered and periodically sent to Pinpoint.
AWS will end support for Amazon Pinpoint on October 30, 2026.
validation: AnalyticsValidationErrorCode - Thrown when the provided parameters or library configuration is incorrect.
// Send an event to Pinpointrecord({ name: eventName }) Copy
// Send an event to Pinpointrecord({ name: eventName })
// Send an event to Pinpoint with metrics & custom attributesrecord({ name: eventName, attributes: { 'my-attribute': attributeValue }, metrics: { 'my-metric': metricValue }}) Copy
// Send an event to Pinpoint with metrics & custom attributesrecord({ name: eventName, attributes: { 'my-attribute': attributeValue }, metrics: { 'my-metric': metricValue }})
Records an Analytic event to Pinpoint. Events will be buffered and periodically sent to Pinpoint.