Module Values.AddDirectQueryDataSourceRequestSource

Adds a new data source in Amazon OpenSearch Service so that you can perform direct queries on external data.

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 permissions for accessing the data source. The policy document must be in valid JSON format and follow IAM policy syntax.

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