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

    Parameters

    • params: RecordInput

      The input object used to construct the request.

    Returns void

    Throws

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

    Example

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