EasyManuals Logo

Amazon AWS SDK User Manual

Amazon AWS SDK
19 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #5 background imageLoading...
Page #5 background image
AWS SDK for Node.js
The official JavaScript implementation of the AWS SDK for Node.js.
Installing
To use the AWS SDK for Node.js, you must have an AWS account. If you do not yet have an AWS
account, see AWS Account and Credentials (p. 2) for instructions on how to sign up.
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
Note
Installing the aws-sdk npm package on Windows may display errors while trying to install the
optional dependency for libxmljs. This error can be safely ignored.
Usage
After you've installed the SDK, you can require the AWS package in your node application using require:
var AWS = require('aws-sdk');
Here is a quick example that makes some requests against Amazon S3 with the SDK:
// Load the AWS SDK for Node.js
var AWS = require('aws-sdk');
/**
* Don't hard-code your credentials!
Version 0.9.1-pre.2 : Preview
1
AWS SDK for Node.js Getting Started Guide
Installing

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Amazon AWS SDK and is the answer not in the manual?

Amazon AWS SDK Specifications

General IconGeneral
CategorySoftware Development Kit (SDK)
DeveloperAmazon Web Services (AWS)
LicenseApache License 2.0
PurposeTo enable developers to interact with AWS services from their applications.
Supported LanguagesJava, Python, JavaScript, .NET, Ruby, PHP, Go, C++
Supported AWS ServicesAll AWS services
Operating SystemsWindows, macOS, Linux
Latest VersionVaries by SDK and language. Refer to the official AWS documentation for the specific SDK.
RepositoryGitHub (for many SDKs)
DocumentationAvailable on the AWS website.
SDK FeaturesAPI abstraction, request signing, error handling, retry logic, data serialization, and support for various authentication methods.

Related product manuals