# Type of request: 
This is a ...

[ x] bug report
[] feature request

# Detailed explaination

Currently when requesting a lambda through an API Gateway with the integration `AWS_PROXY` to a lambda, the request looks as so once it reaches the lambda:
```
{
  "resource": "/restapis/spxxrfc5pp/local/_user_request_/path/1",
  "path": "/path/1",
  "pathParameters": {
    "parameter "1"
  },
  "stageVariables": {
    "stage": "local"
  },
....
```
This is the wrong behaviour as AWS would return:

```
{
  "resource": "/path/{parameter}",
  "path": "/path/1",
  "pathParameters": {
    "parameter": "1"
  },
  "stageVariables": {
    "stage": "local"
  },
...
```
I think have found the offending line of code
https://github.com/localstack/localstack/blob/a9cefcc7cec6b3b079c701e420fcb61f891b9384/localstack/services/apigateway/apigateway_listener.py#L330

This should be `resource_path=resource_path`

Related to #3524


import re
import json
import time
import logging
import requests
import datetime
from flask import Response as FlaskResponse
from requests.models import Response
from six.moves.urllib_parse import urljoin
from moto.apigateway.models import apigateway_backends
from localstack.utils import common
from localstack.config import TEST_KINESIS_URL, TEST_SQS_URL
from localstack.constants import APPLICATION_JSON, PATH_USER_REQUEST, TEST_AWS_ACCOUNT_ID
from localstack.utils.aws import aws_stack, aws_responses
from localstack.utils.common import to_str, to_bytes
from localstack.utils.analytics import event_publisher
from localstack.services.kinesis import kinesis_listener
from localstack.services.awslambda import lambda_api
from localstack.services.apigateway import helpers
from localstack.services.generic_proxy import ProxyListener
from localstack.utils.aws.aws_responses import flask_to_requests_response, requests_response, LambdaResponse
from localstack.services.apigateway.helpers import (get_resource_for_path, handle_authorizers, handle_validators,
    handle_accounts, extract_query_string_params, extract_path_params, make_error_response, get_cors_response,
    hande_base_path_mappings)
LOGGER = logging.getLogger(__name__)