@aws-sdk/client-kendra 3.301.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 +1 -1
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +6 -6
- package/dist-types/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +88 -0
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +9 -13
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +14 -13
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +17 -20
- package/dist-types/commands/CreateDataSourceCommand.d.ts +3 -4
- package/dist-types/commands/CreateExperienceCommand.d.ts +3 -2
- package/dist-types/commands/CreateFaqCommand.d.ts +6 -6
- package/dist-types/commands/CreateFeaturedResultsSetCommand.d.ts +117 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +3 -2
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -2
- package/dist-types/commands/CreateThesaurusCommand.d.ts +3 -2
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +5 -5
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteExperienceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFaqCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +13 -15
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExperienceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFaqCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFeaturedResultsSetCommand.d.ts +86 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +1 -1
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +8 -9
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +1 -1
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +1 -1
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +1 -1
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -2
- package/dist-types/commands/GetSnapshotsCommand.d.ts +3 -4
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +5 -5
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +1 -1
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +1 -1
- package/dist-types/commands/ListExperiencesCommand.d.ts +1 -1
- package/dist-types/commands/ListFaqsCommand.d.ts +1 -1
- package/dist-types/commands/ListFeaturedResultsSetsCommand.d.ts +87 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +4 -5
- package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/ListThesauriCommand.d.ts +1 -1
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +15 -21
- package/dist-types/commands/QueryCommand.d.ts +3 -2
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +2 -2
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +2 -2
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +4 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +20 -20
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateExperienceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +105 -0
- package/dist-types/commands/UpdateIndexCommand.d.ts +4 -3
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +2 -2
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +1 -1
- 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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
KendraClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../KendraClient";
|
|
14
|
+
import {
|
|
15
|
+
UpdateFeaturedResultsSetRequest,
|
|
16
|
+
UpdateFeaturedResultsSetResponse,
|
|
17
|
+
} from "../models/models_1";
|
|
18
|
+
export interface UpdateFeaturedResultsSetCommandInput
|
|
19
|
+
extends UpdateFeaturedResultsSetRequest {}
|
|
20
|
+
export interface UpdateFeaturedResultsSetCommandOutput
|
|
21
|
+
extends UpdateFeaturedResultsSetResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateFeaturedResultsSetCommand extends $Command<
|
|
24
|
+
UpdateFeaturedResultsSetCommandInput,
|
|
25
|
+
UpdateFeaturedResultsSetCommandOutput,
|
|
26
|
+
KendraClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateFeaturedResultsSetCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateFeaturedResultsSetCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: KendraClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
UpdateFeaturedResultsSetCommandInput,
|
|
37
|
+
UpdateFeaturedResultsSetCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../KendraClient";
|
|
14
|
-
import { UpdateIndexRequest } from "../models/
|
|
14
|
+
import { UpdateIndexRequest } from "../models/models_1";
|
|
15
15
|
export interface UpdateIndexCommandInput extends UpdateIndexRequest {}
|
|
16
16
|
export interface UpdateIndexCommandOutput extends __MetadataBearer {}
|
|
17
17
|
export declare class UpdateIndexCommand extends $Command<
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ServiceInputTypes,
|
|
12
12
|
ServiceOutputTypes,
|
|
13
13
|
} from "../KendraClient";
|
|
14
|
-
import { UpdateQuerySuggestionsBlockListRequest } from "../models/
|
|
14
|
+
import { UpdateQuerySuggestionsBlockListRequest } from "../models/models_1";
|
|
15
15
|
export interface UpdateQuerySuggestionsBlockListCommandInput
|
|
16
16
|
extends UpdateQuerySuggestionsBlockListRequest {}
|
|
17
17
|
export interface UpdateQuerySuggestionsBlockListCommandOutput
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./AssociateEntitiesToExperienceCommand";
|
|
2
2
|
export * from "./AssociatePersonasToEntitiesCommand";
|
|
3
3
|
export * from "./BatchDeleteDocumentCommand";
|
|
4
|
+
export * from "./BatchDeleteFeaturedResultsSetCommand";
|
|
4
5
|
export * from "./BatchGetDocumentStatusCommand";
|
|
5
6
|
export * from "./BatchPutDocumentCommand";
|
|
6
7
|
export * from "./ClearQuerySuggestionsCommand";
|
|
@@ -8,6 +9,7 @@ export * from "./CreateAccessControlConfigurationCommand";
|
|
|
8
9
|
export * from "./CreateDataSourceCommand";
|
|
9
10
|
export * from "./CreateExperienceCommand";
|
|
10
11
|
export * from "./CreateFaqCommand";
|
|
12
|
+
export * from "./CreateFeaturedResultsSetCommand";
|
|
11
13
|
export * from "./CreateIndexCommand";
|
|
12
14
|
export * from "./CreateQuerySuggestionsBlockListCommand";
|
|
13
15
|
export * from "./CreateThesaurusCommand";
|
|
@@ -23,6 +25,7 @@ export * from "./DescribeAccessControlConfigurationCommand";
|
|
|
23
25
|
export * from "./DescribeDataSourceCommand";
|
|
24
26
|
export * from "./DescribeExperienceCommand";
|
|
25
27
|
export * from "./DescribeFaqCommand";
|
|
28
|
+
export * from "./DescribeFeaturedResultsSetCommand";
|
|
26
29
|
export * from "./DescribeIndexCommand";
|
|
27
30
|
export * from "./DescribePrincipalMappingCommand";
|
|
28
31
|
export * from "./DescribeQuerySuggestionsBlockListCommand";
|
|
@@ -39,6 +42,7 @@ export * from "./ListEntityPersonasCommand";
|
|
|
39
42
|
export * from "./ListExperienceEntitiesCommand";
|
|
40
43
|
export * from "./ListExperiencesCommand";
|
|
41
44
|
export * from "./ListFaqsCommand";
|
|
45
|
+
export * from "./ListFeaturedResultsSetsCommand";
|
|
42
46
|
export * from "./ListGroupsOlderThanOrderingIdCommand";
|
|
43
47
|
export * from "./ListIndicesCommand";
|
|
44
48
|
export * from "./ListQuerySuggestionsBlockListsCommand";
|
|
@@ -54,6 +58,7 @@ export * from "./UntagResourceCommand";
|
|
|
54
58
|
export * from "./UpdateAccessControlConfigurationCommand";
|
|
55
59
|
export * from "./UpdateDataSourceCommand";
|
|
56
60
|
export * from "./UpdateExperienceCommand";
|
|
61
|
+
export * from "./UpdateFeaturedResultsSetCommand";
|
|
57
62
|
export * from "./UpdateIndexCommand";
|
|
58
63
|
export * from "./UpdateQuerySuggestionsBlockListCommand";
|
|
59
64
|
export * from "./UpdateQuerySuggestionsConfigCommand";
|
|
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
28
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
-
Region
|
|
29
|
+
Region?: string;
|
|
30
30
|
UseDualStack?: boolean;
|
|
31
31
|
UseFIPS?: boolean;
|
|
32
32
|
Endpoint?: string;
|