### Why is this needed? PEP 585 recommends using collections for type hints instead of their typing counterparts. ### Which area does this relate to? Logger ### Suggestion Update the codebase to replace deprecated typing with the new standard for Python 3.9+. ### Acknowledgment - [x] This request meets [Powertools for AWS Lambda (Python) Tenets](https://docs.powertools.aws.dev/lambda/python/latest/#tenets) - [ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. [Java](https://github.com/aws-powertools/powertools-lambda-java/), [TypeScript](https://github.com/aws-powertools/powertools-lambda-typescript/), and [.NET](https://github.com/aws-powertools/powertools-lambda-dotnet/)