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

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:

主站蜘蛛池模板: 张北县| 新密市| 岳池县| 韩城市| 甘孜| 石泉县| 南溪县| 舟山市| 旬阳县| 榆树市| 新民市| 浏阳市| 南部县| 泽州县| 綦江县| 绥棱县| 独山县| 东乡| 古丈县| 乌鲁木齐县| 克东县| 和田市| 敖汉旗| 合山市| 英超| 高阳县| 和平区| 含山县| 浦城县| 云浮市| 绵竹市| 临沧市| 哈尔滨市| 岳阳市| 仙桃市| 河池市| 清丰县| 钟山县| 舟山市| 朝阳区| 涿州市|