| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1 1 1 1 1 1 1 | 'use strict'
var _ = require('lodash')
var cloudWatchPromised = require('aws-promised/cloudWatch')
var doesAlarmExist = require('./doesAlarmExist')
function cloudWatchExistence (options) {
var cloudWatch = cloudWatchPromised(options)
return {
doesAlarmExist: _.partial(doesAlarmExist, cloudWatch)
}
}
module.exports = cloudWatchExistence
|