Amplify JS API Documentation
    Preparing search index...
    • Parameters

      Returns void

    • Record one analytic event and send it to Kinesis. Events will be buffered and periodically sent to Kinesis.

      Parameters

      • input: RecordInput

        The event to record.

      Returns void

      void

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

      record({
      streamName: 'myKinesisStream',
      partitionKey: 'myPartitionKey',
      data: { } // The data blob to put into the record
      });