Callback is not required for getObject method.
When you need to create a read stream from a response, you can easy create it without a callback, example:
const fileStream = storage.getObject(params).createReadStream();
Move types to nodemailer.d.ts.
Move namespace to bottom.
Fix spacing.
Add nodemailer-ses-transport.
Add templateSender.
Allow Exists: false to exist by itself.
Convert spacing to tabs.
Fixed references.
Add DynamoDB createTable and delete table.
They do not exist on the DocumentClient.
Fix spacing.
Make QueueUrl optional, as it can have a default value that is be obtained from aws.SQS:
```
var sqs = new aws.SQS({
region: config.aws.region,
accessKeyId: config.aws.accessID,
secretAccessKey: config.aws.secretKey,
// For every request in this demo, I'm going to be using the same QueueUrl; so,
// rather than explicitly defining it on every request, I can set it here as the
// default QueueUrl to be automatically appended to every request.
params: {
QueueUrl: config.aws.queueUrl
}
});
var sendMessage = Q.nbind( sqs.sendMessage, sqs );
// ---------------------------------------------------------- //
// ---------------------------------------------------------- //
// Now that we have a Q-ified method, we can send the message.
sendMessage({
MessageBody: "This is my first ever SQS request... evar!"
})
```
Based on:
http://www.bennadel.com/blog/2792-shedding-the-monolithic-application-with-aws-simple-queue-service-sqs-and-node-js.htm
* Updated/Added S3 object requests and Added S3 methods
Updated and Added S3 object requests and also added a few new methods
that are available on the S3 object.
* updated callback to be optional for upload function
updated callback to be optional for upload function
* Updated as per comments
Condensed upload() down to one signature. Made params optional as they
default to an empty object according to the AWS-SDK docs.
fixed getSignedUrl signatures.
fixed spacing in S3 interfaces
* updated to be fixed with spaces instead of tabs
updated to be fixed with spaces instead of tabs
* removed unused signatures
Removed the two un-used out of date signatures in favor of the new ones.
first batch: the easy pickings
- as per https://github.com/borisyankov/DefinitelyTyped/issues/115
- added DT headers (scraped creators from git history)
- added tests
- some modifications
- added CONTRIBUTORS.md for the substantial defs (>50 LOC)