code: @Override
      public DeletePolicyVersionResult deletePolicyVersion(DeletePolicyVersionRequest request) {
          request = beforeClientExecution(request);
          return executeDeletePolicyVersion(request);
      }
docs: <p>
  Deletes the specified version from the specified managed policy.
  </p>
  <p>
  You cannot delete the default version from a policy using this API. To delete the default version from a policy,
  use <a>DeletePolicy</a>. To find out which version of a policy is marked as the default version, use
  <a>ListPolicyVersions</a>.
  </p>
  <p>
  For information about versions for managed policies, see <a
  href="https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html">Versioning for Managed
  Policies</a> in the <i>IAM User Guide</i>.
  </p>
  
  @param deletePolicyVersionRequest
  @return Result of the DeletePolicyVersion operation returned by the service.
  @throws NoSuchEntityException
  The request was rejected because it referenced a resource entity that does not exist. The error message
  describes the resource.
  @throws LimitExceededException
  The request was rejected because it attempted to create resources beyond the current AWS account limits.
  The error message describes the limit exceeded.
  @throws InvalidInputException
  The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
  @throws DeleteConflictException
  The request was rejected because it attempted to delete a resource that has attached subordinate
  entities. The error message describes these entities.
  @throws ServiceFailureException
  The request processing has failed because of an unknown error, exception or failure.
  @sample AmazonIdentityManagement.DeletePolicyVersion
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeletePolicyVersion" target="_top">AWS API
  Documentation</a>