Values.AddDirectQueryDataSourceRequestSourceAdds a new data source in Amazon OpenSearch Service so that you can perform direct queries on external data.
type nonrec t = {dataSourceName : DirectQueryDataSourceName.t;A unique, user-defined label to identify the data source within your OpenSearch Service environment.
*)dataSourceType : DirectQueryDataSourceType.t;The supported Amazon Web Services service that you want to use as the source for direct queries in OpenSearch Service.
*)description : DirectQueryDataSourceDescription.t option;An optional text field for providing additional context and details about the data source.
*)openSearchArns : DirectQueryOpenSearchARNList.t option;An optional list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source. This field is required for CloudWatchLogs and SecurityLake datasource types.
*)dataSourceAccessPolicy : PolicyDocument.t option;An optional IAM access policy document that defines the permissions for accessing the data source. The policy document must be in valid JSON format and follow IAM policy syntax.
*)tagList : TagList.t option;}val make :
?description:??? ->
?openSearchArns:??? ->
?dataSourceAccessPolicy:??? ->
?tagList:??? ->
dataSourceName:DirectQueryDataSourceName.t ->
dataSourceType:DirectQueryDataSourceType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `String of ARN.t
| `Structure of (string * [> `String of TagKey.t ]) list ]
list
| `String of DirectQueryDataSourceName.t
| `Structure of
(string
* [> `Structure of
(string * [> `String of DirectQueryDataSourceRoleArn.t ])
list ])
list ])
list ]