pub struct S3InputConfig {
pub aws_access_key_id: Option<String>,
pub aws_secret_access_key: Option<String>,
pub no_sign_request: bool,
pub key: Option<String>,
pub prefix: Option<String>,
pub region: String,
pub bucket_name: String,
}Expand description
Configuration for reading data from AWS S3.
Fields§
§aws_access_key_id: Option<String>AWS Access Key id. This property must be specified unless no_sign_request is set to true.
aws_secret_access_key: Option<String>Secret Access Key. This property must be specified unless no_sign_request is set to true.
no_sign_request: boolDo not sign requests. This is equivalent to the --no-sign-request flag in the AWS CLI.
key: Option<String>Read a single object specified by a key.
prefix: Option<String>Read all objects whose keys match a prefix. Set to an empty string to read all objects in the bucket.
region: StringAWS region.
bucket_name: StringS3 bucket name to access.
Trait Implementations§
Source§impl Clone for S3InputConfig
impl Clone for S3InputConfig
Source§fn clone(&self) -> S3InputConfig
fn clone(&self) -> S3InputConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for S3InputConfig
impl Debug for S3InputConfig
Source§impl<'de> Deserialize<'de> for S3InputConfig
impl<'de> Deserialize<'de> for S3InputConfig
Source§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
Source§impl PartialEq for S3InputConfig
impl PartialEq for S3InputConfig
Source§impl Serialize for S3InputConfig
impl Serialize for S3InputConfig
Source§impl<'__s> ToSchema<'__s> for S3InputConfig
impl<'__s> ToSchema<'__s> for S3InputConfig
impl Eq for S3InputConfig
impl StructuralPartialEq for S3InputConfig
Auto Trait Implementations§
impl Freeze for S3InputConfig
impl RefUnwindSafe for S3InputConfig
impl Send for S3InputConfig
impl Sync for S3InputConfig
impl Unpin for S3InputConfig
impl UnwindSafe for S3InputConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.