Function aws_util::client::s3[][src]

pub fn s3(conn_info: ConnectInfo) -> Result<S3Client, Error>
Expand description

Construct a S3Client If statically provided connection information information is not provided, falls back to using credentials gathered by rusoto’s ChainProvider wrapped in an AutoRefreshingProvider.

The AutoRefreshingProvider caches the underlying provider’s AWS credentials, automatically fetching updated credentials if they’ve expired.