Release: AWS SDK for JavaScript v2.3.0
This release adds support for promises in the AWS JavaScript SDK.
Created On: March 31, 2016
Last Updated: July 22, 2021
Latest Version
In the Browser
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.3.0.min.js"></script>
In Node.js
npm install aws-sdk@2.3.0
New Features
Change | Description |
---|---|
AWS.ELB CORS Support |
Updates AWS.ELB with CORS support. Elastic Load Balancing is now a default service in the browser distribution of the SDK. |
AWS.ECS CORS support |
Updates AWS.ECS with CORS support. Amazon EC2 Container Service is now a default service in the browser distribution of the SDK. |
Support for Promises |
Updates the AWS.Request object with a promise() method. This method will return a promise that is fulfilled with a response data object, and rejected with an error object. Example: var putObjectPromise = s3.putObject({Bucket: 'bucket', Key: 'key'}).promise(); putObjectPromise.then(function(data) { console.log('PutObject succeeded'); }).catch(function(err) { console.log(err); }); Note: This currently only works for operations that return an instance of AWS.Request. |
Supported API Versions
This release of the SDK supports the following API versions:
In the Browser
Service | API Version |
---|---|
Amazon CloudWatch | 2010-08-01 |
Amazon CloudWatch Logs | 2014-03-28 |
Amazon Cognito Identity | 2014-06-30 |
Amazon Cognito Sync | 2014-06-30 |
Amazon DynamoDB | 2012-08-10 |
Amazon DynamoDB Streams | 2012-08-10 |
Amazon Elastic Compute Cloud | 2015-10-01 |
Amazon Elastic Transcoder | 2012-09-25 |
Amazon Kinesis | 2013-12-02 |
Amazon Kinesis Firehose | 2015-08-04 |
Amazon Machine Learning | 2014-12-12 |
Amazon Mobile Analytics | 2014-06-05 |
Amazon Simple Notification Service | 2010-03-31 |
Amazon Simple Queue Service | 2012-11-05 |
Amazon Simple Storage Service | 2006-03-01 |
Amazon Simple Systems Management Service | 2014-11-06 |
AWS CodePipeline | 2015-07-09 |
AWS Device Farm | 2015-06-23 |
AWS Lambda | 2015-03-31 |
AWS Marketplace Commerce Analytics | 2015-07-01 |
AWS OpsWorks | 2013-02-18 |
AWS Security Token Service | 2011-06-15 |
AWS WAF | 2015-08-24 |
In Node.js
Service | API Version |
---|---|
Amazon API Gateway | 2015-07-09 |
Amazon CloudFront | 2016-01-28 |
Amazon CloudHSM | 2014-05-30 |
Amazon CloudSearch | 2013-01-01 |
Amazon CloudSearch Domain | 2013-01-01 |
Amazon CloudWatch | 2010-08-01 |
Amazon CloudWatch Events | 2015-10-07 |
Amazon CloudWatch Logs | 2014-03-28 |
Amazon Cognito Identity | 2014-06-30 |
Amazon Cognito Sync | 2014-06-30 |
Amazon DynamoDB | 2012-08-10 |
Amazon DynamoDB Streams | 2012-08-10 |
Amazon EC2 Container Registry | 2015-09-21 |
Amazon EC2 Container Service | 2014-11-13 |
Amazon Elastic Compute Cloud | 2015-10-01 |
Amazon Elastic File System | 2015-02-01 |
Amazon Elastic MapReduce | 2009-03-31 |
Amazon Elastic Transcoder | 2012-09-25 |
Amazon ElastiCache | 2015-02-02 |
Amazon Elasticsearch Service | 2015-01-01 |
Amazon GameLift | 2015-10-01 |
Amazon Glacier | 2012-06-01 |
Amazon Inspector | 2016-02-16 |
Amazon Kinesis | 2013-12-02 |
Amazon Kinesis Firehose | 2015-08-04 |
Amazon Machine Learning | 2014-12-12 |
Amazon Mobile Analytics | 2014-06-05 |
Amazon Redshift | 2012-12-01 |
Amazon Relational Database Service | 2014-10-31 |
Amazon Route 53 | 2013-04-01 |
Amazon Route 53 Domains | 2014-05-15 |
Amazon Simple Email Service | 2010-12-01 |
Amazon Simple Notification Service | 2010-03-31 |
Amazon Simple Queue Service | 2012-11-05 |
Amazon Simple Storage Service | 2006-03-01 |
Amazon Simple Systems Management Service | 2014-11-06 |
Amazon Simple Workflow Service | 2012-01-25 |
Amazon SimpleDB | 2009-04-15 |
Amazon WorkSpaces | 2015-04-08 |
Auto Scaling | 2011-01-01 |
AWS Certificate Manager | 2015-12-08 |
AWS CloudFormation | 2010-05-15 |
AWS CloudTrail | 2013-11-01 |
AWS CodeCommit | 2015-04-13 |
AWS CodeDeploy | 2014-10-06 |
AWS CodePipeline | 2015-07-09 |
AWS Config | 2014-11-12 |
AWS Data Pipeline | 2012-10-29 |
AWS Database Migration Service | 2016-01-01 |
AWS Device Farm | 2015-06-23 |
AWS Direct Connect | 2012-10-25 |
AWS Directory Service | 2015-04-16 |
AWS Elastic Beanstalk | 2010-12-01 |
AWS Identity and Access Management | 2010-05-08 |
AWS Import/Export | 2010-06-01 |
AWS IoT Data Plane | 2015-05-28 |
2015-05-28 | |
AWS Key Management Service | 2014-11-01 |
AWS Lambda | 2015-03-31 |
AWS Marketplace Commerce Analytics | 2015-07-01 |
AWS OpsWorks | 2013-02-18 |
AWS Security Token Service | 2011-06-15 |
AWS Storage Gateway | 2013-06-30 |
AWS Support | 2013-04-15 |
AWS WAF | 2015-08-24 |
AWSMarketplace Metering | 2016-01-14 |
Elastic Load Balancing | 2012-06-01 |