Name:
interface
Value:
Amplify has re-imagined the way frontend developers build fullstack applications. Develop and deploy without the hassle.

API Reference

configureAutoTrack

Configures automatic event tracking for Pinpoint. This API will automatically transmit an analytic event when configured events are detected within your application. This can include: DOM element events (via the event tracker), session events (via the session tracker), and page view events (via the pageView tracker).

Parameters

OptionRequiredTypeDescription
inputtrue

Throws

  • service:UpdateEndpointException - Thrown when the underlying Pinpoint service returns an error.
  • validation:AnalyticsValidationErrorCode - Thrown when the provided parameters or library configuration is incorrect.

disable

Disables the Analytics category.

enable

Enables the Analytics category to permit the transmission of events.

flushEvents

Flushes all buffered Pinpoint events to the service.

record

Records an Analytic event to Pinpoint. Events will be buffered and periodically sent to Pinpoint.

Parameters

OptionRequiredTypeDescription
inputtrue

Throws

  • validation:AnalyticsValidationErrorCode - Thrown when the provided parameters or library configuration is incorrect.

record

Records an Analytic event to Pinpoint. Events will be buffered and periodically sent to Pinpoint.

Parameters

OptionRequiredTypeDescription
inputtrue

Throws

  • validation:AnalyticsValidationErrorCode - Thrown when the provided parameters or library configuration is incorrect.

Link Color Legend

Interface
Reference
Other