Module Values.BoxConfigurationSource

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

Sourcetype nonrec t = {
  1. enterpriseId : EnterpriseId.t;
    (*

    The identifier of the Box Enterprise platform. You can find the enterprise ID in the Box Developer Console settings or when you create an app in Box and download your authentication credentials. For example, 801234567.

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

    The Amazon Resource Name (ARN) of an Secrets Manager secret that contains the key-value pairs required to connect to your Box platform. The secret must contain a JSON structure with the following keys: clientID—The identifier of the client OAuth 2.0 authentication application created in Box. clientSecret—A set of characters known only to the OAuth 2.0 authentication application created in Box. publicKeyId—The identifier of the public key contained within an identity certificate. privateKey—A set of characters that make up an encryption key. passphrase—A set of characters that act like a password. You create an application in Box to generate the keys or credentials required for the secret. For more information, see Using a Box data source.

    *)
  3. useChangeLog : Boolean.t option;
    (*

    TRUE to use the Slack change log to determine which documents require updating in the index. Depending on the data source change log's size, it may take longer for Amazon Kendra to use the change log than to scan all of your documents.

    *)
  4. crawlComments : Boolean.t option;
    (*

    TRUE to index comments.

    *)
  5. crawlTasks : Boolean.t option;
    (*

    TRUE to index the contents of tasks.

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

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

    *)
  7. taskFieldMappings : DataSourceToIndexFieldMappingList.t option;
    (*

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

    *)
  8. commentFieldMappings : DataSourceToIndexFieldMappingList.t option;
    (*

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

    *)
  9. webLinkFieldMappings : DataSourceToIndexFieldMappingList.t option;
    (*

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

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

    A list of regular expression patterns to include certain files and folders in your Box platform. Files and folders that match the patterns are included in the index. Files and folders that don't match the patterns are excluded from the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

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

    A list of regular expression patterns to exclude certain files and folders from your Box platform. Files and folders that match the patterns are excluded from the index.Files and folders that don't match the patterns are included in the index. If a file or folder matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the file or folder isn't included in the index.

    *)
  12. vpcConfiguration : DataSourceVpcConfiguration.t option;
    (*

    Configuration information for an Amazon VPC to connect to your Box. For more information, see Configuring a VPC.

    *)
}
Sourceval context_ : string
Sourceval make : ?useChangeLog:??? -> ?crawlComments:??? -> ?crawlTasks:??? -> ?crawlWebLinks:??? -> ?fileFieldMappings:??? -> ?taskFieldMappings:??? -> ?commentFieldMappings:??? -> ?webLinkFieldMappings:??? -> ?inclusionPatterns:??? -> ?exclusionPatterns:??? -> ?vpcConfiguration:??? -> enterpriseId:EnterpriseId.t -> secretArn:SecretArn.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 EnterpriseId.t | `Structure of (string * [> `List of [> `String of SubnetId.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