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

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:

主站蜘蛛池模板: 永吉县| 伊金霍洛旗| 九台市| 万荣县| 台东市| 沂水县| 循化| 繁昌县| 宜州市| 黄石市| 林西县| 鸡西市| 壤塘县| 开封市| 神木县| 常宁市| 阿荣旗| 双流县| 靖江市| 唐山市| 新宁县| 晋城| 新邵县| 武定县| 崇明县| 祁连县| 浦城县| 班戈县| 盐山县| 朝阳县| 丹棱县| 嘉义市| 庐江县| 无棣县| 阳春市| 且末县| 托里县| 云和县| 醴陵市| 枝江市| 旬阳县|