aws ce get-rightsizing-recommendation
Creates recommendations that help you save cost by identifying idle and underutilized Amazon EC2 instances. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--configurationYou can use Configuration to customize recommendations across two attributes.--filterUse Expression to filter in various Cost Explorer APIs.--next-page-tokenThe pagination token that indicates the next set of results that you want to retrieve.--page-sizeThe number of recommendations that you want returned in a single response object.--serviceThe specific service that you want recommendations for.