Code examples for the AWS CLI - AWS Command Line Interface

This documentation is for Version 1 of the AWS CLI only. For documentation related to Version 2 of the AWS CLI, see the Version 2 User Guide.

Code examples for the AWS CLI

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

The AWS 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 AWS CLI reference guide.

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