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,
pub streaming: bool,
}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.
streaming: boolDetermines how the connector ingests an individual S3 object. When true,
the connector pushes the object to the pipeline chunk-by-chunk, so that the
pipeline can parse and process initial chunks of the object before the entire
object has been retrieved. This mode is suitable for streaming formats such as
newline-delimited JSON. When false, the connector buffers the entire object
in memory and pushes it to the pipeline as a single chunk. Appropriate for
formats like Parquet that cannot be streamed.
The default value is false.
Trait Implementations§
source§impl Clone for S3InputConfig
impl Clone for S3InputConfig
source§fn clone(&self) -> S3InputConfig
fn clone(&self) -> S3InputConfig
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
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
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)
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
key and return true if they are equal.