code: @Override
      public ListUserGroupsResult listUserGroups(ListUserGroupsRequest request) {
          request = beforeClientExecution(request);
          return executeListUserGroups(request);
      }
docs: <p>
  Lists the Amazon QuickSight groups that an Amazon QuickSight user is a member of.
  </p>
  <p>
  The permission resource is
  <code>arn:aws:quicksight:us-east-1:<i>&lt;aws-account-id&gt;</i>:user/default/<i>&lt;user-name&gt;</i> </code>.
  </p>
  <p>
  The response is a one or more group objects.
  </p>
  <p>
  <b>CLI Sample:</b>
  </p>
  <p>
  <code>aws quicksight list-user-groups -\-user-name=Pat -\-aws-account-id=111122223333 -\-namespace=default -\-region=us-east-1 </code>
  </p>
  
  @param listUserGroupsRequest
  @return Result of the ListUserGroups operation returned by the service.
  @throws AccessDeniedException
  You don't have access to this. The provided credentials couldn't be validated. You might not be
  authorized to carry out the request. Ensure that your account is authorized to use the Amazon QuickSight
  service, that your policies have the correct permissions, and that you are using the correct access keys.
  @throws InvalidParameterValueException
  One or more parameters don't have a valid value.
  @throws ResourceNotFoundException
  One or more resources can't be found.
  @throws ThrottlingException
  Access is throttled.
  @throws InternalFailureException
  An internal failure occurred.
  @throws ResourceUnavailableException
  This resource is currently unavailable.
  @sample AmazonQuickSight.ListUserGroups
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListUserGroups" target="_top">AWS API
  Documentation</a>