Package Exports
- s9s-cloudlink-api
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (s9s-cloudlink-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
CloudLink API
An API to make requests to CloudLink service.
Installation
npm install --save s9s-cloudlink-api
Examples
const CloudlinkApi = require('s9s-cloudlink-api');
const api = new CloudlinkApi({
cloud: 'aws',
server: {
host: '127.0.0.1',
port: 3000
},
auth: {
accessKeyId: '...',
secretAccessKey: '...',
region: 'eu-central-1'
}
});
api
.listInstances()
.then((instances) => {
console.log('resolve', instances);
})
.catch((error) => {
console.log('reject', error);
});