code: @Override
      public ListEntitiesForPolicyResult listEntitiesForPolicy(ListEntitiesForPolicyRequest request) {
          request = beforeClientExecution(request);
          return executeListEntitiesForPolicy(request);
      }
docs: <p>
  Lists all IAM users, groups, and roles that the specified managed policy is attached to.
  </p>
  <p>
  You can use the optional <code>EntityFilter</code> parameter to limit the results to a particular type of entity
  (users, groups, or roles). For example, to list only the roles that are attached to the specified policy, set
  <code>EntityFilter</code> to <code>Role</code>.
  </p>
  <p>
  You can paginate the results using the <code>MaxItems</code> and <code>Marker</code> parameters.
  </p>
  
  @param listEntitiesForPolicyRequest
  @return Result of the ListEntitiesForPolicy 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 InvalidInputException
  The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
  @throws ServiceFailureException
  The request processing has failed because of an unknown error, exception or failure.
  @sample AmazonIdentityManagement.ListEntitiesForPolicy
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ListEntitiesForPolicy" target="_top">AWS API
  Documentation</a>