ExAws.Request (ExAws v2.2.3) View Source

Makes requests to AWS.

Link to this section Summary

Link to this section Types

Specs

error_t() :: {:error, {:http_error, http_status(), binary()}}

Specs

http_status() :: pos_integer()

Specs

response_t() :: success_t() | error_t()

Specs

success_content() :: %{body: binary(), headers: [{binary(), binary()}]}

Specs

success_t() :: {:ok, success_content()}

Link to this section Functions

Link to this function

attempt_again?(attempt, reason, config)

View Source
Link to this function

backoff(attempt, config)

View Source
Link to this function

client_error(error, json_codec)

View Source
Link to this function

handle_aws_error(type, message)

View Source
Link to this function

request(http_method, url, data, headers, config, service)

View Source
Link to this function

request_and_retry(method, url, service, config, headers, req_body, arg)

View Source