View Source AWS.HTTPClient.Finch (aws-elixir v1.0.0)

Finch-based HTTP client for AWS.

In order to use Finch API client, you must start Finch and provide a :name. In your supervision tree:

children = [
  {Finch, name: AWS.Finch}
]

Then build AWS client with the provided :finch_name:

client = %AWS.Client{http_client: {AWS.HTTPClient.Finch, [finch_name: AWS.Finch]}}
AWS.SNS.publish(client, "My message")

In case you omit :finch_name, it defaults to AWS.Finch.