aws iam list-policy-versions
Lists information about the versions of the specified managed policy, including the version that is currently set as the policy's default version. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--markerUse this parameter only when paginating results and only after you receive a response indicating that the results are truncated.--max-itemsUse this only when paginating results to indicate the maximum number of items you want in the response.--policy-arnThe Amazon Resource Name (ARN) of the IAM policy for which you want the versions.