pub struct S3Config { /* private fields */ }Expand description
Validated configuration used to construct an S3 client.
Implementations§
Source§impl S3Config
impl S3Config
Sourcepub fn builder() -> S3ConfigBuilder
pub fn builder() -> S3ConfigBuilder
Starts a configuration builder with HTTPS-safe defaults.
Sourcepub fn addressing_style(&self) -> AddressingStyle
pub fn addressing_style(&self) -> AddressingStyle
Returns the configured bucket addressing style.
Sourcepub fn connect_timeout(&self) -> Duration
pub fn connect_timeout(&self) -> Duration
Returns the connection-establishment timeout.
Sourcepub fn attempt_timeout(&self) -> Duration
pub fn attempt_timeout(&self) -> Duration
Returns the timeout applied to a single request attempt.
Sourcepub fn operation_timeout(&self) -> Duration
pub fn operation_timeout(&self) -> Duration
Returns the overall operation timeout across all attempts.
Sourcepub fn idle_body_timeout(&self) -> Duration
pub fn idle_body_timeout(&self) -> Duration
Returns the maximum permitted gap between response body chunks.
Sourcepub fn max_xml_response_size(&self) -> usize
pub fn max_xml_response_size(&self) -> usize
Returns the maximum XML response body size in bytes.
Sourcepub fn max_error_response_size(&self) -> usize
pub fn max_error_response_size(&self) -> usize
Returns the maximum error response body size in bytes.
Sourcepub fn retry_policy(&self) -> &RetryPolicy
pub fn retry_policy(&self) -> &RetryPolicy
Returns the retry policy.
Sourcepub fn multipart_threshold(&self) -> u64
pub fn multipart_threshold(&self) -> u64
Returns the object-size threshold available to application multipart policy.
Sourcepub fn multipart_part_size(&self) -> u64
pub fn multipart_part_size(&self) -> u64
Returns the configured multipart part size.
Sourcepub fn multipart_concurrency(&self) -> usize
pub fn multipart_concurrency(&self) -> usize
Returns the maximum number of concurrently buffered multipart parts.
Sourcepub fn max_multipart_in_flight_bytes(&self) -> u64
pub fn max_multipart_in_flight_bytes(&self) -> u64
Returns the total byte budget for concurrently buffered multipart parts.
Sourcepub fn user_agent(&self) -> &str
pub fn user_agent(&self) -> &str
Returns the HTTP user-agent value.
Sourcepub fn credentials_provider(&self) -> &Arc<dyn CredentialsProvider>
pub fn credentials_provider(&self) -> &Arc<dyn CredentialsProvider>
Returns the credential provider.