Skip to main content

Crate mz_aws_util

Crate mz_aws_util 

Source

Modules§

http_pool 🔒
An AWS SDK HTTP client that spreads requests over a growing set of the SDK’s own clients.
s3
s3_uploader

Structs§

HttpPoolMetrics
Metrics for one pool. A pool created with a clone of these metrics replaces the pool they described before.
MzAwsResolver 🔒
A ResolveDns implementation that delegates to mz_ore::netio::resolve_address, used by http_client_with_resolver.

Functions§

defaults
Creates an AWS SDK configuration loader with the defaults for the latest behavior version plus some Materialize-specific overrides.
http_client
Returns an HTTP client for use with the AWS SDK that is appropriately configured for Materialize.
http_client_with_resolver
Returns an AWS SDK HTTP client whose DNS resolver delegates to mz_ore::netio::resolve_address.
pooled_http_client
Returns an HTTP client for use with the AWS SDK, like http_client, that opens more connections to a host as requests to it pile up.
switched_http_client
Returns an HTTP client for use with the AWS SDK that sends each request through pooled_http_client if use_pool returns true when the request is sent, and through http_client otherwise.
tls_provider 🔒
rustls on the aws-lc-rs provider, trusting the system’s root certificates.