Module Values.OneDriveConfigurationSource

Provides the configuration information to connect to OneDrive as your data source.

Sourcetype nonrec t = {
  1. tenantDomain : TenantDomain.t;
    (*

    The Azure Active Directory domain of the organization.

    *)
  2. secretArn : SecretArn.t;
    (*

    The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user name should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.

    *)
  3. oneDriveUsers : OneDriveUsers.t;
    (*

    A list of user accounts whose documents should be indexed.

    *)
  4. inclusionPatterns : DataSourceInclusionsExclusionsStrings.t option;
    (*

    A list of regular expression patterns to include certain documents in your OneDrive. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index. The pattern is applied to the file name.

    *)
  5. exclusionPatterns : DataSourceInclusionsExclusionsStrings.t option;
    (*

    A list of regular expression patterns to exclude certain documents in your OneDrive. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index. The pattern is applied to the file name.

    *)
  6. fieldMappings : DataSourceToIndexFieldMappingList.t option;
    (*

    A list of DataSourceToIndexFieldMapping objects that map OneDrive data source attributes or field names to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to OneDrive fields. For more information, see Mapping data source fields. The OneDrive data source field names must exist in your OneDrive custom metadata.

    *)
  7. disableLocalGroups : Boolean.t option;
    (*

    TRUE to disable local groups information.

    *)
}
Sourceval context_ : string
Sourceval make : ?inclusionPatterns:??? -> ?exclusionPatterns:??? -> ?fieldMappings:??? -> ?disableLocalGroups:??? -> tenantDomain:TenantDomain.t -> secretArn:SecretArn.t -> oneDriveUsers:OneDriveUsers.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `List of [> `String of DataSourceInclusionsExclusionsStringsMember.t | `Structure of (string * [> `String of DataSourceFieldName.t ]) list ] list | `String of TenantDomain.t | `Structure of (string * [> `List of [> `String of OneDriveUser.t ] list | `Structure of (string * [> `String of S3BucketName.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t