Values.DescribeDataSourceResponseSourceGets information about an Amazon Kendra data source connector.
type nonrec t = {id : DataSourceId.t option;The identifier of the data source connector.
*)indexId : IndexId.t option;The identifier of the index used with the data source connector.
*)name : DataSourceName.t option;The name for the data source connector.
*)type_ : DataSourceType.t option;The type of the data source. For example, SHAREPOINT.
*)configuration : DataSourceConfiguration.t option;Configuration details for the data source connector. This shows how the data source is configured. The configuration options for a data source depend on the data source provider.
*)vpcConfiguration : DataSourceVpcConfiguration.t option;Configuration information for an Amazon Virtual Private Cloud to connect to your data source. For more information, see Configuring a VPC.
*)createdAt : Timestamp.t option;The Unix timestamp when the data source connector was created.
*)updatedAt : Timestamp.t option;The Unix timestamp when the data source connector was last updated.
*)description : Description.t option;The description for the data source connector.
*)status : DataSourceStatus.t option;The current status of the data source connector. When the status is ACTIVE the data source is ready to use. When the status is FAILED, the ErrorMessage field contains the reason that the data source failed.
*)schedule : ScanSchedule.t option;The schedule for Amazon Kendra to update the index.
*)roleArn : RoleArn.t option;The Amazon Resource Name (ARN) of the IAM role with permission to access the data source and required resources.
*)errorMessage : ErrorMessage.t option;When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source to fail.
*)languageCode : LanguageCode.t option;The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see Adding documents in languages other than English.
*)customDocumentEnrichmentConfiguration : CustomDocumentEnrichmentConfiguration.t
option;Configuration information for altering document metadata and content during the document ingestion process when you describe a data source. For more information on how to create, modify and delete document metadata, or make other content alterations when you ingest documents into Amazon Kendra, see Customizing document metadata during the ingestion process.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?id:??? ->
?indexId:??? ->
?name:??? ->
?type_:??? ->
?configuration:??? ->
?vpcConfiguration:??? ->
?createdAt:??? ->
?updatedAt:??? ->
?description:??? ->
?status:??? ->
?schedule:??? ->
?roleArn:??? ->
?errorMessage:??? ->
?languageCode:??? ->
?customDocumentEnrichmentConfiguration:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of DataSourceId.t
| `Structure of
(string
* [> `List of
[> `String of SubnetId.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `String of DocumentAttributeKey.t
| `Structure of
(string
* [> `List of [> `String of String_.t ] list
| `Long of Long.t
| `String of DocumentAttributeStringValue.t
| `Timestamp of Timestamp.t ])
list ])
list ])
list ]
list
| `String of RoleArn.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Float of MaxContentSizePerPageInMegaBytes.t
| `Integer of CrawlDepth.t
| `List of
[> `Enum of string
| `String of
DataSourceInclusionsExclusionsStringsMember.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `String of DataSourceFieldName.t ])
list ]
list
| `String of DataSourceFieldName.t ])
list ]
list
| `String of S3BucketName.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of Port.t
| `List of
[> `Enum of string
| `String of SubnetId.t
| `Structure of
(string
* [> `Enum of string
| `Integer of Port.t
| `List of
[> `Structure of
(string
* [> `String of DataSourceFieldName.t ])
list ]
list
| `String of DataSourceFieldName.t ])
list ]
list
| `String of S3ObjectKey.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of SeedUrl.t
| `Structure of
(string
* [> `String of DataSourceFieldName.t ])
list ]
list
| `Long of Long.t
| `String of DataSourceFieldName.t
| `Timestamp of Timestamp.t ])
list ])
list ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]