21 Commits
Author SHA1 Message Date
MichaelBuen 3dde9d27db Update aws-sdk.d.ts (#10232)
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
2016-07-23 23:21:08 -07:00
Nick 3d8bb21c9e Added/Updated paramater objects for S3. Also added existing S3 methods (#9886)
* 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.
2016-07-09 15:11:01 +09:00
Carl Irving 3d4a524774 Remove old spaces 2016-07-06 20:11:00 -04:00
Carl Irving 8892db2efc Make access key & secret optional 2016-07-06 16:12:13 -04:00
Casper Skydt d8624312be Added callback type for sts.assumerole 2016-06-28 18:12:51 +02:00
Casper Skydt a81bf40839 Removed duplicat item 2016-06-23 08:55:43 +02:00
Casper Skydt d601a20c30 Added sns and STS 2016-06-23 08:50:19 +02:00
igrayson 8e54cc841f aws-sdk: Fill out ecs.describe* (#9600) 2016-06-14 00:48:05 +09:00
Matt Forrester 21286f4d20 Much better typed DynamoDB.DocumentClient. (#9500) 2016-06-07 00:32:10 +09:00
Vladimir 198189b722 Fixed wrong definition for aws sns publish method (#9205)
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SNS.html#publish-property
2016-05-06 03:19:32 +09:00
Pascal Birchler 4794724f0e Fix Metadata definition in S3.putObject method (#9109)
* Fix Metadata definition in S3.putObject method

Metadata is a map of strings, not an array.

* Use more explicit type for Metadata
2016-05-01 22:07:15 +09:00
vvakame 56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
bmajz 6c891d4cdd Add ECS definitions to AWS type definitions 2016-01-21 17:37:58 -08:00
theodorz 5d51369b02 Update to fix S3 with latest AWS SDK
I removed the nested S3 Client interface, because it doesn't seem to be present in the latest AWS JS SDK (2.2.31).
2016-01-20 17:37:04 +01:00
Jean-Philipe Pellerin 6ca23c0d69 Adding availability for the DynamoDB Document Client 2016-01-06 16:49:09 -05:00
vvakame 781e468d4b remove unused .tscparams 2015-12-23 18:23:35 +09:00
Eric Nicholson b5f4a47c02 Fixed existing definitions for SQS and added missing definitions 2015-10-29 09:54:55 -04:00
Brian Geppert 2fc9b9ac8c aws-sdk: added support for apiVersion/apiVersions config options. 2014-11-12 02:21:57 -06:00
Brian Geppert 11694760b1 Filled out the 'config' object for 'aws-sdk'. 2014-11-12 02:08:14 -06:00
Ashish Singal d8a76f86b8 adding module for DynamoDB 2014-10-01 18:37:28 +05:30
Bart van der Schoor 09f3d7a8dc imported 25 definitions from typescript-node-definitions
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)
2014-04-22 22:09:35 +02:00