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.
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:
-
Guided command examples - Guided command examples for the AWS CLI User Guide on how to use the AWS CLI with some AWS services. These are often more detailed examples than the examples from the AWS CLI reference guide.
-
AWS CLI command examples - Open source command examples that are also available in the AWS CLI reference guide. Command examples are hosted in the AWS CLI
repository on GitHub. -
AWS CLI using Bash scripting code examples - Open source bash scripting examples. Bash scripting examples are hosted in the AWS Code Examples Repository
on GitHub.
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