Kendra.Index
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-search.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-valueimportanceitem.html
and jwt_token_type_configuration = {
claim_regex : string option;
issuer : string option;
key_location : string;
secret_manager_arn : string option;
group_attribute_field : string option;
url : string option;
user_name_attribute_field : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jwttokentypeconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-capacityunitsconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-jsontokentypeconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-serversideencryptionconfiguration.html
and relevance = {
importance : int option;
rank_order : string option;
value_importance_items : value_importance_item list option;
freshness : bool option;
duration : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-relevance.html
and user_token_configuration = {
jwt_token_type_configuration : jwt_token_type_configuration option;
json_token_type_configuration : json_token_type_configuration option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-usertokenconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html
type properties = {
description : string option;
user_context_policy : string option;
capacity_units : capacity_units_configuration option;
server_side_encryption_configuration : server_side_encryption_configuration
option;
document_metadata_configurations : document_metadata_configuration list option;
role_arn : string;
edition : string;
name : string;
user_token_configurations : user_token_configuration list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kendra-index.html;
val make_properties :
?description:string ->
?user_context_policy:string ->
?capacity_units:capacity_units_configuration ->
?server_side_encryption_configuration:server_side_encryption_configuration ->
?document_metadata_configurations:document_metadata_configuration list ->
?tags:tag list ->
role_arn:string ->
edition:string ->
name:string ->
?user_token_configurations:user_token_configuration list ->
unit ->
properties
val make_search :
?displayable:bool ->
?sortable:bool ->
?facetable:bool ->
?searchable:bool ->
unit ->
search
val make_value_importance_item :
?value:int ->
?key:string ->
unit ->
value_importance_item
val make_jwt_token_type_configuration :
?claim_regex:string ->
?issuer:string ->
key_location:string ->
?secret_manager_arn:string ->
?group_attribute_field:string ->
?url:string ->
?user_name_attribute_field:string ->
unit ->
jwt_token_type_configuration
val make_tag : value:string -> key:string -> unit -> tag
val make_capacity_units_configuration :
query_capacity_units:int ->
storage_capacity_units:int ->
unit ->
capacity_units_configuration
val make_json_token_type_configuration :
group_attribute_field:string ->
user_name_attribute_field:string ->
unit ->
json_token_type_configuration
val make_server_side_encryption_configuration :
?kms_key_id:string ->
unit ->
server_side_encryption_configuration
val make_relevance :
?importance:int ->
?rank_order:string ->
?value_importance_items:value_importance_item list ->
?freshness:bool ->
?duration:string ->
unit ->
relevance
val make_user_token_configuration :
?jwt_token_type_configuration:jwt_token_type_configuration ->
?json_token_type_configuration:json_token_type_configuration ->
unit ->
user_token_configuration
val make_document_metadata_configuration :
?relevance:relevance ->
type_:string ->
?search:search ->
name:string ->
unit ->
document_metadata_configuration
val yojson_of_search : search -> Yojson.Safe.t
val yojson_of_value_importance_item : value_importance_item -> Yojson.Safe.t
val yojson_of_jwt_token_type_configuration :
jwt_token_type_configuration ->
Yojson.Safe.t
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_capacity_units_configuration :
capacity_units_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_json_token_type_configuration :
json_token_type_configuration ->
Yojson.Safe.t
val yojson_of_server_side_encryption_configuration :
server_side_encryption_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_relevance : relevance -> Yojson.Safe.t
val yojson_of_user_token_configuration :
user_token_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_document_metadata_configuration :
document_metadata_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes