@aws-sdk/client-kendra 3.299.0 → 3.300.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.
Files changed (61) hide show
  1. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +10 -0
  2. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +10 -0
  3. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +10 -0
  4. package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +21 -0
  5. package/dist-types/commands/BatchPutDocumentCommand.d.ts +114 -0
  6. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
  7. package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +26 -0
  8. package/dist-types/commands/CreateDataSourceCommand.d.ts +739 -0
  9. package/dist-types/commands/CreateExperienceCommand.d.ts +21 -0
  10. package/dist-types/commands/CreateFaqCommand.d.ts +19 -0
  11. package/dist-types/commands/CreateIndexCommand.d.ts +37 -0
  12. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +17 -0
  13. package/dist-types/commands/CreateThesaurusCommand.d.ts +17 -0
  14. package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteDataSourceCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteExperienceCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteFaqCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteIndexCommand.d.ts +3 -0
  19. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +6 -0
  20. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +4 -0
  21. package/dist-types/commands/DeleteThesaurusCommand.d.ts +4 -0
  22. package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +4 -0
  23. package/dist-types/commands/DescribeDataSourceCommand.d.ts +4 -0
  24. package/dist-types/commands/DescribeExperienceCommand.d.ts +4 -0
  25. package/dist-types/commands/DescribeFaqCommand.d.ts +4 -0
  26. package/dist-types/commands/DescribeIndexCommand.d.ts +3 -0
  27. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +5 -0
  28. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +4 -0
  29. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
  30. package/dist-types/commands/DescribeThesaurusCommand.d.ts +4 -0
  31. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +10 -0
  32. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +7 -0
  33. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +5 -0
  34. package/dist-types/commands/GetSnapshotsCommand.d.ts +7 -0
  35. package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +5 -0
  36. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +11 -0
  37. package/dist-types/commands/ListDataSourcesCommand.d.ts +5 -0
  38. package/dist-types/commands/ListEntityPersonasCommand.d.ts +6 -0
  39. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +5 -0
  40. package/dist-types/commands/ListExperiencesCommand.d.ts +5 -0
  41. package/dist-types/commands/ListFaqsCommand.d.ts +5 -0
  42. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +7 -0
  43. package/dist-types/commands/ListIndicesCommand.d.ts +4 -0
  44. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +5 -0
  45. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  46. package/dist-types/commands/ListThesauriCommand.d.ts +5 -0
  47. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +24 -0
  48. package/dist-types/commands/QueryCommand.d.ts +264 -0
  49. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +4 -0
  50. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +4 -0
  51. package/dist-types/commands/SubmitFeedbackCommand.d.ts +16 -0
  52. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  53. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  54. package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +26 -0
  55. package/dist-types/commands/UpdateDataSourceCommand.d.ts +732 -0
  56. package/dist-types/commands/UpdateExperienceCommand.d.ts +21 -0
  57. package/dist-types/commands/UpdateIndexCommand.d.ts +52 -0
  58. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +11 -0
  59. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +8 -0
  60. package/dist-types/commands/UpdateThesaurusCommand.d.ts +11 -0
  61. package/package.json +8 -8
@@ -29,6 +29,27 @@ export interface CreateExperienceCommandOutput extends CreateExperienceResponse,
29
29
  * import { KendraClient, CreateExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
30
30
  * // const { KendraClient, CreateExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
31
31
  * const client = new KendraClient(config);
32
+ * const input = {
33
+ * Name: "STRING_VALUE", // required
34
+ * IndexId: "STRING_VALUE", // required
35
+ * RoleArn: "STRING_VALUE",
36
+ * Configuration: {
37
+ * ContentSourceConfiguration: {
38
+ * DataSourceIds: [
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * FaqIds: [
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * DirectPutContent: true || false,
45
+ * },
46
+ * UserIdentityConfiguration: {
47
+ * IdentityAttributeName: "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * Description: "STRING_VALUE",
51
+ * ClientToken: "STRING_VALUE",
52
+ * };
32
53
  * const command = new CreateExperienceCommand(input);
33
54
  * const response = await client.send(command);
34
55
  * ```
@@ -30,6 +30,25 @@ export interface CreateFaqCommandOutput extends CreateFaqResponse, __MetadataBea
30
30
  * import { KendraClient, CreateFaqCommand } from "@aws-sdk/client-kendra"; // ES Modules import
31
31
  * // const { KendraClient, CreateFaqCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
32
32
  * const client = new KendraClient(config);
33
+ * const input = {
34
+ * IndexId: "STRING_VALUE", // required
35
+ * Name: "STRING_VALUE", // required
36
+ * Description: "STRING_VALUE",
37
+ * S3Path: {
38
+ * Bucket: "STRING_VALUE", // required
39
+ * Key: "STRING_VALUE", // required
40
+ * },
41
+ * RoleArn: "STRING_VALUE", // required
42
+ * Tags: [
43
+ * {
44
+ * Key: "STRING_VALUE", // required
45
+ * Value: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * FileFormat: "CSV" || "CSV_WITH_HEADER" || "JSON",
49
+ * ClientToken: "STRING_VALUE",
50
+ * LanguageCode: "STRING_VALUE",
51
+ * };
33
52
  * const command = new CreateFaqCommand(input);
34
53
  * const response = await client.send(command);
35
54
  * ```
@@ -35,6 +35,43 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
35
35
  * import { KendraClient, CreateIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
36
36
  * // const { KendraClient, CreateIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
37
37
  * const client = new KendraClient(config);
38
+ * const input = {
39
+ * Name: "STRING_VALUE", // required
40
+ * Edition: "DEVELOPER_EDITION" || "ENTERPRISE_EDITION",
41
+ * RoleArn: "STRING_VALUE", // required
42
+ * ServerSideEncryptionConfiguration: {
43
+ * KmsKeyId: "STRING_VALUE",
44
+ * },
45
+ * Description: "STRING_VALUE",
46
+ * ClientToken: "STRING_VALUE",
47
+ * Tags: [
48
+ * {
49
+ * Key: "STRING_VALUE", // required
50
+ * Value: "STRING_VALUE", // required
51
+ * },
52
+ * ],
53
+ * UserTokenConfigurations: [
54
+ * {
55
+ * JwtTokenTypeConfiguration: {
56
+ * KeyLocation: "URL" || "SECRET_MANAGER", // required
57
+ * URL: "STRING_VALUE",
58
+ * SecretManagerArn: "STRING_VALUE",
59
+ * UserNameAttributeField: "STRING_VALUE",
60
+ * GroupAttributeField: "STRING_VALUE",
61
+ * Issuer: "STRING_VALUE",
62
+ * ClaimRegex: "STRING_VALUE",
63
+ * },
64
+ * JsonTokenTypeConfiguration: {
65
+ * UserNameAttributeField: "STRING_VALUE", // required
66
+ * GroupAttributeField: "STRING_VALUE", // required
67
+ * },
68
+ * },
69
+ * ],
70
+ * UserContextPolicy: "ATTRIBUTE_FILTER" || "USER_TOKEN",
71
+ * UserGroupResolutionConfiguration: {
72
+ * UserGroupResolutionMode: "AWS_SSO" || "NONE", // required
73
+ * },
74
+ * };
38
75
  * const command = new CreateIndexCommand(input);
39
76
  * const response = await client.send(command);
40
77
  * ```
@@ -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 = {
44
+ * IndexId: "STRING_VALUE", // required
45
+ * Name: "STRING_VALUE", // required
46
+ * Description: "STRING_VALUE",
47
+ * SourceS3Path: {
48
+ * Bucket: "STRING_VALUE", // required
49
+ * Key: "STRING_VALUE", // required
50
+ * },
51
+ * ClientToken: "STRING_VALUE",
52
+ * RoleArn: "STRING_VALUE", // required
53
+ * Tags: [
54
+ * {
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 = {
34
+ * IndexId: "STRING_VALUE", // required
35
+ * Name: "STRING_VALUE", // required
36
+ * Description: "STRING_VALUE",
37
+ * RoleArn: "STRING_VALUE", // required
38
+ * Tags: [
39
+ * {
40
+ * Key: "STRING_VALUE", // required
41
+ * Value: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * SourceS3Path: {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
34
+ * Id: "STRING_VALUE", // required
35
+ * IndexId: "STRING_VALUE", // required
36
+ * EntityList: [ // required
37
+ * {
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 = {
34
+ * Id: "STRING_VALUE", // required
35
+ * IndexId: "STRING_VALUE", // required
36
+ * EntityIds: [ // 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 = {
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 = {
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 = {
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 = {
30
+ * Id: "STRING_VALUE", // required
31
+ * IndexId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * StartTimeFilter: {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
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 = {
48
+ * IndexId: "STRING_VALUE", // required
49
+ * DataSourceId: "STRING_VALUE",
50
+ * GroupId: "STRING_VALUE", // required
51
+ * GroupMembers: {
52
+ * MemberGroups: [
53
+ * {
54
+ * GroupId: "STRING_VALUE", // required
55
+ * DataSourceId: "STRING_VALUE",
56
+ * },
57
+ * ],
58
+ * MemberUsers: [
59
+ * {
60
+ * UserId: "STRING_VALUE", // required
61
+ * },
62
+ * ],
63
+ * S3PathforGroupMembers: {
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
  * ```