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

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:

主站蜘蛛池模板: 西宁市| 措美县| 富顺县| 志丹县| 成武县| 浏阳市| 乐昌市| 长白| 晋江市| 喀什市| 两当县| 枣庄市| 龙门县| 凉山| 石狮市| 融水| 津市市| 修文县| 确山县| 德安县| 佛教| 高台县| 虎林市| 遂宁市| 读书| 文登市| 鄂伦春自治旗| 灵武市| 桂林市| 陆河县| 平武县| 清苑县| 犍为县| 阿荣旗| 松阳县| 交城县| 鲜城| 平顶山市| 东辽县| 区。| 金湖县|