@aws-sdk/client-kendra 3.298.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 +12 -12
@@ -46,6 +46,270 @@ export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
46
46
  * import { KendraClient, QueryCommand } from "@aws-sdk/client-kendra"; // ES Modules import
47
47
  * // const { KendraClient, QueryCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
48
48
  * const client = new KendraClient(config);
49
+ * const input = {
50
+ * IndexId: "STRING_VALUE", // required
51
+ * QueryText: "STRING_VALUE",
52
+ * AttributeFilter: {
53
+ * AndAllFilters: [
54
+ * {
55
+ * AndAllFilters: [
56
+ * {
57
+ * AndAllFilters: "<AttributeFilter>",
58
+ * OrAllFilters: [
59
+ * "<AttributeFilterList>",
60
+ * ],
61
+ * NotFilter: {
62
+ * AndAllFilters: "<AttributeFilter>",
63
+ * OrAllFilters: [
64
+ * "<AttributeFilterList>",
65
+ * ],
66
+ * NotFilter: {
67
+ * AndAllFilters: "<AttributeFilter>",
68
+ * OrAllFilters: "<AttributeFilter>",
69
+ * NotFilter: "<AttributeFilter>",
70
+ * EqualsTo: {
71
+ * Key: "STRING_VALUE", // required
72
+ * Value: {
73
+ * StringValue: "STRING_VALUE",
74
+ * StringListValue: [
75
+ * "STRING_VALUE",
76
+ * ],
77
+ * LongValue: Number("long"),
78
+ * DateValue: new Date("TIMESTAMP"),
79
+ * },
80
+ * },
81
+ * ContainsAll: {
82
+ * Key: "STRING_VALUE", // required
83
+ * Value: {
84
+ * StringValue: "STRING_VALUE",
85
+ * StringListValue: [
86
+ * "STRING_VALUE",
87
+ * ],
88
+ * LongValue: Number("long"),
89
+ * DateValue: new Date("TIMESTAMP"),
90
+ * },
91
+ * },
92
+ * ContainsAny: {
93
+ * Key: "STRING_VALUE", // required
94
+ * Value: {
95
+ * StringValue: "STRING_VALUE",
96
+ * StringListValue: [
97
+ * "STRING_VALUE",
98
+ * ],
99
+ * LongValue: Number("long"),
100
+ * DateValue: new Date("TIMESTAMP"),
101
+ * },
102
+ * },
103
+ * GreaterThan: {
104
+ * Key: "STRING_VALUE", // required
105
+ * Value: {
106
+ * StringValue: "STRING_VALUE",
107
+ * StringListValue: [
108
+ * "STRING_VALUE",
109
+ * ],
110
+ * LongValue: Number("long"),
111
+ * DateValue: new Date("TIMESTAMP"),
112
+ * },
113
+ * },
114
+ * GreaterThanOrEquals: {
115
+ * Key: "STRING_VALUE", // required
116
+ * Value: {
117
+ * StringValue: "STRING_VALUE",
118
+ * StringListValue: [
119
+ * "STRING_VALUE",
120
+ * ],
121
+ * LongValue: Number("long"),
122
+ * DateValue: new Date("TIMESTAMP"),
123
+ * },
124
+ * },
125
+ * LessThan: {
126
+ * Key: "STRING_VALUE", // required
127
+ * Value: {
128
+ * StringValue: "STRING_VALUE",
129
+ * StringListValue: [
130
+ * "STRING_VALUE",
131
+ * ],
132
+ * LongValue: Number("long"),
133
+ * DateValue: new Date("TIMESTAMP"),
134
+ * },
135
+ * },
136
+ * LessThanOrEquals: {
137
+ * Key: "STRING_VALUE", // required
138
+ * Value: {
139
+ * StringValue: "STRING_VALUE",
140
+ * StringListValue: [
141
+ * "STRING_VALUE",
142
+ * ],
143
+ * LongValue: Number("long"),
144
+ * DateValue: new Date("TIMESTAMP"),
145
+ * },
146
+ * },
147
+ * },
148
+ * EqualsTo: {
149
+ * Key: "STRING_VALUE", // required
150
+ * Value: {
151
+ * StringValue: "STRING_VALUE",
152
+ * StringListValue: [
153
+ * "STRING_VALUE",
154
+ * ],
155
+ * LongValue: Number("long"),
156
+ * DateValue: new Date("TIMESTAMP"),
157
+ * },
158
+ * },
159
+ * ContainsAll: {
160
+ * Key: "STRING_VALUE", // required
161
+ * Value: {
162
+ * StringValue: "STRING_VALUE",
163
+ * StringListValue: [
164
+ * "STRING_VALUE",
165
+ * ],
166
+ * LongValue: Number("long"),
167
+ * DateValue: new Date("TIMESTAMP"),
168
+ * },
169
+ * },
170
+ * ContainsAny: {
171
+ * Key: "STRING_VALUE", // required
172
+ * Value: {
173
+ * StringValue: "STRING_VALUE",
174
+ * StringListValue: [
175
+ * "STRING_VALUE",
176
+ * ],
177
+ * LongValue: Number("long"),
178
+ * DateValue: new Date("TIMESTAMP"),
179
+ * },
180
+ * },
181
+ * GreaterThan: {
182
+ * Key: "STRING_VALUE", // required
183
+ * Value: {
184
+ * StringValue: "STRING_VALUE",
185
+ * StringListValue: [
186
+ * "STRING_VALUE",
187
+ * ],
188
+ * LongValue: Number("long"),
189
+ * DateValue: new Date("TIMESTAMP"),
190
+ * },
191
+ * },
192
+ * GreaterThanOrEquals: {
193
+ * Key: "STRING_VALUE", // required
194
+ * Value: {
195
+ * StringValue: "STRING_VALUE",
196
+ * StringListValue: [
197
+ * "STRING_VALUE",
198
+ * ],
199
+ * LongValue: Number("long"),
200
+ * DateValue: new Date("TIMESTAMP"),
201
+ * },
202
+ * },
203
+ * LessThan: {
204
+ * Key: "STRING_VALUE", // required
205
+ * Value: {
206
+ * StringValue: "STRING_VALUE",
207
+ * StringListValue: [
208
+ * "STRING_VALUE",
209
+ * ],
210
+ * LongValue: Number("long"),
211
+ * DateValue: new Date("TIMESTAMP"),
212
+ * },
213
+ * },
214
+ * LessThanOrEquals: {
215
+ * Key: "STRING_VALUE", // required
216
+ * Value: {
217
+ * StringValue: "STRING_VALUE",
218
+ * StringListValue: [
219
+ * "STRING_VALUE",
220
+ * ],
221
+ * LongValue: Number("long"),
222
+ * DateValue: new Date("TIMESTAMP"),
223
+ * },
224
+ * },
225
+ * },
226
+ * EqualsTo: "<AttributeFilter>",
227
+ * ContainsAll: "<AttributeFilter>",
228
+ * ContainsAny: "<AttributeFilter>",
229
+ * GreaterThan: "<AttributeFilter>",
230
+ * GreaterThanOrEquals: "<AttributeFilter>",
231
+ * LessThan: "<AttributeFilter>",
232
+ * LessThanOrEquals: "<AttributeFilter>",
233
+ * },
234
+ * ],
235
+ * OrAllFilters: "<AttributeFilter>",
236
+ * NotFilter: "<AttributeFilter>",
237
+ * EqualsTo: "<AttributeFilter>",
238
+ * ContainsAll: "<AttributeFilter>",
239
+ * ContainsAny: "<AttributeFilter>",
240
+ * GreaterThan: "<AttributeFilter>",
241
+ * GreaterThanOrEquals: "<AttributeFilter>",
242
+ * LessThan: "<AttributeFilter>",
243
+ * LessThanOrEquals: "<AttributeFilter>",
244
+ * },
245
+ * ],
246
+ * OrAllFilters: "<AttributeFilter>",
247
+ * NotFilter: "<AttributeFilter>",
248
+ * EqualsTo: "<AttributeFilter>",
249
+ * ContainsAll: "<AttributeFilter>",
250
+ * ContainsAny: "<AttributeFilter>",
251
+ * GreaterThan: "<AttributeFilter>",
252
+ * GreaterThanOrEquals: "<AttributeFilter>",
253
+ * LessThan: "<AttributeFilter>",
254
+ * LessThanOrEquals: "<AttributeFilter>",
255
+ * },
256
+ * Facets: [
257
+ * {
258
+ * DocumentAttributeKey: "STRING_VALUE",
259
+ * Facets: [
260
+ * {
261
+ * DocumentAttributeKey: "STRING_VALUE",
262
+ * Facets: [
263
+ * "<FacetList>",
264
+ * ],
265
+ * MaxResults: Number("int"),
266
+ * },
267
+ * ],
268
+ * MaxResults: Number("int"),
269
+ * },
270
+ * ],
271
+ * RequestedDocumentAttributes: [
272
+ * "STRING_VALUE",
273
+ * ],
274
+ * QueryResultTypeFilter: "DOCUMENT" || "QUESTION_ANSWER" || "ANSWER",
275
+ * DocumentRelevanceOverrideConfigurations: [
276
+ * {
277
+ * Name: "STRING_VALUE", // required
278
+ * Relevance: {
279
+ * Freshness: true || false,
280
+ * Importance: Number("int"),
281
+ * Duration: "STRING_VALUE",
282
+ * RankOrder: "ASCENDING" || "DESCENDING",
283
+ * ValueImportanceMap: {
284
+ * "<keys>": Number("int"),
285
+ * },
286
+ * },
287
+ * },
288
+ * ],
289
+ * PageNumber: Number("int"),
290
+ * PageSize: Number("int"),
291
+ * SortingConfiguration: {
292
+ * DocumentAttributeKey: "STRING_VALUE", // required
293
+ * SortOrder: "DESC" || "ASC", // required
294
+ * },
295
+ * UserContext: {
296
+ * Token: "STRING_VALUE",
297
+ * UserId: "STRING_VALUE",
298
+ * Groups: [
299
+ * "STRING_VALUE",
300
+ * ],
301
+ * DataSourceGroups: [
302
+ * {
303
+ * GroupId: "STRING_VALUE", // required
304
+ * DataSourceId: "STRING_VALUE", // required
305
+ * },
306
+ * ],
307
+ * },
308
+ * VisitorId: "STRING_VALUE",
309
+ * SpellCorrectionConfiguration: {
310
+ * IncludeQuerySpellCheckSuggestions: true || false, // required
311
+ * },
312
+ * };
49
313
  * const command = new QueryCommand(input);
50
314
  * const response = await client.send(command);
51
315
  * ```
@@ -28,6 +28,10 @@ export interface StartDataSourceSyncJobCommandOutput extends StartDataSourceSync
28
28
  * import { KendraClient, StartDataSourceSyncJobCommand } from "@aws-sdk/client-kendra"; // ES Modules import
29
29
  * // const { KendraClient, StartDataSourceSyncJobCommand } = 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 StartDataSourceSyncJobCommand(input);
32
36
  * const response = await client.send(command);
33
37
  * ```
@@ -27,6 +27,10 @@ export interface StopDataSourceSyncJobCommandOutput extends __MetadataBearer {
27
27
  * import { KendraClient, StopDataSourceSyncJobCommand } from "@aws-sdk/client-kendra"; // ES Modules import
28
28
  * // const { KendraClient, StopDataSourceSyncJobCommand } = 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 StopDataSourceSyncJobCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -30,6 +30,22 @@ export interface SubmitFeedbackCommandOutput extends __MetadataBearer {
30
30
  * import { KendraClient, SubmitFeedbackCommand } from "@aws-sdk/client-kendra"; // ES Modules import
31
31
  * // const { KendraClient, SubmitFeedbackCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
32
32
  * const client = new KendraClient(config);
33
+ * const input = {
34
+ * IndexId: "STRING_VALUE", // required
35
+ * QueryId: "STRING_VALUE", // required
36
+ * ClickFeedbackItems: [
37
+ * {
38
+ * ResultId: "STRING_VALUE", // required
39
+ * ClickTime: new Date("TIMESTAMP"), // required
40
+ * },
41
+ * ],
42
+ * RelevanceFeedbackItems: [
43
+ * {
44
+ * ResultId: "STRING_VALUE", // required
45
+ * RelevanceValue: "RELEVANT" || "NOT_RELEVANT", // required
46
+ * },
47
+ * ],
48
+ * };
33
49
  * const command = new SubmitFeedbackCommand(input);
34
50
  * const response = await client.send(command);
35
51
  * ```
@@ -28,6 +28,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
28
28
  * import { KendraClient, TagResourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
29
29
  * // const { KendraClient, TagResourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
30
30
  * const client = new KendraClient(config);
31
+ * const input = {
32
+ * ResourceARN: "STRING_VALUE", // required
33
+ * Tags: [ // required
34
+ * {
35
+ * Key: "STRING_VALUE", // required
36
+ * Value: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * };
31
40
  * const command = new TagResourceCommand(input);
32
41
  * const response = await client.send(command);
33
42
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { KendraClient, UntagResourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
27
27
  * // const { KendraClient, UntagResourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
28
28
  * const client = new KendraClient(config);
29
+ * const input = {
30
+ * ResourceARN: "STRING_VALUE", // required
31
+ * TagKeys: [ // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -45,6 +45,32 @@ export interface UpdateAccessControlConfigurationCommandOutput extends UpdateAcc
45
45
  * import { KendraClient, UpdateAccessControlConfigurationCommand } from "@aws-sdk/client-kendra"; // ES Modules import
46
46
  * // const { KendraClient, UpdateAccessControlConfigurationCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
47
47
  * const client = new KendraClient(config);
48
+ * const input = {
49
+ * IndexId: "STRING_VALUE", // required
50
+ * Id: "STRING_VALUE", // required
51
+ * Name: "STRING_VALUE",
52
+ * Description: "STRING_VALUE",
53
+ * AccessControlList: [
54
+ * {
55
+ * Name: "STRING_VALUE", // required
56
+ * Type: "USER" || "GROUP", // required
57
+ * Access: "ALLOW" || "DENY", // required
58
+ * DataSourceId: "STRING_VALUE",
59
+ * },
60
+ * ],
61
+ * HierarchicalAccessControlList: [
62
+ * {
63
+ * PrincipalList: [ // required
64
+ * {
65
+ * Name: "STRING_VALUE", // required
66
+ * Type: "USER" || "GROUP", // required
67
+ * Access: "ALLOW" || "DENY", // required
68
+ * DataSourceId: "STRING_VALUE",
69
+ * },
70
+ * ],
71
+ * },
72
+ * ],
73
+ * };
48
74
  * const command = new UpdateAccessControlConfigurationCommand(input);
49
75
  * const response = await client.send(command);
50
76
  * ```