pub struct S3ClientConfig { /* private fields */ }Expand description
S3 client configuration for the transfer manager.
The transfer manager builds its S3 client from this configuration and keeps
any HTTP client the configuration sets. With no HTTP client configured, managed execution
supplies the transfer manager’s transport and
RuntimeConfig::multi_thread_tokio uses the SDK default; see
RuntimeConfig.
With the sdk-v1 feature, this also converts from
aws_sdk_s3::config::Builder for S3-specific configuration.
use aws_config::BehaviorVersion;
let sdk_config = aws_config::load_defaults(BehaviorVersion::latest()).await;
let config = aws_s3_transfer::Config::builder()
.s3_config(&sdk_config)
.build()?;Implementations§
Trait Implementations§
Source§impl Debug for S3ClientConfig
impl Debug for S3ClientConfig
Source§impl From<&SdkConfig> for S3ClientConfig
impl From<&SdkConfig> for S3ClientConfig
Auto Trait Implementations§
impl !RefUnwindSafe for S3ClientConfig
impl !UnwindSafe for S3ClientConfig
impl Forget for S3ClientConfig
impl Freeze for S3ClientConfig
impl Move for S3ClientConfig
impl Send for S3ClientConfig
impl Sync for S3ClientConfig
impl Unpin for S3ClientConfig
impl UnsafeUnpin for S3ClientConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.