1 | import { AnalyticsProvider } from '../types';
|
2 | export declare class AWSKinesisProvider implements AnalyticsProvider {
|
3 | protected _config: any;
|
4 | private _kinesis;
|
5 | private _buffer;
|
6 | private _timer;
|
7 | constructor(config?: any);
|
8 | private _setupTimer;
|
9 | /**
|
10 | * get the category of the plugin
|
11 | */
|
12 | getCategory(): string;
|
13 | /**
|
14 | * get provider name of the plugin
|
15 | */
|
16 | getProviderName(): string;
|
17 | /**
|
18 | * configure the plugin
|
19 | * @param {Object} config - configuration
|
20 | */
|
21 | configure(config: any): object;
|
22 | |
23 |
|
24 |
|
25 |
|
26 | record(params: any): Promise<boolean>;
|
27 | updateEndpoint(): Promise<boolean>;
|
28 | |
29 |
|
30 |
|
31 |
|
32 |
|
33 | private _putToBuffer;
|
34 | private _sendFromBuffer;
|
35 | protected _sendEvents(group: any): boolean;
|
36 | protected _init(config: any, credentials: any): boolean;
|
37 | private _initKinesis;
|
38 | |
39 |
|
40 |
|
41 |
|
42 | private _getCredentials;
|
43 | }
|
44 |
|
45 |
|
46 |
|
47 | export default AWSKinesisProvider;
|