aws ec2 list-images-in-recycle-bin
Lists one or more AMIs that are currently in the Recycle Bin. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--image-idsThe IDs of the AMIs to list.--max-resultsThe maximum number of items to return for this request.--next-tokenThe token returned from a previous paginated request.