ExAws v2.1.1 ExAws.Request View Source

Makes requests to AWS.

Link to this section Summary

Link to this section Types

Link to this type

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

Link to this type

http_status() View Source
http_status() :: pos_integer()

Link to this type

response_t() View Source
response_t() :: success_t() | error_t()

Link to this type

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

Link to this type

success_t() View Source
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