[][src]Struct rusoto_kendra::S3DataSourceConfiguration

pub struct S3DataSourceConfiguration {
    pub access_control_list_configuration: Option<AccessControlListConfiguration>,
    pub bucket_name: String,
    pub documents_metadata_configuration: Option<DocumentsMetadataConfiguration>,
    pub exclusion_patterns: Option<Vec<String>>,
    pub inclusion_prefixes: Option<Vec<String>>,
}

Provides configuration information for a data source to index documents in an Amazon S3 bucket.

Fields

access_control_list_configuration: Option<AccessControlListConfiguration>

Provides the path to the S3 bucket that contains the user context filtering files for the data source.

bucket_name: String

The name of the bucket that contains the documents.

documents_metadata_configuration: Option<DocumentsMetadataConfiguration>exclusion_patterns: Option<Vec<String>>

A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix also matches an exclusion pattern, the document is not indexed.

For more information about glob patterns, see glob (programming) in Wikipedia.

inclusion_prefixes: Option<Vec<String>>

A list of S3 prefixes for the documents that should be included in the index.

Trait Implementations

impl Clone for S3DataSourceConfiguration[src]

impl Debug for S3DataSourceConfiguration[src]

impl Default for S3DataSourceConfiguration[src]

impl<'de> Deserialize<'de> for S3DataSourceConfiguration[src]

impl PartialEq<S3DataSourceConfiguration> for S3DataSourceConfiguration[src]

impl Serialize for S3DataSourceConfiguration[src]

impl StructuralPartialEq for S3DataSourceConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.