Using the pagination options in the AWS CLI - AWS Command Line Interface
Use pagination options to optimize the output of AWS CLI API calls.