Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
AWS SDK for JavaScript in the browser and Node.js
JavaScript CoffeeScript Cucumber Ruby HTML CSS
Failed to load latest commit information.
apis Update AWS.EC2 API
dist-tools Add support for AWS.DeviceFarm
dist Tag release v2.1.40
doc-src Tag release v2.1.40
features Add support for AWS.DeviceFarm
lib Tag release v2.1.40
scripts Correct printed filename in API translator
tasks Update links to point to non-frames URL
test Add support for AWS.DeviceFarm
.eslintrc Update linter rules
.gitignore Add istanbul for coverage and improve some test coverage
.jshintrc Remove JSHint options CC doesn't understand
.npmignore Add the ability to browserify aws-sdk as a dependency.
.travis.yml Add Node.js 0.12 to Travis build.
.yardopts Add upgrading notes (1.x-2.0) to repository
.yardopts_guide Add UPGRADING.md to guide
CONTRIBUTING.md Add notes to the contributing guidelines about running the tests loca…
Gemfile Update navigation bar in template
Gemfile.lock Update navigation bar in template
LICENSE.txt Update copyright year in license files
NOTICE.txt Update copyright year in license files
README.md Tag release v2.1.40
Rakefile Don't need bundle/setup in Rakefile
UPGRADING.md Update upgrading notes to mention removed `.client` property.
bower.json Update bower.json
configuration.sample Add support for AWS.DeviceFarm
index.js Add index.js for convenience
package.json Tag release v2.1.40
testem.json Update testem.json

README.md

AWS SDK for JavaScript

NPM

Gitter chat

Version Build Status Coverage Status

The official AWS SDK for JavaScript, available for browsers and mobile devices, or Node.js backends

Release notes can be found at http://aws.amazon.com/releasenotes/SDK/JavaScript

If you are upgrading from 1.x to 2.0 of the SDK, please see the {file:UPGRADING.md} notes for information on how to migrate existing code to work with the new major version.

Installing

In the Browser

To use the SDK in the browser, simply add the following script tag to your HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.40.min.js"></script>

The AWS SDK is also compatible with browserify.

In Node.js

The preferred way to install the AWS SDK for Node.js is to use the npm package manager for Node.js. Simply type the following into a terminal window:

npm install aws-sdk

Using Bower

You can also use Bower to install the SDK by typing the following into a terminal window:

bower install aws-sdk-js

Usage and Getting Started

You can find a getting started guide at:

http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/

Supported Services

Note: Although all services are supported in the browser version of the SDK, not all of the services are available in the default hosted build (using the script tag provided above). A list of services in the hosted build are provided in the "Working With Services" section of the browser SDK guide, including instructions on how to build a custom version of the SDK with extra services.

The SDK currently supports the following services:

Service Name Class Name API Version
Amazon CloudFrontAWS.CloudFront2014-10-21
Amazon CloudSearchAWS.CloudSearch2013-01-01
Amazon CloudSearch DomainAWS.CloudSearchDomain2013-01-01
Amazon CloudWatchAWS.CloudWatch2010-08-01
Amazon CloudWatch LogsAWS.CloudWatchLogs2014-03-28
Amazon Cognito IdentityAWS.CognitoIdentity2014-06-30
Amazon Cognito SyncAWS.CognitoSync2014-06-30
Amazon DynamoDBAWS.DynamoDB2012-08-10
Amazon Elastic Compute CloudAWS.EC22014-10-01
Amazon Elastic MapReduceAWS.EMR2009-03-31
Amazon Elastic TranscoderAWS.ElasticTranscoder2012-09-25
Amazon ElastiCacheAWS.ElastiCache2014-09-30
Amazon GlacierAWS.Glacier2012-06-01
Amazon KinesisAWS.Kinesis2013-12-02
Amazon RedshiftAWS.Redshift2012-12-01
Amazon Relational Database ServiceAWS.RDS2014-09-01
Amazon Route 53AWS.Route532013-04-01
Amazon Route 53 DomainsAWS.Route53Domains2014-05-15
Amazon Simple Email ServiceAWS.SES2010-12-01
Amazon Simple Notification ServiceAWS.SNS2010-03-31
Amazon Simple Queue ServiceAWS.SQS2012-11-05
Amazon Simple Storage ServiceAWS.S32006-03-01
Amazon Simple Workflow ServiceAWS.SWF2012-01-25
Amazon SimpleDBAWS.SimpleDB2009-04-15
Auto ScalingAWS.AutoScaling2011-01-01
AWS CloudFormationAWS.CloudFormation2010-05-15
AWS CloudTrailAWS.CloudTrail2013-11-01
AWS CodeDeployAWS.CodeDeploy2014-10-06
AWS ConfigAWS.ConfigService2014-11-12
AWS Data PipelineAWS.DataPipeline2012-10-29
AWS Direct ConnectAWS.DirectConnect2012-10-25
AWS Elastic BeanstalkAWS.ElasticBeanstalk2010-12-01
AWS Identity and Access ManagementAWS.IAM2010-05-08
AWS Import/ExportAWS.ImportExport2010-06-01
AWS Key Management ServiceAWS.KMS2014-11-01
AWS LambdaAWS.Lambda2014-11-11
AWS OpsWorksAWS.OpsWorks2013-02-18
AWS Security Token ServiceAWS.STS2011-06-15
AWS Storage GatewayAWS.StorageGateway2013-06-30
AWS SupportAWS.Support2013-04-15
Elastic Load BalancingAWS.ELB2012-06-01

License

This SDK is distributed under the Apache License, Version 2.0, see LICENSE.txt and NOTICE.txt for more information.

Something went wrong with that request. Please try again.