Enum dataflow_types::sources::AwsCredentials [−][src]
pub enum AwsCredentials {
Default,
Profile {
profile_name: String,
},
Static {
access_key_id: String,
secret_access_key: String,
session_token: Option<String>,
},
}
Expand description
AWS credentials for a source or sink.
Variants
Default
Look for credentials using the default credentials chain
Profile
Fields
profile_name: String
Load credentials using the given named profile
Static
Use the enclosed static credentials
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AwsCredentials
impl Send for AwsCredentials
impl Sync for AwsCredentials
impl Unpin for AwsCredentials
impl UnwindSafe for AwsCredentials
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