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"`
if response.content:
            
            self._fix_account_id(response)
            
            self._fix_date_format(response)
            
            response.headers['content-length'] = len(response._content)
    def _fix_date_format(self, response):
        """ Normalize date to format '2019-06-13T18:10:09.1234Z' """
        pattern = r'<CreateDate>([^<]+) ([^<+]+)(\+[^<]*)?</CreateDate>'
        replacement = r'<CreateDate>\1T\2Z</CreateDate>'
        self._replace(response, pattern, replacement)
    def _fix_account_id(self, response):
        return aws_stack.fix_account_id_in_arns(
            response, existing=MOTO_ACCOUNT_ID, replace=TEST_AWS_ACCOUNT_ID)
    def _reset_account_id(self, data):
        """ Fix account ID in request payload. All external-facing responses contain our
            predefined account ID (defaults to 000000000000), whereas the backend endpoint
            from moto expects a different hardcoded account ID (123456789012). """
        return aws_stack.fix_account_id_in_arns(
            data, colon_delimiter='%3A', existing=TEST_AWS_ACCOUNT_ID, replace=MOTO_ACCOUNT_ID)
    def _replace(self, response, pattern, replacement):
        content = to_str(response.content)
        response._content = re.sub(pattern, replacement, content)
UPDATE_IAM = ProxyListenerIAM()