@aws-sdk/client-kendra 3.300.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 +3 -3
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +3 -3
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +3 -3
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +7 -7
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +18 -18
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/CreateDataSourceCommand.d.ts +168 -338
- package/dist-types/commands/CreateExperienceCommand.d.ts +6 -6
- package/dist-types/commands/CreateFaqCommand.d.ts +4 -4
- package/dist-types/commands/CreateIndexCommand.d.ts +9 -9
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +4 -4
- package/dist-types/commands/CreateThesaurusCommand.d.ts +4 -4
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteExperienceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFaqCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExperienceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFaqCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +3 -3
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +2 -2
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +1 -1
- package/dist-types/commands/GetSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +1 -1
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +1 -1
- package/dist-types/commands/ListExperiencesCommand.d.ts +1 -1
- package/dist-types/commands/ListFaqsCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +1 -1
- package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListThesauriCommand.d.ts +1 -1
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +7 -7
- package/dist-types/commands/QueryCommand.d.ts +88 -213
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +5 -5
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +166 -336
- package/dist-types/commands/UpdateExperienceCommand.d.ts +6 -6
- package/dist-types/commands/UpdateIndexCommand.d.ts +12 -12
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +2 -2
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +2 -2
- package/package.json +3 -3
|
@@ -46,241 +46,116 @@ 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 = {
|
|
49
|
+
* const input = { // QueryRequest
|
|
50
50
|
* IndexId: "STRING_VALUE", // required
|
|
51
51
|
* QueryText: "STRING_VALUE",
|
|
52
|
-
* AttributeFilter: {
|
|
53
|
-
* AndAllFilters: [
|
|
52
|
+
* AttributeFilter: { // AttributeFilter
|
|
53
|
+
* AndAllFilters: [ // AttributeFilterList
|
|
54
54
|
* {
|
|
55
55
|
* AndAllFilters: [
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
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
|
-
* },
|
|
56
|
+
* "<AttributeFilter>",
|
|
57
|
+
* ],
|
|
58
|
+
* OrAllFilters: [
|
|
59
|
+
* "<AttributeFilter>",
|
|
234
60
|
* ],
|
|
235
|
-
* OrAllFilters: "<AttributeFilter>",
|
|
236
61
|
* NotFilter: "<AttributeFilter>",
|
|
237
|
-
* EqualsTo:
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
62
|
+
* EqualsTo: { // DocumentAttribute
|
|
63
|
+
* Key: "STRING_VALUE", // required
|
|
64
|
+
* Value: { // DocumentAttributeValue
|
|
65
|
+
* StringValue: "STRING_VALUE",
|
|
66
|
+
* StringListValue: [ // DocumentAttributeStringListValue
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* LongValue: Number("long"),
|
|
70
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* ContainsAll: {
|
|
74
|
+
* Key: "STRING_VALUE", // required
|
|
75
|
+
* Value: {
|
|
76
|
+
* StringValue: "STRING_VALUE",
|
|
77
|
+
* StringListValue: [
|
|
78
|
+
* "STRING_VALUE",
|
|
79
|
+
* ],
|
|
80
|
+
* LongValue: Number("long"),
|
|
81
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* ContainsAny: {
|
|
85
|
+
* Key: "STRING_VALUE", // required
|
|
86
|
+
* Value: {
|
|
87
|
+
* StringValue: "STRING_VALUE",
|
|
88
|
+
* StringListValue: [
|
|
89
|
+
* "STRING_VALUE",
|
|
90
|
+
* ],
|
|
91
|
+
* LongValue: Number("long"),
|
|
92
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* GreaterThan: {
|
|
96
|
+
* Key: "STRING_VALUE", // required
|
|
97
|
+
* Value: {
|
|
98
|
+
* StringValue: "STRING_VALUE",
|
|
99
|
+
* StringListValue: [
|
|
100
|
+
* "STRING_VALUE",
|
|
101
|
+
* ],
|
|
102
|
+
* LongValue: Number("long"),
|
|
103
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* GreaterThanOrEquals: {
|
|
107
|
+
* Key: "STRING_VALUE", // required
|
|
108
|
+
* Value: {
|
|
109
|
+
* StringValue: "STRING_VALUE",
|
|
110
|
+
* StringListValue: [
|
|
111
|
+
* "STRING_VALUE",
|
|
112
|
+
* ],
|
|
113
|
+
* LongValue: Number("long"),
|
|
114
|
+
* DateValue: new Date("TIMESTAMP"),
|
|
115
|
+
* },
|
|
116
|
+
* },
|
|
117
|
+
* LessThan: "<DocumentAttribute>",
|
|
118
|
+
* LessThanOrEquals: "<DocumentAttribute>",
|
|
244
119
|
* },
|
|
245
120
|
* ],
|
|
246
|
-
* OrAllFilters:
|
|
121
|
+
* OrAllFilters: [
|
|
122
|
+
* "<AttributeFilter>",
|
|
123
|
+
* ],
|
|
247
124
|
* NotFilter: "<AttributeFilter>",
|
|
248
|
-
* EqualsTo: "<
|
|
249
|
-
* ContainsAll: "<
|
|
250
|
-
* ContainsAny: "<
|
|
251
|
-
* GreaterThan: "<
|
|
252
|
-
* GreaterThanOrEquals: "<
|
|
253
|
-
* LessThan: "<
|
|
254
|
-
* LessThanOrEquals: "<
|
|
125
|
+
* EqualsTo: "<DocumentAttribute>",
|
|
126
|
+
* ContainsAll: "<DocumentAttribute>",
|
|
127
|
+
* ContainsAny: "<DocumentAttribute>",
|
|
128
|
+
* GreaterThan: "<DocumentAttribute>",
|
|
129
|
+
* GreaterThanOrEquals: "<DocumentAttribute>",
|
|
130
|
+
* LessThan: "<DocumentAttribute>",
|
|
131
|
+
* LessThanOrEquals: "<DocumentAttribute>",
|
|
255
132
|
* },
|
|
256
|
-
* Facets: [
|
|
257
|
-
* {
|
|
133
|
+
* Facets: [ // FacetList
|
|
134
|
+
* { // Facet
|
|
258
135
|
* DocumentAttributeKey: "STRING_VALUE",
|
|
259
136
|
* Facets: [
|
|
260
137
|
* {
|
|
261
138
|
* DocumentAttributeKey: "STRING_VALUE",
|
|
262
|
-
* Facets:
|
|
263
|
-
* "<FacetList>",
|
|
264
|
-
* ],
|
|
139
|
+
* Facets: "<FacetList>",
|
|
265
140
|
* MaxResults: Number("int"),
|
|
266
141
|
* },
|
|
267
142
|
* ],
|
|
268
143
|
* MaxResults: Number("int"),
|
|
269
144
|
* },
|
|
270
145
|
* ],
|
|
271
|
-
* RequestedDocumentAttributes: [
|
|
146
|
+
* RequestedDocumentAttributes: [ // DocumentAttributeKeyList
|
|
272
147
|
* "STRING_VALUE",
|
|
273
148
|
* ],
|
|
274
149
|
* QueryResultTypeFilter: "DOCUMENT" || "QUESTION_ANSWER" || "ANSWER",
|
|
275
|
-
* DocumentRelevanceOverrideConfigurations: [
|
|
276
|
-
* {
|
|
150
|
+
* DocumentRelevanceOverrideConfigurations: [ // DocumentRelevanceOverrideConfigurationList
|
|
151
|
+
* { // DocumentRelevanceConfiguration
|
|
277
152
|
* Name: "STRING_VALUE", // required
|
|
278
|
-
* Relevance: {
|
|
153
|
+
* Relevance: { // Relevance
|
|
279
154
|
* Freshness: true || false,
|
|
280
155
|
* Importance: Number("int"),
|
|
281
156
|
* Duration: "STRING_VALUE",
|
|
282
157
|
* RankOrder: "ASCENDING" || "DESCENDING",
|
|
283
|
-
* ValueImportanceMap: {
|
|
158
|
+
* ValueImportanceMap: { // ValueImportanceMap
|
|
284
159
|
* "<keys>": Number("int"),
|
|
285
160
|
* },
|
|
286
161
|
* },
|
|
@@ -288,25 +163,25 @@ export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
|
|
|
288
163
|
* ],
|
|
289
164
|
* PageNumber: Number("int"),
|
|
290
165
|
* PageSize: Number("int"),
|
|
291
|
-
* SortingConfiguration: {
|
|
166
|
+
* SortingConfiguration: { // SortingConfiguration
|
|
292
167
|
* DocumentAttributeKey: "STRING_VALUE", // required
|
|
293
168
|
* SortOrder: "DESC" || "ASC", // required
|
|
294
169
|
* },
|
|
295
|
-
* UserContext: {
|
|
170
|
+
* UserContext: { // UserContext
|
|
296
171
|
* Token: "STRING_VALUE",
|
|
297
172
|
* UserId: "STRING_VALUE",
|
|
298
|
-
* Groups: [
|
|
173
|
+
* Groups: [ // Groups
|
|
299
174
|
* "STRING_VALUE",
|
|
300
175
|
* ],
|
|
301
|
-
* DataSourceGroups: [
|
|
302
|
-
* {
|
|
176
|
+
* DataSourceGroups: [ // DataSourceGroups
|
|
177
|
+
* { // DataSourceGroup
|
|
303
178
|
* GroupId: "STRING_VALUE", // required
|
|
304
179
|
* DataSourceId: "STRING_VALUE", // required
|
|
305
180
|
* },
|
|
306
181
|
* ],
|
|
307
182
|
* },
|
|
308
183
|
* VisitorId: "STRING_VALUE",
|
|
309
|
-
* SpellCorrectionConfiguration: {
|
|
184
|
+
* SpellCorrectionConfiguration: { // SpellCorrectionConfiguration
|
|
310
185
|
* IncludeQuerySpellCheckSuggestions: true || false, // required
|
|
311
186
|
* },
|
|
312
187
|
* };
|
|
@@ -28,7 +28,7 @@ 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 = {
|
|
31
|
+
* const input = { // StartDataSourceSyncJobRequest
|
|
32
32
|
* Id: "STRING_VALUE", // required
|
|
33
33
|
* IndexId: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -27,7 +27,7 @@ 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 = {
|
|
30
|
+
* const input = { // StopDataSourceSyncJobRequest
|
|
31
31
|
* Id: "STRING_VALUE", // required
|
|
32
32
|
* IndexId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -30,17 +30,17 @@ 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 = {
|
|
33
|
+
* const input = { // SubmitFeedbackRequest
|
|
34
34
|
* IndexId: "STRING_VALUE", // required
|
|
35
35
|
* QueryId: "STRING_VALUE", // required
|
|
36
|
-
* ClickFeedbackItems: [
|
|
37
|
-
* {
|
|
36
|
+
* ClickFeedbackItems: [ // ClickFeedbackList
|
|
37
|
+
* { // ClickFeedback
|
|
38
38
|
* ResultId: "STRING_VALUE", // required
|
|
39
39
|
* ClickTime: new Date("TIMESTAMP"), // required
|
|
40
40
|
* },
|
|
41
41
|
* ],
|
|
42
|
-
* RelevanceFeedbackItems: [
|
|
43
|
-
* {
|
|
42
|
+
* RelevanceFeedbackItems: [ // RelevanceFeedbackList
|
|
43
|
+
* { // RelevanceFeedback
|
|
44
44
|
* ResultId: "STRING_VALUE", // required
|
|
45
45
|
* RelevanceValue: "RELEVANT" || "NOT_RELEVANT", // required
|
|
46
46
|
* },
|
|
@@ -28,10 +28,10 @@ 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 = {
|
|
31
|
+
* const input = { // TagResourceRequest
|
|
32
32
|
* ResourceARN: "STRING_VALUE", // required
|
|
33
|
-
* Tags: [ // required
|
|
34
|
-
* {
|
|
33
|
+
* Tags: [ // TagList // required
|
|
34
|
+
* { // Tag
|
|
35
35
|
* Key: "STRING_VALUE", // required
|
|
36
36
|
* Value: "STRING_VALUE", // required
|
|
37
37
|
* },
|
|
@@ -26,9 +26,9 @@ 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 = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* ResourceARN: "STRING_VALUE", // required
|
|
31
|
-
* TagKeys: [ // required
|
|
31
|
+
* TagKeys: [ // TagKeyList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -45,21 +45,21 @@ 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 = {
|
|
48
|
+
* const input = { // UpdateAccessControlConfigurationRequest
|
|
49
49
|
* IndexId: "STRING_VALUE", // required
|
|
50
50
|
* Id: "STRING_VALUE", // required
|
|
51
51
|
* Name: "STRING_VALUE",
|
|
52
52
|
* Description: "STRING_VALUE",
|
|
53
|
-
* AccessControlList: [
|
|
54
|
-
* {
|
|
53
|
+
* AccessControlList: [ // PrincipalList
|
|
54
|
+
* { // Principal
|
|
55
55
|
* Name: "STRING_VALUE", // required
|
|
56
56
|
* Type: "USER" || "GROUP", // required
|
|
57
57
|
* Access: "ALLOW" || "DENY", // required
|
|
58
58
|
* DataSourceId: "STRING_VALUE",
|
|
59
59
|
* },
|
|
60
60
|
* ],
|
|
61
|
-
* HierarchicalAccessControlList: [
|
|
62
|
-
* {
|
|
61
|
+
* HierarchicalAccessControlList: [ // HierarchicalPrincipalList
|
|
62
|
+
* { // HierarchicalPrincipal
|
|
63
63
|
* PrincipalList: [ // required
|
|
64
64
|
* {
|
|
65
65
|
* Name: "STRING_VALUE", // required
|