Having deployed a large number of lambdas to localstack and enabled cloudwatch logs for all of them, I attempted to retrieve a list of log groups using
`aws logs describe-log-groups --endpoint-url http://localhost:4586 --region us-east-1`
However this only resulted in the following error message:
`Parameter validation failed: Invalid type for parameter nextToken, value: 50, type: <class 'int'>, valid types: <class 'str'>`
If I append `--no-paginate` to the command, I get some of the log groups, and immediately notice the following in the response json: `"nextToken": 50`

I attempted the same on regular aws (ie `aws logs describe-log-groups  --no-paginate`) and saw that the nextToken is actually the name of a log group:
`"nextToken": "/aws/lambda/service-stage-function"`
import os
import re
import sys
import json
import time
import signal
import traceback
import logging
import boto3
import subprocess
from requests.models import Response
from localstack import constants, config
from localstack.constants import (
    ENV_DEV, LOCALSTACK_VENV_FOLDER, ENV_INTERNAL_TEST_RUN, LOCALSTACK_INFRA_PROCESS,
    DEFAULT_PORT_APIGATEWAY_BACKEND, DEFAULT_PORT_SNS_BACKEND,
    DEFAULT_PORT_EC2_BACKEND, DEFAULT_PORT_EVENTS_BACKEND, DEFAULT_SERVICE_PORTS)
from localstack.utils import common, persistence
from localstack.utils.common import (TMP_THREADS, run, get_free_tcp_port, is_linux,
    FuncThread, ShellCommandThread, get_service_protocol, in_docker, is_port_open)
from localstack.utils.server import multiserver
from localstack.utils.bootstrap import (
    setup_logging, is_debug, canonicalize_api_names, load_plugins, in_ci)
from localstack.utils.analytics import event_publisher
from localstack.services import generic_proxy, install