@aws-sdk/client-kendra 3.299.0 → 3.301.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/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +10 -0
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +10 -0
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +10 -0
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +21 -0
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +114 -0
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +26 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +569 -0
- package/dist-types/commands/CreateExperienceCommand.d.ts +21 -0
- package/dist-types/commands/CreateFaqCommand.d.ts +19 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +37 -0
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +17 -0
- package/dist-types/commands/CreateThesaurusCommand.d.ts +17 -0
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteExperienceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFaqCommand.d.ts +4 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +3 -0
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +6 -0
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +4 -0
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/DescribeExperienceCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFaqCommand.d.ts +4 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +3 -0
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +5 -0
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +4 -0
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +10 -0
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +7 -0
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +5 -0
- package/dist-types/commands/GetSnapshotsCommand.d.ts +7 -0
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +5 -0
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +11 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +5 -0
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +6 -0
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +5 -0
- package/dist-types/commands/ListExperiencesCommand.d.ts +5 -0
- package/dist-types/commands/ListFaqsCommand.d.ts +5 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +7 -0
- package/dist-types/commands/ListIndicesCommand.d.ts +4 -0
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListThesauriCommand.d.ts +5 -0
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +24 -0
- package/dist-types/commands/QueryCommand.d.ts +139 -0
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -0
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +4 -0
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +26 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +562 -0
- package/dist-types/commands/UpdateExperienceCommand.d.ts +21 -0
- package/dist-types/commands/UpdateIndexCommand.d.ts +52 -0
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +11 -0
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +8 -0
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +11 -0
- package/package.json +8 -8
|
@@ -40,6 +40,23 @@ export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuer
|
|
|
40
40
|
* import { KendraClient, CreateQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
41
41
|
* // const { KendraClient, CreateQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
42
42
|
* const client = new KendraClient(config);
|
|
43
|
+
* const input = { // CreateQuerySuggestionsBlockListRequest
|
|
44
|
+
* IndexId: "STRING_VALUE", // required
|
|
45
|
+
* Name: "STRING_VALUE", // required
|
|
46
|
+
* Description: "STRING_VALUE",
|
|
47
|
+
* SourceS3Path: { // S3Path
|
|
48
|
+
* Bucket: "STRING_VALUE", // required
|
|
49
|
+
* Key: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* ClientToken: "STRING_VALUE",
|
|
52
|
+
* RoleArn: "STRING_VALUE", // required
|
|
53
|
+
* Tags: [ // TagList
|
|
54
|
+
* { // Tag
|
|
55
|
+
* Key: "STRING_VALUE", // required
|
|
56
|
+
* Value: "STRING_VALUE", // required
|
|
57
|
+
* },
|
|
58
|
+
* ],
|
|
59
|
+
* };
|
|
43
60
|
* const command = new CreateQuerySuggestionsBlockListCommand(input);
|
|
44
61
|
* const response = await client.send(command);
|
|
45
62
|
* ```
|
|
@@ -30,6 +30,23 @@ export interface CreateThesaurusCommandOutput extends CreateThesaurusResponse, _
|
|
|
30
30
|
* import { KendraClient, CreateThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
31
31
|
* // const { KendraClient, CreateThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
32
32
|
* const client = new KendraClient(config);
|
|
33
|
+
* const input = { // CreateThesaurusRequest
|
|
34
|
+
* IndexId: "STRING_VALUE", // required
|
|
35
|
+
* Name: "STRING_VALUE", // required
|
|
36
|
+
* Description: "STRING_VALUE",
|
|
37
|
+
* RoleArn: "STRING_VALUE", // required
|
|
38
|
+
* Tags: [ // TagList
|
|
39
|
+
* { // Tag
|
|
40
|
+
* Key: "STRING_VALUE", // required
|
|
41
|
+
* Value: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* SourceS3Path: { // S3Path
|
|
45
|
+
* Bucket: "STRING_VALUE", // required
|
|
46
|
+
* Key: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* ClientToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
33
50
|
* const command = new CreateThesaurusCommand(input);
|
|
34
51
|
* const response = await client.send(command);
|
|
35
52
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DeleteAccessControlConfigurationCommandOutput extends DeleteAcc
|
|
|
29
29
|
* import { KendraClient, DeleteAccessControlConfigurationCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, DeleteAccessControlConfigurationCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
+
* const input = { // DeleteAccessControlConfigurationRequest
|
|
33
|
+
* IndexId: "STRING_VALUE", // required
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DeleteAccessControlConfigurationCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DeleteDataSourceCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { KendraClient, DeleteDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, DeleteDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
+
* const input = { // DeleteDataSourceRequest
|
|
33
|
+
* Id: "STRING_VALUE", // required
|
|
34
|
+
* IndexId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DeleteDataSourceCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DeleteExperienceCommandOutput extends DeleteExperienceResponse,
|
|
|
28
28
|
* import { KendraClient, DeleteExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
29
29
|
* // const { KendraClient, DeleteExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
30
30
|
* const client = new KendraClient(config);
|
|
31
|
+
* const input = { // DeleteExperienceRequest
|
|
32
|
+
* Id: "STRING_VALUE", // required
|
|
33
|
+
* IndexId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DeleteExperienceCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DeleteFaqCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { KendraClient, DeleteFaqCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, DeleteFaqCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // DeleteFaqRequest
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* IndexId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DeleteFaqCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteIndexCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { KendraClient, DeleteIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, DeleteIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
+
* const input = { // DeleteIndexRequest
|
|
33
|
+
* Id: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteIndexCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -40,6 +40,12 @@ export interface DeletePrincipalMappingCommandOutput extends __MetadataBearer {
|
|
|
40
40
|
* import { KendraClient, DeletePrincipalMappingCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
41
41
|
* // const { KendraClient, DeletePrincipalMappingCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
42
42
|
* const client = new KendraClient(config);
|
|
43
|
+
* const input = { // DeletePrincipalMappingRequest
|
|
44
|
+
* IndexId: "STRING_VALUE", // required
|
|
45
|
+
* DataSourceId: "STRING_VALUE",
|
|
46
|
+
* GroupId: "STRING_VALUE", // required
|
|
47
|
+
* OrderingId: Number("long"),
|
|
48
|
+
* };
|
|
43
49
|
* const command = new DeletePrincipalMappingCommand(input);
|
|
44
50
|
* const response = await client.send(command);
|
|
45
51
|
* ```
|
|
@@ -32,6 +32,10 @@ export interface DeleteQuerySuggestionsBlockListCommandOutput extends __Metadata
|
|
|
32
32
|
* import { KendraClient, DeleteQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
33
33
|
* // const { KendraClient, DeleteQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
34
34
|
* const client = new KendraClient(config);
|
|
35
|
+
* const input = { // DeleteQuerySuggestionsBlockListRequest
|
|
36
|
+
* IndexId: "STRING_VALUE", // required
|
|
37
|
+
* Id: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
35
39
|
* const command = new DeleteQuerySuggestionsBlockListCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteThesaurusCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { KendraClient, DeleteThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
28
28
|
* // const { KendraClient, DeleteThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
29
29
|
* const client = new KendraClient(config);
|
|
30
|
+
* const input = { // DeleteThesaurusRequest
|
|
31
|
+
* Id: "STRING_VALUE", // required
|
|
32
|
+
* IndexId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DeleteThesaurusCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DescribeAccessControlConfigurationCommandOutput extends Describ
|
|
|
29
29
|
* import { KendraClient, DescribeAccessControlConfigurationCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, DescribeAccessControlConfigurationCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
+
* const input = { // DescribeAccessControlConfigurationRequest
|
|
33
|
+
* IndexId: "STRING_VALUE", // required
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DescribeAccessControlConfigurationCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeDataSourceCommandOutput extends DescribeDataSourceRespo
|
|
|
26
26
|
* import { KendraClient, DescribeDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, DescribeDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // DescribeDataSourceRequest
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* IndexId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeDataSourceCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -29,6 +29,10 @@ export interface DescribeExperienceCommandOutput extends DescribeExperienceRespo
|
|
|
29
29
|
* import { KendraClient, DescribeExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, DescribeExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
+
* const input = { // DescribeExperienceRequest
|
|
33
|
+
* Id: "STRING_VALUE", // required
|
|
34
|
+
* IndexId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
32
36
|
* const command = new DescribeExperienceCommand(input);
|
|
33
37
|
* const response = await client.send(command);
|
|
34
38
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeFaqCommandOutput extends DescribeFaqResponse, __Metadat
|
|
|
26
26
|
* import { KendraClient, DescribeFaqCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, DescribeFaqCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // DescribeFaqRequest
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* IndexId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeFaqCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeIndexCommandOutput extends DescribeIndexResponse, __Met
|
|
|
26
26
|
* import { KendraClient, DescribeIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, DescribeIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // DescribeIndexRequest
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeIndexCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -34,6 +34,11 @@ export interface DescribePrincipalMappingCommandOutput extends DescribePrincipal
|
|
|
34
34
|
* import { KendraClient, DescribePrincipalMappingCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
35
35
|
* // const { KendraClient, DescribePrincipalMappingCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
36
36
|
* const client = new KendraClient(config);
|
|
37
|
+
* const input = { // DescribePrincipalMappingRequest
|
|
38
|
+
* IndexId: "STRING_VALUE", // required
|
|
39
|
+
* DataSourceId: "STRING_VALUE",
|
|
40
|
+
* GroupId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
37
42
|
* const command = new DescribePrincipalMappingCommand(input);
|
|
38
43
|
* const response = await client.send(command);
|
|
39
44
|
* ```
|
|
@@ -32,6 +32,10 @@ export interface DescribeQuerySuggestionsBlockListCommandOutput extends Describe
|
|
|
32
32
|
* import { KendraClient, DescribeQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
33
33
|
* // const { KendraClient, DescribeQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
34
34
|
* const client = new KendraClient(config);
|
|
35
|
+
* const input = { // DescribeQuerySuggestionsBlockListRequest
|
|
36
|
+
* IndexId: "STRING_VALUE", // required
|
|
37
|
+
* Id: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
35
39
|
* const command = new DescribeQuerySuggestionsBlockListCommand(input);
|
|
36
40
|
* const response = await client.send(command);
|
|
37
41
|
* ```
|
|
@@ -31,6 +31,9 @@ export interface DescribeQuerySuggestionsConfigCommandOutput extends DescribeQue
|
|
|
31
31
|
* import { KendraClient, DescribeQuerySuggestionsConfigCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
32
32
|
* // const { KendraClient, DescribeQuerySuggestionsConfigCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
33
33
|
* const client = new KendraClient(config);
|
|
34
|
+
* const input = { // DescribeQuerySuggestionsConfigRequest
|
|
35
|
+
* IndexId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
34
37
|
* const command = new DescribeQuerySuggestionsConfigCommand(input);
|
|
35
38
|
* const response = await client.send(command);
|
|
36
39
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeThesaurusCommandOutput extends DescribeThesaurusRespons
|
|
|
26
26
|
* import { KendraClient, DescribeThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, DescribeThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // DescribeThesaurusRequest
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* IndexId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeThesaurusCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -30,6 +30,16 @@ export interface DisassociateEntitiesFromExperienceCommandOutput extends Disasso
|
|
|
30
30
|
* import { KendraClient, DisassociateEntitiesFromExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
31
31
|
* // const { KendraClient, DisassociateEntitiesFromExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
32
32
|
* const client = new KendraClient(config);
|
|
33
|
+
* const input = { // DisassociateEntitiesFromExperienceRequest
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* IndexId: "STRING_VALUE", // required
|
|
36
|
+
* EntityList: [ // DisassociateEntityList // required
|
|
37
|
+
* { // EntityConfiguration
|
|
38
|
+
* EntityId: "STRING_VALUE", // required
|
|
39
|
+
* EntityType: "USER" || "GROUP", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
33
43
|
* const command = new DisassociateEntitiesFromExperienceCommand(input);
|
|
34
44
|
* const response = await client.send(command);
|
|
35
45
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface DisassociatePersonasFromEntitiesCommandOutput extends Disassoci
|
|
|
30
30
|
* import { KendraClient, DisassociatePersonasFromEntitiesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
31
31
|
* // const { KendraClient, DisassociatePersonasFromEntitiesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
32
32
|
* const client = new KendraClient(config);
|
|
33
|
+
* const input = { // DisassociatePersonasFromEntitiesRequest
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* IndexId: "STRING_VALUE", // required
|
|
36
|
+
* EntityIds: [ // EntityIdsList // required
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
33
40
|
* const command = new DisassociatePersonasFromEntitiesCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface GetQuerySuggestionsCommandOutput extends GetQuerySuggestionsRes
|
|
|
29
29
|
* import { KendraClient, GetQuerySuggestionsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, GetQuerySuggestionsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
+
* const input = { // GetQuerySuggestionsRequest
|
|
33
|
+
* IndexId: "STRING_VALUE", // required
|
|
34
|
+
* QueryText: "STRING_VALUE", // required
|
|
35
|
+
* MaxSuggestionsCount: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new GetQuerySuggestionsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface GetSnapshotsCommandOutput extends GetSnapshotsResponse, __Metad
|
|
|
28
28
|
* import { KendraClient, GetSnapshotsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
29
29
|
* // const { KendraClient, GetSnapshotsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
30
30
|
* const client = new KendraClient(config);
|
|
31
|
+
* const input = { // GetSnapshotsRequest
|
|
32
|
+
* IndexId: "STRING_VALUE", // required
|
|
33
|
+
* Interval: "THIS_MONTH" || "THIS_WEEK" || "ONE_WEEK_AGO" || "TWO_WEEKS_AGO" || "ONE_MONTH_AGO" || "TWO_MONTHS_AGO", // required
|
|
34
|
+
* MetricType: "QUERIES_BY_COUNT" || "QUERIES_BY_ZERO_CLICK_RATE" || "QUERIES_BY_ZERO_RESULT_RATE" || "DOCS_BY_CLICK_COUNT" || "AGG_QUERY_DOC_METRICS" || "TREND_QUERY_DOC_METRICS", // required
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* };
|
|
31
38
|
* const command = new GetSnapshotsCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListAccessControlConfigurationsCommandOutput extends ListAccess
|
|
|
29
29
|
* import { KendraClient, ListAccessControlConfigurationsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, ListAccessControlConfigurationsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
+
* const input = { // ListAccessControlConfigurationsRequest
|
|
33
|
+
* IndexId: "STRING_VALUE", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListAccessControlConfigurationsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface ListDataSourceSyncJobsCommandOutput extends ListDataSourceSyncJ
|
|
|
26
26
|
* import { KendraClient, ListDataSourceSyncJobsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, ListDataSourceSyncJobsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // ListDataSourceSyncJobsRequest
|
|
30
|
+
* Id: "STRING_VALUE", // required
|
|
31
|
+
* IndexId: "STRING_VALUE", // required
|
|
32
|
+
* NextToken: "STRING_VALUE",
|
|
33
|
+
* MaxResults: Number("int"),
|
|
34
|
+
* StartTimeFilter: { // TimeRange
|
|
35
|
+
* StartTime: new Date("TIMESTAMP"),
|
|
36
|
+
* EndTime: new Date("TIMESTAMP"),
|
|
37
|
+
* },
|
|
38
|
+
* StatusFilter: "FAILED" || "SUCCEEDED" || "SYNCING" || "INCOMPLETE" || "STOPPING" || "ABORTED" || "SYNCING_INDEXING",
|
|
39
|
+
* };
|
|
29
40
|
* const command = new ListDataSourceSyncJobsCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListDataSourcesCommandOutput extends ListDataSourcesResponse, _
|
|
|
26
26
|
* import { KendraClient, ListDataSourcesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, ListDataSourcesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // ListDataSourcesRequest
|
|
30
|
+
* IndexId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListDataSourcesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface ListEntityPersonasCommandOutput extends ListEntityPersonasRespo
|
|
|
27
27
|
* import { KendraClient, ListEntityPersonasCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
28
28
|
* // const { KendraClient, ListEntityPersonasCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
29
29
|
* const client = new KendraClient(config);
|
|
30
|
+
* const input = { // ListEntityPersonasRequest
|
|
31
|
+
* Id: "STRING_VALUE", // required
|
|
32
|
+
* IndexId: "STRING_VALUE", // required
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
30
36
|
* const command = new ListEntityPersonasCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface ListExperienceEntitiesCommandOutput extends ListExperienceEntit
|
|
|
30
30
|
* import { KendraClient, ListExperienceEntitiesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
31
31
|
* // const { KendraClient, ListExperienceEntitiesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
32
32
|
* const client = new KendraClient(config);
|
|
33
|
+
* const input = { // ListExperienceEntitiesRequest
|
|
34
|
+
* Id: "STRING_VALUE", // required
|
|
35
|
+
* IndexId: "STRING_VALUE", // required
|
|
36
|
+
* NextToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
33
38
|
* const command = new ListExperienceEntitiesCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface ListExperiencesCommandOutput extends ListExperiencesResponse, _
|
|
|
29
29
|
* import { KendraClient, ListExperiencesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, ListExperiencesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
+
* const input = { // ListExperiencesRequest
|
|
33
|
+
* IndexId: "STRING_VALUE", // required
|
|
34
|
+
* NextToken: "STRING_VALUE",
|
|
35
|
+
* MaxResults: Number("int"),
|
|
36
|
+
* };
|
|
32
37
|
* const command = new ListExperiencesCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListFaqsCommandOutput extends ListFaqsResponse, __MetadataBeare
|
|
|
26
26
|
* import { KendraClient, ListFaqsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, ListFaqsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // ListFaqsRequest
|
|
30
|
+
* IndexId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListFaqsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface ListGroupsOlderThanOrderingIdCommandOutput extends ListGroupsOl
|
|
|
30
30
|
* import { KendraClient, ListGroupsOlderThanOrderingIdCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
31
31
|
* // const { KendraClient, ListGroupsOlderThanOrderingIdCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
32
32
|
* const client = new KendraClient(config);
|
|
33
|
+
* const input = { // ListGroupsOlderThanOrderingIdRequest
|
|
34
|
+
* IndexId: "STRING_VALUE", // required
|
|
35
|
+
* DataSourceId: "STRING_VALUE",
|
|
36
|
+
* OrderingId: Number("long"), // required
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* };
|
|
33
40
|
* const command = new ListGroupsOlderThanOrderingIdCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface ListIndicesCommandOutput extends ListIndicesResponse, __Metadat
|
|
|
26
26
|
* import { KendraClient, ListIndicesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, ListIndicesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // ListIndicesRequest
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* };
|
|
29
33
|
* const command = new ListIndicesCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -32,6 +32,11 @@ export interface ListQuerySuggestionsBlockListsCommandOutput extends ListQuerySu
|
|
|
32
32
|
* import { KendraClient, ListQuerySuggestionsBlockListsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
33
33
|
* // const { KendraClient, ListQuerySuggestionsBlockListsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
34
34
|
* const client = new KendraClient(config);
|
|
35
|
+
* const input = { // ListQuerySuggestionsBlockListsRequest
|
|
36
|
+
* IndexId: "STRING_VALUE", // required
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* };
|
|
35
40
|
* const command = new ListQuerySuggestionsBlockListsCommand(input);
|
|
36
41
|
* const response = await client.send(command);
|
|
37
42
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
27
|
* import { KendraClient, ListTagsForResourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
28
28
|
* // const { KendraClient, ListTagsForResourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
29
29
|
* const client = new KendraClient(config);
|
|
30
|
+
* const input = { // ListTagsForResourceRequest
|
|
31
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListThesauriCommandOutput extends ListThesauriResponse, __Metad
|
|
|
26
26
|
* import { KendraClient, ListThesauriCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, ListThesauriCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
+
* const input = { // ListThesauriRequest
|
|
30
|
+
* IndexId: "STRING_VALUE", // required
|
|
31
|
+
* NextToken: "STRING_VALUE",
|
|
32
|
+
* MaxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListThesauriCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -44,6 +44,30 @@ export interface PutPrincipalMappingCommandOutput extends __MetadataBearer {
|
|
|
44
44
|
* import { KendraClient, PutPrincipalMappingCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
45
45
|
* // const { KendraClient, PutPrincipalMappingCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
46
46
|
* const client = new KendraClient(config);
|
|
47
|
+
* const input = { // PutPrincipalMappingRequest
|
|
48
|
+
* IndexId: "STRING_VALUE", // required
|
|
49
|
+
* DataSourceId: "STRING_VALUE",
|
|
50
|
+
* GroupId: "STRING_VALUE", // required
|
|
51
|
+
* GroupMembers: { // GroupMembers
|
|
52
|
+
* MemberGroups: [ // MemberGroups
|
|
53
|
+
* { // MemberGroup
|
|
54
|
+
* GroupId: "STRING_VALUE", // required
|
|
55
|
+
* DataSourceId: "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* MemberUsers: [ // MemberUsers
|
|
59
|
+
* { // MemberUser
|
|
60
|
+
* UserId: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* S3PathforGroupMembers: { // S3Path
|
|
64
|
+
* Bucket: "STRING_VALUE", // required
|
|
65
|
+
* Key: "STRING_VALUE", // required
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* OrderingId: Number("long"),
|
|
69
|
+
* RoleArn: "STRING_VALUE",
|
|
70
|
+
* };
|
|
47
71
|
* const command = new PutPrincipalMappingCommand(input);
|
|
48
72
|
* const response = await client.send(command);
|
|
49
73
|
* ```
|