aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.45k stars 4.1k forks source link

datapipeline --list-pipelines expects arguments #680

Closed foscraig closed 10 years ago

foscraig commented 10 years ago

The ruby client just lists pipelines with: datapipeline --list-pipelines

Name Id State UserId

Total of 5 pipelines. The aws CLI gives an error when running the analogue: aws datapipeline --list-pipelines usage: aws [options] [parameters] aws: error: too few arguments
jamesls commented 10 years ago

The AWS CLI maps directly to the operations provided by a service. Also, the AWS CLI uses the following format for all commands:

aws service operation

So the equivalent would be aws datapipeline list-pipelines and will map to this operation in terms of its inputs and outputs: http://docs.aws.amazon.com/datapipeline/latest/APIReference/API_ListPipelines.html

foscraig commented 10 years ago

ah, great, thanks!