@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.
- package/CHANGELOG.md +41 -0
- package/README.md +7 -7
- package/dist-cjs/Kendra.js +180 -0
- package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +36 -0
- package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +36 -0
- package/dist-cjs/commands/CreateExperienceCommand.js +36 -0
- package/dist-cjs/commands/DeleteExperienceCommand.js +36 -0
- package/dist-cjs/commands/DescribeExperienceCommand.js +36 -0
- package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +36 -0
- package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +36 -0
- package/dist-cjs/commands/GetSnapshotsCommand.js +36 -0
- package/dist-cjs/commands/ListEntityPersonasCommand.js +36 -0
- package/dist-cjs/commands/ListExperienceEntitiesCommand.js +36 -0
- package/dist-cjs/commands/ListExperiencesCommand.js +36 -0
- package/dist-cjs/commands/UpdateExperienceCommand.js +36 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +345 -89
- package/dist-cjs/pagination/ListEntityPersonasPaginator.js +35 -0
- package/dist-cjs/pagination/ListExperienceEntitiesPaginator.js +34 -0
- package/dist-cjs/pagination/ListExperiencesPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2055 -280
- package/dist-es/Kendra.js +180 -0
- package/dist-es/commands/AssociateEntitiesToExperienceCommand.js +39 -0
- package/dist-es/commands/AssociatePersonasToEntitiesCommand.js +39 -0
- package/dist-es/commands/CreateExperienceCommand.js +39 -0
- package/dist-es/commands/DeleteExperienceCommand.js +39 -0
- package/dist-es/commands/DescribeExperienceCommand.js +39 -0
- package/dist-es/commands/DisassociateEntitiesFromExperienceCommand.js +39 -0
- package/dist-es/commands/DisassociatePersonasFromEntitiesCommand.js +39 -0
- package/dist-es/commands/GetSnapshotsCommand.js +39 -0
- package/dist-es/commands/ListEntityPersonasCommand.js +39 -0
- package/dist-es/commands/ListExperienceEntitiesCommand.js +39 -0
- package/dist-es/commands/ListExperiencesCommand.js +39 -0
- package/dist-es/commands/UpdateExperienceCommand.js +39 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +248 -68
- package/dist-es/pagination/ListEntityPersonasPaginator.js +74 -0
- package/dist-es/pagination/ListExperienceEntitiesPaginator.js +73 -0
- package/dist-es/pagination/ListExperiencesPaginator.js +74 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +2067 -271
- package/dist-types/Kendra.d.ts +164 -1
- package/dist-types/KendraClient.d.ts +14 -2
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +39 -0
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +39 -0
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +3 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +2 -0
- package/dist-types/commands/CreateExperienceCommand.d.ts +37 -0
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/DeleteExperienceCommand.d.ts +37 -0
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +3 -0
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/DescribeExperienceCommand.d.ts +38 -0
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +3 -0
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +39 -0
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +39 -0
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +3 -0
- package/dist-types/commands/GetSnapshotsCommand.d.ts +37 -0
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +36 -0
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +39 -0
- package/dist-types/commands/ListExperiencesCommand.d.ts +38 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +3 -0
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +3 -0
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +3 -0
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +4 -1
- package/dist-types/commands/UpdateExperienceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +3 -0
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +1323 -225
- package/dist-types/pagination/ListEntityPersonasPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListExperiencesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/Kendra.d.ts +60 -0
- package/dist-types/ts3.4/KendraClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +613 -108
- package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +5 -5
|
@@ -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 { DeleteExperienceRequest, DeleteExperienceResponse } from "../models/models_0";
|
|
5
|
+
export interface DeleteExperienceCommandInput extends DeleteExperienceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteExperienceCommandOutput extends DeleteExperienceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes your Amazon Kendra experience such as a search application. For more information on
|
|
11
|
+
* 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
|
|
12
|
+
* 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, DeleteExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
17
|
+
* // const { KendraClient, DeleteExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
18
|
+
* const client = new KendraClient(config);
|
|
19
|
+
* const command = new DeleteExperienceCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link DeleteExperienceCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link DeleteExperienceCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class DeleteExperienceCommand extends $Command<DeleteExperienceCommandInput, DeleteExperienceCommandOutput, KendraClientResolvedConfig> {
|
|
29
|
+
readonly input: DeleteExperienceCommandInput;
|
|
30
|
+
constructor(input: DeleteExperienceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteExperienceCommandInput, DeleteExperienceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -19,6 +19,9 @@ export interface DeletePrincipalMappingCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
* to the "Engineering" group when calling <code>PutPrincipalMapping</code>. You
|
|
20
20
|
* can update your internal list of users or sub groups and input this list
|
|
21
21
|
* when calling <code>PutPrincipalMapping</code>.</p>
|
|
22
|
+
* <p>
|
|
23
|
+
* <code>DeletePrincipalMapping</code> is currently not supported in the
|
|
24
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
22
25
|
* @example
|
|
23
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
24
27
|
* ```javascript
|
|
@@ -11,6 +11,9 @@ export interface DeleteQuerySuggestionsBlockListCommandOutput extends __Metadata
|
|
|
11
11
|
* <p>A deleted block list might not take effect right away. Amazon Kendra
|
|
12
12
|
* needs to refresh the entire suggestions list to add back the
|
|
13
13
|
* queries that were previously blocked.</p>
|
|
14
|
+
* <p>
|
|
15
|
+
* <code>DeleteQuerySuggestionsBlockList</code> is currently not supported in the
|
|
16
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
14
17
|
* @example
|
|
15
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
19
|
* ```javascript
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { DescribeExperienceRequest, DescribeExperienceResponse } from "../models/models_0";
|
|
5
|
+
export interface DescribeExperienceCommandInput extends DescribeExperienceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeExperienceCommandOutput extends DescribeExperienceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets information about your Amazon Kendra experience such as a search application.
|
|
11
|
+
* For more information on creating a search application experience,
|
|
12
|
+
* see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building
|
|
13
|
+
* a search experience with no code</a>.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { KendraClient, DescribeExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
18
|
+
* // const { KendraClient, DescribeExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
19
|
+
* const client = new KendraClient(config);
|
|
20
|
+
* const command = new DescribeExperienceCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link DescribeExperienceCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link DescribeExperienceCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class DescribeExperienceCommand extends $Command<DescribeExperienceCommandInput, DescribeExperienceCommandOutput, KendraClientResolvedConfig> {
|
|
30
|
+
readonly input: DescribeExperienceCommandInput;
|
|
31
|
+
constructor(input: DescribeExperienceCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeExperienceCommandInput, DescribeExperienceCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -13,6 +13,9 @@ export interface DescribePrincipalMappingCommandOutput extends DescribePrincipal
|
|
|
13
13
|
* when actions were received by Amazon Kendra, the latest action that should process
|
|
14
14
|
* and apply after other actions, and useful error messages if an action could
|
|
15
15
|
* not be processed.</p>
|
|
16
|
+
* <p>
|
|
17
|
+
* <code>DescribePrincipalMapping</code> is currently not supported in the
|
|
18
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
16
19
|
* @example
|
|
17
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
21
|
* ```javascript
|
|
@@ -10,6 +10,9 @@ export interface DescribeQuerySuggestionsBlockListCommandOutput extends Describe
|
|
|
10
10
|
* <p>Describes a block list used for query suggestions for an index.</p>
|
|
11
11
|
* <p>This is used to check the current settings that are applied to a
|
|
12
12
|
* block list.</p>
|
|
13
|
+
* <p>
|
|
14
|
+
* <code>DescribeQuerySuggestionsBlockList</code> is currently not supported in the
|
|
15
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|
|
@@ -10,6 +10,9 @@ export interface DescribeQuerySuggestionsConfigCommandOutput extends DescribeQue
|
|
|
10
10
|
* <p>Describes the settings of query suggestions for an index.</p>
|
|
11
11
|
* <p>This is used to check the current settings applied
|
|
12
12
|
* to query suggestions.</p>
|
|
13
|
+
* <p>
|
|
14
|
+
* <code>DescribeQuerySuggestionsConfig</code> is currently not supported in the
|
|
15
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
13
16
|
* @example
|
|
14
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
18
|
* ```javascript
|
|
@@ -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 { DisassociateEntitiesFromExperienceRequest, DisassociateEntitiesFromExperienceResponse } from "../models/models_0";
|
|
5
|
+
export interface DisassociateEntitiesFromExperienceCommandInput extends DisassociateEntitiesFromExperienceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DisassociateEntitiesFromExperienceCommandOutput extends DisassociateEntitiesFromExperienceResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Prevents users or groups in your Amazon Web Services SSO identity source
|
|
11
|
+
* from accessing your Amazon Kendra experience. You can create an Amazon Kendra experience
|
|
12
|
+
* such as a search application. For more information on creating a search
|
|
13
|
+
* 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, DisassociateEntitiesFromExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
19
|
+
* // const { KendraClient, DisassociateEntitiesFromExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
20
|
+
* const client = new KendraClient(config);
|
|
21
|
+
* const command = new DisassociateEntitiesFromExperienceCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DisassociateEntitiesFromExperienceCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DisassociateEntitiesFromExperienceCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DisassociateEntitiesFromExperienceCommand extends $Command<DisassociateEntitiesFromExperienceCommandInput, DisassociateEntitiesFromExperienceCommandOutput, KendraClientResolvedConfig> {
|
|
31
|
+
readonly input: DisassociateEntitiesFromExperienceCommandInput;
|
|
32
|
+
constructor(input: DisassociateEntitiesFromExperienceCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateEntitiesFromExperienceCommandInput, DisassociateEntitiesFromExperienceCommandOutput>;
|
|
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 { DisassociatePersonasFromEntitiesRequest, DisassociatePersonasFromEntitiesResponse } from "../models/models_0";
|
|
5
|
+
export interface DisassociatePersonasFromEntitiesCommandInput extends DisassociatePersonasFromEntitiesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DisassociatePersonasFromEntitiesCommandOutput extends DisassociatePersonasFromEntitiesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Removes 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 a
|
|
14
|
+
* 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, DisassociatePersonasFromEntitiesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
19
|
+
* // const { KendraClient, DisassociatePersonasFromEntitiesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
20
|
+
* const client = new KendraClient(config);
|
|
21
|
+
* const command = new DisassociatePersonasFromEntitiesCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DisassociatePersonasFromEntitiesCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DisassociatePersonasFromEntitiesCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DisassociatePersonasFromEntitiesCommand extends $Command<DisassociatePersonasFromEntitiesCommandInput, DisassociatePersonasFromEntitiesCommandOutput, KendraClientResolvedConfig> {
|
|
31
|
+
readonly input: DisassociatePersonasFromEntitiesCommandInput;
|
|
32
|
+
constructor(input: DisassociatePersonasFromEntitiesCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociatePersonasFromEntitiesCommandInput, DisassociatePersonasFromEntitiesCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -8,6 +8,9 @@ export interface GetQuerySuggestionsCommandOutput extends GetQuerySuggestionsRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Fetches the queries that are suggested to your users.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <code>GetQuerySuggestions</code> is currently not supported in the
|
|
13
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
11
14
|
* @example
|
|
12
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
16
|
* ```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 { GetSnapshotsRequest, GetSnapshotsResponse } from "../models/models_0";
|
|
5
|
+
export interface GetSnapshotsCommandInput extends GetSnapshotsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetSnapshotsCommandOutput extends GetSnapshotsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves search metrics data. The data provides a snapshot of how
|
|
11
|
+
* your users interact with your search application and how effective
|
|
12
|
+
* the application is.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { KendraClient, GetSnapshotsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
17
|
+
* // const { KendraClient, GetSnapshotsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
18
|
+
* const client = new KendraClient(config);
|
|
19
|
+
* const command = new GetSnapshotsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetSnapshotsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetSnapshotsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetSnapshotsCommand extends $Command<GetSnapshotsCommandInput, GetSnapshotsCommandOutput, KendraClientResolvedConfig> {
|
|
29
|
+
readonly input: GetSnapshotsCommandInput;
|
|
30
|
+
constructor(input: GetSnapshotsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSnapshotsCommandInput, GetSnapshotsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { ListEntityPersonasRequest, ListEntityPersonasResponse } from "../models/models_0";
|
|
5
|
+
export interface ListEntityPersonasCommandInput extends ListEntityPersonasRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListEntityPersonasCommandOutput extends ListEntityPersonasResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists specific permissions of users and groups with access to your
|
|
11
|
+
* Amazon Kendra experience.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { KendraClient, ListEntityPersonasCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
16
|
+
* // const { KendraClient, ListEntityPersonasCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
17
|
+
* const client = new KendraClient(config);
|
|
18
|
+
* const command = new ListEntityPersonasCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListEntityPersonasCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListEntityPersonasCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListEntityPersonasCommand extends $Command<ListEntityPersonasCommandInput, ListEntityPersonasCommandOutput, KendraClientResolvedConfig> {
|
|
28
|
+
readonly input: ListEntityPersonasCommandInput;
|
|
29
|
+
constructor(input: ListEntityPersonasCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEntityPersonasCommandInput, ListEntityPersonasCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -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 { ListExperienceEntitiesRequest, ListExperienceEntitiesResponse } from "../models/models_0";
|
|
5
|
+
export interface ListExperienceEntitiesCommandInput extends ListExperienceEntitiesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListExperienceEntitiesCommandOutput extends ListExperienceEntitiesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists users or groups in your Amazon Web Services SSO identity source that are
|
|
11
|
+
* granted access to your Amazon Kendra experience. You can create an Amazon Kendra experience
|
|
12
|
+
* such as a search application. For more information on creating a search
|
|
13
|
+
* 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, ListExperienceEntitiesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
19
|
+
* // const { KendraClient, ListExperienceEntitiesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
20
|
+
* const client = new KendraClient(config);
|
|
21
|
+
* const command = new ListExperienceEntitiesCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link ListExperienceEntitiesCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link ListExperienceEntitiesCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class ListExperienceEntitiesCommand extends $Command<ListExperienceEntitiesCommandInput, ListExperienceEntitiesCommandOutput, KendraClientResolvedConfig> {
|
|
31
|
+
readonly input: ListExperienceEntitiesCommandInput;
|
|
32
|
+
constructor(input: ListExperienceEntitiesCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListExperienceEntitiesCommandInput, ListExperienceEntitiesCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { ListExperiencesRequest, ListExperiencesResponse } from "../models/models_0";
|
|
5
|
+
export interface ListExperiencesCommandInput extends ListExperiencesRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListExperiencesCommandOutput extends ListExperiencesResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists one or more Amazon Kendra experiences. You can create an Amazon Kendra experience such
|
|
11
|
+
* as a search application. For more information on creating a search application
|
|
12
|
+
* experience, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html">Building a
|
|
13
|
+
* search experience with no code</a>.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { KendraClient, ListExperiencesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
18
|
+
* // const { KendraClient, ListExperiencesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
19
|
+
* const client = new KendraClient(config);
|
|
20
|
+
* const command = new ListExperiencesCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link ListExperiencesCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link ListExperiencesCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class ListExperiencesCommand extends $Command<ListExperiencesCommandInput, ListExperiencesCommandOutput, KendraClientResolvedConfig> {
|
|
30
|
+
readonly input: ListExperiencesCommandInput;
|
|
31
|
+
constructor(input: ListExperiencesCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListExperiencesCommandInput, ListExperiencesCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -9,6 +9,9 @@ export interface ListGroupsOlderThanOrderingIdCommandOutput extends ListGroupsOl
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Provides a list of groups that are mapped to users before a
|
|
11
11
|
* given ordering or timestamp identifier.</p>
|
|
12
|
+
* <p>
|
|
13
|
+
* <code>ListGroupsOlderThanOrderingId</code> is currently not supported in the
|
|
14
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
12
15
|
* @example
|
|
13
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
17
|
* ```javascript
|
|
@@ -11,6 +11,9 @@ export interface ListQuerySuggestionsBlockListsCommandOutput extends ListQuerySu
|
|
|
11
11
|
* <p>For information on the current quota limits for block lists, see
|
|
12
12
|
* <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas
|
|
13
13
|
* for Amazon Kendra</a>.</p>
|
|
14
|
+
* <p>
|
|
15
|
+
* <code>ListQuerySuggestionsBlockLists</code> is currently not supported in the
|
|
16
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
14
17
|
* @example
|
|
15
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
19
|
* ```javascript
|
|
@@ -23,6 +23,9 @@ export interface PutPrincipalMappingCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
* on user context</a>.</p>
|
|
24
24
|
* <p>If more than five <code>PUT</code> actions for a group are currently
|
|
25
25
|
* processing, a validation exception is thrown.</p>
|
|
26
|
+
* <p>
|
|
27
|
+
* <code>PutPrincipalMapping</code> is currently not supported in the
|
|
28
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
26
29
|
* @example
|
|
27
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
28
31
|
* ```javascript
|
|
@@ -8,7 +8,10 @@ export interface SubmitFeedbackCommandOutput extends __MetadataBearer {
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Enables you to provide feedback to Amazon Kendra to improve the
|
|
11
|
-
* performance of your index
|
|
11
|
+
* performance of your index.</p>
|
|
12
|
+
* <p>
|
|
13
|
+
* <code>SubmitFeedback</code> is currently not supported in the
|
|
14
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
12
15
|
* @example
|
|
13
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
17
|
* ```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 { UpdateExperienceRequest } from "../models/models_0";
|
|
5
|
+
export interface UpdateExperienceCommandInput extends UpdateExperienceRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateExperienceCommandOutput extends __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates your Amazon Kendra experience such as a search application. For more information on
|
|
11
|
+
* 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, UpdateExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
|
|
17
|
+
* // const { KendraClient, UpdateExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
|
|
18
|
+
* const client = new KendraClient(config);
|
|
19
|
+
* const command = new UpdateExperienceCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UpdateExperienceCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UpdateExperienceCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UpdateExperienceCommand extends $Command<UpdateExperienceCommandInput, UpdateExperienceCommandOutput, KendraClientResolvedConfig> {
|
|
29
|
+
readonly input: UpdateExperienceCommandInput;
|
|
30
|
+
constructor(input: UpdateExperienceCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateExperienceCommandInput, UpdateExperienceCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -15,6 +15,9 @@ export interface UpdateQuerySuggestionsBlockListCommandOutput extends __Metadata
|
|
|
15
15
|
* finish before submitting another update.</p>
|
|
16
16
|
* <p>Amazon Kendra supports partial updates, so you only need to provide the fields
|
|
17
17
|
* you want to update.</p>
|
|
18
|
+
* <p>
|
|
19
|
+
* <code>UpdateQuerySuggestionsBlockList</code> is currently not supported in the
|
|
20
|
+
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
18
21
|
* @example
|
|
19
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
23
|
* ```javascript
|
|
@@ -16,6 +16,9 @@ export interface UpdateQuerySuggestionsConfigCommandOutput extends __MetadataBea
|
|
|
16
16
|
* The time for your updated settings to take effect depends on the updates
|
|
17
17
|
* made and the number of search queries in your index.</p>
|
|
18
18
|
* <p>You can still enable/disable query suggestions at any time.</p>
|
|
19
|
+
* <p>
|
|
20
|
+
* <code>UpdateQuerySuggestionsConfig</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
|
|
@@ -1,28 +1,39 @@
|
|
|
1
|
+
export * from "./AssociateEntitiesToExperienceCommand";
|
|
2
|
+
export * from "./AssociatePersonasToEntitiesCommand";
|
|
1
3
|
export * from "./BatchDeleteDocumentCommand";
|
|
2
4
|
export * from "./BatchGetDocumentStatusCommand";
|
|
3
5
|
export * from "./BatchPutDocumentCommand";
|
|
4
6
|
export * from "./ClearQuerySuggestionsCommand";
|
|
5
7
|
export * from "./CreateDataSourceCommand";
|
|
8
|
+
export * from "./CreateExperienceCommand";
|
|
6
9
|
export * from "./CreateFaqCommand";
|
|
7
10
|
export * from "./CreateIndexCommand";
|
|
8
11
|
export * from "./CreateQuerySuggestionsBlockListCommand";
|
|
9
12
|
export * from "./CreateThesaurusCommand";
|
|
10
13
|
export * from "./DeleteDataSourceCommand";
|
|
14
|
+
export * from "./DeleteExperienceCommand";
|
|
11
15
|
export * from "./DeleteFaqCommand";
|
|
12
16
|
export * from "./DeleteIndexCommand";
|
|
13
17
|
export * from "./DeletePrincipalMappingCommand";
|
|
14
18
|
export * from "./DeleteQuerySuggestionsBlockListCommand";
|
|
15
19
|
export * from "./DeleteThesaurusCommand";
|
|
16
20
|
export * from "./DescribeDataSourceCommand";
|
|
21
|
+
export * from "./DescribeExperienceCommand";
|
|
17
22
|
export * from "./DescribeFaqCommand";
|
|
18
23
|
export * from "./DescribeIndexCommand";
|
|
19
24
|
export * from "./DescribePrincipalMappingCommand";
|
|
20
25
|
export * from "./DescribeQuerySuggestionsBlockListCommand";
|
|
21
26
|
export * from "./DescribeQuerySuggestionsConfigCommand";
|
|
22
27
|
export * from "./DescribeThesaurusCommand";
|
|
28
|
+
export * from "./DisassociateEntitiesFromExperienceCommand";
|
|
29
|
+
export * from "./DisassociatePersonasFromEntitiesCommand";
|
|
23
30
|
export * from "./GetQuerySuggestionsCommand";
|
|
31
|
+
export * from "./GetSnapshotsCommand";
|
|
24
32
|
export * from "./ListDataSourceSyncJobsCommand";
|
|
25
33
|
export * from "./ListDataSourcesCommand";
|
|
34
|
+
export * from "./ListEntityPersonasCommand";
|
|
35
|
+
export * from "./ListExperienceEntitiesCommand";
|
|
36
|
+
export * from "./ListExperiencesCommand";
|
|
26
37
|
export * from "./ListFaqsCommand";
|
|
27
38
|
export * from "./ListGroupsOlderThanOrderingIdCommand";
|
|
28
39
|
export * from "./ListIndicesCommand";
|
|
@@ -37,6 +48,7 @@ export * from "./SubmitFeedbackCommand";
|
|
|
37
48
|
export * from "./TagResourceCommand";
|
|
38
49
|
export * from "./UntagResourceCommand";
|
|
39
50
|
export * from "./UpdateDataSourceCommand";
|
|
51
|
+
export * from "./UpdateExperienceCommand";
|
|
40
52
|
export * from "./UpdateIndexCommand";
|
|
41
53
|
export * from "./UpdateQuerySuggestionsBlockListCommand";
|
|
42
54
|
export * from "./UpdateQuerySuggestionsConfigCommand";
|