Module Values.UpdateDirectQueryDataSourceRequestSource

Updates the configuration or properties of an existing direct query data source in Amazon OpenSearch Service.

Sourcetype nonrec t = {
  1. dataSourceName : DirectQueryDataSourceName.t;
    (*

    A unique, user-defined label to identify the data source within your OpenSearch Service environment.

    *)
  2. dataSourceType : DirectQueryDataSourceType.t;
    (*

    The supported Amazon Web Services service that you want to use as the source for direct queries in OpenSearch Service.

    *)
  3. description : DirectQueryDataSourceDescription.t option;
    (*

    An optional text field for providing additional context and details about the data source.

    *)
  4. 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.

    *)
  5. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?openSearchArns:??? -> ?dataSourceAccessPolicy:??? -> dataSourceName:DirectQueryDataSourceName.t -> dataSourceType:DirectQueryDataSourceType.t -> unit -> t
Sourceval 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 ]
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