Class: AWS.Mobile
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.Mobile
- Identifier:
- mobile
- API Version:
- 2017-07-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
AWS Mobile Service provides mobile app and website developers with capabilities required to configure AWS resources and bootstrap their developer desktop projects with the necessary SDKs, constants, tools and samples to make use of those resources.
Sending a Request Using Mobile
var mobile = new AWS.Mobile();
mobile.createProject(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 Mobile object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var mobile = new AWS.Mobile({apiVersion: '2017-07-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the mobile service identifier:
AWS.config.apiVersions = {
mobile: '2017-07-01',
// other service API versions
};
var mobile = new AWS.Mobile();
Constructor Summary
-
new AWS.Mobile(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
createProject(params = {}, callback) ⇒ AWS.Request
Creates an AWS Mobile Hub project.
-
deleteProject(params = {}, callback) ⇒ AWS.Request
Delets a project in AWS Mobile Hub.
-
describeBundle(params = {}, callback) ⇒ AWS.Request
Get the bundle details for the requested bundle id.
-
describeProject(params = {}, callback) ⇒ AWS.Request
Gets details about a project in AWS Mobile Hub.
-
exportBundle(params = {}, callback) ⇒ AWS.Request
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.
-
exportProject(params = {}, callback) ⇒ AWS.Request
Exports project configuration to a snapshot which can be downloaded and shared.
-
listBundles(params = {}, callback) ⇒ AWS.Request
List all available bundles.
-
listProjects(params = {}, callback) ⇒ AWS.Request
Lists projects in AWS Mobile Hub.
-
updateProject(params = {}, callback) ⇒ AWS.Request
Update an existing project.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
describeBundle(params = {}, callback) ⇒ AWS.Request
Get the bundle details for the requested bundle id.
describeProject(params = {}, callback) ⇒ AWS.Request
Gets details about a project in AWS Mobile Hub.
exportBundle(params = {}, callback) ⇒ AWS.Request
Generates customized software development kit (SDK) and or tool packages used to integrate mobile web or mobile app clients with backend AWS resources.