/*
  Usage: npm install -S @alicloud/pop-core
  powered by alinode (http://alinode.aliyun.com/)
*/

const Core = require('@alicloud/pop-core');

// 初始化
var client = new Core({
  accessKeyId: '<accessKeyId>',
  secretAccessKey: '<accessSecret>',
  endpoint: 'https://ram.aliyuncs.com',
  apiVersion: '2015-05-01'
});

//设置参数
var params = {}

// 发起请求
client.request('ListUsers', params).then((result) => {
  console.log(result)
}, (ex) => {
  console.log(ex)
})