繁体   English   中英

aws cli --profile需要一个参数

[英]aws cli --profile expected one parameter

我正在尝试将--profile与aws-cli一起使用

$ aws s3 ls --profile profile360

效果很好,但是:

$ aws dynamodb scan --table-name dev_eventsApi_EventsTable --output > c:\temp\hevo.txt --profile profile360

结果是

usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help
aws: error: argument --output: expected one argument

我遇到在使用--profile遇到问题的--profile

我究竟做错了什么?

定义输出的类型,例如text或json。 尝试这个。

aws dynamodb scan --table-name dev_eventsApi_EventsTable --output text --profile profile360 > c:\temp\hevo.txt

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM