list-groups — AWS CLI 2.34.53 Command Reference
Use the AWS CLI 2.34.53 to run the iam list-groups command.