Class: AWS.MobileAnalytics
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.MobileAnalytics
- Identifier:
- mobileanalytics
- API Version:
- 2014-06-05
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon Mobile Analytics is a service for collecting, visualizing, and understanding app usage data at scale.
Sending a Request Using MobileAnalytics
var mobileanalytics = new AWS.MobileAnalytics();
mobileanalytics.putEvents(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the MobileAnalytics object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var mobileanalytics = new AWS.MobileAnalytics({apiVersion: '2014-06-05'});
You can also set the API version globally in AWS.config.apiVersions
using
the mobileanalytics service identifier:
AWS.config.apiVersions = {
mobileanalytics: '2014-06-05',
// other service API versions
};
var mobileanalytics = new AWS.MobileAnalytics();
Constructor Summary collapse
-
new AWS.MobileAnalytics(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
putEvents(params = {}, callback) ⇒ AWS.Request
The PutEvents operation records one or more events.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.MobileAnalytics(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.