Skip to content

AWS SDK examples used in the official AWS SDK documentation.

License

Notifications You must be signed in to change notification settings

awood45/aws-doc-sdk-examples

 
 

Repository files navigation

aws-doc-sdk-examples

This repository contains AWS SDK examples used in the public AWS documentation repositories.

About the examples

The SDK examples are organized by programming language. For instance, all of the examples for the AWS SDK for Java Developer Guide are kept in the java directory.

Building and running examples

Within each of the language-scoped directories, you'll find a README file that explains how to build and run the examples contained within it.

The example code itself is present in the example_code subdirectory, and is organized further by the AWS service abbreviation ("s3" for Amazon S3 examples, and so on).

How examples are used in the documentation

Examples are automatically included within each developer guide by build_docs.py (present in each documentation project), which clones this repository and then copies files from the appropriate example_code directory into the doc_build directory prior to building.

Within a guide's source-files, examples are referenced using Sphinx's literalinclude directive. For example:

.. literalinclude:: example_code/s3/src/main/java/aws/example/s3/CreateBucket.java
   :lines: 43-50
   :dedent: 8

Copyright and License

All content in this repository, unless otherwise stated, is Copyright © 2010-2016, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Except where otherwise noted, all examples in this collection are licensed under the Apache license, version 2.0 (the "License"). The full license text also provided in the LICENSE file accompanying this repository.

About

AWS SDK examples used in the official AWS SDK documentation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 35.2%
  • Java 27.1%
  • Go 13.0%
  • C++ 7.8%
  • C# 7.2%
  • Python 4.9%
  • Other 4.8%