{
  "version":"2.0",
  "metadata":{
    "apiVersion":"2019-02-03",
    "endpointPrefix":"kendra",
    "jsonVersion":"1.1",
    "protocol":"json",
    "serviceAbbreviation":"kendra",
    "serviceFullName":"AWSKendraFrontendService",
    "serviceId":"kendra",
    "signatureVersion":"v4",
    "signingName":"kendra",
    "targetPrefix":"AWSKendraFrontendService",
    "uid":"kendra-2019-02-03"
  },
  "operations":{
    "BatchDeleteDocument":{
      "name":"BatchDeleteDocument",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"BatchDeleteDocumentRequest"},
      "output":{"shape":"BatchDeleteDocumentResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Removes one or more documents from an index. The documents must have been added with the <code>BatchPutDocument</code> operation.</p> <p>The documents are deleted asynchronously. You can see the progress of the deletion by using Amazon Web Services CloudWatch. Any error messages related to the processing of the batch are sent to you CloudWatch log.</p>"
    },
    "BatchGetDocumentStatus":{
      "name":"BatchGetDocumentStatus",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"BatchGetDocumentStatusRequest"},
      "output":{"shape":"BatchGetDocumentStatusResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Returns the indexing status for one or more documents submitted with the <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html\"> BatchPutDocument</a> operation.</p> <p>When you use the <code>BatchPutDocument</code> operation, documents are indexed asynchronously. You can use the <code>BatchGetDocumentStatus</code> operation to get the current status of a list of documents so that you can determine if they have been successfully indexed.</p> <p>You can also use the <code>BatchGetDocumentStatus</code> operation to check the status of the <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html\"> BatchDeleteDocument</a> operation. When a document is deleted from the index, Amazon Kendra returns <code>NOT_FOUND</code> as the status.</p>"
    },
    "BatchPutDocument":{
      "name":"BatchPutDocument",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"BatchPutDocumentRequest"},
      "output":{"shape":"BatchPutDocumentResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Adds one or more documents to an index.</p> <p>The <code>BatchPutDocument</code> operation enables you to ingest inline documents or a set of documents stored in an Amazon S3 bucket. Use this operation to ingest your text and unstructured text into an index, add custom attributes to the documents, and to attach an access control list to the documents added to the index.</p> <p>The documents are indexed asynchronously. You can see the progress of the batch using Amazon Web Services CloudWatch. Any error messages related to processing the batch are sent to your Amazon Web Services CloudWatch log.</p>"
    },
    "ClearQuerySuggestions":{
      "name":"ClearQuerySuggestions",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ClearQuerySuggestionsRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"ConflictException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Clears existing query suggestions from an index.</p> <p>This deletes existing suggestions only, not the queries in the query log. After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. If you do not see any new suggestions, then please allow Amazon Kendra to collect enough queries to learn new suggestions.</p>"
    },
    "CreateDataSource":{
      "name":"CreateDataSource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateDataSourceRequest"},
      "output":{"shape":"CreateDataSourceResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ResourceAlreadyExistException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Creates a data source that you want to use with an Amazon Kendra index. </p> <p>You specify a name, data source connector type and description for your data source. You also specify configuration information for the data source connector.</p> <p> <code>CreateDataSource</code> is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.</p>"
    },
    "CreateFaq":{
      "name":"CreateFaq",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateFaqRequest"},
      "output":{"shape":"CreateFaqResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Creates an new set of frequently asked question (FAQ) questions and answers.</p>"
    },
    "CreateIndex":{
      "name":"CreateIndex",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateIndexRequest"},
      "output":{"shape":"CreateIndexResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceAlreadyExistException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Creates a new Amazon Kendra index. Index creation is an asynchronous operation. To determine if index creation has completed, check the <code>Status</code> field returned from a call to <code>DescribeIndex</code>. The <code>Status</code> field is set to <code>ACTIVE</code> when the index is ready to use.</p> <p>Once the index is active you can index your documents using the <code>BatchPutDocument</code> operation or using one of the supported data sources. </p>"
    },
    "CreateQuerySuggestionsBlockList":{
      "name":"CreateQuerySuggestionsBlockList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateQuerySuggestionsBlockListRequest"},
      "output":{"shape":"CreateQuerySuggestionsBlockListResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Creates a block list to exlcude certain queries from suggestions.</p> <p>Any query that contains words or phrases specified in the block list is blocked or filtered out from being shown as a suggestion.</p> <p>You need to provide the file location of your block list text file in your S3 bucket. In your text file, enter each block word or phrase on a separate line.</p> <p>For information on the current quota limits for block lists, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas for Amazon Kendra</a>.</p>"
    },
    "CreateThesaurus":{
      "name":"CreateThesaurus",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"CreateThesaurusRequest"},
      "output":{"shape":"CreateThesaurusResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Creates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.</p>"
    },
    "DeleteDataSource":{
      "name":"DeleteDataSource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteDataSourceRequest"},
      "errors":[
        {"shape":"AccessDeniedException"},
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the <code>Status</code> field returned by a call to the <code>DescribeDataSource</code> operation is set to <code>DELETING</code>. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/delete-data-source.html\">Deleting Data Sources</a>.</p>"
    },
    "DeleteFaq":{
      "name":"DeleteFaq",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteFaqRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Removes an FAQ from an index.</p>"
    },
    "DeleteIndex":{
      "name":"DeleteIndex",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteIndexRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the <code>Status</code> field returned by a call to the <code>DescribeIndex</code> operation is set to <code>DELETING</code>.</p>"
    },
    "DeletePrincipalMapping":{
      "name":"DeletePrincipalMapping",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeletePrincipalMappingRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Deletes a group so that all users and sub groups that belong to the group can no longer access documents only available to that group.</p> <p>For example, after deleting the group \"Summer Interns\", all interns who belonged to that group no longer see intern-only documents in their search results.</p> <p>If you want to delete or replace users or sub groups of a group, you need to use the <code>PutPrincipalMapping</code> operation. For example, if a user in the group \"Engineering\" leaves the engineering team and another user takes their place, you provide an updated list of users or sub groups that belong to the \"Engineering\" group when calling <code>PutPrincipalMapping</code>. You can update your internal list of users or sub groups and input this list when calling <code>PutPrincipalMapping</code>.</p>"
    },
    "DeleteQuerySuggestionsBlockList":{
      "name":"DeleteQuerySuggestionsBlockList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteQuerySuggestionsBlockListRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Deletes a block list used for query suggestions for an index.</p> <p>A deleted block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to add back the queries that were previously blocked.</p>"
    },
    "DeleteThesaurus":{
      "name":"DeleteThesaurus",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DeleteThesaurusRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Deletes an existing Amazon Kendra thesaurus. </p>"
    },
    "DescribeDataSource":{
      "name":"DescribeDataSource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeDataSourceRequest"},
      "output":{"shape":"DescribeDataSourceResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets information about a Amazon Kendra data source.</p>"
    },
    "DescribeFaq":{
      "name":"DescribeFaq",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeFaqRequest"},
      "output":{"shape":"DescribeFaqResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets information about an FAQ list.</p>"
    },
    "DescribeIndex":{
      "name":"DescribeIndex",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeIndexRequest"},
      "output":{"shape":"DescribeIndexResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Describes an existing Amazon Kendra index</p>"
    },
    "DescribePrincipalMapping":{
      "name":"DescribePrincipalMapping",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribePrincipalMappingRequest"},
      "output":{"shape":"DescribePrincipalMappingResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Describes the processing of <code>PUT</code> and <code>DELETE</code> actions for mapping users to their groups. This includes information on the status of actions currently processing or yet to be processed, when actions were last updated, when actions were received by Amazon Kendra, the latest action that should process and apply after other actions, and useful error messages if an action could not be processed.</p>"
    },
    "DescribeQuerySuggestionsBlockList":{
      "name":"DescribeQuerySuggestionsBlockList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeQuerySuggestionsBlockListRequest"},
      "output":{"shape":"DescribeQuerySuggestionsBlockListResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Describes a block list used for query suggestions for an index.</p> <p>This is used to check the current settings that are applied to a block list.</p>"
    },
    "DescribeQuerySuggestionsConfig":{
      "name":"DescribeQuerySuggestionsConfig",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeQuerySuggestionsConfigRequest"},
      "output":{"shape":"DescribeQuerySuggestionsConfigResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Describes the settings of query suggestions for an index.</p> <p>This is used to check the current settings applied to query suggestions.</p>"
    },
    "DescribeThesaurus":{
      "name":"DescribeThesaurus",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"DescribeThesaurusRequest"},
      "output":{"shape":"DescribeThesaurusResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Describes an existing Amazon Kendra thesaurus.</p>"
    },
    "GetQuerySuggestions":{
      "name":"GetQuerySuggestions",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetQuerySuggestionsRequest"},
      "output":{"shape":"GetQuerySuggestionsResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Fetches the queries that are suggested to your users.</p>"
    },
    "ListDataSourceSyncJobs":{
      "name":"ListDataSourceSyncJobs",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListDataSourceSyncJobsRequest"},
      "output":{"shape":"ListDataSourceSyncJobsResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets statistics about synchronizing Amazon Kendra with a data source.</p>"
    },
    "ListDataSources":{
      "name":"ListDataSources",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListDataSourcesRequest"},
      "output":{"shape":"ListDataSourcesResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Lists the data sources that you have created.</p>"
    },
    "ListFaqs":{
      "name":"ListFaqs",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListFaqsRequest"},
      "output":{"shape":"ListFaqsResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets a list of FAQ lists associated with an index.</p>"
    },
    "ListGroupsOlderThanOrderingId":{
      "name":"ListGroupsOlderThanOrderingId",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListGroupsOlderThanOrderingIdRequest"},
      "output":{"shape":"ListGroupsOlderThanOrderingIdResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ThrottlingException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Provides a list of groups that are mapped to users before a given ordering or timestamp identifier.</p>"
    },
    "ListIndices":{
      "name":"ListIndices",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListIndicesRequest"},
      "output":{"shape":"ListIndicesResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Lists the Amazon Kendra indexes that you have created.</p>"
    },
    "ListQuerySuggestionsBlockLists":{
      "name":"ListQuerySuggestionsBlockLists",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListQuerySuggestionsBlockListsRequest"},
      "output":{"shape":"ListQuerySuggestionsBlockListsResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Lists the block lists used for query suggestions for an index.</p> <p>For information on the current quota limits for block lists, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas for Amazon Kendra</a>.</p>"
    },
    "ListTagsForResource":{
      "name":"ListTagsForResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListTagsForResourceRequest"},
      "output":{"shape":"ListTagsForResourceResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceUnavailableException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Gets a list of tags associated with a specified resource. Indexes, FAQs, and data sources can have tags associated with them.</p>"
    },
    "ListThesauri":{
      "name":"ListThesauri",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"ListThesauriRequest"},
      "output":{"shape":"ListThesauriResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Lists the Amazon Kendra thesauri associated with an index.</p>"
    },
    "PutPrincipalMapping":{
      "name":"PutPrincipalMapping",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"PutPrincipalMappingRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Maps users to their groups so that you only need to provide the user ID when you issue the query.</p> <p>You can also map sub groups to groups. For example, the group \"Company Intellectual Property Teams\" includes sub groups \"Research\" and \"Engineering\". These sub groups include their own list of users or people who work in these teams. Only users who work in research and engineering, and therefore belong in the intellectual property group, can see top-secret company documents in their search results.</p> <p>You map users to their groups when you want to filter search results for different users based on their group’s access to documents. For more information on filtering search results for different users, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html\">Filtering on user context</a>.</p> <p>If more than five <code>PUT</code> actions for a group are currently processing, a validation exception is thrown.</p>"
    },
    "Query":{
      "name":"Query",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"QueryRequest"},
      "output":{"shape":"QueryResult"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Searches an active index. Use this API to search your documents using query. The <code>Query</code> operation enables to do faceted search and to filter results based on document attributes.</p> <p>It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results. </p> <p>Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results.</p> <ul> <li> <p>Relevant passages</p> </li> <li> <p>Matching FAQs</p> </li> <li> <p>Relevant documents</p> </li> </ul> <p>You can specify that the query return only one type of result using the <code>QueryResultTypeConfig</code> parameter.</p> <p>Each query returns the 100 most relevant results. </p>"
    },
    "StartDataSourceSyncJob":{
      "name":"StartDataSourceSyncJob",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"StartDataSourceSyncJobRequest"},
      "output":{"shape":"StartDataSourceSyncJobResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ResourceInUseException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Starts a synchronization job for a data source. If a synchronization job is already in progress, Amazon Kendra returns a <code>ResourceInUseException</code> exception.</p>"
    },
    "StopDataSourceSyncJob":{
      "name":"StopDataSourceSyncJob",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"StopDataSourceSyncJobRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Stops a running synchronization job. You can't stop a scheduled synchronization job.</p>"
    },
    "SubmitFeedback":{
      "name":"SubmitFeedback",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"SubmitFeedbackRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceUnavailableException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Enables you to provide feedback to Amazon Kendra to improve the performance of your index. </p>"
    },
    "TagResource":{
      "name":"TagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"TagResourceRequest"},
      "output":{"shape":"TagResourceResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceUnavailableException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Adds the specified tag to the specified index, FAQ, or data source resource. If the tag already exists, the existing value is replaced with the new value.</p>"
    },
    "UntagResource":{
      "name":"UntagResource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UntagResourceRequest"},
      "output":{"shape":"UntagResourceResponse"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceUnavailableException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Removes a tag from an index, FAQ, or a data source.</p>"
    },
    "UpdateDataSource":{
      "name":"UpdateDataSource",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateDataSourceRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Updates an existing Amazon Kendra data source.</p>"
    },
    "UpdateIndex":{
      "name":"UpdateIndex",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateIndexRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ServiceQuotaExceededException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Updates an existing Amazon Kendra index.</p>"
    },
    "UpdateQuerySuggestionsBlockList":{
      "name":"UpdateQuerySuggestionsBlockList",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateQuerySuggestionsBlockListRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Updates a block list used for query suggestions for an index.</p> <p>Updates to a block list might not take effect right away. Amazon Kendra needs to refresh the entire suggestions list to apply any updates to the block list. Other changes not related to the block list apply immediately.</p> <p>If a block list is updating, then you need to wait for the first update to finish before submitting another update.</p> <p>Amazon Kendra supports partial updates, so you only need to provide the fields you want to update.</p>"
    },
    "UpdateQuerySuggestionsConfig":{
      "name":"UpdateQuerySuggestionsConfig",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateQuerySuggestionsConfigRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ConflictException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Updates the settings of query suggestions for an index.</p> <p>Amazon Kendra supports partial updates, so you only need to provide the fields you want to update.</p> <p>If an update is currently processing (i.e. 'happening'), you need to wait for the update to finish before making another update.</p> <p>Updates to query suggestions settings might not take effect right away. The time for your updated settings to take effect depends on the updates made and the number of search queries in your index.</p> <p>You can still enable/disable query suggestions at any time.</p>"
    },
    "UpdateThesaurus":{
      "name":"UpdateThesaurus",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"UpdateThesaurusRequest"},
      "errors":[
        {"shape":"ValidationException"},
        {"shape":"ResourceNotFoundException"},
        {"shape":"ThrottlingException"},
        {"shape":"AccessDeniedException"},
        {"shape":"ConflictException"},
        {"shape":"InternalServerException"}
      ],
      "documentation":"<p>Updates a thesaurus file associated with an index.</p>"
    }
  },
  "shapes":{
    "AccessControlListConfiguration":{
      "type":"structure",
      "members":{
        "KeyPath":{
          "shape":"S3ObjectKey",
          "documentation":"<p>Path to the Amazon Web Services S3 bucket that contains the ACL files.</p>"
        }
      },
      "documentation":"<p>Access Control List files for the documents in a data source. For the format of the file, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html\">Access control for S3 data sources</a>.</p>"
    },
    "AccessDeniedException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true
    },
    "AclConfiguration":{
      "type":"structure",
      "required":["AllowedGroupsColumnName"],
      "members":{
        "AllowedGroupsColumnName":{
          "shape":"ColumnName",
          "documentation":"<p>A list of groups, separated by semi-colons, that filters a query response based on user context. The document is only returned to users that are in one of the groups specified in the <code>UserContext</code> field of the <code>Query</code> operation.</p>"
        }
      },
      "documentation":"<p>Provides information about the column that should be used for filtering the query response by groups.</p>"
    },
    "AdditionalResultAttribute":{
      "type":"structure",
      "required":[
        "Key",
        "ValueType",
        "Value"
      ],
      "members":{
        "Key":{
          "shape":"String",
          "documentation":"<p>The key that identifies the attribute.</p>"
        },
        "ValueType":{
          "shape":"AdditionalResultAttributeValueType",
          "documentation":"<p>The data type of the <code>Value</code> property.</p>"
        },
        "Value":{
          "shape":"AdditionalResultAttributeValue",
          "documentation":"<p>An object that contains the attribute value.</p>"
        }
      },
      "documentation":"<p>An attribute returned from an index query.</p>"
    },
    "AdditionalResultAttributeList":{
      "type":"list",
      "member":{"shape":"AdditionalResultAttribute"}
    },
    "AdditionalResultAttributeValue":{
      "type":"structure",
      "members":{
        "TextWithHighlightsValue":{
          "shape":"TextWithHighlights",
          "documentation":"<p>The text associated with the attribute and information about the highlight to apply to the text.</p>"
        }
      },
      "documentation":"<p>An attribute returned with a document from a search.</p>"
    },
    "AdditionalResultAttributeValueType":{
      "type":"string",
      "enum":["TEXT_WITH_HIGHLIGHTS_VALUE"]
    },
    "AmazonResourceName":{
      "type":"string",
      "max":1011,
      "min":1
    },
    "AttributeFilter":{
      "type":"structure",
      "members":{
        "AndAllFilters":{
          "shape":"AttributeFilterList",
          "documentation":"<p>Performs a logical <code>AND</code> operation on all supplied filters.</p>"
        },
        "OrAllFilters":{
          "shape":"AttributeFilterList",
          "documentation":"<p>Performs a logical <code>OR</code> operation on all supplied filters.</p>"
        },
        "NotFilter":{
          "shape":"AttributeFilter",
          "documentation":"<p>Performs a logical <code>NOT</code> operation on all supplied filters.</p>"
        },
        "EqualsTo":{
          "shape":"DocumentAttribute",
          "documentation":"<p>Performs an equals operation on two document attributes.</p>"
        },
        "ContainsAll":{
          "shape":"DocumentAttribute",
          "documentation":"<p>Returns true when a document contains all of the specified document attributes. This filter is only applicable to <code>StringListValue</code> metadata.</p>"
        },
        "ContainsAny":{
          "shape":"DocumentAttribute",
          "documentation":"<p>Returns true when a document contains any of the specified document attributes. This filter is only applicable to <code>StringListValue</code> metadata.</p>"
        },
        "GreaterThan":{
          "shape":"DocumentAttribute",
          "documentation":"<p>Performs a greater than operation on two document attributes. Use with a document attribute of type <code>Date</code> or <code>Long</code>.</p>"
        },
        "GreaterThanOrEquals":{
          "shape":"DocumentAttribute",
          "documentation":"<p>Performs a greater or equals than operation on two document attributes. Use with a document attribute of type <code>Date</code> or <code>Long</code>.</p>"
        },
        "LessThan":{
          "shape":"DocumentAttribute",
          "documentation":"<p>Performs a less than operation on two document attributes. Use with a document attribute of type <code>Date</code> or <code>Long</code>.</p>"
        },
        "LessThanOrEquals":{
          "shape":"DocumentAttribute",
          "documentation":"<p>Performs a less than or equals operation on two document attributes. Use with a document attribute of type <code>Date</code> or <code>Long</code>.</p>"
        }
      },
      "documentation":"<p>Provides filtering the query results based on document attributes.</p> <p>When you use the <code>AndAllFilters</code> or <code>OrAllFilters</code>, filters you can use 2 layers under the first attribute filter. For example, you can use:</p> <p> <code>&lt;AndAllFilters&gt;</code> </p> <ol> <li> <p> <code> &lt;OrAllFilters&gt;</code> </p> </li> <li> <p> <code> &lt;EqualTo&gt;</code> </p> </li> </ol> <p>If you use more than 2 layers, you receive a <code>ValidationException</code> exception with the message \"<code>AttributeFilter</code> cannot have a depth of more than 2.\"</p> <p>If you use more than 10 attribute filters in a given list for <code>AndAllFilters</code> or <code>OrAllFilters</code>, you receive a <code>ValidationException</code> with the message \"<code>AttributeFilter</code> cannot have a length of more than 10\".</p>"
    },
    "AttributeFilterList":{
      "type":"list",
      "member":{"shape":"AttributeFilter"}
    },
    "AuthenticationConfiguration":{
      "type":"structure",
      "members":{
        "BasicAuthentication":{
          "shape":"BasicAuthenticationConfigurationList",
          "documentation":"<p>The list of configuration information that's required to connect to and crawl a website host using basic authentication credentials.</p> <p>The list includes the name and port number of the website host.</p>"
        }
      },
      "documentation":"<p>Provides the configuration information to connect to websites that require user authentication.</p>"
    },
    "BasicAuthenticationConfiguration":{
      "type":"structure",
      "required":[
        "Host",
        "Port",
        "Credentials"
      ],
      "members":{
        "Host":{
          "shape":"Host",
          "documentation":"<p>The name of the website host you want to connect to using authentication credentials.</p> <p>For example, the host name of https://a.example.com/page1.html is \"a.example.com\".</p>"
        },
        "Port":{
          "shape":"Port",
          "documentation":"<p>The port number of the website host you want to connect to using authentication credentials.</p> <p>For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.</p>"
        },
        "Credentials":{
          "shape":"SecretArn",
          "documentation":"<p>Your secret ARN, which you can create in <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\">AWS Secrets Manager</a> </p> <p>You use a secret if basic authentication credentials are required to connect to a website. The secret stores your credentials of user name and password.</p>"
        }
      },
      "documentation":"<p>Provides the configuration information to connect to websites that require basic user authentication.</p>"
    },
    "BasicAuthenticationConfigurationList":{
      "type":"list",
      "member":{"shape":"BasicAuthenticationConfiguration"},
      "max":10,
      "min":0
    },
    "BatchDeleteDocumentRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "DocumentIdList"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the documents to delete.</p>"
        },
        "DocumentIdList":{
          "shape":"DocumentIdList",
          "documentation":"<p>One or more identifiers for documents to delete from the index.</p>"
        },
        "DataSourceSyncJobMetricTarget":{"shape":"DataSourceSyncJobMetricTarget"}
      }
    },
    "BatchDeleteDocumentResponse":{
      "type":"structure",
      "members":{
        "FailedDocuments":{
          "shape":"BatchDeleteDocumentResponseFailedDocuments",
          "documentation":"<p>A list of documents that could not be removed from the index. Each entry contains an error message that indicates why the document couldn't be removed from the index.</p>"
        }
      }
    },
    "BatchDeleteDocumentResponseFailedDocument":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"DocumentId",
          "documentation":"<p>The identifier of the document that couldn't be removed from the index.</p>"
        },
        "ErrorCode":{
          "shape":"ErrorCode",
          "documentation":"<p>The error code for why the document couldn't be removed from the index.</p>"
        },
        "ErrorMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>An explanation for why the document couldn't be removed from the index.</p>"
        }
      },
      "documentation":"<p>Provides information about documents that could not be removed from an index by the <code>BatchDeleteDocument</code> operation.</p>"
    },
    "BatchDeleteDocumentResponseFailedDocuments":{
      "type":"list",
      "member":{"shape":"BatchDeleteDocumentResponseFailedDocument"}
    },
    "BatchGetDocumentStatusRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "DocumentInfoList"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index to add documents to. The index ID is returned by the <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_CreateIndex.html\"> CreateIndex </a> operation.</p>"
        },
        "DocumentInfoList":{
          "shape":"DocumentInfoList",
          "documentation":"<p>A list of <code>DocumentInfo</code> objects that identify the documents for which to get the status. You identify the documents by their document ID and optional attributes.</p>"
        }
      }
    },
    "BatchGetDocumentStatusResponse":{
      "type":"structure",
      "members":{
        "Errors":{
          "shape":"BatchGetDocumentStatusResponseErrors",
          "documentation":"<p>A list of documents that Amazon Kendra couldn't get the status for. The list includes the ID of the document and the reason that the status couldn't be found.</p>"
        },
        "DocumentStatusList":{
          "shape":"DocumentStatusList",
          "documentation":"<p>The status of documents. The status indicates if the document is waiting to be indexed, is in the process of indexing, has completed indexing, or failed indexing. If a document failed indexing, the status provides the reason why.</p>"
        }
      }
    },
    "BatchGetDocumentStatusResponseError":{
      "type":"structure",
      "members":{
        "DocumentId":{
          "shape":"DocumentId",
          "documentation":"<p>The unique identifier of the document whose status could not be retrieved.</p>"
        },
        "ErrorCode":{
          "shape":"ErrorCode",
          "documentation":"<p>Indicates the source of the error.</p>"
        },
        "ErrorMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>States that the API could not get the status of a document. This could be because the request is not valid or there is a system error.</p>"
        }
      },
      "documentation":"<p>Provides a response when the status of a document could not be retrieved.</p>"
    },
    "BatchGetDocumentStatusResponseErrors":{
      "type":"list",
      "member":{"shape":"BatchGetDocumentStatusResponseError"}
    },
    "BatchPutDocumentRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "Documents"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index to add the documents to. You need to create the index first using the <code>CreateIndex</code> operation.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of a role that is allowed to run the <code>BatchPutDocument</code> operation. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html\">IAM Roles for Amazon Kendra</a>.</p>"
        },
        "Documents":{
          "shape":"DocumentList",
          "documentation":"<p>One or more documents to add to the index.</p> <p>Documents can include custom attributes. For example, 'DataSourceId' and 'DataSourceSyncJobId' are custom attributes that provide information on the synchronization of documents running on a data source. Note, 'DataSourceSyncJobId' could be an optional custom attribute as Amazon Kendra will use the ID of a running sync job.</p> <p>Documents have the following file size limits.</p> <ul> <li> <p>5 MB total size for inline documents</p> </li> <li> <p>50 MB total size for files from an S3 bucket</p> </li> <li> <p>5 MB extracted text for any file</p> </li> </ul> <p>For more information about file size and transaction per second quotas, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas</a>.</p>"
        }
      }
    },
    "BatchPutDocumentResponse":{
      "type":"structure",
      "members":{
        "FailedDocuments":{
          "shape":"BatchPutDocumentResponseFailedDocuments",
          "documentation":"<p>A list of documents that were not added to the index because the document failed a validation check. Each document contains an error message that indicates why the document couldn't be added to the index.</p> <p>If there was an error adding a document to an index the error is reported in your Amazon Web Services CloudWatch log. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/cloudwatch-logs.html\">Monitoring Amazon Kendra with Amazon CloudWatch Logs</a> </p>"
        }
      }
    },
    "BatchPutDocumentResponseFailedDocument":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"DocumentId",
          "documentation":"<p>The unique identifier of the document.</p>"
        },
        "ErrorCode":{
          "shape":"ErrorCode",
          "documentation":"<p>The type of error that caused the document to fail to be indexed.</p>"
        },
        "ErrorMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>A description of the reason why the document could not be indexed.</p>"
        }
      },
      "documentation":"<p>Provides information about a document that could not be indexed.</p>"
    },
    "BatchPutDocumentResponseFailedDocuments":{
      "type":"list",
      "member":{"shape":"BatchPutDocumentResponseFailedDocument"}
    },
    "Blob":{"type":"blob"},
    "Boolean":{"type":"boolean"},
    "CapacityUnitsConfiguration":{
      "type":"structure",
      "required":[
        "StorageCapacityUnits",
        "QueryCapacityUnits"
      ],
      "members":{
        "StorageCapacityUnits":{
          "shape":"StorageCapacityUnit",
          "documentation":"<p>The amount of extra storage capacity for an index. A single capacity unit provides 30 GB of storage space or 100,000 documents, whichever is reached first.</p>"
        },
        "QueryCapacityUnits":{
          "shape":"QueryCapacityUnit",
          "documentation":"<p>The amount of extra query capacity for an index and <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_GetQuerySuggestions.html\">GetQuerySuggestions</a> capacity.</p> <p>A single extra capacity unit for an index provides 0.1 queries per second or approximately 8,000 queries per day.</p> <p> <code>GetQuerySuggestions</code> capacity is five times the provisioned query capacity for an index, or the base capacity of 2.5 calls per second, whichever is higher. For example, the base capacity for an index is 0.1 queries per second, and <code>GetQuerySuggestions</code> capacity has a base of 2.5 calls per second. If you add another 0.1 queries per second to total 0.2 queries per second for an index, the <code>GetQuerySuggestions</code> capacity is 2.5 calls per second (higher than five times 0.2 queries per second).</p>"
        }
      },
      "documentation":"<p>Specifies capacity units configured for your enterprise edition index. You can add and remove capacity units to tune an index to your requirements.</p>"
    },
    "ChangeDetectingColumns":{
      "type":"list",
      "member":{"shape":"ColumnName"},
      "max":5,
      "min":1
    },
    "ClaimRegex":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "ClearQuerySuggestionsRequest":{
      "type":"structure",
      "required":["IndexId"],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index you want to clear query suggestions from.</p>"
        }
      }
    },
    "ClickFeedback":{
      "type":"structure",
      "required":[
        "ResultId",
        "ClickTime"
      ],
      "members":{
        "ResultId":{
          "shape":"ResultId",
          "documentation":"<p>The unique identifier of the search result that was clicked.</p>"
        },
        "ClickTime":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix timestamp of the date and time that the result was clicked.</p>"
        }
      },
      "documentation":"<p>Gathers information about when a particular result was clicked by a user. Your application uses the <code>SubmitFeedback</code> operation to provide click information.</p>"
    },
    "ClickFeedbackList":{
      "type":"list",
      "member":{"shape":"ClickFeedback"}
    },
    "ClientTokenName":{
      "type":"string",
      "max":100,
      "min":1
    },
    "ColumnConfiguration":{
      "type":"structure",
      "required":[
        "DocumentIdColumnName",
        "DocumentDataColumnName",
        "ChangeDetectingColumns"
      ],
      "members":{
        "DocumentIdColumnName":{
          "shape":"ColumnName",
          "documentation":"<p>The column that provides the document's unique identifier.</p>"
        },
        "DocumentDataColumnName":{
          "shape":"ColumnName",
          "documentation":"<p>The column that contains the contents of the document.</p>"
        },
        "DocumentTitleColumnName":{
          "shape":"ColumnName",
          "documentation":"<p>The column that contains the title of the document.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>An array of objects that map database column names to the corresponding fields in an index. You must first create the fields in the index using the <code>UpdateIndex</code> operation.</p>"
        },
        "ChangeDetectingColumns":{
          "shape":"ChangeDetectingColumns",
          "documentation":"<p>One to five columns that indicate when a document in the database has changed.</p>"
        }
      },
      "documentation":"<p>Provides information about how Amazon Kendra should use the columns of a database in an index.</p>"
    },
    "ColumnName":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$"
    },
    "ConflictException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true
    },
    "ConfluenceAttachmentConfiguration":{
      "type":"structure",
      "members":{
        "CrawlAttachments":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether Amazon Kendra indexes attachments to the pages and blogs in the Confluence data source. </p>"
        },
        "AttachmentFieldMappings":{
          "shape":"ConfluenceAttachmentFieldMappingsList",
          "documentation":"<p>Defines how attachment metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the <code>UpdateIndex</code> operation.</p> <p>If you specify the <code>AttachentFieldMappings</code> parameter, you must specify at least one field mapping.</p>"
        }
      },
      "documentation":"<p>Specifies the attachment settings for the Confluence data source. Attachment settings are optional, if you don't specify settings attachments, Amazon Kendra won't index them.</p>"
    },
    "ConfluenceAttachmentFieldMappingsList":{
      "type":"list",
      "member":{"shape":"ConfluenceAttachmentToIndexFieldMapping"},
      "max":11,
      "min":1
    },
    "ConfluenceAttachmentFieldName":{
      "type":"string",
      "enum":[
        "AUTHOR",
        "CONTENT_TYPE",
        "CREATED_DATE",
        "DISPLAY_URL",
        "FILE_SIZE",
        "ITEM_TYPE",
        "PARENT_ID",
        "SPACE_KEY",
        "SPACE_NAME",
        "URL",
        "VERSION"
      ]
    },
    "ConfluenceAttachmentToIndexFieldMapping":{
      "type":"structure",
      "members":{
        "DataSourceFieldName":{
          "shape":"ConfluenceAttachmentFieldName",
          "documentation":"<p>The name of the field in the data source. </p> <p>You must first create the index field using the <code>UpdateIndex</code> operation. </p>"
        },
        "DateFieldFormat":{
          "shape":"DataSourceDateFieldFormat",
          "documentation":"<p>The format for date fields in the data source. If the field specified in <code>DataSourceFieldName</code> is a date field you must specify the date format. If the field is not a date field, an exception is thrown.</p>"
        },
        "IndexFieldName":{
          "shape":"IndexFieldName",
          "documentation":"<p>The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.</p>"
        }
      },
      "documentation":"<p>Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.</p> <p>You must first create the index field using the <code>UpdateIndex</code> operation. </p>"
    },
    "ConfluenceBlogConfiguration":{
      "type":"structure",
      "members":{
        "BlogFieldMappings":{
          "shape":"ConfluenceBlogFieldMappingsList",
          "documentation":"<p>Defines how blog metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the <code>UpdateIndex</code> operation.</p> <p>If you specify the <code>BlogFieldMappings</code> parameter, you must specify at least one field mapping.</p>"
        }
      },
      "documentation":"<p>Specifies the blog settings for the Confluence data source. Blogs are always indexed unless filtered from the index by the <code>ExclusionPatterns</code> or <code>InclusionPatterns</code> fields in the <code>ConfluenceConfiguration</code> type.</p>"
    },
    "ConfluenceBlogFieldMappingsList":{
      "type":"list",
      "member":{"shape":"ConfluenceBlogToIndexFieldMapping"},
      "max":9,
      "min":1
    },
    "ConfluenceBlogFieldName":{
      "type":"string",
      "enum":[
        "AUTHOR",
        "DISPLAY_URL",
        "ITEM_TYPE",
        "LABELS",
        "PUBLISH_DATE",
        "SPACE_KEY",
        "SPACE_NAME",
        "URL",
        "VERSION"
      ]
    },
    "ConfluenceBlogToIndexFieldMapping":{
      "type":"structure",
      "members":{
        "DataSourceFieldName":{
          "shape":"ConfluenceBlogFieldName",
          "documentation":"<p>The name of the field in the data source. </p>"
        },
        "DateFieldFormat":{
          "shape":"DataSourceDateFieldFormat",
          "documentation":"<p>The format for date fields in the data source. If the field specified in <code>DataSourceFieldName</code> is a date field you must specify the date format. If the field is not a date field, an exception is thrown.</p>"
        },
        "IndexFieldName":{
          "shape":"IndexFieldName",
          "documentation":"<p>The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.</p>"
        }
      },
      "documentation":"<p>Defines the mapping between a blog field in the Confluence data source to a Amazon Kendra index field.</p> <p>You must first create the index field using the <code>UpdateIndex</code> operation. </p>"
    },
    "ConfluenceConfiguration":{
      "type":"structure",
      "required":[
        "ServerUrl",
        "SecretArn",
        "Version"
      ],
      "members":{
        "ServerUrl":{
          "shape":"Url",
          "documentation":"<p>The URL of your Confluence instance. Use the full URL of the server. For example, <code>https://server.example.com:port/</code>. You can also use an IP address, for example, <code>https://192.168.1.113/</code>.</p>"
        },
        "SecretArn":{
          "shape":"SecretArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required to connect to your Confluence server. The secret must contain a JSON structure with the following keys:</p> <ul> <li> <p>username - The user name or email address of a user with administrative privileges for the Confluence server.</p> </li> <li> <p>password - The password associated with the user logging in to the Confluence server.</p> </li> </ul>"
        },
        "Version":{
          "shape":"ConfluenceVersion",
          "documentation":"<p>Specifies the version of the Confluence installation that you are connecting to.</p>"
        },
        "SpaceConfiguration":{
          "shape":"ConfluenceSpaceConfiguration",
          "documentation":"<p>Specifies configuration information for indexing Confluence spaces.</p>"
        },
        "PageConfiguration":{
          "shape":"ConfluencePageConfiguration",
          "documentation":"<p>Specifies configuration information for indexing Confluence pages.</p>"
        },
        "BlogConfiguration":{
          "shape":"ConfluenceBlogConfiguration",
          "documentation":"<p> Specifies configuration information for indexing Confluence blogs.</p>"
        },
        "AttachmentConfiguration":{
          "shape":"ConfluenceAttachmentConfiguration",
          "documentation":"<p>Specifies configuration information for indexing attachments to Confluence blogs and pages.</p>"
        },
        "VpcConfiguration":{
          "shape":"DataSourceVpcConfiguration",
          "documentation":"<p>Specifies the information for connecting to an Amazon VPC.</p>"
        },
        "InclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns that apply to a URL on the Confluence server. An inclusion pattern can apply to a blog post, a page, a space, or an attachment. Items that match the patterns are included in the index. Items that don't match the pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion pattern, the item isn't included in the index.</p>"
        },
        "ExclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns that apply to a URL on the Confluence server. An exclusion pattern can apply to a blog post, a page, a space, or an attachment. Items that match the pattern are excluded from the index. Items that don't match the pattern are included in the index. If a item matches both an exclusion pattern and an inclusion pattern, the item isn't included in the index.</p>"
        }
      },
      "documentation":"<p>Provides configuration information for data sources that connect to Confluence.</p>"
    },
    "ConfluencePageConfiguration":{
      "type":"structure",
      "members":{
        "PageFieldMappings":{
          "shape":"ConfluencePageFieldMappingsList",
          "documentation":"<p>Defines how page metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the <code>UpdateIndex</code> operation.</p> <p>If you specify the <code>PageFieldMappings</code> parameter, you must specify at least one field mapping.</p>"
        }
      },
      "documentation":"<p>Specifies the page settings for the Confluence data source.</p>"
    },
    "ConfluencePageFieldMappingsList":{
      "type":"list",
      "member":{"shape":"ConfluencePageToIndexFieldMapping"},
      "max":12,
      "min":1
    },
    "ConfluencePageFieldName":{
      "type":"string",
      "enum":[
        "AUTHOR",
        "CONTENT_STATUS",
        "CREATED_DATE",
        "DISPLAY_URL",
        "ITEM_TYPE",
        "LABELS",
        "MODIFIED_DATE",
        "PARENT_ID",
        "SPACE_KEY",
        "SPACE_NAME",
        "URL",
        "VERSION"
      ]
    },
    "ConfluencePageToIndexFieldMapping":{
      "type":"structure",
      "members":{
        "DataSourceFieldName":{
          "shape":"ConfluencePageFieldName",
          "documentation":"<p>The name of the field in the data source. </p>"
        },
        "DateFieldFormat":{
          "shape":"DataSourceDateFieldFormat",
          "documentation":"<p>The format for date fields in the data source. If the field specified in <code>DataSourceFieldName</code> is a date field you must specify the date format. If the field is not a date field, an exception is thrown.</p>"
        },
        "IndexFieldName":{
          "shape":"IndexFieldName",
          "documentation":"<p>The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.</p>"
        }
      },
      "documentation":"<p>Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.</p> <p>You must first create the index field using the <code>UpdateIndex</code> operation. </p>"
    },
    "ConfluenceSpaceConfiguration":{
      "type":"structure",
      "members":{
        "CrawlPersonalSpaces":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether Amazon Kendra should index personal spaces. Users can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html\">Filtering on user context</a>.</p>"
        },
        "CrawlArchivedSpaces":{
          "shape":"Boolean",
          "documentation":"<p>Specifies whether Amazon Kendra should index archived spaces.</p>"
        },
        "IncludeSpaces":{
          "shape":"ConfluenceSpaceList",
          "documentation":"<p>A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both the <code>IncludeSpaces</code> and the <code>ExcludeSpaces</code> list, the space is excluded.</p>"
        },
        "ExcludeSpaces":{
          "shape":"ConfluenceSpaceList",
          "documentation":"<p>A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are not indexed. If a space is in both the <code>ExcludeSpaces</code> and the <code>IncludeSpaces</code> list, the space is excluded.</p>"
        },
        "SpaceFieldMappings":{
          "shape":"ConfluenceSpaceFieldMappingsList",
          "documentation":"<p>Defines how space metadata fields should be mapped to index fields. Before you can map a field, you must first create an index field with a matching type using the console or the <code>UpdateIndex</code> operation.</p> <p>If you specify the <code>SpaceFieldMappings</code> parameter, you must specify at least one field mapping.</p>"
        }
      },
      "documentation":"<p>Specifies the configuration for indexing Confluence spaces.</p>"
    },
    "ConfluenceSpaceFieldMappingsList":{
      "type":"list",
      "member":{"shape":"ConfluenceSpaceToIndexFieldMapping"},
      "max":4,
      "min":1
    },
    "ConfluenceSpaceFieldName":{
      "type":"string",
      "enum":[
        "DISPLAY_URL",
        "ITEM_TYPE",
        "SPACE_KEY",
        "URL"
      ]
    },
    "ConfluenceSpaceIdentifier":{
      "type":"string",
      "max":255,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "ConfluenceSpaceList":{
      "type":"list",
      "member":{"shape":"ConfluenceSpaceIdentifier"},
      "min":1
    },
    "ConfluenceSpaceToIndexFieldMapping":{
      "type":"structure",
      "members":{
        "DataSourceFieldName":{
          "shape":"ConfluenceSpaceFieldName",
          "documentation":"<p>The name of the field in the data source. </p>"
        },
        "DateFieldFormat":{
          "shape":"DataSourceDateFieldFormat",
          "documentation":"<p>The format for date fields in the data source. If the field specified in <code>DataSourceFieldName</code> is a date field you must specify the date format. If the field is not a date field, an exception is thrown.</p>"
        },
        "IndexFieldName":{
          "shape":"IndexFieldName",
          "documentation":"<p>The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.</p>"
        }
      },
      "documentation":"<p>Defines the mapping between a field in the Confluence data source to a Amazon Kendra index field.</p> <p>You must first create the index field using the <code>UpdateIndex</code> operation. </p>"
    },
    "ConfluenceVersion":{
      "type":"string",
      "enum":[
        "CLOUD",
        "SERVER"
      ]
    },
    "ConnectionConfiguration":{
      "type":"structure",
      "required":[
        "DatabaseHost",
        "DatabasePort",
        "DatabaseName",
        "TableName",
        "SecretArn"
      ],
      "members":{
        "DatabaseHost":{
          "shape":"DatabaseHost",
          "documentation":"<p>The name of the host for the database. Can be either a string (host.subdomain.domain.tld) or an IPv4 or IPv6 address.</p>"
        },
        "DatabasePort":{
          "shape":"DatabasePort",
          "documentation":"<p>The port that the database uses for connections.</p>"
        },
        "DatabaseName":{
          "shape":"DatabaseName",
          "documentation":"<p>The name of the database containing the document data.</p>"
        },
        "TableName":{
          "shape":"TableName",
          "documentation":"<p>The name of the table that contains the document data.</p>"
        },
        "SecretArn":{
          "shape":"SecretArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-database.html\">Using a Database Data Source</a>. For more information about Secrets Manager, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\"> What Is Secrets Manager</a> in the <i> Secrets Manager </i> user guide.</p>"
        }
      },
      "documentation":"<p>Provides the information necessary to connect to a database.</p>"
    },
    "ContentType":{
      "type":"string",
      "enum":[
        "PDF",
        "HTML",
        "MS_WORD",
        "PLAIN_TEXT",
        "PPT"
      ]
    },
    "CrawlDepth":{
      "type":"integer",
      "max":10,
      "min":0
    },
    "CreateDataSourceRequest":{
      "type":"structure",
      "required":[
        "Name",
        "IndexId",
        "Type"
      ],
      "members":{
        "Name":{
          "shape":"DataSourceName",
          "documentation":"<p>A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that should be associated with this data source.</p>"
        },
        "Type":{
          "shape":"DataSourceType",
          "documentation":"<p>The type of repository that contains the data source.</p>"
        },
        "Configuration":{
          "shape":"DataSourceConfiguration",
          "documentation":"<p>The connector configuration information that is required to access the repository.</p> <p>You can't specify the <code>Configuration</code> parameter when the <code>Type</code> parameter is set to <code>CUSTOM</code>. If you do, you receive a <code>ValidationException</code> exception.</p> <p>The <code>Configuration</code> parameter is required for all other data sources.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>A description for the data source.</p>"
        },
        "Schedule":{
          "shape":"ScanSchedule",
          "documentation":"<p>Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the <code>StartDataSourceSyncJob</code> operation to update the index.</p> <p>You can't specify the <code>Schedule</code> parameter when the <code>Type</code> parameter is set to <code>CUSTOM</code>. If you do, you receive a <code>ValidationException</code> exception.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html\">IAM Roles for Amazon Kendra</a>.</p> <p>You can't specify the <code>RoleArn</code> parameter when the <code>Type</code> parameter is set to <code>CUSTOM</code>. If you do, you receive a <code>ValidationException</code> exception.</p> <p>The <code>RoleArn</code> parameter is required for all other data sources.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.</p>"
        },
        "ClientToken":{
          "shape":"ClientTokenName",
          "documentation":"<p>A token that you provide to identify the request to create a data source. Multiple calls to the <code>CreateDataSource</code> operation with the same client token will create only one data source.</p>",
          "idempotencyToken":true
        },
        "LanguageCode":{
          "shape":"LanguageCode",
          "documentation":"<p>The code for a language. This allows you to support a language for all documents when creating the data source. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
        }
      }
    },
    "CreateDataSourceResponse":{
      "type":"structure",
      "required":["Id"],
      "members":{
        "Id":{
          "shape":"DataSourceId",
          "documentation":"<p>A unique identifier for the data source.</p>"
        }
      }
    },
    "CreateFaqRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "Name",
        "S3Path",
        "RoleArn"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the FAQ.</p>"
        },
        "Name":{
          "shape":"FaqName",
          "documentation":"<p>The name that should be associated with the FAQ.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>A description of the FAQ.</p>"
        },
        "S3Path":{
          "shape":"S3Path",
          "documentation":"<p>The S3 location of the FAQ input data.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html\">IAM Roles for Amazon Kendra</a>.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.</p>"
        },
        "FileFormat":{
          "shape":"FaqFileFormat",
          "documentation":"<p>The format of the input file. You can choose between a basic CSV format, a CSV format that includes customs attributes in a header, and a JSON format that includes custom attributes.</p> <p>The format must match the format of the file stored in the S3 bucket identified in the <code>S3Path</code> parameter.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html\">Adding questions and answers</a>.</p>"
        },
        "ClientToken":{
          "shape":"ClientTokenName",
          "documentation":"<p>A token that you provide to identify the request to create a FAQ. Multiple calls to the <code>CreateFaqRequest</code> operation with the same client token will create only one FAQ. </p>",
          "idempotencyToken":true
        },
        "LanguageCode":{
          "shape":"LanguageCode",
          "documentation":"<p>The code for a language. This allows you to support a language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
        }
      }
    },
    "CreateFaqResponse":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"FaqId",
          "documentation":"<p>The unique identifier of the FAQ.</p>"
        }
      }
    },
    "CreateIndexRequest":{
      "type":"structure",
      "required":[
        "Name",
        "RoleArn"
      ],
      "members":{
        "Name":{
          "shape":"IndexName",
          "documentation":"<p>The name for the new index.</p>"
        },
        "Edition":{
          "shape":"IndexEdition",
          "documentation":"<p>The Amazon Kendra edition to use for the index. Choose <code>DEVELOPER_EDITION</code> for indexes intended for development, testing, or proof of concept. Use <code>ENTERPRISE_EDITION</code> for your production databases. Once you set the edition for an index, it can't be changed.</p> <p>The <code>Edition</code> parameter is optional. If you don't supply a value, the default is <code>ENTERPRISE_EDITION</code>.</p> <p>For more information on quota limits for enterprise and developer editions, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas</a>.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>An Identity and Access Management(IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role used when you use the <code>BatchPutDocument</code> operation to index documents from an Amazon S3 bucket.</p>"
        },
        "ServerSideEncryptionConfiguration":{
          "shape":"ServerSideEncryptionConfiguration",
          "documentation":"<p>The identifier of the KMScustomer managed key (CMK) to use to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>A description for the index.</p>"
        },
        "ClientToken":{
          "shape":"ClientTokenName",
          "documentation":"<p>A token that you provide to identify the request to create an index. Multiple calls to the <code>CreateIndex</code> operation with the same client token will create only one index.</p>",
          "idempotencyToken":true
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs that identify the index. You can use the tags to identify and organize your resources and to control access to resources.</p>"
        },
        "UserTokenConfigurations":{
          "shape":"UserTokenConfigurationList",
          "documentation":"<p>The user token configuration.</p>"
        },
        "UserContextPolicy":{
          "shape":"UserContextPolicy",
          "documentation":"<p>The user context policy.</p> <dl> <dt>ATTRIBUTE_FILTER</dt> <dd> <p>All indexed content is searchable and displayable for all users. If you want to filter search results on user context, you can use the attribute filters of <code>_user_id</code> and <code>_group_ids</code> or you can provide user and group information in <code>UserContext</code>. </p> </dd> <dt>USER_TOKEN</dt> <dd> <p>Enables token-based user access control to filter search results on user context. All documents with no access control and all documents accessible to the user will be searchable and displayable. </p> </dd> </dl>"
        },
        "UserGroupResolutionConfiguration":{
          "shape":"UserGroupResolutionConfiguration",
          "documentation":"<p>Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To configure this, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_UserGroupResolutionConfiguration.html\">UserGroupResolutionConfiguration</a>.</p>"
        }
      }
    },
    "CreateIndexResponse":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"IndexId",
          "documentation":"<p>The unique identifier of the index. Use this identifier when you query an index, set up a data source, or index a document.</p>"
        }
      }
    },
    "CreateQuerySuggestionsBlockListRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "Name",
        "SourceS3Path",
        "RoleArn"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index you want to create a query suggestions block list for.</p>"
        },
        "Name":{
          "shape":"QuerySuggestionsBlockListName",
          "documentation":"<p>A user friendly name for the block list.</p> <p>For example, the block list named 'offensive-words' includes all offensive words that could appear in user queries and need to be blocked from suggestions.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>A user-friendly description for the block list.</p> <p>For example, the description \"List of all offensive words that can appear in user queries and need to be blocked from suggestions.\"</p>"
        },
        "SourceS3Path":{
          "shape":"S3Path",
          "documentation":"<p>The S3 path to your block list text file in your S3 bucket.</p> <p>Each block word or phrase should be on a separate line in a text file.</p> <p>For information on the current quota limits for block lists, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas for Amazon Kendra</a>.</p>"
        },
        "ClientToken":{
          "shape":"ClientTokenName",
          "documentation":"<p>A token that you provide to identify the request to create a query suggestions block list.</p>",
          "idempotencyToken":true
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in your S3 bucket.</p> <p>You need permissions to the role ARN (Amazon Resource Name). The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A tag that you can assign to a block list that categorizes the block list.</p>"
        }
      }
    },
    "CreateQuerySuggestionsBlockListResponse":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"QuerySuggestionsBlockListId",
          "documentation":"<p>The unique identifier of the created block list.</p>"
        }
      }
    },
    "CreateThesaurusRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "Name",
        "RoleArn",
        "SourceS3Path"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The unique identifier of the index for the new thesaurus. </p>"
        },
        "Name":{
          "shape":"ThesaurusName",
          "documentation":"<p>The name for the new thesaurus.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>The description for the new thesaurus.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus file specified in <code>SourceS3Path</code>. </p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of key-value pairs that identify the thesaurus. You can use the tags to identify and organize your resources and to control access to resources. </p>"
        },
        "SourceS3Path":{
          "shape":"S3Path",
          "documentation":"<p>The thesaurus file Amazon S3 source path. </p>"
        },
        "ClientToken":{
          "shape":"ClientTokenName",
          "documentation":"<p>A token that you provide to identify the request to create a thesaurus. Multiple calls to the <code>CreateThesaurus</code> operation with the same client token will create only one thesaurus. </p>",
          "idempotencyToken":true
        }
      }
    },
    "CreateThesaurusResponse":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"ThesaurusId",
          "documentation":"<p>The unique identifier of the thesaurus. </p>"
        }
      }
    },
    "DataSourceConfiguration":{
      "type":"structure",
      "members":{
        "S3Configuration":{
          "shape":"S3DataSourceConfiguration",
          "documentation":"<p>Provides information to create a data source connector for a document repository in an Amazon S3 bucket.</p>"
        },
        "SharePointConfiguration":{
          "shape":"SharePointConfiguration",
          "documentation":"<p>Provides information necessary to create a data source connector for a Microsoft SharePoint site.</p>"
        },
        "DatabaseConfiguration":{
          "shape":"DatabaseConfiguration",
          "documentation":"<p>Provides information necessary to create a data source connector for a database.</p>"
        },
        "SalesforceConfiguration":{
          "shape":"SalesforceConfiguration",
          "documentation":"<p>Provides configuration information for data sources that connect to a Salesforce site.</p>"
        },
        "OneDriveConfiguration":{
          "shape":"OneDriveConfiguration",
          "documentation":"<p>Provides configuration for data sources that connect to Microsoft OneDrive.</p>"
        },
        "ServiceNowConfiguration":{
          "shape":"ServiceNowConfiguration",
          "documentation":"<p>Provides configuration for data sources that connect to ServiceNow instances.</p>"
        },
        "ConfluenceConfiguration":{
          "shape":"ConfluenceConfiguration",
          "documentation":"<p>Provides configuration information for connecting to a Confluence data source.</p>"
        },
        "GoogleDriveConfiguration":{
          "shape":"GoogleDriveConfiguration",
          "documentation":"<p>Provides configuration for data sources that connect to Google Drive. </p>"
        },
        "WebCrawlerConfiguration":{"shape":"WebCrawlerConfiguration"},
        "WorkDocsConfiguration":{
          "shape":"WorkDocsConfiguration",
          "documentation":"<p>Provides the configuration information to connect to WorkDocs as your data source.</p>"
        }
      },
      "documentation":"<p>Configuration information for a Amazon Kendra data source.</p>"
    },
    "DataSourceDateFieldFormat":{
      "type":"string",
      "max":40,
      "min":4,
      "pattern":"^(?!\\s).*(?<!\\s)$"
    },
    "DataSourceFieldName":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"^[a-zA-Z][a-zA-Z0-9_.]*$"
    },
    "DataSourceGroup":{
      "type":"structure",
      "required":[
        "GroupId",
        "DataSourceId"
      ],
      "members":{
        "GroupId":{
          "shape":"PrincipalName",
          "documentation":"<p>The identifier of the group you want to add to your list of groups. This is for filtering search results based on the groups' access to documents.</p>"
        },
        "DataSourceId":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source group you want to add to your list of data source groups. This is for filtering search results based on the groups' access to documents in that data source.</p>"
        }
      },
      "documentation":"<p> Data source information for user context filtering. </p>"
    },
    "DataSourceGroups":{
      "type":"list",
      "member":{"shape":"DataSourceGroup"},
      "max":2048,
      "min":1
    },
    "DataSourceId":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
    },
    "DataSourceInclusionsExclusionsStrings":{
      "type":"list",
      "member":{"shape":"DataSourceInclusionsExclusionsStringsMember"},
      "max":100,
      "min":0
    },
    "DataSourceInclusionsExclusionsStringsMember":{
      "type":"string",
      "max":150,
      "min":1
    },
    "DataSourceName":{
      "type":"string",
      "max":1000,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
    },
    "DataSourceStatus":{
      "type":"string",
      "enum":[
        "CREATING",
        "DELETING",
        "FAILED",
        "UPDATING",
        "ACTIVE"
      ]
    },
    "DataSourceSummary":{
      "type":"structure",
      "members":{
        "Name":{
          "shape":"DataSourceName",
          "documentation":"<p>The name of the data source.</p>"
        },
        "Id":{
          "shape":"DataSourceId",
          "documentation":"<p>The unique identifier for the data source.</p>"
        },
        "Type":{
          "shape":"DataSourceType",
          "documentation":"<p>The type of the data source.</p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The UNIX datetime that the data source was created.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The UNIX datetime that the data source was lasted updated. </p>"
        },
        "Status":{
          "shape":"DataSourceStatus",
          "documentation":"<p>The status of the data source. When the status is <code>ACTIVE</code> the data source is ready to use.</p>"
        },
        "LanguageCode":{
          "shape":"LanguageCode",
          "documentation":"<p>The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
        }
      },
      "documentation":"<p>Summary information for a Amazon Kendra data source. Returned in a call to the <code>DescribeDataSource</code> operation.</p>"
    },
    "DataSourceSummaryList":{
      "type":"list",
      "member":{"shape":"DataSourceSummary"}
    },
    "DataSourceSyncJob":{
      "type":"structure",
      "members":{
        "ExecutionId":{
          "shape":"String",
          "documentation":"<p>A unique identifier for the synchronization job.</p>"
        },
        "StartTime":{
          "shape":"Timestamp",
          "documentation":"<p>The UNIX datetime that the synchronization job was started.</p>"
        },
        "EndTime":{
          "shape":"Timestamp",
          "documentation":"<p>The UNIX datetime that the synchronization job was completed.</p>"
        },
        "Status":{
          "shape":"DataSourceSyncJobStatus",
          "documentation":"<p>The execution status of the synchronization job. When the <code>Status</code> field is set to <code>SUCCEEDED</code>, the synchronization job is done. If the status code is set to <code>FAILED</code>, the <code>ErrorCode</code> and <code>ErrorMessage</code> fields give you the reason for the failure.</p>"
        },
        "ErrorMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>If the <code>Status</code> field is set to <code>ERROR</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the synchronization to fail.</p>"
        },
        "ErrorCode":{
          "shape":"ErrorCode",
          "documentation":"<p>If the <code>Status</code> field is set to <code>FAILED</code>, the <code>ErrorCode</code> field contains a the reason that the synchronization failed.</p>"
        },
        "DataSourceErrorCode":{
          "shape":"String",
          "documentation":"<p>If the reason that the synchronization failed is due to an error with the underlying data source, this field contains a code that identifies the error.</p>"
        },
        "Metrics":{
          "shape":"DataSourceSyncJobMetrics",
          "documentation":"<p>Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.</p>"
        }
      },
      "documentation":"<p>Provides information about a synchronization job.</p>"
    },
    "DataSourceSyncJobHistoryList":{
      "type":"list",
      "member":{"shape":"DataSourceSyncJob"}
    },
    "DataSourceSyncJobId":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
    },
    "DataSourceSyncJobMetricTarget":{
      "type":"structure",
      "required":["DataSourceId"],
      "members":{
        "DataSourceId":{
          "shape":"DataSourceId",
          "documentation":"<p>The ID of the data source that is running the sync job.</p>"
        },
        "DataSourceSyncJobId":{
          "shape":"DataSourceSyncJobId",
          "documentation":"<p>The ID of the sync job that is running on the data source.</p> <p>If the ID of a sync job is not provided and there is a sync job running, then the ID of this sync job is used and metrics are generated for this sync job.</p> <p>If the ID of a sync job is not provided and there is no sync job running, then no metrics are generated and documents are indexed/deleted at the index level without sync job metrics included.</p>"
        }
      },
      "documentation":"<p>Maps a particular data source sync job to a particular data source.</p>"
    },
    "DataSourceSyncJobMetrics":{
      "type":"structure",
      "members":{
        "DocumentsAdded":{
          "shape":"MetricValue",
          "documentation":"<p>The number of documents added from the data source up to now in the data source sync.</p>"
        },
        "DocumentsModified":{
          "shape":"MetricValue",
          "documentation":"<p>The number of documents modified in the data source up to now in the data source sync run.</p>"
        },
        "DocumentsDeleted":{
          "shape":"MetricValue",
          "documentation":"<p>The number of documents deleted from the data source up to now in the data source sync run.</p>"
        },
        "DocumentsFailed":{
          "shape":"MetricValue",
          "documentation":"<p>The number of documents that failed to sync from the data source up to now in the data source sync run.</p>"
        },
        "DocumentsScanned":{
          "shape":"MetricValue",
          "documentation":"<p>The current number of documents crawled by the current sync job in the data source.</p>"
        }
      },
      "documentation":"<p>Maps a batch delete document request to a specific data source sync job. This is optional and should only be supplied when documents are deleted by a data source connector.</p>"
    },
    "DataSourceSyncJobStatus":{
      "type":"string",
      "enum":[
        "FAILED",
        "SUCCEEDED",
        "SYNCING",
        "INCOMPLETE",
        "STOPPING",
        "ABORTED",
        "SYNCING_INDEXING"
      ]
    },
    "DataSourceToIndexFieldMapping":{
      "type":"structure",
      "required":[
        "DataSourceFieldName",
        "IndexFieldName"
      ],
      "members":{
        "DataSourceFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the column or attribute in the data source.</p>"
        },
        "DateFieldFormat":{
          "shape":"DataSourceDateFieldFormat",
          "documentation":"<p>The type of data stored in the column or attribute.</p>"
        },
        "IndexFieldName":{
          "shape":"IndexFieldName",
          "documentation":"<p>The name of the field in the index.</p>"
        }
      },
      "documentation":"<p>Maps a column or attribute in the data source to an index field. You must first create the fields in the index using the <code>UpdateIndex</code> operation.</p>"
    },
    "DataSourceToIndexFieldMappingList":{
      "type":"list",
      "member":{"shape":"DataSourceToIndexFieldMapping"},
      "max":100,
      "min":1
    },
    "DataSourceType":{
      "type":"string",
      "enum":[
        "S3",
        "SHAREPOINT",
        "DATABASE",
        "SALESFORCE",
        "ONEDRIVE",
        "SERVICENOW",
        "CUSTOM",
        "CONFLUENCE",
        "GOOGLEDRIVE",
        "WEBCRAWLER",
        "WORKDOCS"
      ]
    },
    "DataSourceVpcConfiguration":{
      "type":"structure",
      "required":[
        "SubnetIds",
        "SecurityGroupIds"
      ],
      "members":{
        "SubnetIds":{
          "shape":"SubnetIdList",
          "documentation":"<p>A list of identifiers for subnets within your Amazon VPC. The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.</p>"
        },
        "SecurityGroupIds":{
          "shape":"SecurityGroupIdList",
          "documentation":"<p>A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Kendra to connect to the data source.</p>"
        }
      },
      "documentation":"<p>Provides information for connecting to an Amazon VPC.</p>"
    },
    "DatabaseConfiguration":{
      "type":"structure",
      "required":[
        "DatabaseEngineType",
        "ConnectionConfiguration",
        "ColumnConfiguration"
      ],
      "members":{
        "DatabaseEngineType":{
          "shape":"DatabaseEngineType",
          "documentation":"<p>The type of database engine that runs the database.</p>"
        },
        "ConnectionConfiguration":{
          "shape":"ConnectionConfiguration",
          "documentation":"<p>The information necessary to connect to a database.</p>"
        },
        "VpcConfiguration":{"shape":"DataSourceVpcConfiguration"},
        "ColumnConfiguration":{
          "shape":"ColumnConfiguration",
          "documentation":"<p>Information about where the index should get the document information from the database.</p>"
        },
        "AclConfiguration":{
          "shape":"AclConfiguration",
          "documentation":"<p>Information about the database column that provides information for user context filtering.</p>"
        },
        "SqlConfiguration":{
          "shape":"SqlConfiguration",
          "documentation":"<p>Provides information about how Amazon Kendra uses quote marks around SQL identifiers when querying a database data source.</p>"
        }
      },
      "documentation":"<p>Provides the information necessary to connect a database to an index. </p>"
    },
    "DatabaseEngineType":{
      "type":"string",
      "enum":[
        "RDS_AURORA_MYSQL",
        "RDS_AURORA_POSTGRESQL",
        "RDS_MYSQL",
        "RDS_POSTGRESQL"
      ]
    },
    "DatabaseHost":{
      "type":"string",
      "max":253,
      "min":1
    },
    "DatabaseName":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$"
    },
    "DatabasePort":{
      "type":"integer",
      "max":65535,
      "min":1
    },
    "DeleteDataSourceRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"DataSourceId",
          "documentation":"<p>The unique identifier of the data source to delete.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The unique identifier of the index associated with the data source.</p>"
        }
      }
    },
    "DeleteFaqRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"FaqId",
          "documentation":"<p>The identifier of the FAQ to remove.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The index to remove the FAQ from.</p>"
        }
      }
    },
    "DeleteIndexRequest":{
      "type":"structure",
      "required":["Id"],
      "members":{
        "Id":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index to delete.</p>"
        }
      }
    },
    "DeletePrincipalMappingRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "GroupId"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index you want to delete a group from.</p>"
        },
        "DataSourceId":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source you want to delete a group from.</p> <p>This is useful if a group is tied to multiple data sources and you want to delete a group from accessing documents in a certain data source. For example, the groups \"Research\", \"Engineering\", and \"Sales and Marketing\" are all tied to the company's documents stored in the data sources Confluence and Salesforce. You want to delete \"Research\" and \"Engineering\" groups from Salesforce, so that these groups cannot access customer-related documents stored in Salesforce. Only \"Sales and Marketing\" should access documents in the Salesforce data source.</p>"
        },
        "GroupId":{
          "shape":"GroupId",
          "documentation":"<p>The identifier of the group you want to delete.</p>"
        },
        "OrderingId":{
          "shape":"PrincipalOrderingId",
          "documentation":"<p>The timestamp identifier you specify to ensure Amazon Kendra does not override the latest <code>DELETE</code> action with previous actions. The highest number ID, which is the ordering ID, is the latest action you want to process and apply on top of other actions with lower number IDs. This prevents previous actions with lower number IDs from possibly overriding the latest action.</p> <p>The ordering ID can be the UNIX time of the last update you made to a group members list. You would then provide this list when calling <code>PutPrincipalMapping</code>. This ensures your <code>DELETE</code> action for that updated group with the latest members list doesn't get overwritten by earlier <code>DELETE</code> actions for the same group which are yet to be processed.</p> <p>The default ordering ID is the current UNIX time in milliseconds that the action was received by Amazon Kendra. </p>"
        }
      }
    },
    "DeleteQuerySuggestionsBlockListRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "Id"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the you want to delete a block list from.</p>"
        },
        "Id":{
          "shape":"QuerySuggestionsBlockListId",
          "documentation":"<p>The unique identifier of the block list that needs to be deleted.</p>"
        }
      }
    },
    "DeleteThesaurusRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"ThesaurusId",
          "documentation":"<p>The identifier of the thesaurus to delete.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index associated with the thesaurus to delete.</p>"
        }
      }
    },
    "DescribeDataSourceRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"DataSourceId",
          "documentation":"<p>The unique identifier of the data source to describe.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the data source.</p>"
        }
      }
    },
    "DescribeDataSourceResponse":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the data source.</p>"
        },
        "Name":{
          "shape":"DataSourceName",
          "documentation":"<p>The name that you gave the data source when it was created.</p>"
        },
        "Type":{
          "shape":"DataSourceType",
          "documentation":"<p>The type of the data source.</p>"
        },
        "Configuration":{
          "shape":"DataSourceConfiguration",
          "documentation":"<p>Information that describes where the data source is located and how the data source is configured. The specific information in the description depends on the data source provider.</p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix timestamp of when the data source was created.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix timestamp of when the data source was last updated.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>The description of the data source.</p>"
        },
        "Status":{
          "shape":"DataSourceStatus",
          "documentation":"<p>The current status of the data source. When the status is <code>ACTIVE</code> the data source is ready to use. When the status is <code>FAILED</code>, the <code>ErrorMessage</code> field contains the reason that the data source failed.</p>"
        },
        "Schedule":{
          "shape":"ScanSchedule",
          "documentation":"<p>The schedule that Amazon Kendra will update the data source.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the role that enables the data source to access its resources.</p>"
        },
        "ErrorMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a description of the error that caused the data source to fail.</p>"
        },
        "LanguageCode":{
          "shape":"LanguageCode",
          "documentation":"<p>The code for a language. This shows a supported language for all documents in the data source. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
        }
      }
    },
    "DescribeFaqRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"FaqId",
          "documentation":"<p>The unique identifier of the FAQ.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the FAQ.</p>"
        }
      }
    },
    "DescribeFaqResponse":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"FaqId",
          "documentation":"<p>The identifier of the FAQ.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the FAQ.</p>"
        },
        "Name":{
          "shape":"FaqName",
          "documentation":"<p>The name that you gave the FAQ when it was created.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>The description of the FAQ that you provided when it was created.</p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time that the FAQ was created.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date and time that the FAQ was last updated.</p>"
        },
        "S3Path":{"shape":"S3Path"},
        "Status":{
          "shape":"FaqStatus",
          "documentation":"<p>The status of the FAQ. It is ready to use when the status is <code>ACTIVE</code>.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.</p>"
        },
        "ErrorMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>If the <code>Status</code> field is <code>FAILED</code>, the <code>ErrorMessage</code> field contains the reason why the FAQ failed.</p>"
        },
        "FileFormat":{
          "shape":"FaqFileFormat",
          "documentation":"<p>The file format used by the input files for the FAQ.</p>"
        },
        "LanguageCode":{
          "shape":"LanguageCode",
          "documentation":"<p>The code for a language. This shows a supported language for the FAQ document. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
        }
      }
    },
    "DescribeIndexRequest":{
      "type":"structure",
      "required":["Id"],
      "members":{
        "Id":{
          "shape":"IndexId",
          "documentation":"<p>The name of the index to describe.</p>"
        }
      }
    },
    "DescribeIndexResponse":{
      "type":"structure",
      "members":{
        "Name":{
          "shape":"IndexName",
          "documentation":"<p>The name of the index.</p>"
        },
        "Id":{
          "shape":"IndexId",
          "documentation":"<p>The name of the index.</p>"
        },
        "Edition":{
          "shape":"IndexEdition",
          "documentation":"<p>The Amazon Kendra edition used for the index. You decide the edition when you create the index.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon Cloudwatch logs.</p>"
        },
        "ServerSideEncryptionConfiguration":{
          "shape":"ServerSideEncryptionConfiguration",
          "documentation":"<p>The identifier of the KMScustomer master key (CMK) used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.</p>"
        },
        "Status":{
          "shape":"IndexStatus",
          "documentation":"<p>The current status of the index. When the value is <code>ACTIVE</code>, the index is ready for use. If the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a message that explains why.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>The description of the index.</p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix datetime that the index was created.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix datetime that the index was last updated.</p>"
        },
        "DocumentMetadataConfigurations":{
          "shape":"DocumentMetadataConfigurationList",
          "documentation":"<p>Configuration settings for any metadata applied to the documents in the index.</p>"
        },
        "IndexStatistics":{
          "shape":"IndexStatistics",
          "documentation":"<p>Provides information about the number of FAQ questions and answers and the number of text documents indexed.</p>"
        },
        "ErrorMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>When th e<code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field contains a message that explains why.</p>"
        },
        "CapacityUnits":{
          "shape":"CapacityUnitsConfiguration",
          "documentation":"<p>For Enterprise edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A 0 for the query capacity or the storage capacity indicates that the index is using the default capacity for the index.</p>"
        },
        "UserTokenConfigurations":{
          "shape":"UserTokenConfigurationList",
          "documentation":"<p>The user token configuration for the Amazon Kendra index.</p>"
        },
        "UserContextPolicy":{
          "shape":"UserContextPolicy",
          "documentation":"<p>The user context policy for the Amazon Kendra index.</p>"
        },
        "UserGroupResolutionConfiguration":{
          "shape":"UserGroupResolutionConfiguration",
          "documentation":"<p>Shows whether you have enabled the configuration for fetching access levels of groups and users from an AWS Single Sign-On identity source.</p>"
        }
      }
    },
    "DescribePrincipalMappingRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "GroupId"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index required to check the processing of <code>PUT</code> and <code>DELETE</code> actions for mapping users to their groups.</p>"
        },
        "DataSourceId":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source to check the processing of <code>PUT</code> and <code>DELETE</code> actions for mapping users to their groups.</p>"
        },
        "GroupId":{
          "shape":"GroupId",
          "documentation":"<p>The identifier of the group required to check the processing of <code>PUT</code> and <code>DELETE</code> actions for mapping users to their groups.</p>"
        }
      }
    },
    "DescribePrincipalMappingResponse":{
      "type":"structure",
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>Shows the identifier of the index to see information on the processing of <code>PUT</code> and <code>DELETE</code> actions for mapping users to their groups.</p>"
        },
        "DataSourceId":{
          "shape":"DataSourceId",
          "documentation":"<p>Shows the identifier of the data source to see information on the processing of <code>PUT</code> and <code>DELETE</code> actions for mapping users to their groups.</p>"
        },
        "GroupId":{
          "shape":"GroupId",
          "documentation":"<p>Shows the identifier of the group to see information on the processing of <code>PUT</code> and <code>DELETE</code> actions for mapping users to their groups.</p>"
        },
        "GroupOrderingIdSummaries":{
          "shape":"GroupOrderingIdSummaries",
          "documentation":"<p>Shows the following information on the processing of <code>PUT</code> and <code>DELETE</code> actions for mapping users to their groups:</p> <ul> <li> <p>Status – the status can be either <code>PROCESSING</code>, <code>SUCCEEDED</code>, <code>DELETING</code>, <code>DELETED</code>, or <code>FAILED</code>.</p> </li> <li> <p>Last updated – the last date-time an action was updated.</p> </li> <li> <p>Received – the last date-time an action was received or submitted.</p> </li> <li> <p>Ordering ID – the latest action that should process and apply after other actions.</p> </li> <li> <p>Failure reason – the reason an action could not be processed.</p> </li> </ul>"
        }
      }
    },
    "DescribeQuerySuggestionsBlockListRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "Id"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index for the block list.</p>"
        },
        "Id":{
          "shape":"QuerySuggestionsBlockListId",
          "documentation":"<p>The unique identifier of the block list.</p>"
        }
      }
    },
    "DescribeQuerySuggestionsBlockListResponse":{
      "type":"structure",
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>Shows the identifier of the index for the block list.</p>"
        },
        "Id":{
          "shape":"QuerySuggestionsBlockListId",
          "documentation":"<p>Shows the unique identifier of the block list.</p>"
        },
        "Name":{
          "shape":"QuerySuggestionsBlockListName",
          "documentation":"<p>Shows the name of the block list.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>Shows the description for the block list.</p>"
        },
        "Status":{
          "shape":"QuerySuggestionsBlockListStatus",
          "documentation":"<p>Shows whether the current status of the block list is <code>ACTIVE</code> or <code>INACTIVE</code>.</p>"
        },
        "ErrorMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>Shows the error message with details when there are issues in processing the block list.</p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>Shows the date-time a block list for query suggestions was created.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>Shows the date-time a block list for query suggestions was last updated.</p>"
        },
        "SourceS3Path":{
          "shape":"S3Path",
          "documentation":"<p>Shows the current S3 path to your block list text file in your S3 bucket.</p> <p>Each block word or phrase should be on a separate line in a text file.</p> <p>For information on the current quota limits for block lists, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas for Amazon Kendra</a>.</p>"
        },
        "ItemCount":{
          "shape":"Integer",
          "documentation":"<p>Shows the current number of valid, non-empty words or phrases in the block list text file.</p>"
        },
        "FileSizeBytes":{
          "shape":"Long",
          "documentation":"<p>Shows the current size of the block list text file in S3.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>Shows the current IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.</p> <p>The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.</p>"
        }
      }
    },
    "DescribeQuerySuggestionsConfigRequest":{
      "type":"structure",
      "required":["IndexId"],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index you want to describe query suggestions settings for.</p>"
        }
      }
    },
    "DescribeQuerySuggestionsConfigResponse":{
      "type":"structure",
      "members":{
        "Mode":{
          "shape":"Mode",
          "documentation":"<p>Shows whether query suggestions are currently in <code>ENABLED</code> mode or <code>LEARN_ONLY</code> mode.</p> <p>By default, Amazon Kendra enables query suggestions.<code>LEARN_ONLY</code> turns off query suggestions for your users. You can change the mode using the <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_UpdateQuerySuggestionsConfig.html\">UpdateQuerySuggestionsConfig</a> operation.</p>"
        },
        "Status":{
          "shape":"QuerySuggestionsStatus",
          "documentation":"<p>Shows whether the status of query suggestions settings is currently Active or Updating.</p> <p>Active means the current settings apply and Updating means your changed settings are in the process of applying.</p>"
        },
        "QueryLogLookBackWindowInDays":{
          "shape":"Integer",
          "documentation":"<p>Shows how recent your queries are in your query log time window (in days).</p>"
        },
        "IncludeQueriesWithoutUserInformation":{
          "shape":"ObjectBoolean",
          "documentation":"<p>Shows whether Amazon Kendra uses all queries or only uses queries that include user information to generate query suggestions.</p>"
        },
        "MinimumNumberOfQueryingUsers":{
          "shape":"MinimumNumberOfQueryingUsers",
          "documentation":"<p>Shows the minimum number of unique users who must search a query in order for the query to be eligible to suggest to your users.</p>"
        },
        "MinimumQueryCount":{
          "shape":"MinimumQueryCount",
          "documentation":"<p>Shows the minimum number of times a query must be searched in order for the query to be eligible to suggest to your users.</p>"
        },
        "LastSuggestionsBuildTime":{
          "shape":"Timestamp",
          "documentation":"<p>Shows the date-time query suggestions for an index was last updated.</p>"
        },
        "LastClearTime":{
          "shape":"Timestamp",
          "documentation":"<p>Shows the date-time query suggestions for an index was last cleared.</p> <p>After you clear suggestions, Amazon Kendra learns new suggestions based on new queries added to the query log from the time you cleared suggestions. Amazon Kendra only considers re-occurences of a query from the time you cleared suggestions. </p>"
        },
        "TotalSuggestionsCount":{
          "shape":"Integer",
          "documentation":"<p>Shows the current total count of query suggestions for an index.</p> <p>This count can change when you update your query suggestions settings, if you filter out certain queries from suggestions using a block list, and as the query log accumulates more queries for Amazon Kendra to learn from.</p>"
        }
      }
    },
    "DescribeThesaurusRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"ThesaurusId",
          "documentation":"<p>The identifier of the thesaurus to describe.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index associated with the thesaurus to describe.</p>"
        }
      }
    },
    "DescribeThesaurusResponse":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"ThesaurusId",
          "documentation":"<p>The identifier of the thesaurus.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index associated with the thesaurus to describe.</p>"
        },
        "Name":{
          "shape":"ThesaurusName",
          "documentation":"<p>The thesaurus name.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>The thesaurus description.</p>"
        },
        "Status":{
          "shape":"ThesaurusStatus",
          "documentation":"<p>The current status of the thesaurus. When the value is <code>ACTIVE</code>, queries are able to use the thesaurus. If the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field provides more information. </p> <p>If the status is <code>ACTIVE_BUT_UPDATE_FAILED</code>, it means that Amazon Kendra could not ingest the new thesaurus file. The old thesaurus file is still active. </p>"
        },
        "ErrorMessage":{
          "shape":"ErrorMessage",
          "documentation":"<p>When the <code>Status</code> field value is <code>FAILED</code>, the <code>ErrorMessage</code> field provides more information. </p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix datetime that the thesaurus was created.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix datetime that the thesaurus was last updated.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus file specified in <code>SourceS3Path</code>. </p>"
        },
        "SourceS3Path":{"shape":"S3Path"},
        "FileSizeBytes":{
          "shape":"Long",
          "documentation":"<p>The size of the thesaurus file in bytes.</p>"
        },
        "TermCount":{
          "shape":"Long",
          "documentation":"<p>The number of unique terms in the thesaurus file. For example, the synonyms <code>a,b,c</code> and <code>a=&gt;d</code>, the term count would be 4. </p>"
        },
        "SynonymRuleCount":{
          "shape":"Long",
          "documentation":"<p>The number of synonym rules in the thesaurus file.</p>"
        }
      }
    },
    "Description":{
      "type":"string",
      "max":1000,
      "min":0,
      "pattern":"^\\P{C}*$"
    },
    "Document":{
      "type":"structure",
      "required":["Id"],
      "members":{
        "Id":{
          "shape":"DocumentId",
          "documentation":"<p>A unique identifier of the document in the index.</p>"
        },
        "Title":{
          "shape":"Title",
          "documentation":"<p>The title of the document.</p>"
        },
        "Blob":{
          "shape":"Blob",
          "documentation":"<p>The contents of the document. </p> <p>Documents passed to the <code>Blob</code> parameter must be base64 encoded. Your code might not need to encode the document file bytes if you're using an Amazon Web Services SDK to call Amazon Kendra operations. If you are calling the Amazon Kendra endpoint directly using REST, you must base64 encode the contents before sending.</p>"
        },
        "S3Path":{"shape":"S3Path"},
        "Attributes":{
          "shape":"DocumentAttributeList",
          "documentation":"<p>Custom attributes to apply to the document. Use the custom attributes to provide additional information for searching, to provide facets for refining searches, and to provide additional information in the query response.</p>"
        },
        "AccessControlList":{
          "shape":"PrincipalList",
          "documentation":"<p>Information on user and group access rights, which is used for user context filtering.</p>"
        },
        "HierarchicalAccessControlList":{
          "shape":"HierarchicalPrincipalList",
          "documentation":"<p>The list of <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_Principal.html\">principal</a> lists that define the hierarchy for which documents users should have access to.</p>"
        },
        "ContentType":{
          "shape":"ContentType",
          "documentation":"<p>The file type of the document in the <code>Blob</code> field.</p>"
        }
      },
      "documentation":"<p>A document in an index.</p>"
    },
    "DocumentAttribute":{
      "type":"structure",
      "required":[
        "Key",
        "Value"
      ],
      "members":{
        "Key":{
          "shape":"DocumentAttributeKey",
          "documentation":"<p>The identifier for the attribute.</p>"
        },
        "Value":{
          "shape":"DocumentAttributeValue",
          "documentation":"<p>The value of the attribute.</p>"
        }
      },
      "documentation":"<p>A custom attribute value assigned to a document. </p>"
    },
    "DocumentAttributeKey":{
      "type":"string",
      "max":200,
      "min":1,
      "pattern":"[a-zA-Z0-9_][a-zA-Z0-9_-]*"
    },
    "DocumentAttributeKeyList":{
      "type":"list",
      "member":{"shape":"DocumentAttributeKey"},
      "max":100,
      "min":1
    },
    "DocumentAttributeList":{
      "type":"list",
      "member":{"shape":"DocumentAttribute"}
    },
    "DocumentAttributeStringListValue":{
      "type":"list",
      "member":{"shape":"String"}
    },
    "DocumentAttributeStringValue":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "DocumentAttributeValue":{
      "type":"structure",
      "members":{
        "StringValue":{
          "shape":"DocumentAttributeStringValue",
          "documentation":"<p>A string, such as \"department\".</p>"
        },
        "StringListValue":{
          "shape":"DocumentAttributeStringListValue",
          "documentation":"<p>A list of strings. </p>"
        },
        "LongValue":{
          "shape":"Long",
          "documentation":"<p>A long integer value.</p>"
        },
        "DateValue":{
          "shape":"Timestamp",
          "documentation":"<p>A date expressed as an ISO 8601 string.</p> <p>It is important for the time zone to be included in the ISO 8601 date-time format. For example, 20120325T123010+01:00 is the ISO 8601 date-time format for March 25th 2012 at 12:30PM (plus 10 seconds) in Central European Time.</p>"
        }
      },
      "documentation":"<p>The value of a custom document attribute. You can only provide one value for a custom attribute.</p>"
    },
    "DocumentAttributeValueCountPair":{
      "type":"structure",
      "members":{
        "DocumentAttributeValue":{
          "shape":"DocumentAttributeValue",
          "documentation":"<p>The value of the attribute. For example, \"HR.\"</p>"
        },
        "Count":{
          "shape":"Integer",
          "documentation":"<p>The number of documents in the response that have the attribute value for the key.</p>"
        }
      },
      "documentation":"<p>Provides the count of documents that match a particular attribute when doing a faceted search.</p>"
    },
    "DocumentAttributeValueCountPairList":{
      "type":"list",
      "member":{"shape":"DocumentAttributeValueCountPair"}
    },
    "DocumentAttributeValueType":{
      "type":"string",
      "enum":[
        "STRING_VALUE",
        "STRING_LIST_VALUE",
        "LONG_VALUE",
        "DATE_VALUE"
      ]
    },
    "DocumentId":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "DocumentIdList":{
      "type":"list",
      "member":{"shape":"DocumentId"},
      "max":10,
      "min":1
    },
    "DocumentInfo":{
      "type":"structure",
      "required":["DocumentId"],
      "members":{
        "DocumentId":{
          "shape":"DocumentId",
          "documentation":"<p>The unique identifier of the document.</p>"
        },
        "Attributes":{
          "shape":"DocumentAttributeList",
          "documentation":"<p>Attributes that identify a specific version of a document to check.</p> <p>The only valid attributes are:</p> <ul> <li> <p>version</p> </li> <li> <p>datasourceId</p> </li> <li> <p>jobExecutionId</p> </li> </ul> <p>The attributes follow these rules:</p> <ul> <li> <p> <code>dataSourceId</code> and <code>jobExecutionId</code> must be used together.</p> </li> <li> <p> <code>version</code> is ignored if <code>dataSourceId</code> and <code>jobExecutionId</code> are not provided.</p> </li> <li> <p>If <code>dataSourceId</code> and <code>jobExecutionId</code> are provided, but <code>version</code> is not, the version defaults to \"0\".</p> </li> </ul>"
        }
      },
      "documentation":"<p>Identifies a document for which to retrieve status information</p>"
    },
    "DocumentInfoList":{
      "type":"list",
      "member":{"shape":"DocumentInfo"},
      "max":10,
      "min":1
    },
    "DocumentList":{
      "type":"list",
      "member":{"shape":"Document"},
      "max":10,
      "min":1
    },
    "DocumentMetadataBoolean":{"type":"boolean"},
    "DocumentMetadataConfiguration":{
      "type":"structure",
      "required":[
        "Name",
        "Type"
      ],
      "members":{
        "Name":{
          "shape":"DocumentMetadataConfigurationName",
          "documentation":"<p>The name of the index field.</p>"
        },
        "Type":{
          "shape":"DocumentAttributeValueType",
          "documentation":"<p>The data type of the index field. </p>"
        },
        "Relevance":{
          "shape":"Relevance",
          "documentation":"<p>Provides manual tuning parameters to determine how the field affects the search results.</p>"
        },
        "Search":{
          "shape":"Search",
          "documentation":"<p>Provides information about how the field is used during a search.</p>"
        }
      },
      "documentation":"<p>Specifies the properties of a custom index field.</p>"
    },
    "DocumentMetadataConfigurationList":{
      "type":"list",
      "member":{"shape":"DocumentMetadataConfiguration"},
      "max":500,
      "min":0
    },
    "DocumentMetadataConfigurationName":{
      "type":"string",
      "max":30,
      "min":1
    },
    "DocumentRelevanceConfiguration":{
      "type":"structure",
      "required":[
        "Name",
        "Relevance"
      ],
      "members":{
        "Name":{
          "shape":"DocumentMetadataConfigurationName",
          "documentation":"<p>The name of the tuning configuration to override document relevance at the index level.</p>"
        },
        "Relevance":{"shape":"Relevance"}
      },
      "documentation":"<p>Overrides the document relevance properties of a custom index field.</p>"
    },
    "DocumentRelevanceOverrideConfigurationList":{
      "type":"list",
      "member":{"shape":"DocumentRelevanceConfiguration"},
      "max":500,
      "min":0
    },
    "DocumentStatus":{
      "type":"string",
      "enum":[
        "NOT_FOUND",
        "PROCESSING",
        "INDEXED",
        "UPDATED",
        "FAILED",
        "UPDATE_FAILED"
      ]
    },
    "DocumentStatusList":{
      "type":"list",
      "member":{"shape":"Status"}
    },
    "DocumentsMetadataConfiguration":{
      "type":"structure",
      "members":{
        "S3Prefix":{
          "shape":"S3ObjectKey",
          "documentation":"<p>A prefix used to filter metadata configuration files in the Amazon Web Services S3 bucket. The S3 bucket might contain multiple metadata files. Use <code>S3Prefix</code> to include only the desired metadata files.</p>"
        }
      },
      "documentation":"<p>Document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes. Each metadata file contains metadata about a single document.</p>"
    },
    "Duration":{
      "type":"string",
      "max":10,
      "min":1,
      "pattern":"[0-9]+[s]"
    },
    "ErrorCode":{
      "type":"string",
      "enum":[
        "InternalError",
        "InvalidRequest"
      ]
    },
    "ErrorMessage":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "ExcludeMimeTypesList":{
      "type":"list",
      "member":{"shape":"MimeType"},
      "max":30,
      "min":0
    },
    "ExcludeSharedDrivesList":{
      "type":"list",
      "member":{"shape":"SharedDriveId"},
      "max":100,
      "min":0
    },
    "ExcludeUserAccountsList":{
      "type":"list",
      "member":{"shape":"UserAccount"},
      "max":100,
      "min":0
    },
    "Facet":{
      "type":"structure",
      "members":{
        "DocumentAttributeKey":{
          "shape":"DocumentAttributeKey",
          "documentation":"<p>The unique key for the document attribute.</p>"
        }
      },
      "documentation":"<p>Information about a document attribute</p>"
    },
    "FacetList":{
      "type":"list",
      "member":{"shape":"Facet"}
    },
    "FacetResult":{
      "type":"structure",
      "members":{
        "DocumentAttributeKey":{
          "shape":"DocumentAttributeKey",
          "documentation":"<p>The key for the facet values. This is the same as the <code>DocumentAttributeKey</code> provided in the query.</p>"
        },
        "DocumentAttributeValueType":{
          "shape":"DocumentAttributeValueType",
          "documentation":"<p>The data type of the facet value. This is the same as the type defined for the index field when it was created.</p>"
        },
        "DocumentAttributeValueCountPairs":{
          "shape":"DocumentAttributeValueCountPairList",
          "documentation":"<p>An array of key/value pairs, where the key is the value of the attribute and the count is the number of documents that share the key value.</p>"
        }
      },
      "documentation":"<p>The facet values for the documents in the response.</p>"
    },
    "FacetResultList":{
      "type":"list",
      "member":{"shape":"FacetResult"}
    },
    "FailureReason":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "FaqFileFormat":{
      "type":"string",
      "enum":[
        "CSV",
        "CSV_WITH_HEADER",
        "JSON"
      ]
    },
    "FaqId":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
    },
    "FaqName":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
    },
    "FaqStatistics":{
      "type":"structure",
      "required":["IndexedQuestionAnswersCount"],
      "members":{
        "IndexedQuestionAnswersCount":{
          "shape":"IndexedQuestionAnswersCount",
          "documentation":"<p>The total number of FAQ questions and answers contained in the index.</p>"
        }
      },
      "documentation":"<p>Provides statistical information about the FAQ questions and answers contained in an index.</p>"
    },
    "FaqStatus":{
      "type":"string",
      "enum":[
        "CREATING",
        "UPDATING",
        "ACTIVE",
        "DELETING",
        "FAILED"
      ]
    },
    "FaqSummary":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"FaqId",
          "documentation":"<p>The unique identifier of the FAQ.</p>"
        },
        "Name":{
          "shape":"FaqName",
          "documentation":"<p>The name that you assigned the FAQ when you created or updated the FAQ.</p>"
        },
        "Status":{
          "shape":"FaqStatus",
          "documentation":"<p>The current status of the FAQ. When the status is <code>ACTIVE</code> the FAQ is ready for use.</p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The UNIX datetime that the FAQ was added to the index.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The UNIX datetime that the FAQ was last updated.</p>"
        },
        "FileFormat":{
          "shape":"FaqFileFormat",
          "documentation":"<p>The file type used to create the FAQ. </p>"
        },
        "LanguageCode":{
          "shape":"LanguageCode",
          "documentation":"<p>The code for a language. This shows a supported language for the FAQ document as part of the summary information for FAQs. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
        }
      },
      "documentation":"<p>Provides information about a frequently asked questions and answer contained in an index.</p>"
    },
    "FaqSummaryItems":{
      "type":"list",
      "member":{"shape":"FaqSummary"}
    },
    "FeedbackToken":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"^\\P{C}*.\\P{C}*$"
    },
    "GetQuerySuggestionsRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "QueryText"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index you want to get query suggestions from.</p>"
        },
        "QueryText":{
          "shape":"SuggestionQueryText",
          "documentation":"<p>The text of a user's query to generate query suggestions.</p> <p>A query is suggested if the query prefix matches what a user starts to type as their query.</p> <p>Amazon Kendra does not show any suggestions if a user types fewer than two characters or more than 60 characters. A query must also have at least one search result and contain at least one word of more than four characters.</p>"
        },
        "MaxSuggestionsCount":{
          "shape":"Integer",
          "documentation":"<p>The maximum number of query suggestions you want to show to your users.</p>"
        }
      }
    },
    "GetQuerySuggestionsResponse":{
      "type":"structure",
      "members":{
        "QuerySuggestionsId":{
          "shape":"QuerySuggestionsId",
          "documentation":"<p>The unique identifier for a list of query suggestions for an index.</p>"
        },
        "Suggestions":{
          "shape":"SuggestionList",
          "documentation":"<p>A list of query suggestions for an index.</p>"
        }
      }
    },
    "GoogleDriveConfiguration":{
      "type":"structure",
      "required":["SecretArn"],
      "members":{
        "SecretArn":{
          "shape":"SecretArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of a Secrets Managersecret that contains the credentials required to connect to Google Drive. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html\">Using a Google Workspace Drive data source</a>.</p>"
        },
        "InclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns that apply to path on Google Drive. Items that match the pattern are included in the index from both shared drives and users' My Drives. Items that don't match the pattern are excluded from the index. If an item matches both an inclusion pattern and an exclusion pattern, it is excluded from the index.</p>"
        },
        "ExclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns that apply to the path on Google Drive. Items that match the pattern are excluded from the index from both shared drives and users' My Drives. Items that don't match the pattern are included in the index. If an item matches both an exclusion pattern and an inclusion pattern, it is excluded from the index.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>Defines mapping between a field in the Google Drive and a Amazon Kendra index field.</p> <p>If you are using the console, you can define index fields when creating the mapping. If you are using the API, you must first create the field using the <code>UpdateIndex</code> operation.</p>"
        },
        "ExcludeMimeTypes":{
          "shape":"ExcludeMimeTypesList",
          "documentation":"<p>A list of MIME types to exclude from the index. All documents matching the specified MIME type are excluded. </p> <p>For a list of MIME types, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-google-drive.html\">Using a Google Workspace Drive data source</a>.</p>"
        },
        "ExcludeUserAccounts":{
          "shape":"ExcludeUserAccountsList",
          "documentation":"<p>A list of email addresses of the users. Documents owned by these users are excluded from the index. Documents shared with excluded users are indexed unless they are excluded in another way.</p>"
        },
        "ExcludeSharedDrives":{
          "shape":"ExcludeSharedDrivesList",
          "documentation":"<p>A list of identifiers or shared drives to exclude from the index. All files and folders stored on the shared drive are excluded.</p>"
        }
      },
      "documentation":"<p>Provides configuration information for data sources that connect to Google Drive.</p>"
    },
    "GroupAttributeField":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "GroupId":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "GroupMembers":{
      "type":"structure",
      "members":{
        "MemberGroups":{
          "shape":"MemberGroups",
          "documentation":"<p>A list of sub groups that belong to a group. For example, the sub groups \"Research\", \"Engineering\", and \"Sales and Marketing\" all belong to the group \"Company\".</p>"
        },
        "MemberUsers":{
          "shape":"MemberUsers",
          "documentation":"<p>A list of users that belong to a group. For example, a list of interns all belong to the \"Interns\" group.</p>"
        },
        "S3PathforGroupMembers":{
          "shape":"S3Path",
          "documentation":"<p>If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.</p> <p>You can download this <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/samples/group_members.zip\">example S3 file</a> that uses the correct format for listing group members. Note, <code>dataSourceId</code> is optional. The value of <code>type</code> for a group is always <code>GROUP</code> and for a user it is always <code>USER</code>.</p>"
        }
      },
      "documentation":"<p>A list of users or sub groups that belong to a group. Users and groups are useful for filtering search results to different users based on their group's access to documents.</p>"
    },
    "GroupOrderingIdSummaries":{
      "type":"list",
      "member":{"shape":"GroupOrderingIdSummary"},
      "max":10
    },
    "GroupOrderingIdSummary":{
      "type":"structure",
      "members":{
        "Status":{
          "shape":"PrincipalMappingStatus",
          "documentation":"<p>The current processing status of actions for mapping users to their groups. The status can be either <code>PROCESSING</code>, <code>SUCCEEDED</code>, <code>DELETING</code>, <code>DELETED</code>, or <code>FAILED</code>.</p>"
        },
        "LastUpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The last date-time an action was updated. An action can be a <code>PUT</code> or <code>DELETE</code> action for mapping users to their groups.</p>"
        },
        "ReceivedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date-time an action was received by Amazon Kendra. An action can be a <code>PUT</code> or <code>DELETE</code> action for mapping users to their groups.</p>"
        },
        "OrderingId":{
          "shape":"PrincipalOrderingId",
          "documentation":"<p>The order in which actions should complete processing. An action can be a <code>PUT</code> or <code>DELETE</code> action for mapping users to their groups.</p>"
        },
        "FailureReason":{
          "shape":"FailureReason",
          "documentation":"<p>The reason an action could not be processed. An action can be a <code>PUT</code> or <code>DELETE</code> action for mapping users to their groups.</p>"
        }
      },
      "documentation":"<p>Information on the processing of <code>PUT</code> and <code>DELETE</code> actions for mapping users to their groups.</p>"
    },
    "GroupSummary":{
      "type":"structure",
      "members":{
        "GroupId":{
          "shape":"GroupId",
          "documentation":"<p> The identifier of the group you want group summary information on. </p>"
        },
        "OrderingId":{
          "shape":"PrincipalOrderingId",
          "documentation":"<p> The timestamp identifier used for the latest <code>PUT</code> or <code>DELETE</code> action. </p>"
        }
      },
      "documentation":"<p> Group summary information. </p>"
    },
    "Groups":{
      "type":"list",
      "member":{"shape":"PrincipalName"},
      "max":2048,
      "min":1
    },
    "HierarchicalPrincipal":{
      "type":"structure",
      "required":["PrincipalList"],
      "members":{
        "PrincipalList":{
          "shape":"PrincipalList",
          "documentation":"<p>A list of <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_Principal.html\">principal</a> lists that define the hierarchy for which documents users should have access to. Each hierarchical list specifies which user or group has allow or deny access for each document.</p>"
        }
      },
      "documentation":"<p> Information to define the hierarchy for which documents users should have access to. </p>"
    },
    "HierarchicalPrincipalList":{
      "type":"list",
      "member":{"shape":"HierarchicalPrincipal"},
      "documentation":"<p>A list of <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_Principal.html\">principal</a> lists that define the hierarchy for which documents users should have access to. Each hierarchical list specifies which user or group has allow or deny access for each document.</p>",
      "max":30,
      "min":1
    },
    "Highlight":{
      "type":"structure",
      "required":[
        "BeginOffset",
        "EndOffset"
      ],
      "members":{
        "BeginOffset":{
          "shape":"Integer",
          "documentation":"<p>The zero-based location in the response string where the highlight starts.</p>"
        },
        "EndOffset":{
          "shape":"Integer",
          "documentation":"<p>The zero-based location in the response string where the highlight ends.</p>"
        },
        "TopAnswer":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether the response is the best response. True if this is the best response; otherwise, false.</p>"
        },
        "Type":{
          "shape":"HighlightType",
          "documentation":"<p>The highlight type. </p>"
        }
      },
      "documentation":"<p>Provides information that you can use to highlight a search result so that your users can quickly identify terms in the response.</p>"
    },
    "HighlightList":{
      "type":"list",
      "member":{"shape":"Highlight"}
    },
    "HighlightType":{
      "type":"string",
      "enum":[
        "STANDARD",
        "THESAURUS_SYNONYM"
      ]
    },
    "Host":{
      "type":"string",
      "max":253,
      "min":1,
      "pattern":"([^\\s]*)"
    },
    "Importance":{
      "type":"integer",
      "max":10,
      "min":1
    },
    "IndexConfigurationSummary":{
      "type":"structure",
      "required":[
        "CreatedAt",
        "UpdatedAt",
        "Status"
      ],
      "members":{
        "Name":{
          "shape":"IndexName",
          "documentation":"<p>The name of the index.</p>"
        },
        "Id":{
          "shape":"IndexId",
          "documentation":"<p>A unique identifier for the index. Use this to identify the index when you are using operations such as <code>Query</code>, <code>DescribeIndex</code>, <code>UpdateIndex</code>, and <code>DeleteIndex</code>.</p>"
        },
        "Edition":{
          "shape":"IndexEdition",
          "documentation":"<p>Indicates whether the index is a enterprise edition index or a developer edition index. </p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix timestamp when the index was created.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix timestamp when the index was last updated by the <code>UpdateIndex</code> operation.</p>"
        },
        "Status":{
          "shape":"IndexStatus",
          "documentation":"<p>The current status of the index. When the status is <code>ACTIVE</code>, the index is ready to search.</p>"
        }
      },
      "documentation":"<p>A summary of information about an index.</p>"
    },
    "IndexConfigurationSummaryList":{
      "type":"list",
      "member":{"shape":"IndexConfigurationSummary"}
    },
    "IndexEdition":{
      "type":"string",
      "enum":[
        "DEVELOPER_EDITION",
        "ENTERPRISE_EDITION"
      ]
    },
    "IndexFieldName":{
      "type":"string",
      "max":30,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "IndexId":{
      "type":"string",
      "max":36,
      "min":36,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9-]*"
    },
    "IndexName":{
      "type":"string",
      "max":1000,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
    },
    "IndexStatistics":{
      "type":"structure",
      "required":[
        "FaqStatistics",
        "TextDocumentStatistics"
      ],
      "members":{
        "FaqStatistics":{
          "shape":"FaqStatistics",
          "documentation":"<p>The number of question and answer topics in the index.</p>"
        },
        "TextDocumentStatistics":{
          "shape":"TextDocumentStatistics",
          "documentation":"<p>The number of text documents indexed.</p>"
        }
      },
      "documentation":"<p>Provides information about the number of documents and the number of questions and answers in an index.</p>"
    },
    "IndexStatus":{
      "type":"string",
      "enum":[
        "CREATING",
        "ACTIVE",
        "DELETING",
        "FAILED",
        "UPDATING",
        "SYSTEM_UPDATING"
      ]
    },
    "IndexedQuestionAnswersCount":{
      "type":"integer",
      "min":0
    },
    "IndexedTextBytes":{
      "type":"long",
      "min":0
    },
    "IndexedTextDocumentsCount":{
      "type":"integer",
      "min":0
    },
    "Integer":{"type":"integer"},
    "InternalServerException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true,
      "fault":true
    },
    "Issuer":{
      "type":"string",
      "max":65,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "JsonTokenTypeConfiguration":{
      "type":"structure",
      "required":[
        "UserNameAttributeField",
        "GroupAttributeField"
      ],
      "members":{
        "UserNameAttributeField":{
          "shape":"String",
          "documentation":"<p>The user name attribute field.</p>"
        },
        "GroupAttributeField":{
          "shape":"String",
          "documentation":"<p>The group attribute field.</p>"
        }
      },
      "documentation":"<p>Configuration information for the JSON token type.</p>"
    },
    "JwtTokenTypeConfiguration":{
      "type":"structure",
      "required":["KeyLocation"],
      "members":{
        "KeyLocation":{
          "shape":"KeyLocation",
          "documentation":"<p>The location of the key.</p>"
        },
        "URL":{
          "shape":"Url",
          "documentation":"<p>The signing key URL.</p>"
        },
        "SecretManagerArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (arn) of the secret.</p>"
        },
        "UserNameAttributeField":{
          "shape":"UserNameAttributeField",
          "documentation":"<p>The user name attribute field.</p>"
        },
        "GroupAttributeField":{
          "shape":"GroupAttributeField",
          "documentation":"<p>The group attribute field.</p>"
        },
        "Issuer":{
          "shape":"Issuer",
          "documentation":"<p>The issuer of the token.</p>"
        },
        "ClaimRegex":{
          "shape":"ClaimRegex",
          "documentation":"<p>The regular expression that identifies the claim.</p>"
        }
      },
      "documentation":"<p>Configuration information for the JWT token type.</p>"
    },
    "KeyLocation":{
      "type":"string",
      "enum":[
        "URL",
        "SECRET_MANAGER"
      ]
    },
    "KmsKeyId":{
      "type":"string",
      "max":2048,
      "min":1,
      "sensitive":true
    },
    "LanguageCode":{
      "type":"string",
      "documentation":"<p>The code for a language. The default language is English. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>",
      "max":10,
      "min":2,
      "pattern":"[a-zA-Z-]*"
    },
    "ListDataSourceSyncJobsRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the data source.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of jobs.</p>"
        },
        "MaxResults":{
          "shape":"MaxResultsIntegerForListDataSourceSyncJobsRequest",
          "documentation":"<p>The maximum number of synchronization jobs to return in the response. If there are fewer results in the list, this response contains only the actual results.</p>"
        },
        "StartTimeFilter":{
          "shape":"TimeRange",
          "documentation":"<p>When specified, the synchronization jobs returned in the list are limited to jobs between the specified dates. </p>"
        },
        "StatusFilter":{
          "shape":"DataSourceSyncJobStatus",
          "documentation":"<p>When specified, only returns synchronization jobs with the <code>Status</code> field equal to the specified status.</p>"
        }
      }
    },
    "ListDataSourceSyncJobsResponse":{
      "type":"structure",
      "members":{
        "History":{
          "shape":"DataSourceSyncJobHistoryList",
          "documentation":"<p>A history of synchronization jobs for the data source.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs.</p>"
        }
      }
    },
    "ListDataSourcesRequest":{
      "type":"structure",
      "required":["IndexId"],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the data source.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of data sources (<code>DataSourceSummaryItems</code>). </p>"
        },
        "MaxResults":{
          "shape":"MaxResultsIntegerForListDataSourcesRequest",
          "documentation":"<p>The maximum number of data sources to return.</p>"
        }
      }
    },
    "ListDataSourcesResponse":{
      "type":"structure",
      "members":{
        "SummaryItems":{
          "shape":"DataSourceSummaryList",
          "documentation":"<p>An array of summary information for one or more data sources.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of data sources. </p>"
        }
      }
    },
    "ListFaqsRequest":{
      "type":"structure",
      "required":["IndexId"],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The index that contains the FAQ lists.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of FAQs.</p>"
        },
        "MaxResults":{
          "shape":"MaxResultsIntegerForListFaqsRequest",
          "documentation":"<p>The maximum number of FAQs to return in the response. If there are fewer results in the list, this response contains only the actual results.</p>"
        }
      }
    },
    "ListFaqsResponse":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of FAQs.</p>"
        },
        "FaqSummaryItems":{
          "shape":"FaqSummaryItems",
          "documentation":"<p>information about the FAQs associated with the specified index.</p>"
        }
      }
    },
    "ListGroupsOlderThanOrderingIdRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "OrderingId"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index for getting a list of groups mapped to users before a given ordering or timestamp identifier.</p>"
        },
        "DataSourceId":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source for getting a list of groups mapped to users before a given ordering timestamp identifier.</p>"
        },
        "OrderingId":{
          "shape":"PrincipalOrderingId",
          "documentation":"<p>The timestamp identifier used for the latest <code>PUT</code> or <code>DELETE</code> action for mapping users to their groups.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p> If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of groups that are mapped to users before a given ordering or timestamp identifier. </p>"
        },
        "MaxResults":{
          "shape":"MaxResultsIntegerForListPrincipalsRequest",
          "documentation":"<p> The maximum number of returned groups that are mapped to users before a given ordering or timestamp identifier. </p>"
        }
      }
    },
    "ListGroupsOlderThanOrderingIdResponse":{
      "type":"structure",
      "members":{
        "GroupsSummaries":{
          "shape":"ListOfGroupSummaries",
          "documentation":"<p> Summary information for list of groups that are mapped to users before a given ordering or timestamp identifier. </p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p> If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of groups that are mapped to users before a given ordering or timestamp identifier. </p>"
        }
      }
    },
    "ListIndicesRequest":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of indexes (<code>DataSourceSummaryItems</code>). </p>"
        },
        "MaxResults":{
          "shape":"MaxResultsIntegerForListIndicesRequest",
          "documentation":"<p>The maximum number of data sources to return.</p>"
        }
      }
    },
    "ListIndicesResponse":{
      "type":"structure",
      "members":{
        "IndexConfigurationSummaryItems":{
          "shape":"IndexConfigurationSummaryList",
          "documentation":"<p>An array of summary information for one or more indexes.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of indexes.</p>"
        }
      }
    },
    "ListOfGroupSummaries":{
      "type":"list",
      "member":{"shape":"GroupSummary"}
    },
    "ListQuerySuggestionsBlockListsRequest":{
      "type":"structure",
      "required":["IndexId"],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index for a list of all block lists that exist for that index.</p> <p>For information on the current quota limits for block lists, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas for Amazon Kendra</a>.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of block lists (<code>BlockListSummaryItems</code>).</p>"
        },
        "MaxResults":{
          "shape":"MaxResultsIntegerForListQuerySuggestionsBlockLists",
          "documentation":"<p>The maximum number of block lists to return.</p>"
        }
      }
    },
    "ListQuerySuggestionsBlockListsResponse":{
      "type":"structure",
      "members":{
        "BlockListSummaryItems":{
          "shape":"QuerySuggestionsBlockListSummaryItems",
          "documentation":"<p>Summary items for a block list.</p> <p>This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.</p> <p>For information on the current quota limits for block lists, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas for Amazon Kendra</a>.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of block lists.</p>"
        }
      }
    },
    "ListTagsForResourceRequest":{
      "type":"structure",
      "required":["ResourceARN"],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The Amazon Resource Name (ARN) of the index, FAQ, or data source to get a list of tags for.</p>"
        }
      }
    },
    "ListTagsForResourceResponse":{
      "type":"structure",
      "members":{
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of tags associated with the index, FAQ, or data source.</p>"
        }
      }
    },
    "ListThesauriRequest":{
      "type":"structure",
      "required":["IndexId"],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index associated with the thesaurus to list.</p>"
        },
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of thesauri (<code>ThesaurusSummaryItems</code>). </p>"
        },
        "MaxResults":{
          "shape":"MaxResultsIntegerForListThesauriRequest",
          "documentation":"<p>The maximum number of thesauri to return.</p>"
        }
      }
    },
    "ListThesauriResponse":{
      "type":"structure",
      "members":{
        "NextToken":{
          "shape":"NextToken",
          "documentation":"<p>If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of thesauri. </p>"
        },
        "ThesaurusSummaryItems":{
          "shape":"ThesaurusSummaryItems",
          "documentation":"<p>An array of summary information for a thesaurus or multiple thesauri.</p>"
        }
      }
    },
    "Long":{"type":"long"},
    "MaxContentSizePerPageInMegaBytes":{
      "type":"float",
      "max":50,
      "min":1.0e-06
    },
    "MaxLinksPerPage":{
      "type":"integer",
      "max":1000,
      "min":1
    },
    "MaxResultsIntegerForListDataSourceSyncJobsRequest":{
      "type":"integer",
      "max":10,
      "min":1
    },
    "MaxResultsIntegerForListDataSourcesRequest":{
      "type":"integer",
      "max":100,
      "min":1
    },
    "MaxResultsIntegerForListFaqsRequest":{
      "type":"integer",
      "max":100,
      "min":1
    },
    "MaxResultsIntegerForListIndicesRequest":{
      "type":"integer",
      "max":100,
      "min":1
    },
    "MaxResultsIntegerForListPrincipalsRequest":{
      "type":"integer",
      "max":10,
      "min":1
    },
    "MaxResultsIntegerForListQuerySuggestionsBlockLists":{
      "type":"integer",
      "max":100,
      "min":1
    },
    "MaxResultsIntegerForListThesauriRequest":{
      "type":"integer",
      "max":100,
      "min":1
    },
    "MaxUrlsPerMinuteCrawlRate":{
      "type":"integer",
      "max":300,
      "min":1
    },
    "MemberGroup":{
      "type":"structure",
      "required":["GroupId"],
      "members":{
        "GroupId":{
          "shape":"GroupId",
          "documentation":"<p>The identifier of the sub group you want to map to a group.</p>"
        },
        "DataSourceId":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source for the sub group you want to map to a group.</p>"
        }
      },
      "documentation":"<p>The sub groups that belong to a group.</p>"
    },
    "MemberGroups":{
      "type":"list",
      "member":{"shape":"MemberGroup"},
      "max":1000,
      "min":1
    },
    "MemberUser":{
      "type":"structure",
      "required":["UserId"],
      "members":{
        "UserId":{
          "shape":"UserId",
          "documentation":"<p>The identifier of the user you want to map to a group.</p>"
        }
      },
      "documentation":"<p>The users that belong to a group.</p>"
    },
    "MemberUsers":{
      "type":"list",
      "member":{"shape":"MemberUser"},
      "max":1000,
      "min":1
    },
    "MetricValue":{
      "type":"string",
      "pattern":"(([1-9][0-9]*)|0)"
    },
    "MimeType":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "MinimumNumberOfQueryingUsers":{
      "type":"integer",
      "max":10000,
      "min":1
    },
    "MinimumQueryCount":{
      "type":"integer",
      "max":10000,
      "min":1
    },
    "Mode":{
      "type":"string",
      "enum":[
        "ENABLED",
        "LEARN_ONLY"
      ]
    },
    "NextToken":{
      "type":"string",
      "max":800,
      "min":1
    },
    "ObjectBoolean":{"type":"boolean"},
    "OneDriveConfiguration":{
      "type":"structure",
      "required":[
        "TenantDomain",
        "SecretArn",
        "OneDriveUsers"
      ],
      "members":{
        "TenantDomain":{
          "shape":"TenantDomain",
          "documentation":"<p>The Azure Active Directory domain of the organization. </p>"
        },
        "SecretArn":{
          "shape":"SecretArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the user name and password to connect to OneDrive. The user namd should be the application ID for the OneDrive application, and the password is the application key for the OneDrive application.</p>"
        },
        "OneDriveUsers":{
          "shape":"OneDriveUsers",
          "documentation":"<p>A list of user accounts whose documents should be indexed.</p>"
        },
        "InclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns. Documents that match the pattern are included in the index. Documents that don't match the pattern are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index. </p> <p>The exclusion pattern is applied to the file name.</p>"
        },
        "ExclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>List of regular expressions applied to documents. Items that match the exclusion pattern are not indexed. If you provide both an inclusion pattern and an exclusion pattern, any item that matches the exclusion pattern isn't indexed. </p> <p>The exclusion pattern is applied to the file name.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map Microsoft OneDrive fields to custom fields in the Amazon Kendra index. You must first create the index fields before you map OneDrive fields.</p>"
        },
        "DisableLocalGroups":{
          "shape":"Boolean",
          "documentation":"<p>A Boolean value that specifies whether local groups are disabled (<code>True</code>) or enabled (<code>False</code>). </p>"
        }
      },
      "documentation":"<p>Provides configuration information for data sources that connect to OneDrive.</p>"
    },
    "OneDriveUser":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"^(?!\\s).+@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$"
    },
    "OneDriveUserList":{
      "type":"list",
      "member":{"shape":"OneDriveUser"},
      "max":100,
      "min":1
    },
    "OneDriveUsers":{
      "type":"structure",
      "members":{
        "OneDriveUserList":{
          "shape":"OneDriveUserList",
          "documentation":"<p>A list of users whose documents should be indexed. Specify the user names in email format, for example, <code>username@tenantdomain</code>. If you need to index the documents of more than 100 users, use the <code>OneDriveUserS3Path</code> field to specify the location of a file containing a list of users.</p>"
        },
        "OneDriveUserS3Path":{
          "shape":"S3Path",
          "documentation":"<p>The S3 bucket location of a file containing a list of users whose documents should be indexed.</p>"
        }
      },
      "documentation":"<p>User accounts whose documents should be indexed.</p>"
    },
    "Order":{
      "type":"string",
      "enum":[
        "ASCENDING",
        "DESCENDING"
      ]
    },
    "OrganizationId":{
      "type":"string",
      "max":12,
      "min":12,
      "pattern":"d-[0-9a-fA-F]{10}"
    },
    "Port":{
      "type":"integer",
      "max":65535,
      "min":1
    },
    "Principal":{
      "type":"structure",
      "required":[
        "Name",
        "Type",
        "Access"
      ],
      "members":{
        "Name":{
          "shape":"PrincipalName",
          "documentation":"<p>The name of the user or group.</p>"
        },
        "Type":{
          "shape":"PrincipalType",
          "documentation":"<p>The type of principal.</p>"
        },
        "Access":{
          "shape":"ReadAccessType",
          "documentation":"<p>Whether to allow or deny access to the principal.</p>"
        },
        "DataSourceId":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source the principal should access documents from.</p>"
        }
      },
      "documentation":"<p>Provides user and group information for document access filtering.</p>"
    },
    "PrincipalList":{
      "type":"list",
      "member":{"shape":"Principal"}
    },
    "PrincipalMappingStatus":{
      "type":"string",
      "enum":[
        "FAILED",
        "SUCCEEDED",
        "PROCESSING",
        "DELETING",
        "DELETED"
      ]
    },
    "PrincipalName":{
      "type":"string",
      "max":200,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "PrincipalOrderingId":{
      "type":"long",
      "max":32535158400000,
      "min":0
    },
    "PrincipalType":{
      "type":"string",
      "enum":[
        "USER",
        "GROUP"
      ]
    },
    "ProxyConfiguration":{
      "type":"structure",
      "required":[
        "Host",
        "Port"
      ],
      "members":{
        "Host":{
          "shape":"Host",
          "documentation":"<p>The name of the website host you want to connect to via a web proxy server.</p> <p>For example, the host name of https://a.example.com/page1.html is \"a.example.com\".</p>"
        },
        "Port":{
          "shape":"Port",
          "documentation":"<p>The port number of the website host you want to connect to via a web proxy server. </p> <p>For example, the port for https://a.example.com/page1.html is 443, the standard port for HTTPS.</p>"
        },
        "Credentials":{
          "shape":"SecretArn",
          "documentation":"<p>Your secret ARN, which you can create in <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\">AWS Secrets Manager</a> </p> <p>The credentials are optional. You use a secret if web proxy credentials are required to connect to a website host. Amazon Kendra currently support basic authentication to connect to a web proxy server. The secret stores your credentials.</p>"
        }
      },
      "documentation":"<p>Provides the configuration information for a web proxy to connect to website hosts.</p>"
    },
    "PutPrincipalMappingRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "GroupId",
        "GroupMembers"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index you want to map users to their groups.</p>"
        },
        "DataSourceId":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source you want to map users to their groups.</p> <p>This is useful if a group is tied to multiple data sources, but you only want the group to access documents of a certain data source. For example, the groups \"Research\", \"Engineering\", and \"Sales and Marketing\" are all tied to the company's documents stored in the data sources Confluence and Salesforce. However, \"Sales and Marketing\" team only needs access to customer-related documents stored in Salesforce.</p>"
        },
        "GroupId":{
          "shape":"GroupId",
          "documentation":"<p>The identifier of the group you want to map its users to.</p>"
        },
        "GroupMembers":{
          "shape":"GroupMembers",
          "documentation":"<p>The list that contains your users or sub groups that belong the same group.</p> <p>For example, the group \"Company\" includes the user \"CEO\" and the sub groups \"Research\", \"Engineering\", and \"Sales and Marketing\".</p> <p>If you have more than 1000 users and/or sub groups for a single group, you need to provide the path to the S3 file that lists your users and sub groups for a group. Your sub groups can contain more than 1000 users, but the list of sub groups that belong to a group (and/or users) must be no more than 1000.</p>"
        },
        "OrderingId":{
          "shape":"PrincipalOrderingId",
          "documentation":"<p>The timestamp identifier you specify to ensure Amazon Kendra does not override the latest <code>PUT</code> action with previous actions. The highest number ID, which is the ordering ID, is the latest action you want to process and apply on top of other actions with lower number IDs. This prevents previous actions with lower number IDs from possibly overriding the latest action.</p> <p>The ordering ID can be the UNIX time of the last update you made to a group members list. You would then provide this list when calling <code>PutPrincipalMapping</code>. This ensures your <code>PUT</code> action for that updated group with the latest members list doesn't get overwritten by earlier <code>PUT</code> actions for the same group which are yet to be processed.</p> <p>The default ordering ID is the current UNIX time in milliseconds that the action was received by Amazon Kendra.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of a role that has access to the S3 file that contains your list of users or sub groups that belong to a group.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html#iam-roles-ds\">IAM roles for Amazon Kendra</a>.</p>"
        }
      }
    },
    "QueryCapacityUnit":{
      "type":"integer",
      "min":0
    },
    "QueryId":{
      "type":"string",
      "max":36,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9-]*"
    },
    "QueryIdentifiersEnclosingOption":{
      "type":"string",
      "enum":[
        "DOUBLE_QUOTES",
        "NONE"
      ]
    },
    "QueryRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "QueryText"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The unique identifier of the index to search. The identifier is returned in the response from the <code>CreateIndex</code> operation.</p>"
        },
        "QueryText":{
          "shape":"QueryText",
          "documentation":"<p>The text to search for.</p>"
        },
        "AttributeFilter":{
          "shape":"AttributeFilter",
          "documentation":"<p>Enables filtered searches based on document attributes. You can only provide one attribute filter; however, the <code>AndAllFilters</code>, <code>NotFilter</code>, and <code>OrAllFilters</code> parameters contain a list of other filters.</p> <p>The <code>AttributeFilter</code> parameter enables you to create a set of filtering rules that a document must satisfy to be included in the query results.</p>"
        },
        "Facets":{
          "shape":"FacetList",
          "documentation":"<p>An array of documents attributes. Amazon Kendra returns a count for each attribute key specified. You can use this information to help narrow the search for your user.</p>"
        },
        "RequestedDocumentAttributes":{
          "shape":"DocumentAttributeKeyList",
          "documentation":"<p>An array of document attributes to include in the response. No other document attributes are included in the response. By default all document attributes are included in the response. </p>"
        },
        "QueryResultTypeFilter":{
          "shape":"QueryResultType",
          "documentation":"<p>Sets the type of query. Only results for the specified query type are returned.</p>"
        },
        "DocumentRelevanceOverrideConfigurations":{
          "shape":"DocumentRelevanceOverrideConfigurationList",
          "documentation":"<p>Overrides relevance tuning configurations of fields or attributes set at the index level.</p> <p>If you use this API to override the relevance tuning configured at the index level, but there is no relevance tuning configured at the index level, then Amazon Kendra does not apply any relevance tuning.</p> <p>If there is relevance tuning configured at the index level, but you do not use this API to override any relevance tuning in the index, then Amazon Kendra uses the relevance tuning that is configured at the index level.</p> <p>If there is relevance tuning configured for fields at the index level, but you use this API to override only some of these fields, then for the fields you did not override, the importance is set to 1.</p>"
        },
        "PageNumber":{
          "shape":"Integer",
          "documentation":"<p>Query results are returned in pages the size of the <code>PageSize</code> parameter. By default, Amazon Kendra returns the first page of results. Use this parameter to get result pages after the first one.</p>"
        },
        "PageSize":{
          "shape":"Integer",
          "documentation":"<p>Sets the number of results that are returned in each page of results. The default page size is 10. The maximum number of results returned is 100. If you ask for more than 100 results, only 100 are returned.</p>"
        },
        "SortingConfiguration":{
          "shape":"SortingConfiguration",
          "documentation":"<p>Provides information that determines how the results of the query are sorted. You can set the field that Amazon Kendra should sort the results on, and specify whether the results should be sorted in ascending or descending order. In the case of ties in sorting the results, the results are sorted by relevance.</p> <p>If you don't provide sorting configuration, the results are sorted by the relevance that Amazon Kendra determines for the result.</p>"
        },
        "UserContext":{
          "shape":"UserContext",
          "documentation":"<p>The user context token or user and group information.</p>"
        },
        "VisitorId":{
          "shape":"VisitorId",
          "documentation":"<p>Provides an identifier for a specific user. The <code>VisitorId</code> should be a unique identifier, such as a GUID. Don't use personally identifiable information, such as the user's email address, as the <code>VisitorId</code>.</p>"
        }
      }
    },
    "QueryResult":{
      "type":"structure",
      "members":{
        "QueryId":{
          "shape":"QueryId",
          "documentation":"<p>The unique identifier for the search. You use <code>QueryId</code> to identify the search when using the feedback API.</p>"
        },
        "ResultItems":{
          "shape":"QueryResultItemList",
          "documentation":"<p>The results of the search.</p>"
        },
        "FacetResults":{
          "shape":"FacetResultList",
          "documentation":"<p>Contains the facet results. A <code>FacetResult</code> contains the counts for each attribute key that was specified in the <code>Facets</code> input parameter.</p>"
        },
        "TotalNumberOfResults":{
          "shape":"Integer",
          "documentation":"<p>The total number of items found by the search; however, you can only retrieve up to 100 items. For example, if the search found 192 items, you can only retrieve the first 100 of the items.</p>"
        }
      }
    },
    "QueryResultItem":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"ResultId",
          "documentation":"<p>The unique identifier for the query result.</p>"
        },
        "Type":{
          "shape":"QueryResultType",
          "documentation":"<p>The type of document. </p>"
        },
        "AdditionalAttributes":{
          "shape":"AdditionalResultAttributeList",
          "documentation":"<p>One or more additional attributes associated with the query result.</p>"
        },
        "DocumentId":{
          "shape":"DocumentId",
          "documentation":"<p>The unique identifier for the document.</p>"
        },
        "DocumentTitle":{
          "shape":"TextWithHighlights",
          "documentation":"<p>The title of the document. Contains the text of the title and information for highlighting the relevant terms in the title.</p>"
        },
        "DocumentExcerpt":{
          "shape":"TextWithHighlights",
          "documentation":"<p>An extract of the text in the document. Contains information about highlighting the relevant terms in the excerpt.</p>"
        },
        "DocumentURI":{
          "shape":"Url",
          "documentation":"<p>The URI of the original location of the document.</p>"
        },
        "DocumentAttributes":{
          "shape":"DocumentAttributeList",
          "documentation":"<p>An array of document attributes for the document that the query result maps to. For example, the document author (Author) or the source URI (SourceUri) of the document.</p>"
        },
        "ScoreAttributes":{
          "shape":"ScoreAttributes",
          "documentation":"<p>Indicates the confidence that Amazon Kendra has that a result matches the query that you provided. Each result is placed into a bin that indicates the confidence, <code>VERY_HIGH</code>, <code>HIGH</code>, <code>MEDIUM</code> and <code>LOW</code>. You can use the score to determine if a response meets the confidence needed for your application.</p> <p>The field is only set to <code>LOW</code> when the <code>Type</code> field is set to <code>DOCUMENT</code> and Amazon Kendra is not confident that the result matches the query.</p>"
        },
        "FeedbackToken":{
          "shape":"FeedbackToken",
          "documentation":"<p>A token that identifies a particular result from a particular query. Use this token to provide click-through feedback for the result. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/submitting-feedback.html\"> Submitting feedback </a>.</p>"
        }
      },
      "documentation":"<p>A single query result.</p> <p>A query result contains information about a document returned by the query. This includes the original location of the document, a list of attributes assigned to the document, and relevant text from the document that satisfies the query.</p>"
    },
    "QueryResultItemList":{
      "type":"list",
      "member":{"shape":"QueryResultItem"}
    },
    "QueryResultType":{
      "type":"string",
      "enum":[
        "DOCUMENT",
        "QUESTION_ANSWER",
        "ANSWER"
      ]
    },
    "QuerySuggestionsBlockListId":{
      "type":"string",
      "max":36,
      "min":36,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9-]*"
    },
    "QuerySuggestionsBlockListName":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*"
    },
    "QuerySuggestionsBlockListStatus":{
      "type":"string",
      "enum":[
        "ACTIVE",
        "CREATING",
        "DELETING",
        "UPDATING",
        "ACTIVE_BUT_UPDATE_FAILED",
        "FAILED"
      ]
    },
    "QuerySuggestionsBlockListSummary":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"QuerySuggestionsBlockListId",
          "documentation":"<p>The identifier of a block list.</p>"
        },
        "Name":{
          "shape":"QuerySuggestionsBlockListName",
          "documentation":"<p>The name of the block list.</p>"
        },
        "Status":{
          "shape":"QuerySuggestionsBlockListStatus",
          "documentation":"<p>The status of the block list.</p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date-time summary information for a query suggestions block list was last created.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The date-time the block list was last updated.</p>"
        },
        "ItemCount":{
          "shape":"Integer",
          "documentation":"<p>The number of items in the block list file.</p>"
        }
      },
      "documentation":"<p>Summary information on a query suggestions block list.</p> <p>This includes information on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.</p> <p>For information on the current quota limits for block lists, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/quotas.html\">Quotas for Amazon Kendra</a>.</p>"
    },
    "QuerySuggestionsBlockListSummaryItems":{
      "type":"list",
      "member":{"shape":"QuerySuggestionsBlockListSummary"}
    },
    "QuerySuggestionsId":{
      "type":"string",
      "max":36,
      "min":1
    },
    "QuerySuggestionsStatus":{
      "type":"string",
      "enum":[
        "ACTIVE",
        "UPDATING"
      ]
    },
    "QueryText":{
      "type":"string",
      "max":1000,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "ReadAccessType":{
      "type":"string",
      "enum":[
        "ALLOW",
        "DENY"
      ]
    },
    "Relevance":{
      "type":"structure",
      "members":{
        "Freshness":{
          "shape":"DocumentMetadataBoolean",
          "documentation":"<p>Indicates that this field determines how \"fresh\" a document is. For example, if document 1 was created on November 5, and document 2 was created on October 31, document 1 is \"fresher\" than document 2. You can only set the <code>Freshness</code> field on one <code>DATE</code> type field. Only applies to <code>DATE</code> fields.</p>"
        },
        "Importance":{
          "shape":"Importance",
          "documentation":"<p>The relative importance of the field in the search. Larger numbers provide more of a boost than smaller numbers.</p>"
        },
        "Duration":{
          "shape":"Duration",
          "documentation":"<p>Specifies the time period that the boost applies to. For example, to make the boost apply to documents with the field value within the last month, you would use \"2628000s\". Once the field value is beyond the specified range, the effect of the boost drops off. The higher the importance, the faster the effect drops off. If you don't specify a value, the default is 3 months. The value of the field is a numeric string followed by the character \"s\", for example \"86400s\" for one day, or \"604800s\" for one week. </p> <p>Only applies to <code>DATE</code> fields.</p>"
        },
        "RankOrder":{
          "shape":"Order",
          "documentation":"<p>Determines how values should be interpreted.</p> <p>When the <code>RankOrder</code> field is <code>ASCENDING</code>, higher numbers are better. For example, a document with a rating score of 10 is higher ranking than a document with a rating score of 1.</p> <p>When the <code>RankOrder</code> field is <code>DESCENDING</code>, lower numbers are better. For example, in a task tracking application, a priority 1 task is more important than a priority 5 task.</p> <p>Only applies to <code>LONG</code> and <code>DOUBLE</code> fields.</p>"
        },
        "ValueImportanceMap":{
          "shape":"ValueImportanceMap",
          "documentation":"<p>A list of values that should be given a different boost when they appear in the result list. For example, if you are boosting a field called \"department,\" query terms that match the department field are boosted in the result. However, you can add entries from the department field to boost documents with those values higher. </p> <p>For example, you can add entries to the map with names of departments. If you add \"HR\",5 and \"Legal\",3 those departments are given special attention when they appear in the metadata of a document. When those terms appear they are given the specified importance instead of the regular importance for the boost.</p>"
        }
      },
      "documentation":"<p>Provides information for manually tuning the relevance of a field in a search. When a query includes terms that match the field, the results are given a boost in the response based on these tuning parameters.</p>"
    },
    "RelevanceFeedback":{
      "type":"structure",
      "required":[
        "ResultId",
        "RelevanceValue"
      ],
      "members":{
        "ResultId":{
          "shape":"ResultId",
          "documentation":"<p>The unique identifier of the search result that the user provided relevance feedback for.</p>"
        },
        "RelevanceValue":{
          "shape":"RelevanceType",
          "documentation":"<p>Whether to document was relevant or not relevant to the search.</p>"
        }
      },
      "documentation":"<p>Provides feedback on how relevant a document is to a search. Your application uses the <code>SubmitFeedback</code> operation to provide relevance information.</p>"
    },
    "RelevanceFeedbackList":{
      "type":"list",
      "member":{"shape":"RelevanceFeedback"}
    },
    "RelevanceType":{
      "type":"string",
      "enum":[
        "RELEVANT",
        "NOT_RELEVANT"
      ]
    },
    "ResourceAlreadyExistException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true
    },
    "ResourceInUseException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true
    },
    "ResourceNotFoundException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true
    },
    "ResourceUnavailableException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true
    },
    "ResultId":{
      "type":"string",
      "max":73,
      "min":1
    },
    "RoleArn":{
      "type":"string",
      "max":1284,
      "min":1,
      "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}"
    },
    "S3BucketName":{
      "type":"string",
      "max":63,
      "min":3,
      "pattern":"[a-z0-9][\\.\\-a-z0-9]{1,61}[a-z0-9]"
    },
    "S3DataSourceConfiguration":{
      "type":"structure",
      "required":["BucketName"],
      "members":{
        "BucketName":{
          "shape":"S3BucketName",
          "documentation":"<p>The name of the bucket that contains the documents.</p>"
        },
        "InclusionPrefixes":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of S3 prefixes for the documents that should be included in the index.</p>"
        },
        "InclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of glob patterns for documents that should be indexed. If a document that matches an inclusion pattern also matches an exclusion pattern, the document is not indexed.</p> <p>Some <a href=\"https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters\">examples</a> are:</p> <ul> <li> <p> <i>*.txt</i> will include all text files in a directory (files with the extension .txt).</p> </li> <li> <p> <i>**/*.txt</i> will include all text files in a directory and its subdirectories.</p> </li> <li> <p> <i>*tax*</i> will include all files in a directory that contain 'tax' in the file name, such as 'tax', 'taxes', 'income_tax'.</p> </li> </ul>"
        },
        "ExclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of glob patterns for documents that should not be indexed. If a document that matches an inclusion prefix or inclusion pattern also matches an exclusion pattern, the document is not indexed.</p> <p>Some <a href=\"https://docs.aws.amazon.com/cli/latest/reference/s3/#use-of-exclude-and-include-filters\">examples</a> are:</p> <ul> <li> <p> <i>*.png , *.jpg</i> will exclude all PNG and JPEG image files in a directory (files with the extensions .png and .jpg).</p> </li> <li> <p> <i>*internal*</i> will exclude all files in a directory that contain 'internal' in the file name, such as 'internal', 'internal_only', 'company_internal'.</p> </li> <li> <p> <i>**/*internal*</i> will exclude all internal-related files in a directory and its subdirectories.</p> </li> </ul>"
        },
        "DocumentsMetadataConfiguration":{"shape":"DocumentsMetadataConfiguration"},
        "AccessControlListConfiguration":{
          "shape":"AccessControlListConfiguration",
          "documentation":"<p>Provides the path to the S3 bucket that contains the user context filtering files for the data source. For the format of the file, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html\">Access control for S3 data sources</a>.</p>"
        }
      },
      "documentation":"<p>Provides configuration information for a data source to index documents in an Amazon S3 bucket.</p>"
    },
    "S3ObjectKey":{
      "type":"string",
      "max":1024,
      "min":1
    },
    "S3Path":{
      "type":"structure",
      "required":[
        "Bucket",
        "Key"
      ],
      "members":{
        "Bucket":{
          "shape":"S3BucketName",
          "documentation":"<p>The name of the S3 bucket that contains the file.</p>"
        },
        "Key":{
          "shape":"S3ObjectKey",
          "documentation":"<p>The name of the file.</p>"
        }
      },
      "documentation":"<p>Information required to find a specific file in an Amazon S3 bucket.</p>"
    },
    "SalesforceChatterFeedConfiguration":{
      "type":"structure",
      "required":["DocumentDataFieldName"],
      "members":{
        "DocumentDataFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the column in the Salesforce FeedItem table that contains the content to index. Typically this is the <code>Body</code> column.</p>"
        },
        "DocumentTitleFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the column in the Salesforce FeedItem table that contains the title of the document. This is typically the <code>Title</code> column.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.</p>"
        },
        "IncludeFilterTypes":{
          "shape":"SalesforceChatterFeedIncludeFilterTypes",
          "documentation":"<p>Filters the documents in the feed based on status of the user. When you specify <code>ACTIVE_USERS</code> only documents from users who have an active account are indexed. When you specify <code>STANDARD_USER</code> only documents for Salesforce standard users are documented. You can specify both.</p>"
        }
      },
      "documentation":"<p>Defines configuration for syncing a Salesforce chatter feed. The contents of the object comes from the Salesforce FeedItem table.</p>"
    },
    "SalesforceChatterFeedIncludeFilterType":{
      "type":"string",
      "enum":[
        "ACTIVE_USER",
        "STANDARD_USER"
      ]
    },
    "SalesforceChatterFeedIncludeFilterTypes":{
      "type":"list",
      "member":{"shape":"SalesforceChatterFeedIncludeFilterType"},
      "max":2,
      "min":1
    },
    "SalesforceConfiguration":{
      "type":"structure",
      "required":[
        "ServerUrl",
        "SecretArn"
      ],
      "members":{
        "ServerUrl":{
          "shape":"Url",
          "documentation":"<p>The instance URL for the Salesforce site that you want to index.</p>"
        },
        "SecretArn":{
          "shape":"SecretArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required to connect to your Salesforce instance. The secret must contain a JSON structure with the following keys:</p> <ul> <li> <p>authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an OAUTH token. </p> </li> <li> <p>consumerKey - The application public key generated when you created your Salesforce application.</p> </li> <li> <p>consumerSecret - The application private key generated when you created your Salesforce application.</p> </li> <li> <p>password - The password associated with the user logging in to the Salesforce instance.</p> </li> <li> <p>securityToken - The token associated with the user account logging in to the Salesforce instance.</p> </li> <li> <p>username - The user name of the user logging in to the Salesforce instance.</p> </li> </ul>"
        },
        "StandardObjectConfigurations":{
          "shape":"SalesforceStandardObjectConfigurationList",
          "documentation":"<p>Specifies the Salesforce standard objects that Amazon Kendra indexes.</p>"
        },
        "KnowledgeArticleConfiguration":{
          "shape":"SalesforceKnowledgeArticleConfiguration",
          "documentation":"<p>Specifies configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both.</p>"
        },
        "ChatterFeedConfiguration":{
          "shape":"SalesforceChatterFeedConfiguration",
          "documentation":"<p>Specifies configuration information for Salesforce chatter feeds.</p>"
        },
        "CrawlAttachments":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether Amazon Kendra should index attachments to Salesforce objects.</p>"
        },
        "StandardObjectAttachmentConfiguration":{
          "shape":"SalesforceStandardObjectAttachmentConfiguration",
          "documentation":"<p>Provides configuration information for processing attachments to Salesforce standard objects. </p>"
        },
        "IncludeAttachmentFilePatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.</p> <p>The regex is applied to the name of the attached file.</p>"
        },
        "ExcludeAttachmentFilePatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.</p> <p>The regex is applied to the name of the attached file.</p>"
        }
      },
      "documentation":"<p>Provides configuration information for connecting to a Salesforce data source.</p>"
    },
    "SalesforceCustomKnowledgeArticleTypeConfiguration":{
      "type":"structure",
      "required":[
        "Name",
        "DocumentDataFieldName"
      ],
      "members":{
        "Name":{
          "shape":"SalesforceCustomKnowledgeArticleTypeName",
          "documentation":"<p>The name of the configuration.</p>"
        },
        "DocumentDataFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the field in the custom knowledge article that contains the document data to index.</p>"
        },
        "DocumentTitleFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the field in the custom knowledge article that contains the document title.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>One or more objects that map fields in the custom knowledge article to fields in the Amazon Kendra index.</p>"
        }
      },
      "documentation":"<p>Provides configuration information for indexing Salesforce custom articles.</p>"
    },
    "SalesforceCustomKnowledgeArticleTypeConfigurationList":{
      "type":"list",
      "member":{"shape":"SalesforceCustomKnowledgeArticleTypeConfiguration"},
      "max":10,
      "min":1
    },
    "SalesforceCustomKnowledgeArticleTypeName":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$"
    },
    "SalesforceKnowledgeArticleConfiguration":{
      "type":"structure",
      "required":["IncludedStates"],
      "members":{
        "IncludedStates":{
          "shape":"SalesforceKnowledgeArticleStateList",
          "documentation":"<p>Specifies the document states that should be included when Amazon Kendra indexes knowledge articles. You must specify at least one state.</p>"
        },
        "StandardKnowledgeArticleTypeConfiguration":{
          "shape":"SalesforceStandardKnowledgeArticleTypeConfiguration",
          "documentation":"<p>Provides configuration information for standard Salesforce knowledge articles.</p>"
        },
        "CustomKnowledgeArticleTypeConfigurations":{
          "shape":"SalesforceCustomKnowledgeArticleTypeConfigurationList",
          "documentation":"<p>Provides configuration information for custom Salesforce knowledge articles.</p>"
        }
      },
      "documentation":"<p>Specifies configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both </p>"
    },
    "SalesforceKnowledgeArticleState":{
      "type":"string",
      "enum":[
        "DRAFT",
        "PUBLISHED",
        "ARCHIVED"
      ]
    },
    "SalesforceKnowledgeArticleStateList":{
      "type":"list",
      "member":{"shape":"SalesforceKnowledgeArticleState"},
      "max":3,
      "min":1
    },
    "SalesforceStandardKnowledgeArticleTypeConfiguration":{
      "type":"structure",
      "required":["DocumentDataFieldName"],
      "members":{
        "DocumentDataFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the field that contains the document data to index.</p>"
        },
        "DocumentTitleFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the field that contains the document title.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>One or more objects that map fields in the knowledge article to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.</p>"
        }
      },
      "documentation":"<p>Provides configuration information for standard Salesforce knowledge articles.</p>"
    },
    "SalesforceStandardObjectAttachmentConfiguration":{
      "type":"structure",
      "members":{
        "DocumentTitleFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the field used for the document title.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>One or more objects that map fields in attachments to Amazon Kendra index fields.</p>"
        }
      },
      "documentation":"<p>Provides configuration information for processing attachments to Salesforce standard objects. </p>"
    },
    "SalesforceStandardObjectConfiguration":{
      "type":"structure",
      "required":[
        "Name",
        "DocumentDataFieldName"
      ],
      "members":{
        "Name":{
          "shape":"SalesforceStandardObjectName",
          "documentation":"<p>The name of the standard object.</p>"
        },
        "DocumentDataFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the field in the standard object table that contains the document contents.</p>"
        },
        "DocumentTitleFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the field in the standard object table that contains the document title.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>One or more objects that map fields in the standard object to Amazon Kendra index fields. The index field must exist before you can map a Salesforce field to it.</p>"
        }
      },
      "documentation":"<p>Specifies configuration information for indexing a single standard object.</p>"
    },
    "SalesforceStandardObjectConfigurationList":{
      "type":"list",
      "member":{"shape":"SalesforceStandardObjectConfiguration"},
      "max":17,
      "min":1
    },
    "SalesforceStandardObjectName":{
      "type":"string",
      "enum":[
        "ACCOUNT",
        "CAMPAIGN",
        "CASE",
        "CONTACT",
        "CONTRACT",
        "DOCUMENT",
        "GROUP",
        "IDEA",
        "LEAD",
        "OPPORTUNITY",
        "PARTNER",
        "PRICEBOOK",
        "PRODUCT",
        "PROFILE",
        "SOLUTION",
        "TASK",
        "USER"
      ]
    },
    "ScanSchedule":{"type":"string"},
    "ScoreAttributes":{
      "type":"structure",
      "members":{
        "ScoreConfidence":{
          "shape":"ScoreConfidence",
          "documentation":"<p>A relative ranking for how well the response matches the query.</p>"
        }
      },
      "documentation":"<p>Provides a relative ranking that indicates how confident Amazon Kendra is that the response matches the query.</p>"
    },
    "ScoreConfidence":{
      "type":"string",
      "documentation":"Enumeration for query score confidence.",
      "enum":[
        "VERY_HIGH",
        "HIGH",
        "MEDIUM",
        "LOW",
        "NOT_AVAILABLE"
      ]
    },
    "Search":{
      "type":"structure",
      "members":{
        "Facetable":{
          "shape":"Boolean",
          "documentation":"<p>Indicates that the field can be used to create search facets, a count of results for each value in the field. The default is <code>false</code> .</p>"
        },
        "Searchable":{
          "shape":"Boolean",
          "documentation":"<p>Determines whether the field is used in the search. If the <code>Searchable</code> field is <code>true</code>, you can use relevance tuning to manually tune how Amazon Kendra weights the field in the search. The default is <code>true</code> for string fields and <code>false</code> for number and date fields.</p>"
        },
        "Displayable":{
          "shape":"Boolean",
          "documentation":"<p>Determines whether the field is returned in the query response. The default is <code>true</code>.</p>"
        },
        "Sortable":{
          "shape":"Boolean",
          "documentation":"<p>Determines whether the field can be used to sort the results of a query. If you specify sorting on a field that does not have <code>Sortable</code> set to <code>true</code>, Amazon Kendra returns an exception. The default is <code>false</code>.</p>"
        }
      },
      "documentation":"<p>Provides information about how a custom index field is used during a search.</p>"
    },
    "SecretArn":{
      "type":"string",
      "max":1284,
      "min":1,
      "pattern":"arn:[a-z0-9-\\.]{1,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[a-z0-9-\\.]{0,63}:[^/].{0,1023}"
    },
    "SecurityGroupIdList":{
      "type":"list",
      "member":{"shape":"VpcSecurityGroupId"},
      "max":10,
      "min":1
    },
    "SeedUrl":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"^(https?):\\/\\/([^\\s]*)"
    },
    "SeedUrlConfiguration":{
      "type":"structure",
      "required":["SeedUrls"],
      "members":{
        "SeedUrls":{
          "shape":"SeedUrlList",
          "documentation":"<p>The list of seed or starting point URLs of the websites you want to crawl.</p> <p>The list can include a maximum of 100 seed URLs.</p>"
        },
        "WebCrawlerMode":{
          "shape":"WebCrawlerMode",
          "documentation":"<p>You can choose one of the following modes:</p> <ul> <li> <p> <code>HOST_ONLY</code> – crawl only the website host names. For example, if the seed URL is \"abc.example.com\", then only URLs with host name \"abc.example.com\" are crawled.</p> </li> <li> <p> <code>SUBDOMAINS</code> – crawl the website host names with subdomains. For example, if the seed URL is \"abc.example.com\", then \"a.abc.example.com\" and \"b.abc.example.com\" are also crawled.</p> </li> <li> <p> <code>EVERYTHING</code> – crawl the website host names with subdomains and other domains that the webpages link to.</p> </li> </ul> <p>The default mode is set to <code>HOST_ONLY</code>.</p>"
        }
      },
      "documentation":"<p>Provides the configuration information of the seed or starting point URLs to crawl.</p> <p> <i>When selecting websites to index, you must adhere to the <a href=\"https://aws.amazon.com/aup/\">Amazon Acceptable Use Policy</a> and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.</i> </p>"
    },
    "SeedUrlList":{
      "type":"list",
      "member":{"shape":"SeedUrl"},
      "max":100,
      "min":0
    },
    "ServerSideEncryptionConfiguration":{
      "type":"structure",
      "members":{
        "KmsKeyId":{
          "shape":"KmsKeyId",
          "documentation":"<p>The identifier of the KMScustomer master key (CMK). Amazon Kendra doesn't support asymmetric CMKs.</p>"
        }
      },
      "documentation":"<p>Provides the identifier of the KMScustomer master key (CMK) used to encrypt data indexed by Amazon Kendra. Amazon Kendra doesn't support asymmetric CMKs.</p>"
    },
    "ServiceNowAuthenticationType":{
      "type":"string",
      "enum":[
        "HTTP_BASIC",
        "OAUTH2"
      ]
    },
    "ServiceNowBuildVersionType":{
      "type":"string",
      "enum":[
        "LONDON",
        "OTHERS"
      ]
    },
    "ServiceNowConfiguration":{
      "type":"structure",
      "required":[
        "HostUrl",
        "SecretArn",
        "ServiceNowBuildVersion"
      ],
      "members":{
        "HostUrl":{
          "shape":"ServiceNowHostUrl",
          "documentation":"<p>The ServiceNow instance that the data source connects to. The host endpoint should look like the following: <code>{instance}.service-now.com.</code> </p>"
        },
        "SecretArn":{
          "shape":"SecretArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the Secrets Manager secret that contains the user name and password required to connect to the ServiceNow instance.</p>"
        },
        "ServiceNowBuildVersion":{
          "shape":"ServiceNowBuildVersionType",
          "documentation":"<p>The identifier of the release that the ServiceNow host is running. If the host is not running the <code>LONDON</code> release, use <code>OTHERS</code>.</p>"
        },
        "KnowledgeArticleConfiguration":{
          "shape":"ServiceNowKnowledgeArticleConfiguration",
          "documentation":"<p>Provides configuration information for crawling knowledge articles in the ServiceNow site.</p>"
        },
        "ServiceCatalogConfiguration":{
          "shape":"ServiceNowServiceCatalogConfiguration",
          "documentation":"<p>Provides configuration information for crawling service catalogs in the ServiceNow site.</p>"
        },
        "AuthenticationType":{
          "shape":"ServiceNowAuthenticationType",
          "documentation":"<p>Determines the type of authentication used to connect to the ServiceNow instance. If you choose <code>HTTP_BASIC</code>, Amazon Kendra is authenticated using the user name and password provided in the AWS Secrets Manager secret in the <code>SecretArn</code> field. When you choose <code>OAUTH2</code>, Amazon Kendra is authenticated using the OAuth token and secret provided in the Secrets Manager secret, and the user name and password are used to determine which information Amazon Kendra has access to.</p> <p>When you use <code>OAUTH2</code> authentication, you must generate a token and a client secret using the ServiceNow console. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-servicenow.html\">Using a ServiceNow data source</a>.</p>"
        }
      },
      "documentation":"<p>Provides configuration information required to connect to a ServiceNow data source.</p>"
    },
    "ServiceNowHostUrl":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"^(?!(^(https?|ftp|file):\\/\\/))[a-z0-9-]+(\\.service-now\\.com)$"
    },
    "ServiceNowKnowledgeArticleConfiguration":{
      "type":"structure",
      "required":["DocumentDataFieldName"],
      "members":{
        "CrawlAttachments":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether Amazon Kendra should index attachments to knowledge articles.</p>"
        },
        "IncludeAttachmentFilePatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are not indexed. The regex is applied to the field specified in the <code>PatternTargetField</code>.</p>"
        },
        "ExcludeAttachmentFilePatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are not indexed. The regex is applied to the field specified in the <code>PatternTargetField</code> </p>"
        },
        "DocumentDataFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.</p>"
        },
        "DocumentTitleFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the ServiceNow field that is mapped to the index document title field.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.</p>"
        },
        "FilterQuery":{
          "shape":"ServiceNowKnowledgeArticleFilterQuery",
          "documentation":"<p>A query that selects the knowledge articles to index. The query can return articles from multiple knowledge bases, and the knowledge bases can be public or private.</p> <p>The query string must be one generated by the ServiceNow console. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/servicenow-query.html\">Specifying documents to index with a query</a>. </p>"
        }
      },
      "documentation":"<p>Provides configuration information for crawling knowledge articles in the ServiceNow site.</p>"
    },
    "ServiceNowKnowledgeArticleFilterQuery":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "ServiceNowServiceCatalogConfiguration":{
      "type":"structure",
      "required":["DocumentDataFieldName"],
      "members":{
        "CrawlAttachments":{
          "shape":"Boolean",
          "documentation":"<p>Indicates whether Amazon Kendra should crawl attachments to the service catalog items. </p>"
        },
        "IncludeAttachmentFilePatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.</p> <p>The regex is applied to the file name of the attachment.</p>"
        },
        "ExcludeAttachmentFilePatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.</p> <p>The regex is applied to the file name of the attachment.</p>"
        },
        "DocumentDataFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.</p>"
        },
        "DocumentTitleFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The name of the ServiceNow field that is mapped to the index document title field.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.</p>"
        }
      },
      "documentation":"<p>Provides configuration information for crawling service catalog items in the ServiceNow site</p>"
    },
    "ServiceQuotaExceededException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true
    },
    "SharePointConfiguration":{
      "type":"structure",
      "required":[
        "SharePointVersion",
        "Urls",
        "SecretArn"
      ],
      "members":{
        "SharePointVersion":{
          "shape":"SharePointVersion",
          "documentation":"<p>The version of Microsoft SharePoint that you are using as a data source.</p>"
        },
        "Urls":{
          "shape":"SharePointUrlList",
          "documentation":"<p>The URLs of the Microsoft SharePoint site that contains the documents that should be indexed.</p>"
        },
        "SecretArn":{
          "shape":"SecretArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of credentials stored in Secrets Manager. The credentials should be a user/password pair. If you use SharePoint Server, you also need to provide the sever domain name as part of the credentials. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/data-source-sharepoint.html\">Using a Microsoft SharePoint Data Source</a>. For more information about Secrets Manager, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\"> What Is Secrets Manager</a> in the <i>Secrets Manager </i> user guide.</p>"
        },
        "CrawlAttachments":{
          "shape":"Boolean",
          "documentation":"<p> <code>TRUE</code> to include attachments to documents stored in your Microsoft SharePoint site in the index; otherwise, <code>FALSE</code>.</p>"
        },
        "UseChangeLog":{
          "shape":"Boolean",
          "documentation":"<p>Set to <code>TRUE</code> to use the Microsoft SharePoint change log to determine the documents that need to be updated in the index. Depending on the size of the SharePoint change log, it may take longer for Amazon Kendra to use the change log than it takes it to determine the changed documents using the Amazon Kendra document crawler.</p>"
        },
        "InclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion pattern and an exclusion pattern, the document is not included in the index.</p> <p>The regex is applied to the display URL of the SharePoint document.</p>"
        },
        "ExclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not included in the index.</p> <p>The regex is applied to the display URL of the SharePoint document.</p>"
        },
        "VpcConfiguration":{"shape":"DataSourceVpcConfiguration"},
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map Microsoft SharePoint attributes to custom fields in the Amazon Kendra index. You must first create the index fields using the <code>UpdateIndex</code> operation before you map SharePoint attributes. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\">Mapping Data Source Fields</a>.</p>"
        },
        "DocumentTitleFieldName":{
          "shape":"DataSourceFieldName",
          "documentation":"<p>The Microsoft SharePoint attribute field that contains the title of the document.</p>"
        },
        "DisableLocalGroups":{
          "shape":"Boolean",
          "documentation":"<p>A Boolean value that specifies whether local groups are disabled (<code>True</code>) or enabled (<code>False</code>). </p>"
        },
        "SslCertificateS3Path":{"shape":"S3Path"}
      },
      "documentation":"<p>Provides configuration information for connecting to a Microsoft SharePoint data source.</p>"
    },
    "SharePointUrlList":{
      "type":"list",
      "member":{"shape":"Url"},
      "max":100,
      "min":1
    },
    "SharePointVersion":{
      "type":"string",
      "enum":[
        "SHAREPOINT_2013",
        "SHAREPOINT_2016",
        "SHAREPOINT_ONLINE"
      ]
    },
    "SharedDriveId":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "SiteMap":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"^(https?):\\/\\/([^\\s]*)"
    },
    "SiteMapsConfiguration":{
      "type":"structure",
      "required":["SiteMaps"],
      "members":{
        "SiteMaps":{
          "shape":"SiteMapsList",
          "documentation":"<p>The list of sitemap URLs of the websites you want to crawl.</p> <p>The list can include a maximum of three sitemap URLs.</p>"
        }
      },
      "documentation":"<p>Provides the configuration information of the sitemap URLs to crawl.</p> <p> <i>When selecting websites to index, you must adhere to the <a href=\"https://aws.amazon.com/aup/\">Amazon Acceptable Use Policy</a> and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.</i> </p>"
    },
    "SiteMapsList":{
      "type":"list",
      "member":{"shape":"SiteMap"},
      "max":3,
      "min":0
    },
    "SortOrder":{
      "type":"string",
      "enum":[
        "DESC",
        "ASC"
      ]
    },
    "SortingConfiguration":{
      "type":"structure",
      "required":[
        "DocumentAttributeKey",
        "SortOrder"
      ],
      "members":{
        "DocumentAttributeKey":{
          "shape":"DocumentAttributeKey",
          "documentation":"<p>The name of the document attribute used to sort the response. You can use any field that has the <code>Sortable</code> flag set to true.</p> <p>You can also sort by any of the following built-in attributes:</p> <ul> <li> <p>_category</p> </li> <li> <p>_created_at</p> </li> <li> <p>_last_updated_at</p> </li> <li> <p>_version</p> </li> <li> <p>_view_count</p> </li> </ul>"
        },
        "SortOrder":{
          "shape":"SortOrder",
          "documentation":"<p>The order that the results should be returned in. In case of ties, the relevance assigned to the result by Amazon Kendra is used as the tie-breaker.</p>"
        }
      },
      "documentation":"<p>Specifies the document attribute to use to sort the response to a Amazon Kendra query. You can specify a single attribute for sorting. The attribute must have the <code>Sortable</code> flag set to <code>true</code>, otherwise Amazon Kendra returns an exception.</p> <p>You can sort attributes of the following types.</p> <ul> <li> <p>Date value</p> </li> <li> <p>Long value</p> </li> <li> <p>String value</p> </li> </ul> <p>You can't sort attributes of the following type.</p> <ul> <li> <p>String list value</p> </li> </ul>"
    },
    "SqlConfiguration":{
      "type":"structure",
      "members":{
        "QueryIdentifiersEnclosingOption":{
          "shape":"QueryIdentifiersEnclosingOption",
          "documentation":"<p>Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (\") when making a database query.</p> <p>By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.</p> <p>PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.</p> <p>For MySQL databases, you must enable the <code>ansi_quotes</code> option when you set this field to <code>DOUBLE_QUOTES</code>.</p>"
        }
      },
      "documentation":"<p>Provides information that configures Amazon Kendra to use a SQL database.</p>"
    },
    "StartDataSourceSyncJobRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source to synchronize.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the data source.</p>"
        }
      }
    },
    "StartDataSourceSyncJobResponse":{
      "type":"structure",
      "members":{
        "ExecutionId":{
          "shape":"String",
          "documentation":"<p>Identifies a particular synchronization job.</p>"
        }
      }
    },
    "Status":{
      "type":"structure",
      "members":{
        "DocumentId":{
          "shape":"DocumentId",
          "documentation":"<p>The unique identifier of the document.</p>"
        },
        "DocumentStatus":{
          "shape":"DocumentStatus",
          "documentation":"<p>The current status of a document.</p> <p>If the document was submitted for deletion, the status is <code>NOT_FOUND</code> after the document is deleted.</p>"
        },
        "FailureCode":{
          "shape":"String",
          "documentation":"<p>Indicates the source of the error.</p>"
        },
        "FailureReason":{
          "shape":"String",
          "documentation":"<p>Provides detailed information about why the document couldn't be indexed. Use this information to correct the error before you resubmit the document for indexing.</p>"
        }
      },
      "documentation":"<p>Provides information about the status of documents submitted for indexing.</p>"
    },
    "StopDataSourceSyncJobRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"DataSourceId",
          "documentation":"<p>The identifier of the data source for which to stop the synchronization jobs.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the data source.</p>"
        }
      }
    },
    "StorageCapacityUnit":{
      "type":"integer",
      "min":0
    },
    "String":{
      "type":"string",
      "max":2048,
      "min":1
    },
    "SubmitFeedbackRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "QueryId"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that was queried.</p>"
        },
        "QueryId":{
          "shape":"QueryId",
          "documentation":"<p>The identifier of the specific query for which you are submitting feedback. The query ID is returned in the response to the <code>Query</code> operation.</p>"
        },
        "ClickFeedbackItems":{
          "shape":"ClickFeedbackList",
          "documentation":"<p>Tells Amazon Kendra that a particular search result link was chosen by the user. </p>"
        },
        "RelevanceFeedbackItems":{
          "shape":"RelevanceFeedbackList",
          "documentation":"<p>Provides Amazon Kendra with relevant or not relevant feedback for whether a particular item was relevant to the search.</p>"
        }
      }
    },
    "SubnetId":{
      "type":"string",
      "max":200,
      "min":1,
      "pattern":"[\\-0-9a-zA-Z]+"
    },
    "SubnetIdList":{
      "type":"list",
      "member":{"shape":"SubnetId"},
      "max":6,
      "min":1
    },
    "Suggestion":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"ResultId",
          "documentation":"<p>The unique UUID (universally unique identifier) of a single query suggestion.</p>"
        },
        "Value":{
          "shape":"SuggestionValue",
          "documentation":"<p>The value for the unique UUID (universally unique identifier) of a single query suggestion.</p> <p>The value is the text string of a suggestion.</p>"
        }
      },
      "documentation":"<p>A single query suggestion.</p>"
    },
    "SuggestionHighlight":{
      "type":"structure",
      "members":{
        "BeginOffset":{
          "shape":"Integer",
          "documentation":"<p>The zero-based location in the response string where the highlight starts.</p>"
        },
        "EndOffset":{
          "shape":"Integer",
          "documentation":"<p>The zero-based location in the response string where the highlight ends.</p>"
        }
      },
      "documentation":"<p>The text highlights for a single query suggestion.</p>"
    },
    "SuggestionHighlightList":{
      "type":"list",
      "member":{"shape":"SuggestionHighlight"}
    },
    "SuggestionList":{
      "type":"list",
      "member":{"shape":"Suggestion"}
    },
    "SuggestionQueryText":{
      "type":"string",
      "pattern":"^\\P{C}*$"
    },
    "SuggestionTextWithHighlights":{
      "type":"structure",
      "members":{
        "Text":{
          "shape":"String",
          "documentation":"<p>The query suggestion text to display to the user.</p>"
        },
        "Highlights":{
          "shape":"SuggestionHighlightList",
          "documentation":"<p>The beginning and end of the query suggestion text that should be highlighted.</p>"
        }
      },
      "documentation":"<p>Provides text and information about where to highlight the query suggestion text.</p>"
    },
    "SuggestionValue":{
      "type":"structure",
      "members":{
        "Text":{
          "shape":"SuggestionTextWithHighlights",
          "documentation":"<p>The <code>SuggestionTextWithHighlights</code> structure that contains the query suggestion text and highlights.</p>"
        }
      },
      "documentation":"<p>The <code>SuggestionTextWithHighlights</code> structure information.</p>"
    },
    "TableName":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"^[a-zA-Z][a-zA-Z0-9_]*$"
    },
    "Tag":{
      "type":"structure",
      "required":[
        "Key",
        "Value"
      ],
      "members":{
        "Key":{
          "shape":"TagKey",
          "documentation":"<p>The key for the tag. Keys are not case sensitive and must be unique for the index, FAQ, or data source.</p>"
        },
        "Value":{
          "shape":"TagValue",
          "documentation":"<p>The value associated with the tag. The value may be an empty string but it can't be null.</p>"
        }
      },
      "documentation":"<p>A list of key/value pairs that identify an index, FAQ, or data source. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.</p>"
    },
    "TagKey":{
      "type":"string",
      "max":128,
      "min":1
    },
    "TagKeyList":{
      "type":"list",
      "member":{"shape":"TagKey"},
      "max":200,
      "min":0
    },
    "TagList":{
      "type":"list",
      "member":{"shape":"Tag"},
      "max":200,
      "min":0
    },
    "TagResourceRequest":{
      "type":"structure",
      "required":[
        "ResourceARN",
        "Tags"
      ],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The Amazon Resource Name (ARN) of the index, FAQ, or data source to tag.</p>"
        },
        "Tags":{
          "shape":"TagList",
          "documentation":"<p>A list of tag keys to add to the index, FAQ, or data source. If a tag already exists, the existing value is replaced with the new value.</p>"
        }
      }
    },
    "TagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "TagValue":{
      "type":"string",
      "max":256,
      "min":0
    },
    "TenantDomain":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"^([a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\\.)+[a-z]{2,}$"
    },
    "TextDocumentStatistics":{
      "type":"structure",
      "required":[
        "IndexedTextDocumentsCount",
        "IndexedTextBytes"
      ],
      "members":{
        "IndexedTextDocumentsCount":{
          "shape":"IndexedTextDocumentsCount",
          "documentation":"<p>The number of text documents indexed.</p>"
        },
        "IndexedTextBytes":{
          "shape":"IndexedTextBytes",
          "documentation":"<p>The total size, in bytes, of the indexed documents.</p>"
        }
      },
      "documentation":"<p>Provides information about text documents indexed in an index.</p>"
    },
    "TextWithHighlights":{
      "type":"structure",
      "members":{
        "Text":{
          "shape":"String",
          "documentation":"<p>The text to display to the user.</p>"
        },
        "Highlights":{
          "shape":"HighlightList",
          "documentation":"<p>The beginning and end of the text that should be highlighted.</p>"
        }
      },
      "documentation":"<p>Provides text and information about where to highlight the text.</p>"
    },
    "ThesaurusId":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
    },
    "ThesaurusName":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
    },
    "ThesaurusStatus":{
      "type":"string",
      "enum":[
        "CREATING",
        "ACTIVE",
        "DELETING",
        "UPDATING",
        "ACTIVE_BUT_UPDATE_FAILED",
        "FAILED"
      ]
    },
    "ThesaurusSummary":{
      "type":"structure",
      "members":{
        "Id":{
          "shape":"ThesaurusId",
          "documentation":"<p>The identifier of the thesaurus.</p>"
        },
        "Name":{
          "shape":"ThesaurusName",
          "documentation":"<p>The name of the thesaurus.</p>"
        },
        "Status":{
          "shape":"ThesaurusStatus",
          "documentation":"<p>The status of the thesaurus.</p>"
        },
        "CreatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix datetime that the thesaurus was created.</p>"
        },
        "UpdatedAt":{
          "shape":"Timestamp",
          "documentation":"<p>The Unix datetime that the thesaurus was last updated.</p>"
        }
      },
      "documentation":"<p>An array of summary information for a thesaurus or multiple thesauri.</p>"
    },
    "ThesaurusSummaryItems":{
      "type":"list",
      "member":{"shape":"ThesaurusSummary"}
    },
    "ThrottlingException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true
    },
    "TimeRange":{
      "type":"structure",
      "members":{
        "StartTime":{
          "shape":"Timestamp",
          "documentation":"<p>The UNIX datetime of the beginning of the time range.</p>"
        },
        "EndTime":{
          "shape":"Timestamp",
          "documentation":"<p>The UNIX datetime of the end of the time range.</p>"
        }
      },
      "documentation":"<p>Provides a range of time.</p>"
    },
    "Timestamp":{"type":"timestamp"},
    "Title":{"type":"string"},
    "Token":{
      "type":"string",
      "max":100000,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "UntagResourceRequest":{
      "type":"structure",
      "required":[
        "ResourceARN",
        "TagKeys"
      ],
      "members":{
        "ResourceARN":{
          "shape":"AmazonResourceName",
          "documentation":"<p>The Amazon Resource Name (ARN) of the index, FAQ, or data source to remove the tag from.</p>"
        },
        "TagKeys":{
          "shape":"TagKeyList",
          "documentation":"<p>A list of tag keys to remove from the index, FAQ, or data source. If a tag key does not exist on the resource, it is ignored.</p>"
        }
      }
    },
    "UntagResourceResponse":{
      "type":"structure",
      "members":{
      }
    },
    "UpdateDataSourceRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"DataSourceId",
          "documentation":"<p>The unique identifier of the data source to update.</p>"
        },
        "Name":{
          "shape":"DataSourceName",
          "documentation":"<p>The name of the data source to update. The name of the data source can't be updated. To rename a data source you must delete the data source and re-create it.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index that contains the data source to update.</p>"
        },
        "Configuration":{"shape":"DataSourceConfiguration"},
        "Description":{
          "shape":"Description",
          "documentation":"<p>The new description for the data source.</p>"
        },
        "Schedule":{
          "shape":"ScanSchedule",
          "documentation":"<p>The new update schedule for the data source.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.</p>"
        },
        "LanguageCode":{
          "shape":"LanguageCode",
          "documentation":"<p>The code for a language. This allows you to support a language for all documents when updating the data source. English is supported by default. For more information on supported languages, including their codes, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/in-adding-languages.html\">Adding documents in languages other than English</a>.</p>"
        }
      }
    },
    "UpdateIndexRequest":{
      "type":"structure",
      "required":["Id"],
      "members":{
        "Id":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index to update.</p>"
        },
        "Name":{
          "shape":"IndexName",
          "documentation":"<p>The name of the index to update.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>A new description for the index.</p>"
        },
        "DocumentMetadataConfigurationUpdates":{
          "shape":"DocumentMetadataConfigurationList",
          "documentation":"<p>The document metadata to update. </p>"
        },
        "CapacityUnits":{
          "shape":"CapacityUnitsConfiguration",
          "documentation":"<p>Sets the number of additional storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day.</p> <p>If you are using extra storage units, you can't reduce the storage capacity below that required to meet the storage needs for your index.</p>"
        },
        "UserTokenConfigurations":{
          "shape":"UserTokenConfigurationList",
          "documentation":"<p>The user token configuration.</p>"
        },
        "UserContextPolicy":{
          "shape":"UserContextPolicy",
          "documentation":"<p>The user context policy.</p>"
        },
        "UserGroupResolutionConfiguration":{
          "shape":"UserGroupResolutionConfiguration",
          "documentation":"<p>Enables fetching access levels of groups and users from an AWS Single Sign-On identity source. To configure this, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/API_UserGroupResolutionConfiguration.html\">UserGroupResolutionConfiguration</a>.</p>"
        }
      }
    },
    "UpdateQuerySuggestionsBlockListRequest":{
      "type":"structure",
      "required":[
        "IndexId",
        "Id"
      ],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index for a block list.</p>"
        },
        "Id":{
          "shape":"QuerySuggestionsBlockListId",
          "documentation":"<p>The unique identifier of a block list.</p>"
        },
        "Name":{
          "shape":"QuerySuggestionsBlockListName",
          "documentation":"<p>The name of a block list.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>The description for a block list.</p>"
        },
        "SourceS3Path":{
          "shape":"S3Path",
          "documentation":"<p>The S3 path where your block list text file sits in S3.</p> <p>If you update your block list and provide the same path to the block list text file in S3, then Amazon Kendra reloads the file to refresh the block list. Amazon Kendra does not automatically refresh your block list. You need to call the <code>UpdateQuerySuggestionsBlockList</code> API to refresh you block list.</p> <p>If you update your block list, then Amazon Kendra asynchronously refreshes all query suggestions with the latest content in the S3 file. This means changes might not take effect immediately.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The IAM (Identity and Access Management) role used to access the block list text file in S3.</p>"
        }
      }
    },
    "UpdateQuerySuggestionsConfigRequest":{
      "type":"structure",
      "required":["IndexId"],
      "members":{
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index you want to update query suggestions settings for.</p>"
        },
        "Mode":{
          "shape":"Mode",
          "documentation":"<p>Set the mode to <code>ENABLED</code> or <code>LEARN_ONLY</code>.</p> <p>By default, Amazon Kendra enables query suggestions. <code>LEARN_ONLY</code> mode allows you to turn off query suggestions. You can to update this at any time.</p> <p>In <code>LEARN_ONLY</code> mode, Amazon Kendra continues to learn from new queries to keep suggestions up to date for when you are ready to switch to ENABLED mode again.</p>"
        },
        "QueryLogLookBackWindowInDays":{
          "shape":"Integer",
          "documentation":"<p>How recent your queries are in your query log time window.</p> <p>The time window is the number of days from current day to past days.</p> <p>By default, Amazon Kendra sets this to 180.</p>"
        },
        "IncludeQueriesWithoutUserInformation":{
          "shape":"ObjectBoolean",
          "documentation":"<p> <code>TRUE</code> to include queries without user information (i.e. all queries, irrespective of the user), otherwise <code>FALSE</code> to only include queries with user information.</p> <p>If you pass user information to Amazon Kendra along with the queries, you can set this flag to <code>FALSE</code> and instruct Amazon Kendra to only consider queries with user information.</p> <p>If you set to <code>FALSE</code>, Amazon Kendra only considers queries searched at least <code>MinimumQueryCount</code> times across <code>MinimumNumberOfQueryingUsers</code> unique users for suggestions.</p> <p>If you set to <code>TRUE</code>, Amazon Kendra ignores all user information and learns from all queries.</p>"
        },
        "MinimumNumberOfQueryingUsers":{
          "shape":"MinimumNumberOfQueryingUsers",
          "documentation":"<p>The minimum number of unique users who must search a query in order for the query to be eligible to suggest to your users.</p> <p>Increasing this number might decrease the number of suggestions. However, this ensures a query is searched by many users and is truly popular to suggest to users.</p> <p>How you tune this setting depends on your specific needs.</p>"
        },
        "MinimumQueryCount":{
          "shape":"MinimumQueryCount",
          "documentation":"<p>The the minimum number of times a query must be searched in order to be eligible to suggest to your users.</p> <p>Decreasing this number increases the number of suggestions. However, this affects the quality of suggestions as it sets a low bar for a query to be considered popular to suggest to users.</p> <p>How you tune this setting depends on your specific needs.</p>"
        }
      }
    },
    "UpdateThesaurusRequest":{
      "type":"structure",
      "required":[
        "Id",
        "IndexId"
      ],
      "members":{
        "Id":{
          "shape":"ThesaurusId",
          "documentation":"<p>The identifier of the thesaurus to update.</p>"
        },
        "Name":{
          "shape":"ThesaurusName",
          "documentation":"<p>The updated name of the thesaurus.</p>"
        },
        "IndexId":{
          "shape":"IndexId",
          "documentation":"<p>The identifier of the index associated with the thesaurus to update.</p>"
        },
        "Description":{
          "shape":"Description",
          "documentation":"<p>The updated description of the thesaurus.</p>"
        },
        "RoleArn":{
          "shape":"RoleArn",
          "documentation":"<p>The updated role ARN of the thesaurus.</p>"
        },
        "SourceS3Path":{"shape":"S3Path"}
      }
    },
    "Url":{
      "type":"string",
      "max":2048,
      "min":1,
      "pattern":"^(https?|ftp|file):\\/\\/([^\\s]*)"
    },
    "Urls":{
      "type":"structure",
      "members":{
        "SeedUrlConfiguration":{
          "shape":"SeedUrlConfiguration",
          "documentation":"<p>Provides the configuration of the seed or starting point URLs of the websites you want to crawl.</p> <p>You can choose to crawl only the website host names, or the website host names with subdomains, or the website host names with subdomains and other domains that the webpages link to.</p> <p>You can list up to 100 seed URLs.</p>"
        },
        "SiteMapsConfiguration":{
          "shape":"SiteMapsConfiguration",
          "documentation":"<p>Provides the configuration of the sitemap URLs of the websites you want to crawl.</p> <p>Only URLs belonging to the same website host names are crawled. You can list up to three sitemap URLs.</p>"
        }
      },
      "documentation":"<p>Provides the configuration information of the URLs to crawl.</p> <p>You can only crawl websites that use the secure communication protocol, Hypertext Transfer Protocol Secure (HTTPS). If you receive an error when crawling a website, it could be that the website is blocked from crawling.</p> <p> <i>When selecting websites to index, you must adhere to the <a href=\"https://aws.amazon.com/aup/\">Amazon Acceptable Use Policy</a> and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.</i> </p>"
    },
    "UserAccount":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "UserContext":{
      "type":"structure",
      "members":{
        "Token":{
          "shape":"Token",
          "documentation":"<p>The user context token for filtering search results for a user. It must be a JWT or a JSON token.</p>"
        },
        "UserId":{
          "shape":"PrincipalName",
          "documentation":"<p>The identifier of the user you want to filter search results based on their access to documents.</p>"
        },
        "Groups":{
          "shape":"Groups",
          "documentation":"<p>The list of groups you want to filter search results based on the groups' access to documents.</p>"
        },
        "DataSourceGroups":{
          "shape":"DataSourceGroups",
          "documentation":"<p>The list of data source groups you want to filter search results based on groups' access to documents in that data source.</p>"
        }
      },
      "documentation":"<p>Provides information about the user context for an Amazon Kendra index.</p> <p>This is used for filtering search results for different users based on their access to documents.</p> <p>You provide one of the following:</p> <ul> <li> <p>User token</p> </li> <li> <p>User ID, the groups the user belongs to, and any data sources the groups can access.</p> </li> </ul> <p>If you provide both, an exception is thrown.</p>"
    },
    "UserContextPolicy":{
      "type":"string",
      "enum":[
        "ATTRIBUTE_FILTER",
        "USER_TOKEN"
      ]
    },
    "UserGroupResolutionConfiguration":{
      "type":"structure",
      "required":["UserGroupResolutionMode"],
      "members":{
        "UserGroupResolutionMode":{
          "shape":"UserGroupResolutionMode",
          "documentation":"<p>The identity store provider (mode) you want to use to fetch access levels of groups and users. AWS Single Sign-On is currently the only available mode. Your users and groups must exist in an AWS SSO identity source in order to use this mode.</p>"
        }
      },
      "documentation":"<p>Provides the configuration information to fetch access levels of groups and users from an AWS Single Sign-On identity source. This is useful for setting up user context filtering, where Amazon Kendra filters search results for different users based on their group's access to documents. You can also map your users to their groups for user context filtering using the <a href=\"https://docs.aws.amazon.com/latest/dg/API_PutPrincipalMapping.html\">PutPrincipalMapping operation</a>.</p> <p>To set up an AWS SSO identity source in the console to use with Amazon Kendra, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/getting-started-aws-sso.html\">Getting started with an AWS SSO identity source</a>. You must also grant the required permissions to use AWS SSO with Amazon Kendra. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html#iam-roles-aws-sso\">IAM roles for AWS Single Sign-On</a>.</p>"
    },
    "UserGroupResolutionMode":{
      "type":"string",
      "enum":[
        "AWS_SSO",
        "NONE"
      ]
    },
    "UserId":{
      "type":"string",
      "max":1024,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "UserNameAttributeField":{
      "type":"string",
      "max":100,
      "min":1,
      "pattern":"^\\P{C}*$"
    },
    "UserTokenConfiguration":{
      "type":"structure",
      "members":{
        "JwtTokenTypeConfiguration":{
          "shape":"JwtTokenTypeConfiguration",
          "documentation":"<p>Information about the JWT token type configuration.</p>"
        },
        "JsonTokenTypeConfiguration":{
          "shape":"JsonTokenTypeConfiguration",
          "documentation":"<p>Information about the JSON token type configuration.</p>"
        }
      },
      "documentation":"<p>Provides configuration information for a token configuration.</p>"
    },
    "UserTokenConfigurationList":{
      "type":"list",
      "member":{"shape":"UserTokenConfiguration"},
      "max":1
    },
    "ValidationException":{
      "type":"structure",
      "members":{
        "Message":{"shape":"ErrorMessage"}
      },
      "documentation":"<p/>",
      "exception":true
    },
    "ValueImportanceMap":{
      "type":"map",
      "key":{"shape":"ValueImportanceMapKey"},
      "value":{"shape":"Importance"}
    },
    "ValueImportanceMapKey":{
      "type":"string",
      "max":50,
      "min":1
    },
    "VisitorId":{
      "type":"string",
      "max":256,
      "min":1,
      "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*"
    },
    "VpcSecurityGroupId":{
      "type":"string",
      "max":200,
      "min":1,
      "pattern":"[-0-9a-zA-Z]+"
    },
    "WebCrawlerConfiguration":{
      "type":"structure",
      "required":["Urls"],
      "members":{
        "Urls":{
          "shape":"Urls",
          "documentation":"<p>Specifies the seed or starting point URLs of the websites or the sitemap URLs of the websites you want to crawl.</p> <p>You can include website subdomains. You can list up to 100 seed URLs and up to three sitemap URLs.</p> <p>You can only crawl websites that use the secure communication protocol, Hypertext Transfer Protocol Secure (HTTPS). If you receive an error when crawling a website, it could be that the website is blocked from crawling.</p> <p> <i>When selecting websites to index, you must adhere to the <a href=\"https://aws.amazon.com/aup/\">Amazon Acceptable Use Policy</a> and all other Amazon terms. Remember that you must only use the Amazon Kendra web crawler to index your own webpages, or webpages that you have authorization to index.</i> </p>"
        },
        "CrawlDepth":{
          "shape":"CrawlDepth",
          "documentation":"<p>Specifies the number of levels in a website that you want to crawl.</p> <p>The first level begins from the website seed or starting point URL. For example, if a website has 3 levels – index level (i.e. seed in this example), sections level, and subsections level – and you are only interested in crawling information up to the sections level (i.e. levels 0-1), you can set your depth to 1.</p> <p>The default crawl depth is set to 2.</p>"
        },
        "MaxLinksPerPage":{
          "shape":"MaxLinksPerPage",
          "documentation":"<p>The maximum number of URLs on a webpage to include when crawling a website. This number is per webpage.</p> <p>As a website’s webpages are crawled, any URLs the webpages link to are also crawled. URLs on a webpage are crawled in order of appearance.</p> <p>The default maximum links per page is 100.</p>"
        },
        "MaxContentSizePerPageInMegaBytes":{
          "shape":"MaxContentSizePerPageInMegaBytes",
          "documentation":"<p>The maximum size (in MB) of a webpage or attachment to crawl.</p> <p>Files larger than this size (in MB) are skipped/not crawled.</p> <p>The default maximum size of a webpage or attachment is set to 50 MB.</p>"
        },
        "MaxUrlsPerMinuteCrawlRate":{
          "shape":"MaxUrlsPerMinuteCrawlRate",
          "documentation":"<p>The maximum number of URLs crawled per website host per minute.</p> <p>A minimum of one URL is required.</p> <p>The default maximum number of URLs crawled per website host per minute is 300.</p>"
        },
        "UrlInclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>The regular expression pattern to include certain URLs to crawl.</p> <p>If there is a regular expression pattern to exclude certain URLs that conflicts with the include pattern, the exclude pattern takes precedence.</p>"
        },
        "UrlExclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>The regular expression pattern to exclude certain URLs to crawl.</p> <p>If there is a regular expression pattern to include certain URLs that conflicts with the exclude pattern, the exclude pattern takes precedence.</p>"
        },
        "ProxyConfiguration":{
          "shape":"ProxyConfiguration",
          "documentation":"<p>Provides configuration information required to connect to your internal websites via a web proxy.</p> <p>You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is \"a.example.com\" and the port is 443, the standard port for HTTPS.</p> <p>Web proxy credentials are optional and you can use them to connect to a web proxy server that requires basic authentication. To store web proxy credentials, you use a secret in <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\">AWS Secrets Manager</a>.</p>"
        },
        "AuthenticationConfiguration":{
          "shape":"AuthenticationConfiguration",
          "documentation":"<p>Provides configuration information required to connect to websites using authentication.</p> <p>You can connect to websites using basic authentication of user name and password.</p> <p>You must provide the website host name and port number. For example, the host name of https://a.example.com/page1.html is \"a.example.com\" and the port is 443, the standard port for HTTPS. You use a secret in <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html\">AWS Secrets Manager</a> to store your authentication credentials.</p>"
        }
      },
      "documentation":"<p>Provides the configuration information required for Amazon Kendra web crawler.</p>"
    },
    "WebCrawlerMode":{
      "type":"string",
      "enum":[
        "HOST_ONLY",
        "SUBDOMAINS",
        "EVERYTHING"
      ]
    },
    "WorkDocsConfiguration":{
      "type":"structure",
      "required":["OrganizationId"],
      "members":{
        "OrganizationId":{
          "shape":"OrganizationId",
          "documentation":"<p>The identifier of the directory corresponding to your Amazon WorkDocs site repository.</p> <p>You can find the organization ID in the <a href=\"https://console.aws.amazon.com/directoryservicev2/\">AWS Directory Service</a> by going to <b>Active Directory</b>, then <b>Directories</b>. Your Amazon WorkDocs site directory has an ID, which is the organization ID. You can also set up a new Amazon WorkDocs directory in the AWS Directory Service console and enable a Amazon WorkDocs site for the directory in the Amazon WorkDocs console.</p>"
        },
        "CrawlComments":{
          "shape":"Boolean",
          "documentation":"<p> <code>TRUE</code> to include comments on documents in your index. Including comments in your index means each comment is a document that can be searched on.</p> <p>The default is set to <code>FALSE</code>.</p>"
        },
        "UseChangeLog":{
          "shape":"Boolean",
          "documentation":"<p> <code>TRUE</code> to use the change logs to update documents in your index instead of scanning all documents.</p> <p>If you are syncing your Amazon WorkDocs data source with your index for the first time, all documents are scanned. After your first sync, you can use the change logs to update your documents in your index for future syncs.</p> <p>The default is set to <code>FALSE</code>.</p>"
        },
        "InclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns to include certain files in your Amazon WorkDocs site repository. Files that match the patterns are included in the index. Files that don't match the patterns are excluded from the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.</p>"
        },
        "ExclusionPatterns":{
          "shape":"DataSourceInclusionsExclusionsStrings",
          "documentation":"<p>A list of regular expression patterns to exclude certain files in your Amazon WorkDocs site repository. Files that match the patterns are excluded from the index. Files that don’t match the patterns are included in the index. If a file matches both an inclusion pattern and an exclusion pattern, the exclusion pattern takes precedence and the file isn’t included in the index.</p>"
        },
        "FieldMappings":{
          "shape":"DataSourceToIndexFieldMappingList",
          "documentation":"<p>A list of <code>DataSourceToIndexFieldMapping</code> objects that map Amazon WorkDocs field names to custom index field names in Amazon Kendra. You must first create the custom index fields using the <code>UpdateIndex</code> operation before you map to Amazon WorkDocs fields. For more information, see <a href=\"https://docs.aws.amazon.com/kendra/latest/dg/field-mapping.html\">Mapping Data Source Fields</a>. The Amazon WorkDocs data source field names need to exist in your Amazon WorkDocs custom metadata.</p>"
        }
      },
      "documentation":"<p>Provides the configuration information to connect to Amazon WorkDocs as your data source.</p> <p>Amazon WorkDocs connector is available in Oregon, North Virginia, Sydney, Singapore and Ireland regions.</p>"
    }
  },
  "documentation":"<p>Amazon Kendra is a service for indexing large document sets.</p>"
}
