I am trying to write an SES TypeScript client, using AWS definitions file downloaded from https://github.com/borisyankov/DefinitelyTyped/blob/master/aws-sdk/aws-sdk.d.ts
Here is what I've tried:
/// <reference path="../typings/aws-sdk.d.ts" />
var AWS = require('aws-sdk');
var ses:SES = new AWS.SES();
Here is the error that I get:
/usr/local/bin/tsc --sourcemap SesTest.ts
SesTest.ts(3,9): error TS2304: Cannot find name 'SES'.
Process finished with exit code 2
I cannot find any documentation on how to make this work. Please help!