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

    Parameters

    Returns void

    void

    Throws

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

    Example

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