aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

datapipeline --list-pipelines expects arguments

Open foscraig opened this issue 12 years ago • 2 comments

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

foscraig avatar Mar 01 '14 04:03 foscraig

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

jamesls avatar Mar 03 '14 17:03 jamesls

ah, great, thanks!

foscraig avatar Mar 03 '14 17:03 foscraig