官术网_书友最值得收藏!

AWS CLI

The CLI is the command-line interface. For experienced users, it's a great tool to access information and manage resources. If you already have Python installed, you just need to run pip, which is the default package manager for Python, to install the CLI:

    pip install awscli

The configuration of the CLI is very similar to the one used by the SDK. The only difference is that you need to add another environment variable: AWS_DEFAULT_REGION. You need this because the SDK uses AWS_REGION instead of the AWS_DEFAULT_REGION variable.

To test if your setup is correct, you can execute the ls (list) command to list S3 buckets:

    aws s3 ls

Considering an AWS account with one bucket, the preceding command line derives the following output:

主站蜘蛛池模板: 太康县| 锦屏县| 平凉市| 两当县| 类乌齐县| 蕲春县| 深水埗区| 云安县| 上饶县| 秀山| 东乡县| 大新县| 英超| 东兴市| 闵行区| 云梦县| 三都| 黑龙江省| 六盘水市| 永昌县| 永年县| 连江县| 宁明县| 吉首市| 漯河市| 平邑县| 阳江市| 德阳市| 绵竹市| 彭泽县| 象州县| 蕲春县| 时尚| 九台市| 柏乡县| 泗水县| 东山县| 师宗县| 德令哈市| 徐水县| 宣恩县|