UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

23 lines 916 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var AwsSesSendResult_1 = __importDefault(require("../AwsSesSendResult")); var CoreAwsSesServiceClient = (function () { function CoreAwsSesServiceClient(service) { this.service = service; } CoreAwsSesServiceClient.prototype.sendEmail = function (toAddress, fromAddress, subject, body) { var args = { body: body, fromAddress: fromAddress, subject: subject, toAddress: toAddress }; return this.service.callFunction("send", [args], AwsSesSendResult_1.default.Decoder); }; return CoreAwsSesServiceClient; }()); exports.default = CoreAwsSesServiceClient; //# sourceMappingURL=CoreAwsSesServiceClient.js.map