Struct rusoto_kendra::OneDriveConfiguration
source · [−]pub struct OneDriveConfiguration {
pub disable_local_groups: Option<bool>,
pub exclusion_patterns: Option<Vec<String>>,
pub field_mappings: Option<Vec<DataSourceToIndexFieldMapping>>,
pub inclusion_patterns: Option<Vec<String>>,
pub one_drive_users: OneDriveUsers,
pub secret_arn: String,
pub tenant_domain: String,
}
Expand description
Provides configuration information for data sources that connect to OneDrive.
Fields
disable_local_groups: Option<bool>
A Boolean value that specifies whether local groups are disabled (True
) or enabled (False
).
exclusion_patterns: Option<Vec<String>>
List of regular expressions applied to documents. Items that match the exclusion pattern are not indexed. If you provide both an inclusion pattern and an exclusion pattern, any item that matches the exclusion pattern isn't indexed.
The exclusion pattern is applied to the file name.
field_mappings: Option<Vec<DataSourceToIndexFieldMapping>>
A list of DataSourceToIndexFieldMapping
objects that map Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must first create the index fields before you map OneDrive fields.
inclusion_patterns: Option<Vec<String>>
A list of regular expression patterns. Documents that match the pattern are included in the index. Documents that don't match the pattern are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.
The exclusion pattern is applied to the file name.
one_drive_users: OneDriveUsers
A list of user accounts whose documents should be indexed.
secret_arn: String
The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.
tenant_domain: String
The Azure Active Directory domain of the organization.
Trait Implementations
sourceimpl Clone for OneDriveConfiguration
impl Clone for OneDriveConfiguration
sourcefn clone(&self) -> OneDriveConfiguration
fn clone(&self) -> OneDriveConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OneDriveConfiguration
impl Debug for OneDriveConfiguration
sourceimpl Default for OneDriveConfiguration
impl Default for OneDriveConfiguration
sourcefn default() -> OneDriveConfiguration
fn default() -> OneDriveConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for OneDriveConfiguration
impl<'de> Deserialize<'de> for OneDriveConfiguration
sourcefn 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
sourceimpl PartialEq<OneDriveConfiguration> for OneDriveConfiguration
impl PartialEq<OneDriveConfiguration> for OneDriveConfiguration
sourcefn eq(&self, other: &OneDriveConfiguration) -> bool
fn eq(&self, other: &OneDriveConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &OneDriveConfiguration) -> bool
fn ne(&self, other: &OneDriveConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for OneDriveConfiguration
impl Serialize for OneDriveConfiguration
impl StructuralPartialEq for OneDriveConfiguration
Auto Trait Implementations
impl RefUnwindSafe for OneDriveConfiguration
impl Send for OneDriveConfiguration
impl Sync for OneDriveConfiguration
impl Unpin for OneDriveConfiguration
impl UnwindSafe for OneDriveConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more