[go: up one dir, main page]

pub fn new_s3(
    access_key_id: Option<impl Into<String>>,
    secret_access_key: Option<impl Into<String>>,
    region: impl Into<String>,
    bucket_name: impl Into<String>,
    endpoint: Option<impl Into<String>>,
    session_token: Option<impl Into<String>>,
    max_connections: NonZeroUsize,
    allow_http: bool
) -> Result<AmazonS3>
Expand description

Configure a connection to Amazon S3 using the specified credentials in the specified Amazon region and bucket.