git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

mobileanalytics.d.ts (4298B)


      1 import {Request} from '../lib/request';
      2 import {Response} from '../lib/response';
      3 import {AWSError} from '../lib/error';
      4 import {Service} from '../lib/service';
      5 import {ServiceConfigurationOptions} from '../lib/service';
      6 import {ConfigBase as Config} from '../lib/config';
      7 interface Blob {}
      8 declare class MobileAnalytics extends Service {
      9   /**
     10    * Constructs a service object. This object has one method for each API operation.
     11    */
     12   constructor(options?: MobileAnalytics.Types.ClientConfiguration)
     13   config: Config & MobileAnalytics.Types.ClientConfiguration;
     14   /**
     15    * The PutEvents operation records one or more events. You can have up to 1,500 unique custom events per app, any combination of up to 40 attributes and metrics per custom event, and any number of attribute or metric values.
     16    */
     17   putEvents(params: MobileAnalytics.Types.PutEventsInput, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     18   /**
     19    * The PutEvents operation records one or more events. You can have up to 1,500 unique custom events per app, any combination of up to 40 attributes and metrics per custom event, and any number of attribute or metric values.
     20    */
     21   putEvents(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     22 }
     23 declare namespace MobileAnalytics.Types {
     24   export type Double = number;
     25   export interface Event {
     26     /**
     27      * A name signifying an event that occurred in your app. This is used for grouping and aggregating like events together for reporting purposes.
     28      */
     29     eventType: String50Chars;
     30     /**
     31      * The time the event occurred in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z
     32      */
     33     timestamp: ISO8601Timestamp;
     34     /**
     35      * The session the event occured within. 
     36      */
     37     session?: Session;
     38     /**
     39      * The version of the event.
     40      */
     41     version?: String10Chars;
     42     /**
     43      * A collection of key-value pairs that give additional context to the event. The key-value pairs are specified by the developer. This collection can be empty or the attribute object can be omitted.
     44      */
     45     attributes?: MapOfStringToString;
     46     /**
     47      * A collection of key-value pairs that gives additional, measurable context to the event. The key-value pairs are specified by the developer. This collection can be empty or the attribute object can be omitted.
     48      */
     49     metrics?: MapOfStringToNumber;
     50   }
     51   export type EventListDefinition = Event[];
     52   export type ISO8601Timestamp = string;
     53   export type Long = number;
     54   export type MapOfStringToNumber = {[key: string]: Double};
     55   export type MapOfStringToString = {[key: string]: String0to1000Chars};
     56   export interface PutEventsInput {
     57     /**
     58      * An array of Event JSON objects
     59      */
     60     events: EventListDefinition;
     61     /**
     62      * The client context including the client ID, app title, app version and package name.
     63      */
     64     clientContext: String;
     65     /**
     66      * The encoding used for the client context.
     67      */
     68     clientContextEncoding?: String;
     69   }
     70   export interface Session {
     71     /**
     72      * A unique identifier for the session
     73      */
     74     id?: String50Chars;
     75     /**
     76      * The duration of the session.
     77      */
     78     duration?: Long;
     79     /**
     80      * The time the event started in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z
     81      */
     82     startTimestamp?: ISO8601Timestamp;
     83     /**
     84      * The time the event terminated in ISO 8601 standard date time format. For example, 2014-06-30T19:07:47.885Z
     85      */
     86     stopTimestamp?: ISO8601Timestamp;
     87   }
     88   export type String = string;
     89   export type String0to1000Chars = string;
     90   export type String10Chars = string;
     91   export type String50Chars = string;
     92   /**
     93    * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
     94    */
     95   export type apiVersion = "2014-06-05"|"latest"|string;
     96   export interface ClientApiVersions {
     97     /**
     98      * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
     99      */
    100     apiVersion?: apiVersion;
    101   }
    102   export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
    103 }
    104 export = MobileAnalytics;