simulate-custom-policy — AWS CLI 2.34.19 Command Reference
Use the AWS CLI 2.34.19 to run the iam simulate-custom-policy command.