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 re
from requests.models import Request
from localstack.constants import TEST_AWS_ACCOUNT_ID, MOTO_ACCOUNT_ID
from localstack.utils.aws import aws_stack
from localstack.utils.common import to_str
from localstack.services.generic_proxy import ProxyListener
class ProxyListenerIAM(ProxyListener):
    def forward_request(self, method, path, data, headers):
        if method == 'POST' and path == '/':
            data = self._reset_account_id(data)
            return Request(data=data, headers=headers, method=method)
        return True
    def return_response(self, method, path, data, headers, response):