Extracted and modified AWS signing V4 methods from https://github.com/awslabs/logstash-output-amazon_es into standalone Elasticsearch compatible Transport
Elasticsearch::Client.new(
transport_class: Elasticsearch::Transport::Transport::HTTP::AWS
)