awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.15k stars 770 forks source link

paging is failing #172

Closed FernandoMiguel closed 7 years ago

FernandoMiguel commented 7 years ago

I was querying AWS API against workspaces. we currently have 35 instances. but running status with aws-shell only returns the 1st 25 (24?) running the same query against aws cli tool, we get the same number as web console.

aws workspaces describe-workspaces --output text | grep WORKSPACES | wc -l
      35
aws> workspaces describe-workspaces --output text | grep WORKSPACES | wc -l
      25
FernandoMiguel commented 7 years ago

this is fixed with --next-token (string)