javascript/README.rst
############################### AWS SDK for JavaScript v2 examples ###############################
These are examples for the AWS SDK for JavaScript version 2 (v2) public documentation.
The AWS SDK for JavaScript v2 Developer Guide <https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/>_ contains topics for these examples.
Note: Examples for AWS SDK for JavaScript version 3 (v3) are available in the javascriptv3/example_code <https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/javascriptv3/example_code/>_ folder in this repo.
To build and run these examples, you'll need:
Examples are written for either execution in a browser script or in Node.js, usually depending on the use case for each. The two scenarios typically differ in how you supply credentials to the code. These differences are described in the Developer Guide at https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-credentials.html <https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-credentials.html>_
To run the examples, you'll need to create a shared credentials file. For more information about how to set up a shared credentials file,
see Loading Credentials in Node.js from the Shared Credentials File <https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html>_
in the AWS SDK for JavaScript Developer Guide.
The Node.js examples are all run from the command line.
You can download minified and non-minified distributable versions of the current AWS SDK for JavaScript at:
https://github.com/aws/aws-sdk-js/tree/master/dist <https://github.com/aws/aws-sdk-js/tree/master/dist>_
You can find detailed documentation for the AWS SDK for JavaScript at:
AWS SDK for JavaScript Developer Guide <http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide>_AWS SDK for JavaScript API Reference <http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html>_Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0