diff --git a/packages/analytics/src/Providers/AWSKinesisProvider.ts b/packages/analytics/src/Providers/AWSKinesisProvider.ts index fa3d5d7da70..41811ce6485 100644 --- a/packages/analytics/src/Providers/AWSKinesisProvider.ts +++ b/packages/analytics/src/Providers/AWSKinesisProvider.ts @@ -94,6 +94,7 @@ export class AWSKinesisProvider implements AnalyticsProvider { * @param {Object} params - the params of an event */ public async record(params): Promise { + debugger; const credentials = await this._getCredentials(); if (!credentials) return Promise.resolve(false); diff --git a/packages/analytics/src/types/Providers/AWSKinesisProvider.ts b/packages/analytics/src/types/Providers/AWSKinesisProvider.ts new file mode 100644 index 00000000000..9b33ed2cc01 --- /dev/null +++ b/packages/analytics/src/types/Providers/AWSKinesisProvider.ts @@ -0,0 +1,5 @@ +export interface KinesisAnalyticsEvent { + data: Blob | string; + partitionKey: string; + streamName: string; +} diff --git a/packages/analytics/src/types/Providers/AmazonPersonalizeProvider.ts b/packages/analytics/src/types/Providers/AmazonPersonalizeProvider.ts index 3bd4634b971..e1544f0fb33 100644 --- a/packages/analytics/src/types/Providers/AmazonPersonalizeProvider.ts +++ b/packages/analytics/src/types/Providers/AmazonPersonalizeProvider.ts @@ -1,5 +1,5 @@ export interface PersonalizeAnalyticsEvent { - eventType?: 'Identify' | 'MediaAutoTrack'; + eventType?: string; userId?: string; properties?: { [key: string]: string;