Skip to main content

include/aws@config_Settings.hrl

-record(settings, {
    region :: gleam@option:option(binary()),
    profile :: binary(),
    credentials :: gleam@option:option(aws@credentials:provider()),
    endpoint_url :: gleam@option:option(binary()),
    max_attempts :: gleam@option:option(integer()),
    retry_strategy :: gleam@option:option(aws@retry:strategy()),
    http_send :: gleam@option:option(fun((gleam@http@request:request(bitstring())) -> {ok,
            gleam@http@response:response(bitstring())} |
        {error, aws@internal@http_send:http_error()})),
    streaming_http_send :: gleam@option:option(fun((gleam@http@request:request(bitstring())) -> {ok,
            gleam@http@response:response(aws@streaming:streaming_body())} |
        {error, aws@internal@http_send:http_error()})),
    use_http2 :: boolean(),
    sigv4a_region_set :: gleam@option:option(list(binary())),
    sigv4a_normalize_path :: boolean()
}).