Struct aws_config::SdkConfig
source · pub struct SdkConfig { /* private fields */ }
Expand description
AWS Shared Configuration
Implementations§
source§impl SdkConfig
impl SdkConfig
sourcepub fn endpoint_url(&self) -> Option<&str>
pub fn endpoint_url(&self) -> Option<&str>
Configured endpoint URL
sourcepub fn retry_config(&self) -> Option<&RetryConfig>
pub fn retry_config(&self) -> Option<&RetryConfig>
Configured retry config
sourcepub fn timeout_config(&self) -> Option<&TimeoutConfig>
pub fn timeout_config(&self) -> Option<&TimeoutConfig>
Configured timeout config
sourcepub fn identity_cache(&self) -> Option<SharedIdentityCache>
pub fn identity_cache(&self) -> Option<SharedIdentityCache>
Configured identity cache
sourcepub fn credentials_provider(&self) -> Option<SharedCredentialsProvider>
pub fn credentials_provider(&self) -> Option<SharedCredentialsProvider>
Configured credentials provider
sourcepub fn time_source(&self) -> Option<SharedTimeSource>
pub fn time_source(&self) -> Option<SharedTimeSource>
Configured time source
sourcepub fn http_client(&self) -> Option<SharedHttpClient>
pub fn http_client(&self) -> Option<SharedHttpClient>
Configured HTTP client
sourcepub fn use_dual_stack(&self) -> Option<bool>
pub fn use_dual_stack(&self) -> Option<bool>
Use dual-stack endpoint
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Config builder
Important: Using the aws-config
crate to configure the SDK is preferred to invoking this
builder directly. Using this builder directly won’t pull in any AWS recommended default
configuration values.
sourcepub fn to_builder(&self) -> Builder
pub fn to_builder(&self) -> Builder
sourcepub fn into_builder(self) -> Builder
pub fn into_builder(self) -> Builder
Convert this SdkConfig
back to a builder to enable modification
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SdkConfig
impl Send for SdkConfig
impl Sync for SdkConfig
impl Unpin for SdkConfig
impl !UnwindSafe for SdkConfig
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
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>
Creates a shared type from an unshared type.