https://github.com/localstack/localstack/blob/e7efc768a20e75feafe3702a5a6e477a233feff2/localstack/utils/aws/aws_stack.py#L904

```
File "/usr/local/lib/python3.8/site-packages/localstack/services/generic_proxy.py", line 50, in <module>
from localstack.utils.aws import aws_stack
File "/usr/local/lib/python3.8/site-packages/localstack/utils/aws/aws_stack.py", line 904, in <module>
) -> dict[str, str]:
TypeError: 'type' object is not subscriptable
```

Please fix to `Dict[str, str]`
ENV_DEV,
    HEADER_LOCALSTACK_ACCOUNT_ID,
    LOCALHOST,
    MAX_POOL_CONNECTIONS,
    REGION_LOCAL,
    S3_VIRTUAL_HOSTNAME,
    TEST_AWS_ACCESS_KEY_ID,
    TEST_AWS_SECRET_ACCESS_KEY,
)
from localstack.utils.aws.aws_models import KinesisStream
from localstack.utils.collections import pick_attributes
from localstack.utils.functions import run_safe
from localstack.utils.http import make_http_request
from localstack.utils.strings import get_random_hex, is_string, is_string_or_bytes, to_str
from localstack.utils.sync import poll_condition, retry
ENV_ACCESS_KEY = "AWS_ACCESS_KEY_ID"
ENV_SECRET_KEY = "AWS_SECRET_ACCESS_KEY"
ENV_SESSION_TOKEN = "AWS_SESSION_TOKEN"
LOG = logging.getLogger(__name__)
LOCAL_REGION = None
CREATE_NEW_SESSION_PER_BOTO3_CONNECTION = False
INITIAL_BOTO3_SESSION = None
BOTO_CLIENTS_CACHE = {}
DEFAULT_TIMER_LOOP_SECONDS = 60 * 50
SQS_ARN_TO_URL_CACHE = {}
EVENT_TARGET_PARAMETERS = ["$.SqsParameters", "$.KinesisParameters"]
CACHE_S3_HOSTNAME_DNS_STATUS = None
BOTO_CLIENT_CREATE_LOCK = threading.RLock()
@lru_cache()
def get_valid_regions():