@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.
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 +569 -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 +139 -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 +562 -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
@@ -30,6 +30,16 @@ export interface AssociateEntitiesToExperienceCommandOutput extends AssociateEnt
30
30
  * import { KendraClient, AssociateEntitiesToExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
31
31
  * // const { KendraClient, AssociateEntitiesToExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
32
32
  * const client = new KendraClient(config);
33
+ * const input = { // AssociateEntitiesToExperienceRequest
34
+ * Id: "STRING_VALUE", // required
35
+ * IndexId: "STRING_VALUE", // required
36
+ * EntityList: [ // AssociateEntityList // required
37
+ * { // EntityConfiguration
38
+ * EntityId: "STRING_VALUE", // required
39
+ * EntityType: "USER" || "GROUP", // required
40
+ * },
41
+ * ],
42
+ * };
33
43
  * const command = new AssociateEntitiesToExperienceCommand(input);
34
44
  * const response = await client.send(command);
35
45
  * ```
@@ -30,6 +30,16 @@ export interface AssociatePersonasToEntitiesCommandOutput extends AssociatePerso
30
30
  * import { KendraClient, AssociatePersonasToEntitiesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
31
31
  * // const { KendraClient, AssociatePersonasToEntitiesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
32
32
  * const client = new KendraClient(config);
33
+ * const input = { // AssociatePersonasToEntitiesRequest
34
+ * Id: "STRING_VALUE", // required
35
+ * IndexId: "STRING_VALUE", // required
36
+ * Personas: [ // EntityPersonaConfigurationList // required
37
+ * { // EntityPersonaConfiguration
38
+ * EntityId: "STRING_VALUE", // required
39
+ * Persona: "OWNER" || "VIEWER", // required
40
+ * },
41
+ * ],
42
+ * };
33
43
  * const command = new AssociatePersonasToEntitiesCommand(input);
34
44
  * const response = await client.send(command);
35
45
  * ```
@@ -30,6 +30,16 @@ export interface BatchDeleteDocumentCommandOutput extends BatchDeleteDocumentRes
30
30
  * import { KendraClient, BatchDeleteDocumentCommand } from "@aws-sdk/client-kendra"; // ES Modules import
31
31
  * // const { KendraClient, BatchDeleteDocumentCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
32
32
  * const client = new KendraClient(config);
33
+ * const input = { // BatchDeleteDocumentRequest
34
+ * IndexId: "STRING_VALUE", // required
35
+ * DocumentIdList: [ // DocumentIdList // required
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * DataSourceSyncJobMetricTarget: { // DataSourceSyncJobMetricTarget
39
+ * DataSourceId: "STRING_VALUE", // required
40
+ * DataSourceSyncJobId: "STRING_VALUE",
41
+ * },
42
+ * };
33
43
  * const command = new BatchDeleteDocumentCommand(input);
34
44
  * const response = await client.send(command);
35
45
  * ```
@@ -38,6 +38,27 @@ export interface BatchGetDocumentStatusCommandOutput extends BatchGetDocumentSta
38
38
  * import { KendraClient, BatchGetDocumentStatusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
39
39
  * // const { KendraClient, BatchGetDocumentStatusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
40
40
  * const client = new KendraClient(config);
41
+ * const input = { // BatchGetDocumentStatusRequest
42
+ * IndexId: "STRING_VALUE", // required
43
+ * DocumentInfoList: [ // DocumentInfoList // required
44
+ * { // DocumentInfo
45
+ * DocumentId: "STRING_VALUE", // required
46
+ * Attributes: [ // DocumentAttributeList
47
+ * { // DocumentAttribute
48
+ * Key: "STRING_VALUE", // required
49
+ * Value: { // DocumentAttributeValue
50
+ * StringValue: "STRING_VALUE",
51
+ * StringListValue: [ // DocumentAttributeStringListValue
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * LongValue: Number("long"),
55
+ * DateValue: new Date("TIMESTAMP"),
56
+ * },
57
+ * },
58
+ * ],
59
+ * },
60
+ * ],
61
+ * };
41
62
  * const command = new BatchGetDocumentStatusCommand(input);
42
63
  * const response = await client.send(command);
43
64
  * ```
@@ -37,6 +37,120 @@ export interface BatchPutDocumentCommandOutput extends BatchPutDocumentResponse,
37
37
  * import { KendraClient, BatchPutDocumentCommand } from "@aws-sdk/client-kendra"; // ES Modules import
38
38
  * // const { KendraClient, BatchPutDocumentCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
39
39
  * const client = new KendraClient(config);
40
+ * const input = { // BatchPutDocumentRequest
41
+ * IndexId: "STRING_VALUE", // required
42
+ * RoleArn: "STRING_VALUE",
43
+ * Documents: [ // DocumentList // required
44
+ * { // Document
45
+ * Id: "STRING_VALUE", // required
46
+ * Title: "STRING_VALUE",
47
+ * Blob: "BLOB_VALUE",
48
+ * S3Path: { // S3Path
49
+ * Bucket: "STRING_VALUE", // required
50
+ * Key: "STRING_VALUE", // required
51
+ * },
52
+ * Attributes: [ // DocumentAttributeList
53
+ * { // DocumentAttribute
54
+ * Key: "STRING_VALUE", // required
55
+ * Value: { // DocumentAttributeValue
56
+ * StringValue: "STRING_VALUE",
57
+ * StringListValue: [ // DocumentAttributeStringListValue
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * LongValue: Number("long"),
61
+ * DateValue: new Date("TIMESTAMP"),
62
+ * },
63
+ * },
64
+ * ],
65
+ * AccessControlList: [ // PrincipalList
66
+ * { // Principal
67
+ * Name: "STRING_VALUE", // required
68
+ * Type: "USER" || "GROUP", // required
69
+ * Access: "ALLOW" || "DENY", // required
70
+ * DataSourceId: "STRING_VALUE",
71
+ * },
72
+ * ],
73
+ * HierarchicalAccessControlList: [ // HierarchicalPrincipalList
74
+ * { // HierarchicalPrincipal
75
+ * PrincipalList: [ // required
76
+ * {
77
+ * Name: "STRING_VALUE", // required
78
+ * Type: "USER" || "GROUP", // required
79
+ * Access: "ALLOW" || "DENY", // required
80
+ * DataSourceId: "STRING_VALUE",
81
+ * },
82
+ * ],
83
+ * },
84
+ * ],
85
+ * ContentType: "PDF" || "HTML" || "MS_WORD" || "PLAIN_TEXT" || "PPT" || "RTF" || "XML" || "XSLT" || "MS_EXCEL" || "CSV" || "JSON" || "MD",
86
+ * AccessControlConfigurationId: "STRING_VALUE",
87
+ * },
88
+ * ],
89
+ * CustomDocumentEnrichmentConfiguration: { // CustomDocumentEnrichmentConfiguration
90
+ * InlineConfigurations: [ // InlineCustomDocumentEnrichmentConfigurationList
91
+ * { // InlineCustomDocumentEnrichmentConfiguration
92
+ * Condition: { // DocumentAttributeCondition
93
+ * ConditionDocumentAttributeKey: "STRING_VALUE", // required
94
+ * Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
95
+ * ConditionOnValue: {
96
+ * StringValue: "STRING_VALUE",
97
+ * StringListValue: [
98
+ * "STRING_VALUE",
99
+ * ],
100
+ * LongValue: Number("long"),
101
+ * DateValue: new Date("TIMESTAMP"),
102
+ * },
103
+ * },
104
+ * Target: { // DocumentAttributeTarget
105
+ * TargetDocumentAttributeKey: "STRING_VALUE",
106
+ * TargetDocumentAttributeValueDeletion: true || false,
107
+ * TargetDocumentAttributeValue: {
108
+ * StringValue: "STRING_VALUE",
109
+ * StringListValue: [
110
+ * "STRING_VALUE",
111
+ * ],
112
+ * LongValue: Number("long"),
113
+ * DateValue: new Date("TIMESTAMP"),
114
+ * },
115
+ * },
116
+ * DocumentContentDeletion: true || false,
117
+ * },
118
+ * ],
119
+ * PreExtractionHookConfiguration: { // HookConfiguration
120
+ * InvocationCondition: {
121
+ * ConditionDocumentAttributeKey: "STRING_VALUE", // required
122
+ * Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
123
+ * ConditionOnValue: {
124
+ * StringValue: "STRING_VALUE",
125
+ * StringListValue: [
126
+ * "STRING_VALUE",
127
+ * ],
128
+ * LongValue: Number("long"),
129
+ * DateValue: new Date("TIMESTAMP"),
130
+ * },
131
+ * },
132
+ * LambdaArn: "STRING_VALUE", // required
133
+ * S3Bucket: "STRING_VALUE", // required
134
+ * },
135
+ * PostExtractionHookConfiguration: {
136
+ * InvocationCondition: {
137
+ * ConditionDocumentAttributeKey: "STRING_VALUE", // required
138
+ * Operator: "GreaterThan" || "GreaterThanOrEquals" || "LessThan" || "LessThanOrEquals" || "Equals" || "NotEquals" || "Contains" || "NotContains" || "Exists" || "NotExists" || "BeginsWith", // required
139
+ * ConditionOnValue: {
140
+ * StringValue: "STRING_VALUE",
141
+ * StringListValue: [
142
+ * "STRING_VALUE",
143
+ * ],
144
+ * LongValue: Number("long"),
145
+ * DateValue: new Date("TIMESTAMP"),
146
+ * },
147
+ * },
148
+ * LambdaArn: "STRING_VALUE", // required
149
+ * S3Bucket: "STRING_VALUE", // required
150
+ * },
151
+ * RoleArn: "STRING_VALUE",
152
+ * },
153
+ * };
40
154
  * const command = new BatchPutDocumentCommand(input);
41
155
  * const response = await client.send(command);
42
156
  * ```
@@ -35,6 +35,9 @@ export interface ClearQuerySuggestionsCommandOutput extends __MetadataBearer {
35
35
  * import { KendraClient, ClearQuerySuggestionsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
36
36
  * // const { KendraClient, ClearQuerySuggestionsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
37
37
  * const client = new KendraClient(config);
38
+ * const input = { // ClearQuerySuggestionsRequest
39
+ * IndexId: "STRING_VALUE", // required
40
+ * };
38
41
  * const command = new ClearQuerySuggestionsCommand(input);
39
42
  * const response = await client.send(command);
40
43
  * ```
@@ -48,6 +48,32 @@ export interface CreateAccessControlConfigurationCommandOutput extends CreateAcc
48
48
  * import { KendraClient, CreateAccessControlConfigurationCommand } from "@aws-sdk/client-kendra"; // ES Modules import
49
49
  * // const { KendraClient, CreateAccessControlConfigurationCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
50
50
  * const client = new KendraClient(config);
51
+ * const input = { // CreateAccessControlConfigurationRequest
52
+ * IndexId: "STRING_VALUE", // required
53
+ * Name: "STRING_VALUE", // required
54
+ * Description: "STRING_VALUE",
55
+ * AccessControlList: [ // PrincipalList
56
+ * { // Principal
57
+ * Name: "STRING_VALUE", // required
58
+ * Type: "USER" || "GROUP", // required
59
+ * Access: "ALLOW" || "DENY", // required
60
+ * DataSourceId: "STRING_VALUE",
61
+ * },
62
+ * ],
63
+ * HierarchicalAccessControlList: [ // HierarchicalPrincipalList
64
+ * { // HierarchicalPrincipal
65
+ * PrincipalList: [ // required
66
+ * {
67
+ * Name: "STRING_VALUE", // required
68
+ * Type: "USER" || "GROUP", // required
69
+ * Access: "ALLOW" || "DENY", // required
70
+ * DataSourceId: "STRING_VALUE",
71
+ * },
72
+ * ],
73
+ * },
74
+ * ],
75
+ * ClientToken: "STRING_VALUE",
76
+ * };
51
77
  * const command = new CreateAccessControlConfigurationCommand(input);
52
78
  * const response = await client.send(command);
53
79
  * ```