get-role — AWS CLI 2.36.24 Command Reference
Use the AWS CLI 2.36.24 to run the iam get-role command.