Amazon SDK for Java Code Examples - Amazon SDK for Java 1.x
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

The Amazon SDK for Java 1.x has entered maintenance mode as of July 31, 2024, and will reach end-of-support on December 31, 2025. We recommend that you migrate to the Amazon SDK for Java 2.x to continue receiving new features, availability improvements, and security updates.

Amazon SDK for Java Code Examples

This section provides tutorials and examples of using the Amazon SDK for Java v1 to program Amazon services.

Find the source code for these examples and others in the Amazon documentation code examples repository on GitHub.

To propose a new code example for the Amazon documentation team to consider producing, create a new request. The team is looking to produce code examples that cover broader scenarios and use cases, versus simple code snippets that cover only individual API calls. For instructions, see the Contributing guidelines in the code examples respository on GitHub..

Amazon SDK for Java 2.x

In 2018, Amazon released the Amazon SDK for Java 2.x. This guide contains instructions on using the latest Java SDK along with example code.

Note

See Additional Documentation and Resources for more examples and additional resources available for Amazon SDK for Java developers!

Topics