cjyclaire / aws-doc-sdk-examples

AWS SDK examples used in the official AWS SDK documentation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Apache License 2.0


Languages

Language:Ruby 36.7%Language:Java 27.4%Language:Go 13.2%Language:C++ 7.9%Language:C# 7.2%Language:Python 5.0%Language:PHP 1.6%Language:CMake 0.6%Language:Shell 0.3%Language:Makefile 0.1%