**Describe the enhancement:** AWS recently released [V2](https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/endpoints/#v2-endpointresolverv2--baseendpoint) of EndpointResolver. Consider updating to this version from V1 used in [awss3 input](https://github.com/elastic/beats/blob/main/x-pack/filebeat/input/awss3/input.go#L75)
Describe the enhancement:
AWS recently released V2 of EndpointResolver. Consider updating to this version from V1 used in awss3 input