# AWS CLI examples

> This chapter provides examples that show you how to use the AWS CLI with AWS services.

**Source:** https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-code-examples.html

---

# 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:**

- 
            
**[Guided command
                examples](./cli-chap-services.html)** - 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 version 2 reference
                        guide](https://docs.aws.amazon.com/cli/latest/reference/index.html).

- 
            
**[AWS CLI command
                examples](./cli_code_examples.html)** - Open source command examples that are also
                available in the
                [AWS CLI version 2 reference guide](https://docs.aws.amazon.com/cli/latest/reference/index.html).
                Command examples are hosted in the [AWS CLI](https://github.com/aws/aws-cli/tree/develop/awscli/examples)
                repository on *GitHub*.

- 

                **[AWS CLI using Bash scripting
                    code examples](./bash_code_examples.html)** - Open source bash scripting examples. Bash
                scripting examples are hosted in the [AWS Code Examples
                    Repository](https://github.com/awsdocs/aws-doc-sdk-examples) 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 version 2 reference
            guide](https://docs.aws.amazon.com/cli/latest/reference/index.html).

Want to contribute? Contribute AWS CLI command examples in the  [AWS Code Examples
                Repository](https://github.com/awsdocs/aws-doc-sdk-examples) on *GitHub*. For more
            information on contributing, see [AWS CLI code example
                contribution quick steps](https://aws.github.io/aws-cli/docs_quicksteps.html) on *GitHub
            pages*.