Smaws_Client_KendraRanking.TypesThe input fails to satisfy the constraints set by the Amazon Kendra Intelligent Ranking service. Please provide the correct input and try again.
type nonrec capacity_units_configuration = {rescore_capacity_units : rescore_capacity_unit;The amount of extra capacity for your rescore execution plan.
A single extra capacity unit for a rescore execution plan provides 0.01 rescore requests per second. You can add up to 1000 extra capacity units.
*)}Sets additional capacity units configured for your rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API. You can add and remove capacity units to fit your usage requirements.
type nonrec update_rescore_execution_plan_request = {capacity_units : capacity_units_configuration option;You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see Adjusting capacity.
*)description : description option;A new description for the rescore execution plan.
*)name : rescore_execution_plan_name option;A new name for the rescore execution plan.
*)id : rescore_execution_plan_id;The identifier of the rescore execution plan that you want to update.
*)}The request was denied due to request throttling. Please reduce the number of requests and try again.
The resource you want to use doesn't exist. Please check you have provided the correct resource and try again.
An issue occurred with the internal server used for your Amazon Kendra Intelligent Ranking service. Please wait a few minutes and try again, or contact Support for help.
A conflict occurred with the request. Please fix any inconsistencies with your resources and try again.
You don’t have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.
type nonrec tag_key_list = tag_key listtype nonrec untag_resource_request = {tag_keys : tag_key_list;A list of tag keys to remove from the rescore execution plan. If a tag key does not exist on the resource, it is ignored.
*)resource_ar_n : amazon_resource_name;The Amazon Resource Name (ARN) of the rescore execution plan to remove the tag.
*)}The request information to remove a tag from a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.
The resource you want to use is unavailable. Please check you have provided the correct resource information and try again.
type nonrec title_tokens_list = tokens listtype nonrec tag = {value : tag_value;The value associated with the tag. The value can be an empty string but it can't be null.
*)key : tag_key;The key for the tag. Keys are not case sensitive and must be unique.
*)}A key-value pair that identifies or categorizes a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API. You can also use a tag to help control access to a rescore execution plan. A tag key and value can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
type nonrec tag_list = tag listtype nonrec tag_resource_request = {resource_ar_n : amazon_resource_name;The Amazon Resource Name (ARN) of the rescore execution plan to tag.
*)}The request information for tagging a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.
type nonrec rescore_result_item = {score : float_ option;The relevancy score or rank that Amazon Kendra Intelligent Ranking gives to the result.
*)document_id : document_id option;The identifier of the document from the search service.
*)}A result item for a document with a new relevancy score.
type nonrec rescore_result_item_list = rescore_result_item listtype nonrec rescore_result = {result_items : rescore_result_item_list option;A list of result items for documents with new relevancy scores. The results are in descending order.
*)rescore_id : rescore_id option;The identifier associated with the scores that Amazon Kendra Intelligent Ranking gives to the results. Amazon Kendra Intelligent Ranking rescores or re-ranks the results for the search service.
*)}type nonrec body_tokens_list = tokens listtype nonrec document = {original_score : float_;The original document score or rank from the search service. Amazon Kendra Intelligent Ranking gives the document a new score or rank based on its intelligent search algorithms.
*)tokenized_body : body_tokens_list option;The body text of the search service's document represented as a list of tokens or words. You must choose to provide Body or TokenizedBody. You cannot provide both.
tokenized_title : title_tokens_list option;The title of the search service's document represented as a list of tokens or words. You must choose to provide Title or TokenizedTitle. You cannot provide both.
body : document_body option;The body text of the search service's document.
*)title : document_title option;The title of the search service's document.
*)group_id : group_id option;The optional group identifier of the document from the search service. Documents with the same group identifier are grouped together and processed as one document within the service.
*)id : document_id;The identifier of the document from the search service.
*)}Information about a document from a search service such as OpenSearch (self managed). Amazon Kendra Intelligent Ranking uses this information to rank and score on.
type nonrec document_list = document listtype nonrec rescore_request = {documents : document_list;The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
*)search_query : search_query;The input query from the search service.
*)rescore_execution_plan_id : rescore_execution_plan_id;The identifier of the rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.
}type nonrec rescore_execution_plan_summary = {status : rescore_execution_plan_status option;The current status of the rescore execution plan. When the value is ACTIVE, the rescore execution plan is ready for use.
updated_at : timestamp option;The Unix timestamp when the rescore execution plan was last updated.
*)created_at : timestamp option;The Unix timestamp when the rescore execution plan was created.
*)id : rescore_execution_plan_id option;The identifier of the rescore execution plan.
*)name : rescore_execution_plan_name option;The name of the rescore execution plan.
*)}Summary information for a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.
type nonrec rescore_execution_plan_summary_list =
rescore_execution_plan_summary listIf the action is successful, the service sends back an HTTP 200 response.
The request information for listing tags associated with a rescore execution plan. A rescore execution plan is an Amazon Kendra Intelligent Ranking resource used for provisioning the Rescore API.
type nonrec list_rescore_execution_plans_response = {next_token : next_token option;If the response is truncated, Amazon Kendra Intelligent Ranking returns a pagination token in the response.
*)summary_items : rescore_execution_plan_summary_list option;An array of summary information for one or more rescore execution plans.
*)}type nonrec list_rescore_execution_plans_request = {max_results : max_results_integer_for_list_rescore_execution_plans_request
option;The maximum number of rescore execution plans to return.
*)next_token : next_token option;If the response is truncated, Amazon Kendra Intelligent Ranking returns a pagination token in the response. You can use this pagination token to retrieve the next set of rescore execution plans.
*)}type nonrec describe_rescore_execution_plan_response = {error_message : error_message option;When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
status : rescore_execution_plan_status option;The current status of the rescore execution plan. When the value is ACTIVE, the rescore execution plan is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
updated_at : timestamp option;The Unix timestamp of when the rescore execution plan was last updated.
*)created_at : timestamp option;The Unix timestamp of when the rescore execution plan was created.
*)capacity_units : capacity_units_configuration option;The capacity units set for the rescore execution plan. A capacity of zero indicates that the rescore execution plan is using the default capacity. For more information on the default capacity and additional capacity units, see Adjusting capacity.
*)description : description option;The description for the rescore execution plan.
*)name : rescore_execution_plan_name option;The name for the rescore execution plan.
*)arn : rescore_execution_plan_arn option;The Amazon Resource Name (ARN) of the rescore execution plan.
*)id : rescore_execution_plan_id option;The identifier of the rescore execution plan.
*)}type nonrec describe_rescore_execution_plan_request = {id : rescore_execution_plan_id;The identifier of the rescore execution plan that you want to get information on.
*)}type nonrec delete_rescore_execution_plan_request = {id : rescore_execution_plan_id;The identifier of the rescore execution plan that you want to delete.
*)}type nonrec create_rescore_execution_plan_response = {arn : rescore_execution_plan_arn;The Amazon Resource Name (ARN) of the rescore execution plan.
*)id : rescore_execution_plan_id;The identifier of the rescore execution plan.
*)}type nonrec create_rescore_execution_plan_request = {client_token : client_token_name option;A token that you provide to identify the request to create a rescore execution plan. Multiple calls to the CreateRescoreExecutionPlanRequest API with the same client token will create only one rescore execution plan.
capacity_units : capacity_units_configuration option;You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see Adjusting capacity.
*)description : description option;A description for the rescore execution plan.
*)name : rescore_execution_plan_name;A name for the rescore execution plan.
*)}