Struct rusoto_kendra::OneDriveConfiguration [−][src]
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
Returns the “default value” for a type. Read more
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 OneDriveConfiguration
impl Send for OneDriveConfiguration
impl Sync for OneDriveConfiguration
impl Unpin for OneDriveConfiguration
impl UnwindSafe for OneDriveConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self