Values.GetDataSourceResponseSourceGets information about an existing Amazon Q Business data source connector.
type nonrec t = {applicationId : ApplicationId.t option;The identifier of the Amazon Q Business application.
*)indexId : IndexId.t option;The identifier of the index linked to the data source connector.
*)dataSourceId : DataSourceId.t option;The identifier of the data source connector.
*)dataSourceArn : DataSourceArn.t option;The Amazon Resource Name (ARN) of the data source.
*)displayName : DataSourceName.t option;The name for the data source connector.
*)type_ : String_.t option;The type of the data source connector. For example, S3.
*)configuration : DataSourceConfiguration.t option;The details of how the data source connector is configured.
*)vpcConfiguration : DataSourceVpcConfiguration.t option;Configuration information for an Amazon VPC (Virtual Private Cloud) to connect to your data source.
*)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 field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
*)syncSchedule : SyncSchedule.t option;The schedule for Amazon Q Business to update the index.
*)roleArn : RoleArn.t option;The Amazon Resource Name (ARN) of the role with permission to access the data source and required resources.
*)error : ErrorDetail.t option;When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source connector to fail.
*)documentEnrichmentConfiguration : DocumentEnrichmentConfiguration.t option;mediaExtractionConfiguration : MediaExtractionConfiguration.t option;The configuration for extracting information from media in documents for the data source.
*)}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 :
?applicationId:ApplicationId.t ->
?indexId:IndexId.t ->
?dataSourceId:DataSourceId.t ->
?dataSourceArn:DataSourceArn.t ->
?displayName:DataSourceName.t ->
?type_:String_.t ->
?configuration:DataSourceConfiguration.t ->
?vpcConfiguration:DataSourceVpcConfiguration.t ->
?createdAt:Timestamp.t ->
?updatedAt:Timestamp.t ->
?description:Description.t ->
?status:DataSourceStatus.t ->
?syncSchedule:SyncSchedule.t ->
?roleArn:RoleArn.t ->
?error:ErrorDetail.t ->
?documentEnrichmentConfiguration:DocumentEnrichmentConfiguration.t ->
?mediaExtractionConfiguration:MediaExtractionConfiguration.t ->
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 ApplicationId.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of SubnetId.t
| `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `String of DocumentAttributeKey.t
| `Structure of
(string
* [> `List of [> `String of String_.t ] list
| `Long of Long.t
| `String of
DocumentAttributeValueStringValueString.t
| `Timestamp of Timestamp.t ])
list ])
list ])
list ]
list
| `String of ErrorMessage.t
| `Structure of
(string
* [> `Enum of string
| `String of LambdaArn.t
| `Structure of
(string
* [> `Enum of string
| `String of DocumentAttributeKey.t
| `Structure of
(string
* [> `List of [> `String of String_.t ] list
| `Long of Long.t
| `String of
DocumentAttributeValueStringValueString.t
| `Timestamp of Timestamp.t ])
list ])
list ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]