@aws-sdk/client-kendra 3.50.0 → 3.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/KendraServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +172 -6
- package/dist-cjs/protocols/Aws_json1_1.js +741 -2572
- package/dist-es/index.js +1 -0
- package/dist-es/models/KendraServiceException.js +12 -0
- package/dist-es/models/models_0.js +154 -1
- package/dist-es/protocols/Aws_json1_1.js +1492 -2772
- package/dist-types/Kendra.d.ts +17 -17
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +5 -5
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +2 -2
- package/dist-types/commands/CreateIndexCommand.d.ts +2 -2
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/QueryCommand.d.ts +2 -2
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/KendraServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +237 -105
- package/dist-types/ts3.4/Kendra.d.ts +280 -0
- package/dist-types/ts3.4/KendraClient.d.ts +128 -0
- package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetDocumentStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ClearQuerySuggestionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFaqCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateQuerySuggestionsBlockListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateThesaurusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFaqCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePrincipalMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteThesaurusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeFaqCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeIndexCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribePrincipalMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeQuerySuggestionsConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeThesaurusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFaqsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListQuerySuggestionsBlockListsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListThesauriCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutPrincipalMappingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +55 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/KendraServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3355 -0
- package/dist-types/ts3.4/pagination/GetSnapshotsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListDataSourceSyncJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDataSourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListIndicesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +167 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/Kendra.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ export declare class Kendra extends KendraClient {
|
|
|
81
81
|
associatePersonasToEntities(args: AssociatePersonasToEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociatePersonasToEntitiesCommandOutput) => void): void;
|
|
82
82
|
/**
|
|
83
83
|
* <p>Removes one or more documents from an index. The documents must have
|
|
84
|
-
* been added with the <code>BatchPutDocument</code>
|
|
84
|
+
* been added with the <code>BatchPutDocument</code> API.</p>
|
|
85
85
|
* <p>The documents are deleted asynchronously. You can see the progress of
|
|
86
86
|
* the deletion by using Amazon Web Services CloudWatch. Any error messages related to the
|
|
87
87
|
* processing of the batch are sent to you CloudWatch log.</p>
|
|
@@ -92,15 +92,15 @@ export declare class Kendra extends KendraClient {
|
|
|
92
92
|
/**
|
|
93
93
|
* <p>Returns the indexing status for one or more documents submitted
|
|
94
94
|
* with the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">
|
|
95
|
-
* BatchPutDocument</a>
|
|
96
|
-
* <p>When you use the <code>BatchPutDocument</code>
|
|
95
|
+
* BatchPutDocument</a> API.</p>
|
|
96
|
+
* <p>When you use the <code>BatchPutDocument</code> API,
|
|
97
97
|
* documents are indexed asynchronously. You can use the
|
|
98
|
-
* <code>BatchGetDocumentStatus</code>
|
|
98
|
+
* <code>BatchGetDocumentStatus</code> API to get the current
|
|
99
99
|
* status of a list of documents so that you can determine if they have
|
|
100
100
|
* been successfully indexed.</p>
|
|
101
|
-
* <p>You can also use the <code>BatchGetDocumentStatus</code>
|
|
101
|
+
* <p>You can also use the <code>BatchGetDocumentStatus</code> API
|
|
102
102
|
* to check the status of the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html">
|
|
103
|
-
* BatchDeleteDocument</a>
|
|
103
|
+
* BatchDeleteDocument</a> API. When a document is
|
|
104
104
|
* deleted from the index, Amazon Kendra returns <code>NOT_FOUND</code> as the
|
|
105
105
|
* status.</p>
|
|
106
106
|
*/
|
|
@@ -109,9 +109,9 @@ export declare class Kendra extends KendraClient {
|
|
|
109
109
|
batchGetDocumentStatus(args: BatchGetDocumentStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetDocumentStatusCommandOutput) => void): void;
|
|
110
110
|
/**
|
|
111
111
|
* <p>Adds one or more documents to an index.</p>
|
|
112
|
-
* <p>The <code>BatchPutDocument</code>
|
|
112
|
+
* <p>The <code>BatchPutDocument</code> API enables you to ingest
|
|
113
113
|
* inline documents or a set of documents stored in an Amazon S3 bucket. Use
|
|
114
|
-
* this
|
|
114
|
+
* this API to ingest your text and unstructured text into an index,
|
|
115
115
|
* add custom attributes to the documents, and to attach an access control
|
|
116
116
|
* list to the documents added to the index.</p>
|
|
117
117
|
* <p>The documents are indexed asynchronously. You can see the progress of
|
|
@@ -168,12 +168,12 @@ export declare class Kendra extends KendraClient {
|
|
|
168
168
|
createFaq(args: CreateFaqCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFaqCommandOutput) => void): void;
|
|
169
169
|
/**
|
|
170
170
|
* <p>Creates a new Amazon Kendra index. Index creation is an asynchronous
|
|
171
|
-
*
|
|
171
|
+
* API. To determine if index creation has completed, check the
|
|
172
172
|
* <code>Status</code> field returned from a call to
|
|
173
173
|
* <code>DescribeIndex</code>. The <code>Status</code> field is set to
|
|
174
174
|
* <code>ACTIVE</code> when the index is ready to use.</p>
|
|
175
175
|
* <p>Once the index is active you can index your documents using the
|
|
176
|
-
* <code>BatchPutDocument</code>
|
|
176
|
+
* <code>BatchPutDocument</code> API or using one of the supported
|
|
177
177
|
* data sources. </p>
|
|
178
178
|
*/
|
|
179
179
|
createIndex(args: CreateIndexCommandInput, options?: __HttpHandlerOptions): Promise<CreateIndexCommandOutput>;
|
|
@@ -207,7 +207,7 @@ export declare class Kendra extends KendraClient {
|
|
|
207
207
|
* <p>Deletes an Amazon Kendra data source. An exception is not thrown if the
|
|
208
208
|
* data source is already being deleted. While the data source is being
|
|
209
209
|
* deleted, the <code>Status</code> field returned by a call to the
|
|
210
|
-
* <code>DescribeDataSource</code>
|
|
210
|
+
* <code>DescribeDataSource</code> API is set to
|
|
211
211
|
* <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>
|
|
212
212
|
*/
|
|
213
213
|
deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
|
|
@@ -231,7 +231,7 @@ export declare class Kendra extends KendraClient {
|
|
|
231
231
|
* <p>Deletes an existing Amazon Kendra index. An exception is not thrown if
|
|
232
232
|
* the index is already being deleted. While the index is being deleted, the
|
|
233
233
|
* <code>Status</code> field returned by a call to the
|
|
234
|
-
* <code>DescribeIndex</code>
|
|
234
|
+
* <code>DescribeIndex</code> API is set to
|
|
235
235
|
* <code>DELETING</code>.</p>
|
|
236
236
|
*/
|
|
237
237
|
deleteIndex(args: DeleteIndexCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexCommandOutput>;
|
|
@@ -277,7 +277,7 @@ export declare class Kendra extends KendraClient {
|
|
|
277
277
|
deleteThesaurus(args: DeleteThesaurusCommandInput, cb: (err: any, data?: DeleteThesaurusCommandOutput) => void): void;
|
|
278
278
|
deleteThesaurus(args: DeleteThesaurusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteThesaurusCommandOutput) => void): void;
|
|
279
279
|
/**
|
|
280
|
-
* <p>Gets information about
|
|
280
|
+
* <p>Gets information about an Amazon Kendra data source.</p>
|
|
281
281
|
*/
|
|
282
282
|
describeDataSource(args: DescribeDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDataSourceCommandOutput>;
|
|
283
283
|
describeDataSource(args: DescribeDataSourceCommandInput, cb: (err: any, data?: DescribeDataSourceCommandOutput) => void): void;
|
|
@@ -494,10 +494,10 @@ export declare class Kendra extends KendraClient {
|
|
|
494
494
|
putPrincipalMapping(args: PutPrincipalMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPrincipalMappingCommandOutput) => void): void;
|
|
495
495
|
/**
|
|
496
496
|
* <p>Searches an active index. Use this API to search your documents
|
|
497
|
-
* using query. The <code>Query</code>
|
|
497
|
+
* using query. The <code>Query</code> API enables to do faceted
|
|
498
498
|
* search and to filter results based on document attributes.</p>
|
|
499
499
|
* <p>It also enables you to provide user context that Amazon Kendra uses
|
|
500
|
-
* to enforce document access control in the search results
|
|
500
|
+
* to enforce document access control in the search results.</p>
|
|
501
501
|
* <p>Amazon Kendra searches your index for text content and question and
|
|
502
502
|
* answer (FAQ) content. By default the response contains three types of
|
|
503
503
|
* results.</p>
|
|
@@ -528,8 +528,8 @@ export declare class Kendra extends KendraClient {
|
|
|
528
528
|
startDataSourceSyncJob(args: StartDataSourceSyncJobCommandInput, cb: (err: any, data?: StartDataSourceSyncJobCommandOutput) => void): void;
|
|
529
529
|
startDataSourceSyncJob(args: StartDataSourceSyncJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDataSourceSyncJobCommandOutput) => void): void;
|
|
530
530
|
/**
|
|
531
|
-
* <p>Stops a
|
|
532
|
-
* synchronization job.</p>
|
|
531
|
+
* <p>Stops a synchronization job that is currently running.
|
|
532
|
+
* You can't stop a scheduled synchronization job.</p>
|
|
533
533
|
*/
|
|
534
534
|
stopDataSourceSyncJob(args: StopDataSourceSyncJobCommandInput, options?: __HttpHandlerOptions): Promise<StopDataSourceSyncJobCommandOutput>;
|
|
535
535
|
stopDataSourceSyncJob(args: StopDataSourceSyncJobCommandInput, cb: (err: any, data?: StopDataSourceSyncJobCommandOutput) => void): void;
|
|
@@ -8,7 +8,7 @@ export interface BatchDeleteDocumentCommandOutput extends BatchDeleteDocumentRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Removes one or more documents from an index. The documents must have
|
|
11
|
-
* been added with the <code>BatchPutDocument</code>
|
|
11
|
+
* been added with the <code>BatchPutDocument</code> API.</p>
|
|
12
12
|
* <p>The documents are deleted asynchronously. You can see the progress of
|
|
13
13
|
* the deletion by using Amazon Web Services CloudWatch. Any error messages related to the
|
|
14
14
|
* processing of the batch are sent to you CloudWatch log.</p>
|
|
@@ -9,15 +9,15 @@ export interface BatchGetDocumentStatusCommandOutput extends BatchGetDocumentSta
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Returns the indexing status for one or more documents submitted
|
|
11
11
|
* with the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchPutDocument.html">
|
|
12
|
-
* BatchPutDocument</a>
|
|
13
|
-
* <p>When you use the <code>BatchPutDocument</code>
|
|
12
|
+
* BatchPutDocument</a> API.</p>
|
|
13
|
+
* <p>When you use the <code>BatchPutDocument</code> API,
|
|
14
14
|
* documents are indexed asynchronously. You can use the
|
|
15
|
-
* <code>BatchGetDocumentStatus</code>
|
|
15
|
+
* <code>BatchGetDocumentStatus</code> API to get the current
|
|
16
16
|
* status of a list of documents so that you can determine if they have
|
|
17
17
|
* been successfully indexed.</p>
|
|
18
|
-
* <p>You can also use the <code>BatchGetDocumentStatus</code>
|
|
18
|
+
* <p>You can also use the <code>BatchGetDocumentStatus</code> API
|
|
19
19
|
* to check the status of the <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_BatchDeleteDocument.html">
|
|
20
|
-
* BatchDeleteDocument</a>
|
|
20
|
+
* BatchDeleteDocument</a> API. When a document is
|
|
21
21
|
* deleted from the index, Amazon Kendra returns <code>NOT_FOUND</code> as the
|
|
22
22
|
* status.</p>
|
|
23
23
|
* @example
|
|
@@ -8,9 +8,9 @@ export interface BatchPutDocumentCommandOutput extends BatchPutDocumentResponse,
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Adds one or more documents to an index.</p>
|
|
11
|
-
* <p>The <code>BatchPutDocument</code>
|
|
11
|
+
* <p>The <code>BatchPutDocument</code> API enables you to ingest
|
|
12
12
|
* inline documents or a set of documents stored in an Amazon S3 bucket. Use
|
|
13
|
-
* this
|
|
13
|
+
* this API to ingest your text and unstructured text into an index,
|
|
14
14
|
* add custom attributes to the documents, and to attach an access control
|
|
15
15
|
* list to the documents added to the index.</p>
|
|
16
16
|
* <p>The documents are indexed asynchronously. You can see the progress of
|
|
@@ -8,12 +8,12 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a new Amazon Kendra index. Index creation is an asynchronous
|
|
11
|
-
*
|
|
11
|
+
* API. To determine if index creation has completed, check the
|
|
12
12
|
* <code>Status</code> field returned from a call to
|
|
13
13
|
* <code>DescribeIndex</code>. The <code>Status</code> field is set to
|
|
14
14
|
* <code>ACTIVE</code> when the index is ready to use.</p>
|
|
15
15
|
* <p>Once the index is active you can index your documents using the
|
|
16
|
-
* <code>BatchPutDocument</code>
|
|
16
|
+
* <code>BatchPutDocument</code> API or using one of the supported
|
|
17
17
|
* data sources. </p>
|
|
18
18
|
* @example
|
|
19
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,7 +10,7 @@ export interface DeleteDataSourceCommandOutput extends __MetadataBearer {
|
|
|
10
10
|
* <p>Deletes an Amazon Kendra data source. An exception is not thrown if the
|
|
11
11
|
* data source is already being deleted. While the data source is being
|
|
12
12
|
* deleted, the <code>Status</code> field returned by a call to the
|
|
13
|
-
* <code>DescribeDataSource</code>
|
|
13
|
+
* <code>DescribeDataSource</code> API is set to
|
|
14
14
|
* <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>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -10,7 +10,7 @@ export interface DeleteIndexCommandOutput extends __MetadataBearer {
|
|
|
10
10
|
* <p>Deletes an existing Amazon Kendra index. An exception is not thrown if
|
|
11
11
|
* the index is already being deleted. While the index is being deleted, the
|
|
12
12
|
* <code>Status</code> field returned by a call to the
|
|
13
|
-
* <code>DescribeIndex</code>
|
|
13
|
+
* <code>DescribeIndex</code> API is set to
|
|
14
14
|
* <code>DELETING</code>.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface DescribeDataSourceCommandInput extends DescribeDataSourceReques
|
|
|
7
7
|
export interface DescribeDataSourceCommandOutput extends DescribeDataSourceResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Gets information about
|
|
10
|
+
* <p>Gets information about an Amazon Kendra data source.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -8,10 +8,10 @@ export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Searches an active index. Use this API to search your documents
|
|
11
|
-
* using query. The <code>Query</code>
|
|
11
|
+
* using query. The <code>Query</code> API enables to do faceted
|
|
12
12
|
* search and to filter results based on document attributes.</p>
|
|
13
13
|
* <p>It also enables you to provide user context that Amazon Kendra uses
|
|
14
|
-
* to enforce document access control in the search results
|
|
14
|
+
* to enforce document access control in the search results.</p>
|
|
15
15
|
* <p>Amazon Kendra searches your index for text content and question and
|
|
16
16
|
* answer (FAQ) content. By default the response contains three types of
|
|
17
17
|
* results.</p>
|
|
@@ -7,8 +7,8 @@ export interface StopDataSourceSyncJobCommandInput extends StopDataSourceSyncJob
|
|
|
7
7
|
export interface StopDataSourceSyncJobCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Stops a
|
|
11
|
-
* synchronization job.</p>
|
|
10
|
+
* <p>Stops a synchronization job that is currently running.
|
|
11
|
+
* You can't stop a scheduled synchronization job.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Kendra service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class KendraServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|