@aws-sdk/client-kendra 3.41.0 → 3.45.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 (102) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/Kendra.js +180 -0
  4. package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +36 -0
  5. package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +36 -0
  6. package/dist-cjs/commands/CreateExperienceCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteExperienceCommand.js +36 -0
  8. package/dist-cjs/commands/DescribeExperienceCommand.js +36 -0
  9. package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +36 -0
  10. package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +36 -0
  11. package/dist-cjs/commands/GetSnapshotsCommand.js +36 -0
  12. package/dist-cjs/commands/ListEntityPersonasCommand.js +36 -0
  13. package/dist-cjs/commands/ListExperienceEntitiesCommand.js +36 -0
  14. package/dist-cjs/commands/ListExperiencesCommand.js +36 -0
  15. package/dist-cjs/commands/UpdateExperienceCommand.js +36 -0
  16. package/dist-cjs/commands/index.js +12 -0
  17. package/dist-cjs/endpoints.js +1 -0
  18. package/dist-cjs/models/models_0.js +345 -89
  19. package/dist-cjs/pagination/ListEntityPersonasPaginator.js +35 -0
  20. package/dist-cjs/pagination/ListExperienceEntitiesPaginator.js +34 -0
  21. package/dist-cjs/pagination/ListExperiencesPaginator.js +35 -0
  22. package/dist-cjs/pagination/index.js +3 -0
  23. package/dist-cjs/protocols/Aws_json1_1.js +2055 -280
  24. package/dist-es/Kendra.js +180 -0
  25. package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +39 -0
  26. package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +39 -0
  27. package/dist-es/commands/CreateExperienceCommand.js +39 -0
  28. package/dist-es/commands/DeleteExperienceCommand.js +39 -0
  29. package/dist-es/commands/DescribeExperienceCommand.js +39 -0
  30. package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +39 -0
  31. package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +39 -0
  32. package/dist-es/commands/GetSnapshotsCommand.js +39 -0
  33. package/dist-es/commands/ListEntityPersonasCommand.js +39 -0
  34. package/dist-es/commands/ListExperienceEntitiesCommand.js +39 -0
  35. package/dist-es/commands/ListExperiencesCommand.js +39 -0
  36. package/dist-es/commands/UpdateExperienceCommand.js +39 -0
  37. package/dist-es/commands/index.js +12 -0
  38. package/dist-es/endpoints.js +1 -0
  39. package/dist-es/models/models_0.js +248 -68
  40. package/dist-es/pagination/ListEntityPersonasPaginator.js +74 -0
  41. package/dist-es/pagination/ListExperienceEntitiesPaginator.js +73 -0
  42. package/dist-es/pagination/ListExperiencesPaginator.js +74 -0
  43. package/dist-es/pagination/index.js +3 -0
  44. package/dist-es/protocols/Aws_json1_1.js +2067 -271
  45. package/dist-types/Kendra.d.ts +164 -1
  46. package/dist-types/KendraClient.d.ts +14 -2
  47. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +39 -0
  48. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +39 -0
  49. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
  50. package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
  51. package/dist-types/commands/CreateExperienceCommand.d.ts +37 -0
  52. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -0
  53. package/dist-types/commands/DeleteExperienceCommand.d.ts +37 -0
  54. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +3 -0
  55. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +3 -0
  56. package/dist-types/commands/DescribeExperienceCommand.d.ts +38 -0
  57. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +3 -0
  58. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +3 -0
  59. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
  60. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +39 -0
  61. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +39 -0
  62. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -0
  63. package/dist-types/commands/GetSnapshotsCommand.d.ts +37 -0
  64. package/dist-types/commands/ListEntityPersonasCommand.d.ts +36 -0
  65. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +39 -0
  66. package/dist-types/commands/ListExperiencesCommand.d.ts +38 -0
  67. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +3 -0
  68. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +3 -0
  69. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +3 -0
  70. package/dist-types/commands/SubmitFeedbackCommand.d.ts +4 -1
  71. package/dist-types/commands/UpdateExperienceCommand.d.ts +37 -0
  72. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +3 -0
  73. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +3 -0
  74. package/dist-types/commands/index.d.ts +12 -0
  75. package/dist-types/models/models_0.d.ts +1323 -225
  76. package/dist-types/pagination/ListEntityPersonasPaginator.d.ts +4 -0
  77. package/dist-types/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
  78. package/dist-types/pagination/ListExperiencesPaginator.d.ts +4 -0
  79. package/dist-types/pagination/index.d.ts +3 -0
  80. package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  81. package/dist-types/ts3.4/Kendra.d.ts +60 -0
  82. package/dist-types/ts3.4/KendraClient.d.ts +14 -2
  83. package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  96. package/dist-types/ts3.4/models/models_0.d.ts +613 -108
  97. package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +4 -0
  98. package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
  99. package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +4 -0
  100. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  101. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  102. package/package.json +5 -5
@@ -1,29 +1,40 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput } from "./commands/AssociateEntitiesToExperienceCommand";
3
+ import { AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput } from "./commands/AssociatePersonasToEntitiesCommand";
2
4
  import { BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput } from "./commands/BatchDeleteDocumentCommand";
3
5
  import { BatchGetDocumentStatusCommandInput, BatchGetDocumentStatusCommandOutput } from "./commands/BatchGetDocumentStatusCommand";
4
6
  import { BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput } from "./commands/BatchPutDocumentCommand";
5
7
  import { ClearQuerySuggestionsCommandInput, ClearQuerySuggestionsCommandOutput } from "./commands/ClearQuerySuggestionsCommand";
6
8
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
9
+ import { CreateExperienceCommandInput, CreateExperienceCommandOutput } from "./commands/CreateExperienceCommand";
7
10
  import { CreateFaqCommandInput, CreateFaqCommandOutput } from "./commands/CreateFaqCommand";
8
11
  import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
9
12
  import { CreateQuerySuggestionsBlockListCommandInput, CreateQuerySuggestionsBlockListCommandOutput } from "./commands/CreateQuerySuggestionsBlockListCommand";
10
13
  import { CreateThesaurusCommandInput, CreateThesaurusCommandOutput } from "./commands/CreateThesaurusCommand";
11
14
  import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
15
+ import { DeleteExperienceCommandInput, DeleteExperienceCommandOutput } from "./commands/DeleteExperienceCommand";
12
16
  import { DeleteFaqCommandInput, DeleteFaqCommandOutput } from "./commands/DeleteFaqCommand";
13
17
  import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
14
18
  import { DeletePrincipalMappingCommandInput, DeletePrincipalMappingCommandOutput } from "./commands/DeletePrincipalMappingCommand";
15
19
  import { DeleteQuerySuggestionsBlockListCommandInput, DeleteQuerySuggestionsBlockListCommandOutput } from "./commands/DeleteQuerySuggestionsBlockListCommand";
16
20
  import { DeleteThesaurusCommandInput, DeleteThesaurusCommandOutput } from "./commands/DeleteThesaurusCommand";
17
21
  import { DescribeDataSourceCommandInput, DescribeDataSourceCommandOutput } from "./commands/DescribeDataSourceCommand";
22
+ import { DescribeExperienceCommandInput, DescribeExperienceCommandOutput } from "./commands/DescribeExperienceCommand";
18
23
  import { DescribeFaqCommandInput, DescribeFaqCommandOutput } from "./commands/DescribeFaqCommand";
19
24
  import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "./commands/DescribeIndexCommand";
20
25
  import { DescribePrincipalMappingCommandInput, DescribePrincipalMappingCommandOutput } from "./commands/DescribePrincipalMappingCommand";
21
26
  import { DescribeQuerySuggestionsBlockListCommandInput, DescribeQuerySuggestionsBlockListCommandOutput } from "./commands/DescribeQuerySuggestionsBlockListCommand";
22
27
  import { DescribeQuerySuggestionsConfigCommandInput, DescribeQuerySuggestionsConfigCommandOutput } from "./commands/DescribeQuerySuggestionsConfigCommand";
23
28
  import { DescribeThesaurusCommandInput, DescribeThesaurusCommandOutput } from "./commands/DescribeThesaurusCommand";
29
+ import { DisassociateEntitiesFromExperienceCommandInput, DisassociateEntitiesFromExperienceCommandOutput } from "./commands/DisassociateEntitiesFromExperienceCommand";
30
+ import { DisassociatePersonasFromEntitiesCommandInput, DisassociatePersonasFromEntitiesCommandOutput } from "./commands/DisassociatePersonasFromEntitiesCommand";
24
31
  import { GetQuerySuggestionsCommandInput, GetQuerySuggestionsCommandOutput } from "./commands/GetQuerySuggestionsCommand";
32
+ import { GetSnapshotsCommandInput, GetSnapshotsCommandOutput } from "./commands/GetSnapshotsCommand";
25
33
  import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
26
34
  import { ListDataSourceSyncJobsCommandInput, ListDataSourceSyncJobsCommandOutput } from "./commands/ListDataSourceSyncJobsCommand";
35
+ import { ListEntityPersonasCommandInput, ListEntityPersonasCommandOutput } from "./commands/ListEntityPersonasCommand";
36
+ import { ListExperienceEntitiesCommandInput, ListExperienceEntitiesCommandOutput } from "./commands/ListExperienceEntitiesCommand";
37
+ import { ListExperiencesCommandInput, ListExperiencesCommandOutput } from "./commands/ListExperiencesCommand";
27
38
  import { ListFaqsCommandInput, ListFaqsCommandOutput } from "./commands/ListFaqsCommand";
28
39
  import { ListGroupsOlderThanOrderingIdCommandInput, ListGroupsOlderThanOrderingIdCommandOutput } from "./commands/ListGroupsOlderThanOrderingIdCommand";
29
40
  import { ListIndicesCommandInput, ListIndicesCommandOutput } from "./commands/ListIndicesCommand";
@@ -38,6 +49,7 @@ import { SubmitFeedbackCommandInput, SubmitFeedbackCommandOutput } from "./comma
38
49
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
39
50
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
40
51
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
52
+ import { UpdateExperienceCommandInput, UpdateExperienceCommandOutput } from "./commands/UpdateExperienceCommand";
41
53
  import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
42
54
  import { UpdateQuerySuggestionsBlockListCommandInput, UpdateQuerySuggestionsBlockListCommandOutput } from "./commands/UpdateQuerySuggestionsBlockListCommand";
43
55
  import { UpdateQuerySuggestionsConfigCommandInput, UpdateQuerySuggestionsConfigCommandOutput } from "./commands/UpdateQuerySuggestionsConfigCommand";
@@ -47,6 +59,26 @@ import { KendraClient } from "./KendraClient";
47
59
  * <p>Amazon Kendra is a service for indexing large document sets.</p>
48
60
  */
49
61
  export declare class Kendra extends KendraClient {
62
+ /**
63
+ * <p>Grants users or groups in your Amazon Web Services SSO identity source access
64
+ * to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a
65
+ * search application. For more information on creating a search application
66
+ * experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building
67
+ * a search experience with no code</a>.</p>
68
+ */
69
+ associateEntitiesToExperience(args: AssociateEntitiesToExperienceCommandInput, options?: __HttpHandlerOptions): Promise<AssociateEntitiesToExperienceCommandOutput>;
70
+ associateEntitiesToExperience(args: AssociateEntitiesToExperienceCommandInput, cb: (err: any, data?: AssociateEntitiesToExperienceCommandOutput) => void): void;
71
+ associateEntitiesToExperience(args: AssociateEntitiesToExperienceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateEntitiesToExperienceCommandOutput) => void): void;
72
+ /**
73
+ * <p>Defines the specific permissions of users or groups in your Amazon Web Services SSO
74
+ * identity source with access to your Amazon Kendra experience. You can create an Amazon Kendra
75
+ * experience such as a search application. For more information on creating a
76
+ * search application experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building
77
+ * a search experience with no code</a>.</p>
78
+ */
79
+ associatePersonasToEntities(args: AssociatePersonasToEntitiesCommandInput, options?: __HttpHandlerOptions): Promise<AssociatePersonasToEntitiesCommandOutput>;
80
+ associatePersonasToEntities(args: AssociatePersonasToEntitiesCommandInput, cb: (err: any, data?: AssociatePersonasToEntitiesCommandOutput) => void): void;
81
+ associatePersonasToEntities(args: AssociatePersonasToEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociatePersonasToEntitiesCommandOutput) => void): void;
50
82
  /**
51
83
  * <p>Removes one or more documents from an index. The documents must have
52
84
  * been added with the <code>BatchPutDocument</code> operation.</p>
@@ -97,6 +129,9 @@ export declare class Kendra extends KendraClient {
97
129
  * from the time you cleared suggestions. If you do not see any
98
130
  * new suggestions, then please allow Amazon Kendra to collect
99
131
  * enough queries to learn new suggestions.</p>
132
+ * <p>
133
+ * <code>ClearQuerySuggestions</code> is currently not supported in the
134
+ * Amazon Web Services GovCloud (US-West) region.</p>
100
135
  */
101
136
  clearQuerySuggestions(args: ClearQuerySuggestionsCommandInput, options?: __HttpHandlerOptions): Promise<ClearQuerySuggestionsCommandOutput>;
102
137
  clearQuerySuggestions(args: ClearQuerySuggestionsCommandInput, cb: (err: any, data?: ClearQuerySuggestionsCommandOutput) => void): void;
@@ -110,10 +145,20 @@ export declare class Kendra extends KendraClient {
110
145
  * <code>CreateDataSource</code> is a synchronous operation. The
111
146
  * operation returns 200 if the data source was successfully created.
112
147
  * Otherwise, an exception is raised.</p>
148
+ * <p>Amazon S3 and <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-custom.html">custom</a> data sources are
149
+ * the only supported data sources in the Amazon Web Services GovCloud (US-West) region.</p>
113
150
  */
114
151
  createDataSource(args: CreateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSourceCommandOutput>;
115
152
  createDataSource(args: CreateDataSourceCommandInput, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
116
153
  createDataSource(args: CreateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
154
+ /**
155
+ * <p>Creates an Amazon Kendra experience such as a search application. For more information
156
+ * on creating a search application experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building a
157
+ * search experience with no code</a>.</p>
158
+ */
159
+ createExperience(args: CreateExperienceCommandInput, options?: __HttpHandlerOptions): Promise<CreateExperienceCommandOutput>;
160
+ createExperience(args: CreateExperienceCommandInput, cb: (err: any, data?: CreateExperienceCommandOutput) => void): void;
161
+ createExperience(args: CreateExperienceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExperienceCommandOutput) => void): void;
117
162
  /**
118
163
  * <p>Creates an new set of frequently asked question (FAQ) questions and answers.</p>
119
164
  */
@@ -143,6 +188,9 @@ export declare class Kendra extends KendraClient {
143
188
  * <p>For information on the current quota limits for block lists, see
144
189
  * <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
145
190
  * for Amazon Kendra</a>.</p>
191
+ * <p>
192
+ * <code>CreateQuerySuggestionsBlockList</code> is currently not supported in the
193
+ * Amazon Web Services GovCloud (US-West) region.</p>
146
194
  */
147
195
  createQuerySuggestionsBlockList(args: CreateQuerySuggestionsBlockListCommandInput, options?: __HttpHandlerOptions): Promise<CreateQuerySuggestionsBlockListCommandOutput>;
148
196
  createQuerySuggestionsBlockList(args: CreateQuerySuggestionsBlockListCommandInput, cb: (err: any, data?: CreateQuerySuggestionsBlockListCommandOutput) => void): void;
@@ -164,6 +212,14 @@ export declare class Kendra extends KendraClient {
164
212
  deleteDataSource(args: DeleteDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataSourceCommandOutput>;
165
213
  deleteDataSource(args: DeleteDataSourceCommandInput, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
166
214
  deleteDataSource(args: DeleteDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataSourceCommandOutput) => void): void;
215
+ /**
216
+ * <p>Deletes your Amazon Kendra experience such as a search application. For more information on
217
+ * creating a search application experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building a search
218
+ * experience with no code</a>.</p>
219
+ */
220
+ deleteExperience(args: DeleteExperienceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteExperienceCommandOutput>;
221
+ deleteExperience(args: DeleteExperienceCommandInput, cb: (err: any, data?: DeleteExperienceCommandOutput) => void): void;
222
+ deleteExperience(args: DeleteExperienceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExperienceCommandOutput) => void): void;
167
223
  /**
168
224
  * <p>Removes an FAQ from an index.</p>
169
225
  */
@@ -193,6 +249,9 @@ export declare class Kendra extends KendraClient {
193
249
  * to the "Engineering" group when calling <code>PutPrincipalMapping</code>. You
194
250
  * can update your internal list of users or sub groups and input this list
195
251
  * when calling <code>PutPrincipalMapping</code>.</p>
252
+ * <p>
253
+ * <code>DeletePrincipalMapping</code> is currently not supported in the
254
+ * Amazon Web Services GovCloud (US-West) region.</p>
196
255
  */
197
256
  deletePrincipalMapping(args: DeletePrincipalMappingCommandInput, options?: __HttpHandlerOptions): Promise<DeletePrincipalMappingCommandOutput>;
198
257
  deletePrincipalMapping(args: DeletePrincipalMappingCommandInput, cb: (err: any, data?: DeletePrincipalMappingCommandOutput) => void): void;
@@ -202,6 +261,9 @@ export declare class Kendra extends KendraClient {
202
261
  * <p>A deleted block list might not take effect right away. Amazon Kendra
203
262
  * needs to refresh the entire suggestions list to add back the
204
263
  * queries that were previously blocked.</p>
264
+ * <p>
265
+ * <code>DeleteQuerySuggestionsBlockList</code> is currently not supported in the
266
+ * Amazon Web Services GovCloud (US-West) region.</p>
205
267
  */
206
268
  deleteQuerySuggestionsBlockList(args: DeleteQuerySuggestionsBlockListCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQuerySuggestionsBlockListCommandOutput>;
207
269
  deleteQuerySuggestionsBlockList(args: DeleteQuerySuggestionsBlockListCommandInput, cb: (err: any, data?: DeleteQuerySuggestionsBlockListCommandOutput) => void): void;
@@ -219,6 +281,15 @@ export declare class Kendra extends KendraClient {
219
281
  describeDataSource(args: DescribeDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDataSourceCommandOutput>;
220
282
  describeDataSource(args: DescribeDataSourceCommandInput, cb: (err: any, data?: DescribeDataSourceCommandOutput) => void): void;
221
283
  describeDataSource(args: DescribeDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDataSourceCommandOutput) => void): void;
284
+ /**
285
+ * <p>Gets information about your Amazon Kendra experience such as a search application.
286
+ * For more information on creating a search application experience,
287
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building
288
+ * a search experience with no code</a>.</p>
289
+ */
290
+ describeExperience(args: DescribeExperienceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExperienceCommandOutput>;
291
+ describeExperience(args: DescribeExperienceCommandInput, cb: (err: any, data?: DescribeExperienceCommandOutput) => void): void;
292
+ describeExperience(args: DescribeExperienceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExperienceCommandOutput) => void): void;
222
293
  /**
223
294
  * <p>Gets information about an FAQ list.</p>
224
295
  */
@@ -238,6 +309,9 @@ export declare class Kendra extends KendraClient {
238
309
  * when actions were received by Amazon Kendra, the latest action that should process
239
310
  * and apply after other actions, and useful error messages if an action could
240
311
  * not be processed.</p>
312
+ * <p>
313
+ * <code>DescribePrincipalMapping</code> is currently not supported in the
314
+ * Amazon Web Services GovCloud (US-West) region.</p>
241
315
  */
242
316
  describePrincipalMapping(args: DescribePrincipalMappingCommandInput, options?: __HttpHandlerOptions): Promise<DescribePrincipalMappingCommandOutput>;
243
317
  describePrincipalMapping(args: DescribePrincipalMappingCommandInput, cb: (err: any, data?: DescribePrincipalMappingCommandOutput) => void): void;
@@ -246,6 +320,9 @@ export declare class Kendra extends KendraClient {
246
320
  * <p>Describes a block list used for query suggestions for an index.</p>
247
321
  * <p>This is used to check the current settings that are applied to a
248
322
  * block list.</p>
323
+ * <p>
324
+ * <code>DescribeQuerySuggestionsBlockList</code> is currently not supported in the
325
+ * Amazon Web Services GovCloud (US-West) region.</p>
249
326
  */
250
327
  describeQuerySuggestionsBlockList(args: DescribeQuerySuggestionsBlockListCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQuerySuggestionsBlockListCommandOutput>;
251
328
  describeQuerySuggestionsBlockList(args: DescribeQuerySuggestionsBlockListCommandInput, cb: (err: any, data?: DescribeQuerySuggestionsBlockListCommandOutput) => void): void;
@@ -254,6 +331,9 @@ export declare class Kendra extends KendraClient {
254
331
  * <p>Describes the settings of query suggestions for an index.</p>
255
332
  * <p>This is used to check the current settings applied
256
333
  * to query suggestions.</p>
334
+ * <p>
335
+ * <code>DescribeQuerySuggestionsConfig</code> is currently not supported in the
336
+ * Amazon Web Services GovCloud (US-West) region.</p>
257
337
  */
258
338
  describeQuerySuggestionsConfig(args: DescribeQuerySuggestionsConfigCommandInput, options?: __HttpHandlerOptions): Promise<DescribeQuerySuggestionsConfigCommandOutput>;
259
339
  describeQuerySuggestionsConfig(args: DescribeQuerySuggestionsConfigCommandInput, cb: (err: any, data?: DescribeQuerySuggestionsConfigCommandOutput) => void): void;
@@ -264,12 +344,43 @@ export declare class Kendra extends KendraClient {
264
344
  describeThesaurus(args: DescribeThesaurusCommandInput, options?: __HttpHandlerOptions): Promise<DescribeThesaurusCommandOutput>;
265
345
  describeThesaurus(args: DescribeThesaurusCommandInput, cb: (err: any, data?: DescribeThesaurusCommandOutput) => void): void;
266
346
  describeThesaurus(args: DescribeThesaurusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeThesaurusCommandOutput) => void): void;
347
+ /**
348
+ * <p>Prevents users or groups in your Amazon Web Services SSO identity source
349
+ * from accessing your Amazon Kendra experience. You can create an Amazon Kendra experience
350
+ * such as a search application. For more information on creating a search
351
+ * application experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building
352
+ * a search experience with no code</a>.</p>
353
+ */
354
+ disassociateEntitiesFromExperience(args: DisassociateEntitiesFromExperienceCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateEntitiesFromExperienceCommandOutput>;
355
+ disassociateEntitiesFromExperience(args: DisassociateEntitiesFromExperienceCommandInput, cb: (err: any, data?: DisassociateEntitiesFromExperienceCommandOutput) => void): void;
356
+ disassociateEntitiesFromExperience(args: DisassociateEntitiesFromExperienceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateEntitiesFromExperienceCommandOutput) => void): void;
357
+ /**
358
+ * <p>Removes the specific permissions of users or groups in your Amazon Web Services SSO
359
+ * identity source with access to your Amazon Kendra experience. You can create an Amazon Kendra
360
+ * experience such as a search application. For more information on creating a
361
+ * search application experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building a
362
+ * search experience with no code</a>.</p>
363
+ */
364
+ disassociatePersonasFromEntities(args: DisassociatePersonasFromEntitiesCommandInput, options?: __HttpHandlerOptions): Promise<DisassociatePersonasFromEntitiesCommandOutput>;
365
+ disassociatePersonasFromEntities(args: DisassociatePersonasFromEntitiesCommandInput, cb: (err: any, data?: DisassociatePersonasFromEntitiesCommandOutput) => void): void;
366
+ disassociatePersonasFromEntities(args: DisassociatePersonasFromEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociatePersonasFromEntitiesCommandOutput) => void): void;
267
367
  /**
268
368
  * <p>Fetches the queries that are suggested to your users.</p>
369
+ * <p>
370
+ * <code>GetQuerySuggestions</code> is currently not supported in the
371
+ * Amazon Web Services GovCloud (US-West) region.</p>
269
372
  */
270
373
  getQuerySuggestions(args: GetQuerySuggestionsCommandInput, options?: __HttpHandlerOptions): Promise<GetQuerySuggestionsCommandOutput>;
271
374
  getQuerySuggestions(args: GetQuerySuggestionsCommandInput, cb: (err: any, data?: GetQuerySuggestionsCommandOutput) => void): void;
272
375
  getQuerySuggestions(args: GetQuerySuggestionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetQuerySuggestionsCommandOutput) => void): void;
376
+ /**
377
+ * <p>Retrieves search metrics data. The data provides a snapshot of how
378
+ * your users interact with your search application and how effective
379
+ * the application is.</p>
380
+ */
381
+ getSnapshots(args: GetSnapshotsCommandInput, options?: __HttpHandlerOptions): Promise<GetSnapshotsCommandOutput>;
382
+ getSnapshots(args: GetSnapshotsCommandInput, cb: (err: any, data?: GetSnapshotsCommandOutput) => void): void;
383
+ getSnapshots(args: GetSnapshotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSnapshotsCommandOutput) => void): void;
273
384
  /**
274
385
  * <p>Lists the data sources that you have created.</p>
275
386
  */
@@ -283,6 +394,32 @@ export declare class Kendra extends KendraClient {
283
394
  listDataSourceSyncJobs(args: ListDataSourceSyncJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataSourceSyncJobsCommandOutput>;
284
395
  listDataSourceSyncJobs(args: ListDataSourceSyncJobsCommandInput, cb: (err: any, data?: ListDataSourceSyncJobsCommandOutput) => void): void;
285
396
  listDataSourceSyncJobs(args: ListDataSourceSyncJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataSourceSyncJobsCommandOutput) => void): void;
397
+ /**
398
+ * <p>Lists specific permissions of users and groups with access to your
399
+ * Amazon Kendra experience.</p>
400
+ */
401
+ listEntityPersonas(args: ListEntityPersonasCommandInput, options?: __HttpHandlerOptions): Promise<ListEntityPersonasCommandOutput>;
402
+ listEntityPersonas(args: ListEntityPersonasCommandInput, cb: (err: any, data?: ListEntityPersonasCommandOutput) => void): void;
403
+ listEntityPersonas(args: ListEntityPersonasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEntityPersonasCommandOutput) => void): void;
404
+ /**
405
+ * <p>Lists users or groups in your Amazon Web Services SSO identity source that are
406
+ * granted access to your Amazon Kendra experience. You can create an Amazon Kendra experience
407
+ * such as a search application. For more information on creating a search
408
+ * application experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building
409
+ * a search experience with no code</a>.</p>
410
+ */
411
+ listExperienceEntities(args: ListExperienceEntitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListExperienceEntitiesCommandOutput>;
412
+ listExperienceEntities(args: ListExperienceEntitiesCommandInput, cb: (err: any, data?: ListExperienceEntitiesCommandOutput) => void): void;
413
+ listExperienceEntities(args: ListExperienceEntitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExperienceEntitiesCommandOutput) => void): void;
414
+ /**
415
+ * <p>Lists one or more Amazon Kendra experiences. You can create an Amazon Kendra experience such
416
+ * as a search application. For more information on creating a search application
417
+ * experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building a
418
+ * search experience with no code</a>.</p>
419
+ */
420
+ listExperiences(args: ListExperiencesCommandInput, options?: __HttpHandlerOptions): Promise<ListExperiencesCommandOutput>;
421
+ listExperiences(args: ListExperiencesCommandInput, cb: (err: any, data?: ListExperiencesCommandOutput) => void): void;
422
+ listExperiences(args: ListExperiencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExperiencesCommandOutput) => void): void;
286
423
  /**
287
424
  * <p>Gets a list of FAQ lists associated with an index.</p>
288
425
  */
@@ -292,6 +429,9 @@ export declare class Kendra extends KendraClient {
292
429
  /**
293
430
  * <p>Provides a list of groups that are mapped to users before a
294
431
  * given ordering or timestamp identifier.</p>
432
+ * <p>
433
+ * <code>ListGroupsOlderThanOrderingId</code> is currently not supported in the
434
+ * Amazon Web Services GovCloud (US-West) region.</p>
295
435
  */
296
436
  listGroupsOlderThanOrderingId(args: ListGroupsOlderThanOrderingIdCommandInput, options?: __HttpHandlerOptions): Promise<ListGroupsOlderThanOrderingIdCommandOutput>;
297
437
  listGroupsOlderThanOrderingId(args: ListGroupsOlderThanOrderingIdCommandInput, cb: (err: any, data?: ListGroupsOlderThanOrderingIdCommandOutput) => void): void;
@@ -307,6 +447,9 @@ export declare class Kendra extends KendraClient {
307
447
  * <p>For information on the current quota limits for block lists, see
308
448
  * <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
309
449
  * for Amazon Kendra</a>.</p>
450
+ * <p>
451
+ * <code>ListQuerySuggestionsBlockLists</code> is currently not supported in the
452
+ * Amazon Web Services GovCloud (US-West) region.</p>
310
453
  */
311
454
  listQuerySuggestionsBlockLists(args: ListQuerySuggestionsBlockListsCommandInput, options?: __HttpHandlerOptions): Promise<ListQuerySuggestionsBlockListsCommandOutput>;
312
455
  listQuerySuggestionsBlockLists(args: ListQuerySuggestionsBlockListsCommandInput, cb: (err: any, data?: ListQuerySuggestionsBlockListsCommandOutput) => void): void;
@@ -341,6 +484,9 @@ export declare class Kendra extends KendraClient {
341
484
  * on user context</a>.</p>
342
485
  * <p>If more than five <code>PUT</code> actions for a group are currently
343
486
  * processing, a validation exception is thrown.</p>
487
+ * <p>
488
+ * <code>PutPrincipalMapping</code> is currently not supported in the
489
+ * Amazon Web Services GovCloud (US-West) region.</p>
344
490
  */
345
491
  putPrincipalMapping(args: PutPrincipalMappingCommandInput, options?: __HttpHandlerOptions): Promise<PutPrincipalMappingCommandOutput>;
346
492
  putPrincipalMapping(args: PutPrincipalMappingCommandInput, cb: (err: any, data?: PutPrincipalMappingCommandOutput) => void): void;
@@ -389,7 +535,10 @@ export declare class Kendra extends KendraClient {
389
535
  stopDataSourceSyncJob(args: StopDataSourceSyncJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopDataSourceSyncJobCommandOutput) => void): void;
390
536
  /**
391
537
  * <p>Enables you to provide feedback to Amazon Kendra to improve the
392
- * performance of your index. </p>
538
+ * performance of your index.</p>
539
+ * <p>
540
+ * <code>SubmitFeedback</code> is currently not supported in the
541
+ * Amazon Web Services GovCloud (US-West) region.</p>
393
542
  */
394
543
  submitFeedback(args: SubmitFeedbackCommandInput, options?: __HttpHandlerOptions): Promise<SubmitFeedbackCommandOutput>;
395
544
  submitFeedback(args: SubmitFeedbackCommandInput, cb: (err: any, data?: SubmitFeedbackCommandOutput) => void): void;
@@ -414,6 +563,14 @@ export declare class Kendra extends KendraClient {
414
563
  updateDataSource(args: UpdateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataSourceCommandOutput>;
415
564
  updateDataSource(args: UpdateDataSourceCommandInput, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
416
565
  updateDataSource(args: UpdateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataSourceCommandOutput) => void): void;
566
+ /**
567
+ * <p>Updates your Amazon Kendra experience such as a search application. For more information on
568
+ * creating a search application experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building a
569
+ * search experience with no code</a>.</p>
570
+ */
571
+ updateExperience(args: UpdateExperienceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExperienceCommandOutput>;
572
+ updateExperience(args: UpdateExperienceCommandInput, cb: (err: any, data?: UpdateExperienceCommandOutput) => void): void;
573
+ updateExperience(args: UpdateExperienceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateExperienceCommandOutput) => void): void;
417
574
  /**
418
575
  * <p>Updates an existing Amazon Kendra index.</p>
419
576
  */
@@ -429,6 +586,9 @@ export declare class Kendra extends KendraClient {
429
586
  * finish before submitting another update.</p>
430
587
  * <p>Amazon Kendra supports partial updates, so you only need to provide the fields
431
588
  * you want to update.</p>
589
+ * <p>
590
+ * <code>UpdateQuerySuggestionsBlockList</code> is currently not supported in the
591
+ * Amazon Web Services GovCloud (US-West) region.</p>
432
592
  */
433
593
  updateQuerySuggestionsBlockList(args: UpdateQuerySuggestionsBlockListCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQuerySuggestionsBlockListCommandOutput>;
434
594
  updateQuerySuggestionsBlockList(args: UpdateQuerySuggestionsBlockListCommandInput, cb: (err: any, data?: UpdateQuerySuggestionsBlockListCommandOutput) => void): void;
@@ -443,6 +603,9 @@ export declare class Kendra extends KendraClient {
443
603
  * The time for your updated settings to take effect depends on the updates
444
604
  * made and the number of search queries in your index.</p>
445
605
  * <p>You can still enable/disable query suggestions at any time.</p>
606
+ * <p>
607
+ * <code>UpdateQuerySuggestionsConfig</code> is currently not supported in the
608
+ * Amazon Web Services GovCloud (US-West) region.</p>
446
609
  */
447
610
  updateQuerySuggestionsConfig(args: UpdateQuerySuggestionsConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateQuerySuggestionsConfigCommandOutput>;
448
611
  updateQuerySuggestionsConfig(args: UpdateQuerySuggestionsConfigCommandInput, cb: (err: any, data?: UpdateQuerySuggestionsConfigCommandOutput) => void): void;
@@ -6,31 +6,42 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput } from "./commands/AssociateEntitiesToExperienceCommand";
10
+ import { AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput } from "./commands/AssociatePersonasToEntitiesCommand";
9
11
  import { BatchDeleteDocumentCommandInput, BatchDeleteDocumentCommandOutput } from "./commands/BatchDeleteDocumentCommand";
10
12
  import { BatchGetDocumentStatusCommandInput, BatchGetDocumentStatusCommandOutput } from "./commands/BatchGetDocumentStatusCommand";
11
13
  import { BatchPutDocumentCommandInput, BatchPutDocumentCommandOutput } from "./commands/BatchPutDocumentCommand";
12
14
  import { ClearQuerySuggestionsCommandInput, ClearQuerySuggestionsCommandOutput } from "./commands/ClearQuerySuggestionsCommand";
13
15
  import { CreateDataSourceCommandInput, CreateDataSourceCommandOutput } from "./commands/CreateDataSourceCommand";
16
+ import { CreateExperienceCommandInput, CreateExperienceCommandOutput } from "./commands/CreateExperienceCommand";
14
17
  import { CreateFaqCommandInput, CreateFaqCommandOutput } from "./commands/CreateFaqCommand";
15
18
  import { CreateIndexCommandInput, CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
16
19
  import { CreateQuerySuggestionsBlockListCommandInput, CreateQuerySuggestionsBlockListCommandOutput } from "./commands/CreateQuerySuggestionsBlockListCommand";
17
20
  import { CreateThesaurusCommandInput, CreateThesaurusCommandOutput } from "./commands/CreateThesaurusCommand";
18
21
  import { DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput } from "./commands/DeleteDataSourceCommand";
22
+ import { DeleteExperienceCommandInput, DeleteExperienceCommandOutput } from "./commands/DeleteExperienceCommand";
19
23
  import { DeleteFaqCommandInput, DeleteFaqCommandOutput } from "./commands/DeleteFaqCommand";
20
24
  import { DeleteIndexCommandInput, DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
21
25
  import { DeletePrincipalMappingCommandInput, DeletePrincipalMappingCommandOutput } from "./commands/DeletePrincipalMappingCommand";
22
26
  import { DeleteQuerySuggestionsBlockListCommandInput, DeleteQuerySuggestionsBlockListCommandOutput } from "./commands/DeleteQuerySuggestionsBlockListCommand";
23
27
  import { DeleteThesaurusCommandInput, DeleteThesaurusCommandOutput } from "./commands/DeleteThesaurusCommand";
24
28
  import { DescribeDataSourceCommandInput, DescribeDataSourceCommandOutput } from "./commands/DescribeDataSourceCommand";
29
+ import { DescribeExperienceCommandInput, DescribeExperienceCommandOutput } from "./commands/DescribeExperienceCommand";
25
30
  import { DescribeFaqCommandInput, DescribeFaqCommandOutput } from "./commands/DescribeFaqCommand";
26
31
  import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "./commands/DescribeIndexCommand";
27
32
  import { DescribePrincipalMappingCommandInput, DescribePrincipalMappingCommandOutput } from "./commands/DescribePrincipalMappingCommand";
28
33
  import { DescribeQuerySuggestionsBlockListCommandInput, DescribeQuerySuggestionsBlockListCommandOutput } from "./commands/DescribeQuerySuggestionsBlockListCommand";
29
34
  import { DescribeQuerySuggestionsConfigCommandInput, DescribeQuerySuggestionsConfigCommandOutput } from "./commands/DescribeQuerySuggestionsConfigCommand";
30
35
  import { DescribeThesaurusCommandInput, DescribeThesaurusCommandOutput } from "./commands/DescribeThesaurusCommand";
36
+ import { DisassociateEntitiesFromExperienceCommandInput, DisassociateEntitiesFromExperienceCommandOutput } from "./commands/DisassociateEntitiesFromExperienceCommand";
37
+ import { DisassociatePersonasFromEntitiesCommandInput, DisassociatePersonasFromEntitiesCommandOutput } from "./commands/DisassociatePersonasFromEntitiesCommand";
31
38
  import { GetQuerySuggestionsCommandInput, GetQuerySuggestionsCommandOutput } from "./commands/GetQuerySuggestionsCommand";
39
+ import { GetSnapshotsCommandInput, GetSnapshotsCommandOutput } from "./commands/GetSnapshotsCommand";
32
40
  import { ListDataSourcesCommandInput, ListDataSourcesCommandOutput } from "./commands/ListDataSourcesCommand";
33
41
  import { ListDataSourceSyncJobsCommandInput, ListDataSourceSyncJobsCommandOutput } from "./commands/ListDataSourceSyncJobsCommand";
42
+ import { ListEntityPersonasCommandInput, ListEntityPersonasCommandOutput } from "./commands/ListEntityPersonasCommand";
43
+ import { ListExperienceEntitiesCommandInput, ListExperienceEntitiesCommandOutput } from "./commands/ListExperienceEntitiesCommand";
44
+ import { ListExperiencesCommandInput, ListExperiencesCommandOutput } from "./commands/ListExperiencesCommand";
34
45
  import { ListFaqsCommandInput, ListFaqsCommandOutput } from "./commands/ListFaqsCommand";
35
46
  import { ListGroupsOlderThanOrderingIdCommandInput, ListGroupsOlderThanOrderingIdCommandOutput } from "./commands/ListGroupsOlderThanOrderingIdCommand";
36
47
  import { ListIndicesCommandInput, ListIndicesCommandOutput } from "./commands/ListIndicesCommand";
@@ -45,12 +56,13 @@ import { SubmitFeedbackCommandInput, SubmitFeedbackCommandOutput } from "./comma
45
56
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
46
57
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
47
58
  import { UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput } from "./commands/UpdateDataSourceCommand";
59
+ import { UpdateExperienceCommandInput, UpdateExperienceCommandOutput } from "./commands/UpdateExperienceCommand";
48
60
  import { UpdateIndexCommandInput, UpdateIndexCommandOutput } from "./commands/UpdateIndexCommand";
49
61
  import { UpdateQuerySuggestionsBlockListCommandInput, UpdateQuerySuggestionsBlockListCommandOutput } from "./commands/UpdateQuerySuggestionsBlockListCommand";
50
62
  import { UpdateQuerySuggestionsConfigCommandInput, UpdateQuerySuggestionsConfigCommandOutput } from "./commands/UpdateQuerySuggestionsConfigCommand";
51
63
  import { UpdateThesaurusCommandInput, UpdateThesaurusCommandOutput } from "./commands/UpdateThesaurusCommand";
52
- export declare type ServiceInputTypes = BatchDeleteDocumentCommandInput | BatchGetDocumentStatusCommandInput | BatchPutDocumentCommandInput | ClearQuerySuggestionsCommandInput | CreateDataSourceCommandInput | CreateFaqCommandInput | CreateIndexCommandInput | CreateQuerySuggestionsBlockListCommandInput | CreateThesaurusCommandInput | DeleteDataSourceCommandInput | DeleteFaqCommandInput | DeleteIndexCommandInput | DeletePrincipalMappingCommandInput | DeleteQuerySuggestionsBlockListCommandInput | DeleteThesaurusCommandInput | DescribeDataSourceCommandInput | DescribeFaqCommandInput | DescribeIndexCommandInput | DescribePrincipalMappingCommandInput | DescribeQuerySuggestionsBlockListCommandInput | DescribeQuerySuggestionsConfigCommandInput | DescribeThesaurusCommandInput | GetQuerySuggestionsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListFaqsCommandInput | ListGroupsOlderThanOrderingIdCommandInput | ListIndicesCommandInput | ListQuerySuggestionsBlockListsCommandInput | ListTagsForResourceCommandInput | ListThesauriCommandInput | PutPrincipalMappingCommandInput | QueryCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | SubmitFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataSourceCommandInput | UpdateIndexCommandInput | UpdateQuerySuggestionsBlockListCommandInput | UpdateQuerySuggestionsConfigCommandInput | UpdateThesaurusCommandInput;
53
- export declare type ServiceOutputTypes = BatchDeleteDocumentCommandOutput | BatchGetDocumentStatusCommandOutput | BatchPutDocumentCommandOutput | ClearQuerySuggestionsCommandOutput | CreateDataSourceCommandOutput | CreateFaqCommandOutput | CreateIndexCommandOutput | CreateQuerySuggestionsBlockListCommandOutput | CreateThesaurusCommandOutput | DeleteDataSourceCommandOutput | DeleteFaqCommandOutput | DeleteIndexCommandOutput | DeletePrincipalMappingCommandOutput | DeleteQuerySuggestionsBlockListCommandOutput | DeleteThesaurusCommandOutput | DescribeDataSourceCommandOutput | DescribeFaqCommandOutput | DescribeIndexCommandOutput | DescribePrincipalMappingCommandOutput | DescribeQuerySuggestionsBlockListCommandOutput | DescribeQuerySuggestionsConfigCommandOutput | DescribeThesaurusCommandOutput | GetQuerySuggestionsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListFaqsCommandOutput | ListGroupsOlderThanOrderingIdCommandOutput | ListIndicesCommandOutput | ListQuerySuggestionsBlockListsCommandOutput | ListTagsForResourceCommandOutput | ListThesauriCommandOutput | PutPrincipalMappingCommandOutput | QueryCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | SubmitFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataSourceCommandOutput | UpdateIndexCommandOutput | UpdateQuerySuggestionsBlockListCommandOutput | UpdateQuerySuggestionsConfigCommandOutput | UpdateThesaurusCommandOutput;
64
+ export declare type ServiceInputTypes = AssociateEntitiesToExperienceCommandInput | AssociatePersonasToEntitiesCommandInput | BatchDeleteDocumentCommandInput | BatchGetDocumentStatusCommandInput | BatchPutDocumentCommandInput | ClearQuerySuggestionsCommandInput | CreateDataSourceCommandInput | CreateExperienceCommandInput | CreateFaqCommandInput | CreateIndexCommandInput | CreateQuerySuggestionsBlockListCommandInput | CreateThesaurusCommandInput | DeleteDataSourceCommandInput | DeleteExperienceCommandInput | DeleteFaqCommandInput | DeleteIndexCommandInput | DeletePrincipalMappingCommandInput | DeleteQuerySuggestionsBlockListCommandInput | DeleteThesaurusCommandInput | DescribeDataSourceCommandInput | DescribeExperienceCommandInput | DescribeFaqCommandInput | DescribeIndexCommandInput | DescribePrincipalMappingCommandInput | DescribeQuerySuggestionsBlockListCommandInput | DescribeQuerySuggestionsConfigCommandInput | DescribeThesaurusCommandInput | DisassociateEntitiesFromExperienceCommandInput | DisassociatePersonasFromEntitiesCommandInput | GetQuerySuggestionsCommandInput | GetSnapshotsCommandInput | ListDataSourceSyncJobsCommandInput | ListDataSourcesCommandInput | ListEntityPersonasCommandInput | ListExperienceEntitiesCommandInput | ListExperiencesCommandInput | ListFaqsCommandInput | ListGroupsOlderThanOrderingIdCommandInput | ListIndicesCommandInput | ListQuerySuggestionsBlockListsCommandInput | ListTagsForResourceCommandInput | ListThesauriCommandInput | PutPrincipalMappingCommandInput | QueryCommandInput | StartDataSourceSyncJobCommandInput | StopDataSourceSyncJobCommandInput | SubmitFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDataSourceCommandInput | UpdateExperienceCommandInput | UpdateIndexCommandInput | UpdateQuerySuggestionsBlockListCommandInput | UpdateQuerySuggestionsConfigCommandInput | UpdateThesaurusCommandInput;
65
+ export declare type ServiceOutputTypes = AssociateEntitiesToExperienceCommandOutput | AssociatePersonasToEntitiesCommandOutput | BatchDeleteDocumentCommandOutput | BatchGetDocumentStatusCommandOutput | BatchPutDocumentCommandOutput | ClearQuerySuggestionsCommandOutput | CreateDataSourceCommandOutput | CreateExperienceCommandOutput | CreateFaqCommandOutput | CreateIndexCommandOutput | CreateQuerySuggestionsBlockListCommandOutput | CreateThesaurusCommandOutput | DeleteDataSourceCommandOutput | DeleteExperienceCommandOutput | DeleteFaqCommandOutput | DeleteIndexCommandOutput | DeletePrincipalMappingCommandOutput | DeleteQuerySuggestionsBlockListCommandOutput | DeleteThesaurusCommandOutput | DescribeDataSourceCommandOutput | DescribeExperienceCommandOutput | DescribeFaqCommandOutput | DescribeIndexCommandOutput | DescribePrincipalMappingCommandOutput | DescribeQuerySuggestionsBlockListCommandOutput | DescribeQuerySuggestionsConfigCommandOutput | DescribeThesaurusCommandOutput | DisassociateEntitiesFromExperienceCommandOutput | DisassociatePersonasFromEntitiesCommandOutput | GetQuerySuggestionsCommandOutput | GetSnapshotsCommandOutput | ListDataSourceSyncJobsCommandOutput | ListDataSourcesCommandOutput | ListEntityPersonasCommandOutput | ListExperienceEntitiesCommandOutput | ListExperiencesCommandOutput | ListFaqsCommandOutput | ListGroupsOlderThanOrderingIdCommandOutput | ListIndicesCommandOutput | ListQuerySuggestionsBlockListsCommandOutput | ListTagsForResourceCommandOutput | ListThesauriCommandOutput | PutPrincipalMappingCommandOutput | QueryCommandOutput | StartDataSourceSyncJobCommandOutput | StopDataSourceSyncJobCommandOutput | SubmitFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDataSourceCommandOutput | UpdateExperienceCommandOutput | UpdateIndexCommandOutput | UpdateQuerySuggestionsBlockListCommandOutput | UpdateQuerySuggestionsConfigCommandOutput | UpdateThesaurusCommandOutput;
54
66
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
55
67
  /**
56
68
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
4
+ import { AssociateEntitiesToExperienceRequest, AssociateEntitiesToExperienceResponse } from "../models/models_0";
5
+ export interface AssociateEntitiesToExperienceCommandInput extends AssociateEntitiesToExperienceRequest {
6
+ }
7
+ export interface AssociateEntitiesToExperienceCommandOutput extends AssociateEntitiesToExperienceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Grants users or groups in your Amazon Web Services SSO identity source access
11
+ * to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a
12
+ * search application. For more information on creating a search application
13
+ * experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building
14
+ * a search experience with no code</a>.</p>
15
+ * @example
16
+ * Use a bare-bones client and the command you need to make an API call.
17
+ * ```javascript
18
+ * import { KendraClient, AssociateEntitiesToExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
19
+ * // const { KendraClient, AssociateEntitiesToExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
20
+ * const client = new KendraClient(config);
21
+ * const command = new AssociateEntitiesToExperienceCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link AssociateEntitiesToExperienceCommandInput} for command's `input` shape.
26
+ * @see {@link AssociateEntitiesToExperienceCommandOutput} for command's `response` shape.
27
+ * @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class AssociateEntitiesToExperienceCommand extends $Command<AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput, KendraClientResolvedConfig> {
31
+ readonly input: AssociateEntitiesToExperienceCommandInput;
32
+ constructor(input: AssociateEntitiesToExperienceCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
4
+ import { AssociatePersonasToEntitiesRequest, AssociatePersonasToEntitiesResponse } from "../models/models_0";
5
+ export interface AssociatePersonasToEntitiesCommandInput extends AssociatePersonasToEntitiesRequest {
6
+ }
7
+ export interface AssociatePersonasToEntitiesCommandOutput extends AssociatePersonasToEntitiesResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Defines the specific permissions of users or groups in your Amazon Web Services SSO
11
+ * identity source with access to your Amazon Kendra experience. You can create an Amazon Kendra
12
+ * experience such as a search application. For more information on creating a
13
+ * search application experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building
14
+ * a search experience with no code</a>.</p>
15
+ * @example
16
+ * Use a bare-bones client and the command you need to make an API call.
17
+ * ```javascript
18
+ * import { KendraClient, AssociatePersonasToEntitiesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
19
+ * // const { KendraClient, AssociatePersonasToEntitiesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
20
+ * const client = new KendraClient(config);
21
+ * const command = new AssociatePersonasToEntitiesCommand(input);
22
+ * const response = await client.send(command);
23
+ * ```
24
+ *
25
+ * @see {@link AssociatePersonasToEntitiesCommandInput} for command's `input` shape.
26
+ * @see {@link AssociatePersonasToEntitiesCommandOutput} for command's `response` shape.
27
+ * @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
28
+ *
29
+ */
30
+ export declare class AssociatePersonasToEntitiesCommand extends $Command<AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput, KendraClientResolvedConfig> {
31
+ readonly input: AssociatePersonasToEntitiesCommandInput;
32
+ constructor(input: AssociatePersonasToEntitiesCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -14,6 +14,9 @@ export interface ClearQuerySuggestionsCommandOutput extends __MetadataBearer {
14
14
  * from the time you cleared suggestions. If you do not see any
15
15
  * new suggestions, then please allow Amazon Kendra to collect
16
16
  * enough queries to learn new suggestions.</p>
17
+ * <p>
18
+ * <code>ClearQuerySuggestions</code> is currently not supported in the
19
+ * Amazon Web Services GovCloud (US-West) region.</p>
17
20
  * @example
18
21
  * Use a bare-bones client and the command you need to make an API call.
19
22
  * ```javascript
@@ -15,6 +15,8 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
15
15
  * <code>CreateDataSource</code> is a synchronous operation. The
16
16
  * operation returns 200 if the data source was successfully created.
17
17
  * Otherwise, an exception is raised.</p>
18
+ * <p>Amazon S3 and <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-custom.html">custom</a> data sources are
19
+ * the only supported data sources in the Amazon Web Services GovCloud (US-West) region.</p>
18
20
  * @example
19
21
  * Use a bare-bones client and the command you need to make an API call.
20
22
  * ```javascript
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
4
+ import { CreateExperienceRequest, CreateExperienceResponse } from "../models/models_0";
5
+ export interface CreateExperienceCommandInput extends CreateExperienceRequest {
6
+ }
7
+ export interface CreateExperienceCommandOutput extends CreateExperienceResponse, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates an Amazon Kendra experience such as a search application. For more information
11
+ * on creating a search application experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building a
12
+ * search experience with no code</a>.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { KendraClient, CreateExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
17
+ * // const { KendraClient, CreateExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
18
+ * const client = new KendraClient(config);
19
+ * const command = new CreateExperienceCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link CreateExperienceCommandInput} for command's `input` shape.
24
+ * @see {@link CreateExperienceCommandOutput} for command's `response` shape.
25
+ * @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class CreateExperienceCommand extends $Command<CreateExperienceCommandInput, CreateExperienceCommandOutput, KendraClientResolvedConfig> {
29
+ readonly input: CreateExperienceCommandInput;
30
+ constructor(input: CreateExperienceCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateExperienceCommandInput, CreateExperienceCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -16,6 +16,9 @@ export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuer
16
16
  * <p>For information on the current quota limits for block lists, see
17
17
  * <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
18
18
  * for Amazon Kendra</a>.</p>
19
+ * <p>
20
+ * <code>CreateQuerySuggestionsBlockList</code> is currently not supported in the
21
+ * Amazon Web Services GovCloud (US-West) region.</p>
19
22
  * @example
20
23
  * Use a bare-bones client and the command you need to make an API call.
21
24
  * ```javascript