0.1.2 • Published 12 years ago

node-aws v0.1.2

Weekly downloads
17
License
-
Repository
github
Last release
12 years ago

Node AWS

Node AWS is an easy-to-use AWS client.

Usage

var aws = require('node-aws');

var client = aws.createClient({
  accessKeyId: '...',
  secretAccessKey: '...',
});

aws.request('simpleDb', 'putAttributes', {
  domainName: "test",
  itemName: "item1",
  attributes: [
    {
      name: 'key1',
      value: 'val1',
    },
  ],
}, function(response) {
  if (response instanceof Error) {
    // uh oh
    console.log(response.code, response.message);
  } else {
    // it worked!
  }
})

Status

The most up-to-date list of supported AWS services and methods is available by calling require('node-aws').getSupportedMethods(). A potentially outdated list is provided below:

EC2 (Elastic Compute Cloud)

  • allocateAddress
  • associateAddress
  • createKeyPair
  • deleteKeyPair
  • describeAddresses
  • describeAvailabilityZones
  • describeInstances
  • describeKeyPairs
  • describeRegions
  • disassociateAddress
  • getConsoleOutput
  • importKeyPair
  • rebootInstances
  • releaseAddress
  • startInstances
  • stopInstances

Route53

  • changeResourceRecordSets
  • createHostedZone
  • deleteHostedZone
  • getChange
  • getHostedZone
  • listHostedZones
  • listResourceRecordSets

S3 (Simple Storage Service)

  • createBucket
  • deleteBucket
  • deleteObject
  • getObject
  • listAllMyBuckets
  • listBucket
  • putObject

SES (Simple Email Service)

  • deleteVerifiedEmailAddress
  • getSendQuota
  • getSendStatistics
  • listVerifiedEmailAddresses
  • sendEmail
  • verifyEmailAddress

SimpleDB

  • batchDeleteAttributes
  • batchPutAttributes
  • createDomain
  • deleteAttributes
  • deleteDomain
  • domainMetadata
  • getAttributes
  • listDomains
  • putAttributes
  • select
0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago