### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

When calling 

`cloudWatchClient.EnableAlarmActions(&cloudwatch.EnableAlarmActionsInput{AlarmNames: alarmNames})`

with golang I receive a SerializationError with bytes in the error message saying: 

`<!DOCTYPE HTM |UBLIC "-//W3C//DTD HTML 3.2 Final//EN">.<title>500 Internal Server Error</title>.<h1>Internal Server Error</h1>.<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.`

I believe this is a bug, since other cloudwatch operations like "DescribeAlarms" work flawlessly with the same client.

### Expected Behavior

I expected the call to go through without any errors

### How are you starting LocalStack?

With a `docker run` command

### Steps To Reproduce

Start localstack, create alarms and call cloudwatch "EnableAlarmActions"

### Environment

_No response_

### Anything else?

_No response_
)
        
        if request.get("Period"):
            
            value = request.get("Period")
            if value not in (10, 30):
                if value % 60 != 0:
                    raise ValidationError("Period must be 10, 30 or a multiple of 60")
        if request.get("Statistic"):
            if not request.get("Statistic") in [
                "SampleCount",
                "Average",
                "Sum",
                "Minimum",
                "Maximum",
            ]:
                raise ValidationError(
                    f"Value '{request.get('Statistic')}' at 'statistic' failed to satisfy constraint: Member must satisfy enum value set: [Maximum, SampleCount, Sum, Minimum, Average]"
                )
        moto.call_moto(context)
        name = request.get("AlarmName")
        arn = aws_stack.cloudwatch_alarm_arn(name)
        self.tags.tag_resource(arn, request.get("Tags"))
        self.alarm_scheduler.schedule_metric_alarm(arn)
    @handler("PutCompositeAlarm", expand=False)
    def put_composite_alarm(
        self,
        context: RequestContext,
        request: PutCompositeAlarmInput,
    ) -> None: