Values.UpdateDirectQueryDataSourceRequestSourceUpdates the configuration or properties of an existing direct query data source in Amazon OpenSearch Service.
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 updated permissions for accessing the direct query data source. The policy document must be in valid JSON format and follow IAM policy syntax. If not specified, the existing access policy if present remains unchanged.
*)}val make :
?description:??? ->
?openSearchArns:??? ->
?dataSourceAccessPolicy:??? ->
dataSourceName:DirectQueryDataSourceName.t ->
dataSourceType:DirectQueryDataSourceType.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of [> `String of ARN.t ] list
| `String of DirectQueryDataSourceName.t
| `Structure of
(string
* [> `Structure of
(string * [> `String of DirectQueryDataSourceRoleArn.t ])
list ])
list ])
list ]