Record one analytic event and send it to Kinesis. Events will be buffered and periodically sent to Kinesis.
The event to record.
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}); Copy
record({ streamName: 'myKinesisStream', partitionKey: 'myPartitionKey', data: { } // The data blob to put into the record});
Record one analytic event and send it to Kinesis. Events will be buffered and periodically sent to Kinesis.