@Override
    public AdminListGroupsForUserResult adminListGroupsForUser(AdminListGroupsForUserRequest request) {
        request = beforeClientExecution(request);
        return executeAdminListGroupsForUser(request);
    }
@ Override public AdminListGroupsForUserResult adminListGroupsForUser ( AdminListGroupsForUserRequest request ) { request = beforeClientExecution ( request ) ; return executeAdminListGroupsForUser ( request ) ; }
<p>
Lists the groups that the user belongs to.
</p>
<p>
Requires developer credentials.
</p>

@param adminListGroupsForUserRequest
@return Result of the AdminListGroupsForUser operation returned by the service.
@throws InvalidParameterException
This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
@throws ResourceNotFoundException
This exception is thrown when the Amazon Cognito service cannot find the requested resource.
@throws TooManyRequestsException
This exception is thrown when the user has made too many requests for a given operation.
@throws NotAuthorizedException
This exception is thrown when a user is not authorized.
@throws UserNotFoundException
This exception is thrown when a user is not found.
@throws InternalErrorException
This exception is thrown when Amazon Cognito encounters an internal error.
@sample AWSCognitoIdentityProvider.AdminListGroupsForUser
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminListGroupsForUser"
target="_top">AWS API Documentation</a>