@aws-sdk/client-kendra 3.112.0 → 3.121.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.
@@ -117,6 +117,9 @@ export declare class Kendra extends KendraClient {
117
117
  * <p>The documents are indexed asynchronously. You can see the progress of
118
118
  * the batch using Amazon Web Services CloudWatch. Any error messages related to processing
119
119
  * the batch are sent to your Amazon Web Services CloudWatch log.</p>
120
+ * <p>For an example of ingesting inline documents using Python and Java SDKs,
121
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-binary-doc.html">Adding
122
+ * files directly to an index</a>.</p>
120
123
  */
121
124
  batchPutDocument(args: BatchPutDocumentCommandInput, options?: __HttpHandlerOptions): Promise<BatchPutDocumentCommandOutput>;
122
125
  batchPutDocument(args: BatchPutDocumentCommandInput, cb: (err: any, data?: BatchPutDocumentCommandOutput) => void): void;
@@ -147,13 +150,18 @@ export declare class Kendra extends KendraClient {
147
150
  * Otherwise, an exception is raised.</p>
148
151
  * <p>Amazon S3 and <a href="https://docs.aws.amazon.com/kendra/latest/dg/data-source-custom.html">custom</a> data sources are
149
152
  * the only supported data sources in the Amazon Web Services GovCloud (US-West) region.</p>
153
+ * <p>For an example of creating an index and data source using the Python SDK,
154
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html">Getting
155
+ * started with Python SDK</a>. For an example of creating an index and data
156
+ * source using the Java SDK, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html">Getting started with Java SDK</a>.</p>
150
157
  */
151
158
  createDataSource(args: CreateDataSourceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataSourceCommandOutput>;
152
159
  createDataSource(args: CreateDataSourceCommandInput, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
153
160
  createDataSource(args: CreateDataSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataSourceCommandOutput) => void): void;
154
161
  /**
155
162
  * <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
163
+ * on creating a search application experience, including using the Python and Java SDKs,
164
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building a
157
165
  * search experience with no code</a>.</p>
158
166
  */
159
167
  createExperience(args: CreateExperienceCommandInput, options?: __HttpHandlerOptions): Promise<CreateExperienceCommandOutput>;
@@ -162,6 +170,9 @@ export declare class Kendra extends KendraClient {
162
170
  /**
163
171
  * <p>Creates an new set of frequently asked question (FAQ) questions and answers.</p>
164
172
  * <p>Adding FAQs to an index is an asynchronous operation.</p>
173
+ * <p>For an example of adding an FAQ to an index using Python and Java SDKs,
174
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html#using-faq-file">Using you
175
+ * FAQ file</a>.</p>
165
176
  */
166
177
  createFaq(args: CreateFaqCommandInput, options?: __HttpHandlerOptions): Promise<CreateFaqCommandOutput>;
167
178
  createFaq(args: CreateFaqCommandInput, cb: (err: any, data?: CreateFaqCommandOutput) => void): void;
@@ -174,7 +185,11 @@ export declare class Kendra extends KendraClient {
174
185
  * <code>ACTIVE</code> when the index is ready to use.</p>
175
186
  * <p>Once the index is active you can index your documents using the
176
187
  * <code>BatchPutDocument</code> API or using one of the supported
177
- * data sources. </p>
188
+ * data sources.</p>
189
+ * <p>For an example of creating an index and data source using the Python SDK,
190
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html">Getting
191
+ * started with Python SDK</a>. For an example of creating an index and data
192
+ * source using the Java SDK, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html">Getting started with Java SDK</a>.</p>
178
193
  */
179
194
  createIndex(args: CreateIndexCommandInput, options?: __HttpHandlerOptions): Promise<CreateIndexCommandOutput>;
180
195
  createIndex(args: CreateIndexCommandInput, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
@@ -192,6 +207,9 @@ export declare class Kendra extends KendraClient {
192
207
  * <p>
193
208
  * <code>CreateQuerySuggestionsBlockList</code> is currently not supported in the
194
209
  * Amazon Web Services GovCloud (US-West) region.</p>
210
+ * <p>For an example of creating a block list for query suggestions using the
211
+ * Python SDK, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html#suggestions-block-list">Query
212
+ * suggestions block list</a>.</p>
195
213
  */
196
214
  createQuerySuggestionsBlockList(args: CreateQuerySuggestionsBlockListCommandInput, options?: __HttpHandlerOptions): Promise<CreateQuerySuggestionsBlockListCommandOutput>;
197
215
  createQuerySuggestionsBlockList(args: CreateQuerySuggestionsBlockListCommandInput, cb: (err: any, data?: CreateQuerySuggestionsBlockListCommandOutput) => void): void;
@@ -199,6 +217,9 @@ export declare class Kendra extends KendraClient {
199
217
  /**
200
218
  * <p>Creates a thesaurus for an index. The thesaurus
201
219
  * contains a list of synonyms in Solr format.</p>
220
+ * <p>For an example of adding a thesaurus file to an index, see
221
+ * <a href="https://docs.aws.amazon.com/kendra/latest/dg/index-synonyms-adding-thesaurus-file.html">Adding
222
+ * custom synonyms to an index</a>.</p>
202
223
  */
203
224
  createThesaurus(args: CreateThesaurusCommandInput, options?: __HttpHandlerOptions): Promise<CreateThesaurusCommandOutput>;
204
225
  createThesaurus(args: CreateThesaurusCommandInput, cb: (err: any, data?: CreateThesaurusCommandOutput) => void): void;
@@ -16,6 +16,9 @@ export interface BatchPutDocumentCommandOutput extends BatchPutDocumentResponse,
16
16
  * <p>The documents are indexed asynchronously. You can see the progress of
17
17
  * the batch using Amazon Web Services CloudWatch. Any error messages related to processing
18
18
  * the batch are sent to your Amazon Web Services CloudWatch log.</p>
19
+ * <p>For an example of ingesting inline documents using Python and Java SDKs,
20
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-adding-binary-doc.html">Adding
21
+ * files directly to an index</a>.</p>
19
22
  * @example
20
23
  * Use a bare-bones client and the command you need to make an API call.
21
24
  * ```javascript
@@ -17,6 +17,10 @@ export interface CreateDataSourceCommandOutput extends CreateDataSourceResponse,
17
17
  * Otherwise, an exception is raised.</p>
18
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
19
  * the only supported data sources in the Amazon Web Services GovCloud (US-West) region.</p>
20
+ * <p>For an example of creating an index and data source using the Python SDK,
21
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html">Getting
22
+ * started with Python SDK</a>. For an example of creating an index and data
23
+ * source using the Java SDK, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html">Getting started with Java SDK</a>.</p>
20
24
  * @example
21
25
  * Use a bare-bones client and the command you need to make an API call.
22
26
  * ```javascript
@@ -8,7 +8,8 @@ export interface CreateExperienceCommandOutput extends CreateExperienceResponse,
8
8
  }
9
9
  /**
10
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
11
+ * on creating a search application experience, including using the Python and Java SDKs,
12
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building a
12
13
  * search experience with no code</a>.</p>
13
14
  * @example
14
15
  * Use a bare-bones client and the command you need to make an API call.
@@ -9,6 +9,9 @@ export interface CreateFaqCommandOutput extends CreateFaqResponse, __MetadataBea
9
9
  /**
10
10
  * <p>Creates an new set of frequently asked question (FAQ) questions and answers.</p>
11
11
  * <p>Adding FAQs to an index is an asynchronous operation.</p>
12
+ * <p>For an example of adding an FAQ to an index using Python and Java SDKs,
13
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html#using-faq-file">Using you
14
+ * FAQ file</a>.</p>
12
15
  * @example
13
16
  * Use a bare-bones client and the command you need to make an API call.
14
17
  * ```javascript
@@ -14,7 +14,11 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
14
14
  * <code>ACTIVE</code> when the index is ready to use.</p>
15
15
  * <p>Once the index is active you can index your documents using the
16
16
  * <code>BatchPutDocument</code> API or using one of the supported
17
- * data sources. </p>
17
+ * data sources.</p>
18
+ * <p>For an example of creating an index and data source using the Python SDK,
19
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-python.html">Getting
20
+ * started with Python SDK</a>. For an example of creating an index and data
21
+ * source using the Java SDK, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/gs-java.html">Getting started with Java SDK</a>.</p>
18
22
  * @example
19
23
  * Use a bare-bones client and the command you need to make an API call.
20
24
  * ```javascript
@@ -19,6 +19,9 @@ export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuer
19
19
  * <p>
20
20
  * <code>CreateQuerySuggestionsBlockList</code> is currently not supported in the
21
21
  * Amazon Web Services GovCloud (US-West) region.</p>
22
+ * <p>For an example of creating a block list for query suggestions using the
23
+ * Python SDK, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html#suggestions-block-list">Query
24
+ * suggestions block list</a>.</p>
22
25
  * @example
23
26
  * Use a bare-bones client and the command you need to make an API call.
24
27
  * ```javascript
@@ -9,6 +9,9 @@ export interface CreateThesaurusCommandOutput extends CreateThesaurusResponse, _
9
9
  /**
10
10
  * <p>Creates a thesaurus for an index. The thesaurus
11
11
  * contains a list of synonyms in Solr format.</p>
12
+ * <p>For an example of adding a thesaurus file to an index, see
13
+ * <a href="https://docs.aws.amazon.com/kendra/latest/dg/index-synonyms-adding-thesaurus-file.html">Adding
14
+ * custom synonyms to an index</a>.</p>
12
15
  * @example
13
16
  * Use a bare-bones client and the command you need to make an API call.
14
17
  * ```javascript