@aws-sdk/client-kendra 3.300.0 → 3.303.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/README.md +40 -0
- package/dist-cjs/Kendra.js +75 -0
- package/dist-cjs/commands/BatchDeleteFeaturedResultsSetCommand.js +45 -0
- package/dist-cjs/commands/CreateFeaturedResultsSetCommand.js +45 -0
- package/dist-cjs/commands/DescribeFeaturedResultsSetCommand.js +45 -0
- package/dist-cjs/commands/ListFeaturedResultsSetsCommand.js +45 -0
- package/dist-cjs/commands/UpdateFeaturedResultsSetCommand.js +45 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +381 -438
- package/dist-cjs/models/models_1.js +20 -0
- package/dist-cjs/protocols/Aws_json1_1.js +597 -4
- package/dist-es/Kendra.js +75 -0
- package/dist-es/commands/BatchDeleteFeaturedResultsSetCommand.js +41 -0
- package/dist-es/commands/CreateFeaturedResultsSetCommand.js +41 -0
- package/dist-es/commands/DescribeFeaturedResultsSetCommand.js +41 -0
- package/dist-es/commands/ListFeaturedResultsSetsCommand.js +41 -0
- package/dist-es/commands/UpdateFeaturedResultsSetCommand.js +41 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +377 -434
- package/dist-es/models/models_1.js +18 -1
- package/dist-es/protocols/Aws_json1_1.js +584 -1
- package/dist-types/Kendra.d.ts +163 -132
- package/dist-types/KendraClient.d.ts +7 -2
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +4 -4
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +4 -4
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +9 -9
- package/dist-types/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +88 -0
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +16 -20
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +32 -31
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +2 -2
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +22 -25
- package/dist-types/commands/CreateDataSourceCommand.d.ts +171 -342
- package/dist-types/commands/CreateExperienceCommand.d.ts +9 -8
- package/dist-types/commands/CreateFaqCommand.d.ts +10 -10
- package/dist-types/commands/CreateFeaturedResultsSetCommand.d.ts +117 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +12 -11
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +7 -6
- package/dist-types/commands/CreateThesaurusCommand.d.ts +7 -6
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +6 -6
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteExperienceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteFaqCommand.d.ts +2 -2
- package/dist-types/commands/DeleteIndexCommand.d.ts +2 -2
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +14 -16
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +2 -2
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +4 -4
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeExperienceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFaqCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFeaturedResultsSetCommand.d.ts +86 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +2 -2
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +9 -10
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +2 -2
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +2 -2
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +4 -4
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +3 -3
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +4 -3
- package/dist-types/commands/GetSnapshotsCommand.d.ts +4 -5
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +6 -6
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +3 -3
- package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -2
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +2 -2
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +2 -2
- package/dist-types/commands/ListExperiencesCommand.d.ts +2 -2
- package/dist-types/commands/ListFaqsCommand.d.ts +2 -2
- package/dist-types/commands/ListFeaturedResultsSetsCommand.d.ts +87 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +5 -6
- package/dist-types/commands/ListIndicesCommand.d.ts +2 -2
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
- package/dist-types/commands/ListThesauriCommand.d.ts +2 -2
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +22 -28
- package/dist-types/commands/QueryCommand.d.ts +91 -215
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +3 -3
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -3
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +7 -7
- package/dist-types/commands/TagResourceCommand.d.ts +7 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +25 -25
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +168 -338
- package/dist-types/commands/UpdateExperienceCommand.d.ts +8 -8
- package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +105 -0
- package/dist-types/commands/UpdateIndexCommand.d.ts +16 -15
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +4 -4
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +2 -2
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1943 -1687
- package/dist-types/models/models_1.d.ts +491 -72
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/ts3.4/Kendra.d.ts +85 -0
- package/dist-types/ts3.4/KendraClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateFeaturedResultsSetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeFeaturedResultsSetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListFeaturedResultsSetsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +563 -453
- package/dist-types/ts3.4/models/models_1.d.ts +127 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +34 -34
|
@@ -29,21 +29,21 @@ export interface CreateExperienceCommandOutput extends CreateExperienceResponse,
|
|
|
29
29
|
* import { KendraClient, CreateExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, CreateExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateExperienceRequest
|
|
33
33
|
* Name: "STRING_VALUE", // required
|
|
34
34
|
* IndexId: "STRING_VALUE", // required
|
|
35
35
|
* RoleArn: "STRING_VALUE",
|
|
36
|
-
* Configuration: {
|
|
37
|
-
* ContentSourceConfiguration: {
|
|
38
|
-
* DataSourceIds: [
|
|
36
|
+
* Configuration: { // ExperienceConfiguration
|
|
37
|
+
* ContentSourceConfiguration: { // ContentSourceConfiguration
|
|
38
|
+
* DataSourceIds: [ // DataSourceIdList
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
|
-
* FaqIds: [
|
|
41
|
+
* FaqIds: [ // FaqIdsList
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* DirectPutContent: true || false,
|
|
45
45
|
* },
|
|
46
|
-
* UserIdentityConfiguration: {
|
|
46
|
+
* UserIdentityConfiguration: { // UserIdentityConfiguration
|
|
47
47
|
* IdentityAttributeName: "STRING_VALUE",
|
|
48
48
|
* },
|
|
49
49
|
* },
|
|
@@ -70,7 +70,7 @@ export interface CreateExperienceCommandOutput extends CreateExperienceResponse,
|
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link InternalServerException} (server fault)
|
|
72
72
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
73
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
73
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
74
74
|
*
|
|
75
75
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
76
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -78,7 +78,8 @@ export interface CreateExperienceCommandOutput extends CreateExperienceResponse,
|
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
80
80
|
* <p>You have exceeded the set limits for your Amazon Kendra service. Please see
|
|
81
|
-
*
|
|
81
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
|
|
82
|
+
* more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
|
|
82
83
|
* an increase of limits.</p>
|
|
83
84
|
*
|
|
84
85
|
* @throws {@link ThrottlingException} (client fault)
|
|
@@ -19,28 +19,27 @@ export interface CreateFaqCommandOutput extends CreateFaqResponse, __MetadataBea
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Creates
|
|
22
|
+
* <p>Creates a set of frequently ask questions (FAQs) using a specified FAQ file stored
|
|
23
|
+
* in an Amazon S3 bucket.</p>
|
|
23
24
|
* <p>Adding FAQs to an index is an asynchronous operation.</p>
|
|
24
|
-
* <p>For an example of adding an FAQ to an index using Python and Java SDKs,
|
|
25
|
-
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html#using-faq-file">Using your
|
|
26
|
-
* FAQ file</a>.</p>
|
|
25
|
+
* <p>For an example of adding an FAQ to an index using Python and Java SDKs, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/in-creating-faq.html#using-faq-file">Using your FAQ file</a>.</p>
|
|
27
26
|
* @example
|
|
28
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
28
|
* ```javascript
|
|
30
29
|
* import { KendraClient, CreateFaqCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
31
30
|
* // const { KendraClient, CreateFaqCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
32
31
|
* const client = new KendraClient(config);
|
|
33
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateFaqRequest
|
|
34
33
|
* IndexId: "STRING_VALUE", // required
|
|
35
34
|
* Name: "STRING_VALUE", // required
|
|
36
35
|
* Description: "STRING_VALUE",
|
|
37
|
-
* S3Path: {
|
|
36
|
+
* S3Path: { // S3Path
|
|
38
37
|
* Bucket: "STRING_VALUE", // required
|
|
39
38
|
* Key: "STRING_VALUE", // required
|
|
40
39
|
* },
|
|
41
40
|
* RoleArn: "STRING_VALUE", // required
|
|
42
|
-
* Tags: [
|
|
43
|
-
* {
|
|
41
|
+
* Tags: [ // TagList
|
|
42
|
+
* { // Tag
|
|
44
43
|
* Key: "STRING_VALUE", // required
|
|
45
44
|
* Value: "STRING_VALUE", // required
|
|
46
45
|
* },
|
|
@@ -69,7 +68,7 @@ export interface CreateFaqCommandOutput extends CreateFaqResponse, __MetadataBea
|
|
|
69
68
|
*
|
|
70
69
|
* @throws {@link InternalServerException} (server fault)
|
|
71
70
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
72
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
71
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
73
72
|
*
|
|
74
73
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
74
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -77,7 +76,8 @@ export interface CreateFaqCommandOutput extends CreateFaqResponse, __MetadataBea
|
|
|
77
76
|
*
|
|
78
77
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
79
78
|
* <p>You have exceeded the set limits for your Amazon Kendra service. Please see
|
|
80
|
-
*
|
|
79
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
|
|
80
|
+
* more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
|
|
81
81
|
* an increase of limits.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link ThrottlingException} (client fault)
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
|
|
5
|
+
import { CreateFeaturedResultsSetRequest, CreateFeaturedResultsSetResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CreateFeaturedResultsSetCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateFeaturedResultsSetCommandInput extends CreateFeaturedResultsSetRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CreateFeaturedResultsSetCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateFeaturedResultsSetCommandOutput extends CreateFeaturedResultsSetResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Creates a set of featured results to display at the top of the search results page.
|
|
23
|
+
* Featured results are placed above all other results for certain queries. You map
|
|
24
|
+
* specific queries to specific documents for featuring in the results. If a query
|
|
25
|
+
* contains an exact match, then one or more specific documents are featured in the
|
|
26
|
+
* search results.</p>
|
|
27
|
+
* <p>You can create up to 50 sets of featured results per index. You can request to
|
|
28
|
+
* increase this limit by contacting <a href="http://aws.amazon.com/contact-us/">Support</a>.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { KendraClient, CreateFeaturedResultsSetCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
33
|
+
* // const { KendraClient, CreateFeaturedResultsSetCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
34
|
+
* const client = new KendraClient(config);
|
|
35
|
+
* const input = { // CreateFeaturedResultsSetRequest
|
|
36
|
+
* IndexId: "STRING_VALUE", // required
|
|
37
|
+
* FeaturedResultsSetName: "STRING_VALUE", // required
|
|
38
|
+
* Description: "STRING_VALUE",
|
|
39
|
+
* ClientToken: "STRING_VALUE",
|
|
40
|
+
* Status: "ACTIVE" || "INACTIVE",
|
|
41
|
+
* QueryTexts: [ // QueryTextList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* FeaturedDocuments: [ // FeaturedDocumentList
|
|
45
|
+
* { // FeaturedDocument
|
|
46
|
+
* Id: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* Tags: [ // TagList
|
|
50
|
+
* { // Tag
|
|
51
|
+
* Key: "STRING_VALUE", // required
|
|
52
|
+
* Value: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* };
|
|
56
|
+
* const command = new CreateFeaturedResultsSetCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param CreateFeaturedResultsSetCommandInput - {@link CreateFeaturedResultsSetCommandInput}
|
|
61
|
+
* @returns {@link CreateFeaturedResultsSetCommandOutput}
|
|
62
|
+
* @see {@link CreateFeaturedResultsSetCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link CreateFeaturedResultsSetCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You don't have sufficient access to perform this action. Please ensure you have the
|
|
68
|
+
* required permission policies and user accounts and try again.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* <p>A conflict occurred with the request. Please fix any inconsistences with your
|
|
72
|
+
* resources and try again.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link FeaturedResultsConflictException} (client fault)
|
|
75
|
+
* <p>An error message with a list of conflicting queries used across different sets
|
|
76
|
+
* of featured results. This occurred with the request for a new featured results set.
|
|
77
|
+
* Check that the queries you specified for featured results are unique per featured
|
|
78
|
+
* results set for each index.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
82
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
86
|
+
* resource and try again.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>The request was denied due to request throttling. Please reduce the number of requests
|
|
90
|
+
* and try again.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
94
|
+
* Please provide the correct input and try again.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
export declare class CreateFeaturedResultsSetCommand extends $Command<CreateFeaturedResultsSetCommandInput, CreateFeaturedResultsSetCommandOutput, KendraClientResolvedConfig> {
|
|
99
|
+
readonly input: CreateFeaturedResultsSetCommandInput;
|
|
100
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
constructor(input: CreateFeaturedResultsSetCommandInput);
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFeaturedResultsSetCommandInput, CreateFeaturedResultsSetCommandOutput>;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
private serialize;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
private deserialize;
|
|
117
|
+
}
|
|
@@ -35,24 +35,24 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
|
|
|
35
35
|
* import { KendraClient, CreateIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
36
36
|
* // const { KendraClient, CreateIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
37
37
|
* const client = new KendraClient(config);
|
|
38
|
-
* const input = {
|
|
38
|
+
* const input = { // CreateIndexRequest
|
|
39
39
|
* Name: "STRING_VALUE", // required
|
|
40
40
|
* Edition: "DEVELOPER_EDITION" || "ENTERPRISE_EDITION",
|
|
41
41
|
* RoleArn: "STRING_VALUE", // required
|
|
42
|
-
* ServerSideEncryptionConfiguration: {
|
|
42
|
+
* ServerSideEncryptionConfiguration: { // ServerSideEncryptionConfiguration
|
|
43
43
|
* KmsKeyId: "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* Description: "STRING_VALUE",
|
|
46
46
|
* ClientToken: "STRING_VALUE",
|
|
47
|
-
* Tags: [
|
|
48
|
-
* {
|
|
47
|
+
* Tags: [ // TagList
|
|
48
|
+
* { // Tag
|
|
49
49
|
* Key: "STRING_VALUE", // required
|
|
50
50
|
* Value: "STRING_VALUE", // required
|
|
51
51
|
* },
|
|
52
52
|
* ],
|
|
53
|
-
* UserTokenConfigurations: [
|
|
54
|
-
* {
|
|
55
|
-
* JwtTokenTypeConfiguration: {
|
|
53
|
+
* UserTokenConfigurations: [ // UserTokenConfigurationList
|
|
54
|
+
* { // UserTokenConfiguration
|
|
55
|
+
* JwtTokenTypeConfiguration: { // JwtTokenTypeConfiguration
|
|
56
56
|
* KeyLocation: "URL" || "SECRET_MANAGER", // required
|
|
57
57
|
* URL: "STRING_VALUE",
|
|
58
58
|
* SecretManagerArn: "STRING_VALUE",
|
|
@@ -61,14 +61,14 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
|
|
|
61
61
|
* Issuer: "STRING_VALUE",
|
|
62
62
|
* ClaimRegex: "STRING_VALUE",
|
|
63
63
|
* },
|
|
64
|
-
* JsonTokenTypeConfiguration: {
|
|
64
|
+
* JsonTokenTypeConfiguration: { // JsonTokenTypeConfiguration
|
|
65
65
|
* UserNameAttributeField: "STRING_VALUE", // required
|
|
66
66
|
* GroupAttributeField: "STRING_VALUE", // required
|
|
67
67
|
* },
|
|
68
68
|
* },
|
|
69
69
|
* ],
|
|
70
70
|
* UserContextPolicy: "ATTRIBUTE_FILTER" || "USER_TOKEN",
|
|
71
|
-
* UserGroupResolutionConfiguration: {
|
|
71
|
+
* UserGroupResolutionConfiguration: { // UserGroupResolutionConfiguration
|
|
72
72
|
* UserGroupResolutionMode: "AWS_SSO" || "NONE", // required
|
|
73
73
|
* },
|
|
74
74
|
* };
|
|
@@ -92,7 +92,7 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
|
|
|
92
92
|
*
|
|
93
93
|
* @throws {@link InternalServerException} (server fault)
|
|
94
94
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
95
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
95
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
96
96
|
*
|
|
97
97
|
* @throws {@link ResourceAlreadyExistException} (client fault)
|
|
98
98
|
* <p>The resource you want to use already exists. Please check you have provided the
|
|
@@ -100,7 +100,8 @@ export interface CreateIndexCommandOutput extends CreateIndexResponse, __Metadat
|
|
|
100
100
|
*
|
|
101
101
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
102
102
|
* <p>You have exceeded the set limits for your Amazon Kendra service. Please see
|
|
103
|
-
*
|
|
103
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
|
|
104
|
+
* more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
|
|
104
105
|
* an increase of limits.</p>
|
|
105
106
|
*
|
|
106
107
|
* @throws {@link ThrottlingException} (client fault)
|
|
@@ -40,18 +40,18 @@ export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuer
|
|
|
40
40
|
* import { KendraClient, CreateQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
41
41
|
* // const { KendraClient, CreateQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
42
42
|
* const client = new KendraClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // CreateQuerySuggestionsBlockListRequest
|
|
44
44
|
* IndexId: "STRING_VALUE", // required
|
|
45
45
|
* Name: "STRING_VALUE", // required
|
|
46
46
|
* Description: "STRING_VALUE",
|
|
47
|
-
* SourceS3Path: {
|
|
47
|
+
* SourceS3Path: { // S3Path
|
|
48
48
|
* Bucket: "STRING_VALUE", // required
|
|
49
49
|
* Key: "STRING_VALUE", // required
|
|
50
50
|
* },
|
|
51
51
|
* ClientToken: "STRING_VALUE",
|
|
52
52
|
* RoleArn: "STRING_VALUE", // required
|
|
53
|
-
* Tags: [
|
|
54
|
-
* {
|
|
53
|
+
* Tags: [ // TagList
|
|
54
|
+
* { // Tag
|
|
55
55
|
* Key: "STRING_VALUE", // required
|
|
56
56
|
* Value: "STRING_VALUE", // required
|
|
57
57
|
* },
|
|
@@ -77,7 +77,7 @@ export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuer
|
|
|
77
77
|
*
|
|
78
78
|
* @throws {@link InternalServerException} (server fault)
|
|
79
79
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
80
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
80
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
81
81
|
*
|
|
82
82
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
83
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -85,7 +85,8 @@ export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuer
|
|
|
85
85
|
*
|
|
86
86
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
87
|
* <p>You have exceeded the set limits for your Amazon Kendra service. Please see
|
|
88
|
-
*
|
|
88
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
|
|
89
|
+
* more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
|
|
89
90
|
* an increase of limits.</p>
|
|
90
91
|
*
|
|
91
92
|
* @throws {@link ThrottlingException} (client fault)
|
|
@@ -30,18 +30,18 @@ export interface CreateThesaurusCommandOutput extends CreateThesaurusResponse, _
|
|
|
30
30
|
* import { KendraClient, CreateThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
31
31
|
* // const { KendraClient, CreateThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
32
32
|
* const client = new KendraClient(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // CreateThesaurusRequest
|
|
34
34
|
* IndexId: "STRING_VALUE", // required
|
|
35
35
|
* Name: "STRING_VALUE", // required
|
|
36
36
|
* Description: "STRING_VALUE",
|
|
37
37
|
* RoleArn: "STRING_VALUE", // required
|
|
38
|
-
* Tags: [
|
|
39
|
-
* {
|
|
38
|
+
* Tags: [ // TagList
|
|
39
|
+
* { // Tag
|
|
40
40
|
* Key: "STRING_VALUE", // required
|
|
41
41
|
* Value: "STRING_VALUE", // required
|
|
42
42
|
* },
|
|
43
43
|
* ],
|
|
44
|
-
* SourceS3Path: {
|
|
44
|
+
* SourceS3Path: { // S3Path
|
|
45
45
|
* Bucket: "STRING_VALUE", // required
|
|
46
46
|
* Key: "STRING_VALUE", // required
|
|
47
47
|
* },
|
|
@@ -67,7 +67,7 @@ export interface CreateThesaurusCommandOutput extends CreateThesaurusResponse, _
|
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link InternalServerException} (server fault)
|
|
69
69
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
70
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
70
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
73
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -75,7 +75,8 @@ export interface CreateThesaurusCommandOutput extends CreateThesaurusResponse, _
|
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
77
77
|
* <p>You have exceeded the set limits for your Amazon Kendra service. Please see
|
|
78
|
-
*
|
|
78
|
+
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
|
|
79
|
+
* more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
|
|
79
80
|
* an increase of limits.</p>
|
|
80
81
|
*
|
|
81
82
|
* @throws {@link ThrottlingException} (client fault)
|
|
@@ -19,17 +19,17 @@ export interface DeleteAccessControlConfigurationCommandOutput extends DeleteAcc
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Deletes an access control configuration that you created for your
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
22
|
+
* <p>Deletes an access control configuration that you created for your documents in an
|
|
23
|
+
* index. This includes user and group access information for your documents. This is
|
|
24
|
+
* useful for user context filtering, where search results are filtered based on the user
|
|
25
|
+
* or their group access to documents.</p>
|
|
26
26
|
* @example
|
|
27
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
28
28
|
* ```javascript
|
|
29
29
|
* import { KendraClient, DeleteAccessControlConfigurationCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, DeleteAccessControlConfigurationCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteAccessControlConfigurationRequest
|
|
33
33
|
* IndexId: "STRING_VALUE", // required
|
|
34
34
|
* Id: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
@@ -53,7 +53,7 @@ export interface DeleteAccessControlConfigurationCommandOutput extends DeleteAcc
|
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link InternalServerException} (server fault)
|
|
55
55
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
56
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
56
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
59
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -29,7 +29,7 @@ export interface DeleteDataSourceCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { KendraClient, DeleteDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, DeleteDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteDataSourceRequest
|
|
33
33
|
* Id: "STRING_VALUE", // required
|
|
34
34
|
* IndexId: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
@@ -53,7 +53,7 @@ export interface DeleteDataSourceCommandOutput extends __MetadataBearer {
|
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link InternalServerException} (server fault)
|
|
55
55
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
56
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
56
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
59
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -28,7 +28,7 @@ export interface DeleteExperienceCommandOutput extends DeleteExperienceResponse,
|
|
|
28
28
|
* import { KendraClient, DeleteExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
29
29
|
* // const { KendraClient, DeleteExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
30
30
|
* const client = new KendraClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteExperienceRequest
|
|
32
32
|
* Id: "STRING_VALUE", // required
|
|
33
33
|
* IndexId: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -52,7 +52,7 @@ export interface DeleteExperienceCommandOutput extends DeleteExperienceResponse,
|
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InternalServerException} (server fault)
|
|
54
54
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
55
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
55
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
58
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -26,7 +26,7 @@ export interface DeleteFaqCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { KendraClient, DeleteFaqCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, DeleteFaqCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteFaqRequest
|
|
30
30
|
* Id: "STRING_VALUE", // required
|
|
31
31
|
* IndexId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -50,7 +50,7 @@ export interface DeleteFaqCommandOutput extends __MetadataBearer {
|
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link InternalServerException} (server fault)
|
|
52
52
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
53
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
53
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
56
56
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -29,7 +29,7 @@ export interface DeleteIndexCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* import { KendraClient, DeleteIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, DeleteIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DeleteIndexRequest
|
|
33
33
|
* Id: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteIndexCommand(input);
|
|
@@ -52,7 +52,7 @@ export interface DeleteIndexCommandOutput extends __MetadataBearer {
|
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InternalServerException} (server fault)
|
|
54
54
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
55
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
55
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
58
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -19,28 +19,26 @@ export interface DeletePrincipalMappingCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Deletes a group so that all users and sub groups that belong to the group can
|
|
23
|
-
*
|
|
24
|
-
* <p>For example, after deleting the group "Summer Interns", all interns who
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* when calling <code>PutPrincipalMapping</code>.</p>
|
|
22
|
+
* <p>Deletes a group so that all users and sub groups that belong to the group can no
|
|
23
|
+
* longer access documents only available to that group.</p>
|
|
24
|
+
* <p>For example, after deleting the group "Summer Interns", all interns who belonged to
|
|
25
|
+
* that group no longer see intern-only documents in their search results.</p>
|
|
26
|
+
* <p>If you want to delete or replace users or sub groups of a group, you need to use the
|
|
27
|
+
* <code>PutPrincipalMapping</code> operation. For example, if a user in the group
|
|
28
|
+
* "Engineering" leaves the engineering team and another user takes their place, you
|
|
29
|
+
* provide an updated list of users or sub groups that belong to the "Engineering" group
|
|
30
|
+
* when calling <code>PutPrincipalMapping</code>. You can update your internal list of
|
|
31
|
+
* users or sub groups and input this list when calling
|
|
32
|
+
* <code>PutPrincipalMapping</code>.</p>
|
|
34
33
|
* <p>
|
|
35
|
-
* <code>DeletePrincipalMapping</code> is currently not supported in the
|
|
36
|
-
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
34
|
+
* <code>DeletePrincipalMapping</code> is currently not supported in the Amazon Web Services GovCloud (US-West) region.</p>
|
|
37
35
|
* @example
|
|
38
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
39
37
|
* ```javascript
|
|
40
38
|
* import { KendraClient, DeletePrincipalMappingCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
41
39
|
* // const { KendraClient, DeletePrincipalMappingCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
42
40
|
* const client = new KendraClient(config);
|
|
43
|
-
* const input = {
|
|
41
|
+
* const input = { // DeletePrincipalMappingRequest
|
|
44
42
|
* IndexId: "STRING_VALUE", // required
|
|
45
43
|
* DataSourceId: "STRING_VALUE",
|
|
46
44
|
* GroupId: "STRING_VALUE", // required
|
|
@@ -66,7 +64,7 @@ export interface DeletePrincipalMappingCommandOutput extends __MetadataBearer {
|
|
|
66
64
|
*
|
|
67
65
|
* @throws {@link InternalServerException} (server fault)
|
|
68
66
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
69
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
67
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
70
68
|
*
|
|
71
69
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
72
70
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -32,7 +32,7 @@ export interface DeleteQuerySuggestionsBlockListCommandOutput extends __Metadata
|
|
|
32
32
|
* import { KendraClient, DeleteQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
33
33
|
* // const { KendraClient, DeleteQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
34
34
|
* const client = new KendraClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // DeleteQuerySuggestionsBlockListRequest
|
|
36
36
|
* IndexId: "STRING_VALUE", // required
|
|
37
37
|
* Id: "STRING_VALUE", // required
|
|
38
38
|
* };
|
|
@@ -56,7 +56,7 @@ export interface DeleteQuerySuggestionsBlockListCommandOutput extends __Metadata
|
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link InternalServerException} (server fault)
|
|
58
58
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
59
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
59
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
62
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -27,7 +27,7 @@ export interface DeleteThesaurusCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { KendraClient, DeleteThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
28
28
|
* // const { KendraClient, DeleteThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
29
29
|
* const client = new KendraClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteThesaurusRequest
|
|
31
31
|
* Id: "STRING_VALUE", // required
|
|
32
32
|
* IndexId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -51,7 +51,7 @@ export interface DeleteThesaurusCommandOutput extends __MetadataBearer {
|
|
|
51
51
|
*
|
|
52
52
|
* @throws {@link InternalServerException} (server fault)
|
|
53
53
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
54
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
54
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
55
55
|
*
|
|
56
56
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
57
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -21,15 +21,15 @@ export interface DescribeAccessControlConfigurationCommandOutput extends Describ
|
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Gets information about an access control configuration that you created for your
|
|
23
23
|
* documents in an index. This includes user and group access information for your
|
|
24
|
-
* documents. This is useful for user context filtering, where search results are
|
|
25
|
-
*
|
|
24
|
+
* documents. This is useful for user context filtering, where search results are filtered
|
|
25
|
+
* based on the user or their group access to documents.</p>
|
|
26
26
|
* @example
|
|
27
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
28
28
|
* ```javascript
|
|
29
29
|
* import { KendraClient, DescribeAccessControlConfigurationCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
30
30
|
* // const { KendraClient, DescribeAccessControlConfigurationCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
31
31
|
* const client = new KendraClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // DescribeAccessControlConfigurationRequest
|
|
33
33
|
* IndexId: "STRING_VALUE", // required
|
|
34
34
|
* Id: "STRING_VALUE", // required
|
|
35
35
|
* };
|
|
@@ -49,7 +49,7 @@ export interface DescribeAccessControlConfigurationCommandOutput extends Describ
|
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link InternalServerException} (server fault)
|
|
51
51
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
52
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
52
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
55
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|
|
@@ -26,7 +26,7 @@ export interface DescribeDataSourceCommandOutput extends DescribeDataSourceRespo
|
|
|
26
26
|
* import { KendraClient, DescribeDataSourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
27
27
|
* // const { KendraClient, DescribeDataSourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
28
28
|
* const client = new KendraClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DescribeDataSourceRequest
|
|
30
30
|
* Id: "STRING_VALUE", // required
|
|
31
31
|
* IndexId: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
@@ -46,7 +46,7 @@ export interface DescribeDataSourceCommandOutput extends DescribeDataSourceRespo
|
|
|
46
46
|
*
|
|
47
47
|
* @throws {@link InternalServerException} (server fault)
|
|
48
48
|
* <p>An issue occurred with the internal server used for your Amazon Kendra service.
|
|
49
|
-
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/
|
|
49
|
+
* Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
52
52
|
* <p>The resource you want to use doesn’t exist. Please check you have provided the correct
|