Struct dataflow_types::AwsConfig [−][src]
pub struct AwsConfig {
pub credentials: Option<AwsCredentials>,
pub region: String,
pub endpoint: Option<String>,
}
Expand description
AWS configuration overrides for a source or sink.
This is a distinct type from any of the configuration types built into the
AWS SDK so that we can implement Serialize
and Deserialize
.
Fields
credentials: Option<AwsCredentials>
The optional static credentials to use.
If unset, credentials should instead be obtained from the environment.
region: String
The AWS region to use.
endpoint: Option<String>
The custom AWS endpoint to use, if any.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AwsConfig
impl UnwindSafe for AwsConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more