deletePolicyVersion
inline suspend fun IamClient.deletePolicyVersion(crossinline block: DeletePolicyVersionRequest.Builder.() -> Unit): DeletePolicyVersionResponse
Deletes the specified version from the specified managed policy.
You cannot delete the default version from a policy using this operation. To delete the default version from a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
For information about versions for managed policies, see Versioning for managed policies in the IAM User Guide.