Code examples - Amazon Command Line Interface
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).

Code examples

This chapter provides a collection of examples that show you how to use the Amazon Command Line Interface (Amazon CLI) with Amazon Web Services.

The Amazon CLI has the following types of examples in this guide:

Example feedback

Can't find what you need? Request a command example by using the Provide feedback link at the bottom of this page or on the relevant command page in the Amazon CLI version 2 reference guide.

Want to contribute? Contribute Amazon CLI command examples in the Amazon Code Examples Repository on GitHub. For more information on contributing, see Amazon CLI code example contribution quick steps on GitHub pages.