### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

Creating an `aws_api_gateway_method_settings` resource using Terraform fails on LocalStack `1.3.1`.

LocalStack log:
```
2022-12-04T09:07:55.283  INFO --- [   asgi_gw_4] localstack.request.aws     : AWS apigateway.UpdateStage => 500 (InternalError); UpdateStageRequest({'restApiId': 'npisxlp9zs', 'stageName': 'default', 'patchOperations': [{'op': 'replace', 'path': '/*/*/metrics/enabled', 'value': 'true'}, {'op': 'replace', 'path': '/*/*/logging/loglevel', 'value': 'ERROR'}, {'op': 'replace', 'path': '/*/*/throttling/burstLimit', 'value': '-1'}, {'op': 'replace', 'path': '/*/*/throttling/rateLimit', 'value': '-1.000000'}]}, headers={'Host': 'localhost:4566', 'User-Agent': 'APN/1.0 HashiCorp/1.0 Terraform/1.2.9 (+https://www.terraform.io) terraform-provider-aws/dev (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go/1.44.0 (go1.17.6; darwin; arm64)', 'Content-Length': '285', 'Accept': 'application/json', 'Authorization': 'AWS4-HMAC-SHA256 Credential=dummy/20221204/us-east-1/apigateway/aws4_request, SignedHeaders=accept;content-length;content-type;host;x-amz-date, Signature=995a9aac02e09dbbaca929d4922be38eec8284cd5cd74ea1b9bfe67338ac1df3', 'Content-Type': 'application/json', 'X-Amz-Date': '20221204T090755Z', 'Accept-Encoding': 'gzip', 'x-localstack-tgt-api': 'apigateway', 'x-moto-account-id': '000000000000'}); InternalError(exception while calling apigateway.UpdateStage: Traceback (most recent call last):
  File "/opt/code/localstack/localstack/aws/chain.py", line 90, in handle
    handler(self, self.context, response)
  File "/opt/code/localstack/localstack/aws/handlers/service.py", line 122, in __call__
    handler(chain, context, response)
  File "/opt/code/localstack/localstack/aws/handlers/service.py", line 92, in __call__
    skeleton_response = self.skeleton.invoke(context)
  File "/opt/code/localstack/localstack/aws/skeleton.py", line 153, in invoke
    return self.dispatch_request(context, instance)
  File "/opt/code/localstack/localstack/aws/skeleton.py", line 165, in dispatch_request
    result = handler(context, instance) or {}
  File "/opt/code/localstack/localstack/aws/forwarder.py", line 60, in _call
    return fallthrough_handler(context, req)
  File "/opt/code/localstack/localstack/services/moto.py", line 83, in _proxy_moto
    return call_moto(context)
  File "/opt/code/localstack/localstack/services/moto.py", line 46, in call_moto
    return dispatch_to_backend(context, dispatch_to_moto, include_response_metadata)
  File "/opt/code/localstack/localstack/aws/forwarder.py", line 113, in dispatch_to_backend
    http_response = http_request_dispatcher(context)
  File "/opt/code/localstack/localstack/services/moto.py", line 111, in dispatch_to_moto
    status, headers, content = dispatch(request, request.url, request.headers)
  File "/opt/code/localstack/.venv/lib/python3.10/site-packages/moto/apigateway/responses.py", line 424, in stages
    stage_response = self.backend.update_stage(
  File "/opt/code/localstack/.venv/lib/python3.10/site-packages/moto/apigateway/models.py", line 1805, in update_stage
    return stage.apply_operations(patch_operations)
  File "/opt/code/localstack/localstack/services/apigateway/patches.py", line 334, in stage_apply_operations
    result = stage_apply_operations_orig(self, patch_operations)
  File "/opt/code/localstack/localstack/services/apigateway/patches.py", line 268, in backend_model_apply_operations
    if self.get(bool_param):
AttributeError: 'Stage' object has no attribute 'get'
, headers={'Content-Type': 'application/json', 'X-Amzn-Errortype': 'InternalError', 'Content-Length': '2252', 'x-amzn-requestid': 'TLOOPKJCPFXWAN6N9HN22S6L9Y3WRCQQX862SMSL2ZRS1ZWMIQHN', 'x-amz-request-id': '1EX246E98AK54VZV8C5RPYQ8BPIEFUKBRXQBQ0GIXA9YZEXI8RHW', 'Connection': 'close', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'HEAD,GET,PUT,POST,DELETE,OPTIONS,PATCH', 'Access-Control-Allow-Headers': 'authorization,cache-control,content-length,content-md5,content-type,etag,location,x-amz-acl,x-amz-content-sha256,x-amz-date,x-amz-request-id,x-amz-security-token,x-amz-tagging,x-amz-target,x-amz-user-agent,x-amz-version-id,x-amzn-requestid,x-localstack-target,amz-sdk-invocation-id,amz-sdk-request', 'Access-Control-Expose-Headers': 'etag,x-amz-version-id'})
```

### Expected Behavior

Resource should be created successfully.

### How are you starting LocalStack?

With a docker-compose file

### Steps To Reproduce

#### How are you starting localstack (e.g., `bin/localstack` command, arguments, or `docker-compose.yml`)

    docker-compose.yml
#### Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)

 ```
resource "aws_api_gateway_method_settings" "all" {
  rest_api_id = aws_api_gateway_rest_api.env-rest-api-gw.id
  stage_name  = aws_api_gateway_stage.rest-api-gw-stage.stage_name
  method_path = "*/*"

  settings {
    metrics_enabled = true
    logging_level   = "ERROR"
  }
}
```


### Environment

```markdown
- OS: MacOS 12.6
- LocalStack: localstack/localstack-pro Docker image
```


### Anything else?

_No response_
api_keys = []
        key_type = "API_KEY"
        # Creat
        for usage_plan_id in usage_plan_ids:
            for i in range(2):
                api_key = apigateway_client.create_api_key(name="testMultipleApiKeys{}".format(i))
                payload = {
                    "usagePlanId": usage_plan_id,
                    "keyId": api_key["id"],
                    "keyType": key_type,
                }
                apigateway_client.create_usage_plan_key(**payload)
                api_keys.append(api_key["value"])
        response = requests.put(
            url,
            json.dumps({"id": "id1", "data": "foobar123"}),
        )
        # when 
        assert 403 == response.status_code
        # check 
        for key in api_keys:
            response = requests.put(
                url,
                json.dumps({"id": "id1", "data": "foobar123"}),
                headers={"X-API-Key": key},
            )
            # when 
            assert 200 == response.status_code
    @pytest.mark.parametrize("base_path_type", ["ignore", "prepend", "split"])
    def test_import_rest_api(