@aws-sdk/client-kendra 3.321.1 → 3.326.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/dist-cjs/models/models_0.js +10 -5
- package/dist-cjs/models/models_1.js +4 -1
- package/dist-cjs/protocols/Aws_json1_1.js +56 -2
- package/dist-es/models/models_0.js +8 -3
- package/dist-es/models/models_1.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +56 -2
- package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +11 -0
- package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +11 -0
- package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +12 -0
- package/dist-types/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +12 -0
- package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +20 -0
- package/dist-types/commands/BatchPutDocumentCommand.d.ts +12 -0
- package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +4 -0
- package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +6 -0
- package/dist-types/commands/CreateDataSourceCommand.d.ts +6 -0
- package/dist-types/commands/CreateExperienceCommand.d.ts +6 -0
- package/dist-types/commands/CreateFaqCommand.d.ts +6 -0
- package/dist-types/commands/CreateFeaturedResultsSetCommand.d.ts +21 -0
- package/dist-types/commands/CreateIndexCommand.d.ts +6 -0
- package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +7 -1
- package/dist-types/commands/CreateThesaurusCommand.d.ts +6 -0
- package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteExperienceCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFaqCommand.d.ts +4 -0
- package/dist-types/commands/DeleteIndexCommand.d.ts +4 -0
- package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +4 -0
- package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +4 -0
- package/dist-types/commands/DeleteThesaurusCommand.d.ts +4 -0
- package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +28 -0
- package/dist-types/commands/DescribeDataSourceCommand.d.ts +570 -0
- package/dist-types/commands/DescribeExperienceCommand.d.ts +34 -0
- package/dist-types/commands/DescribeFaqCommand.d.ts +20 -0
- package/dist-types/commands/DescribeFeaturedResultsSetCommand.d.ts +26 -0
- package/dist-types/commands/DescribeIndexCommand.d.ts +72 -0
- package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +17 -0
- package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +20 -0
- package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +14 -0
- package/dist-types/commands/DescribeThesaurusCommand.d.ts +21 -0
- package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +11 -0
- package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +11 -0
- package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +129 -1
- package/dist-types/commands/GetSnapshotsCommand.d.ts +18 -0
- package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +11 -0
- package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +24 -0
- package/dist-types/commands/ListDataSourcesCommand.d.ts +17 -0
- package/dist-types/commands/ListEntityPersonasCommand.d.ts +14 -0
- package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +19 -0
- package/dist-types/commands/ListExperiencesCommand.d.ts +20 -0
- package/dist-types/commands/ListFaqsCommand.d.ts +17 -0
- package/dist-types/commands/ListFeaturedResultsSetsCommand.d.ts +15 -0
- package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +12 -0
- package/dist-types/commands/ListIndicesCommand.d.ts +16 -0
- package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ListThesauriCommand.d.ts +15 -0
- package/dist-types/commands/PutPrincipalMappingCommand.d.ts +4 -0
- package/dist-types/commands/QueryCommand.d.ts +200 -0
- package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +6 -0
- package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +4 -0
- package/dist-types/commands/SubmitFeedbackCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateExperienceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +21 -0
- package/dist-types/commands/UpdateIndexCommand.d.ts +4 -0
- package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +4 -0
- package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +14 -1
- package/dist-types/commands/UpdateThesaurusCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +173 -210
- package/dist-types/models/models_1.d.ts +213 -2
- package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +40 -46
- package/dist-types/ts3.4/models/models_1.d.ts +53 -3
- package/package.json +16 -16
|
@@ -32,7 +32,7 @@ export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuer
|
|
|
32
32
|
* <code>CreateQuerySuggestionsBlockList</code> is currently not supported in the
|
|
33
33
|
* Amazon Web Services GovCloud (US-West) region.</p>
|
|
34
34
|
* <p>For an example of creating a block list for query suggestions using the
|
|
35
|
-
* Python SDK, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html#suggestions-
|
|
35
|
+
* Python SDK, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/query-suggestions.html#query-suggestions-blocklist">Query
|
|
36
36
|
* suggestions block list</a>.</p>
|
|
37
37
|
* @example
|
|
38
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -59,6 +59,10 @@ export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuer
|
|
|
59
59
|
* };
|
|
60
60
|
* const command = new CreateQuerySuggestionsBlockListCommand(input);
|
|
61
61
|
* const response = await client.send(command);
|
|
62
|
+
* // { // CreateQuerySuggestionsBlockListResponse
|
|
63
|
+
* // Id: "STRING_VALUE",
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
62
66
|
* ```
|
|
63
67
|
*
|
|
64
68
|
* @param CreateQuerySuggestionsBlockListCommandInput - {@link CreateQuerySuggestionsBlockListCommandInput}
|
|
@@ -97,6 +101,8 @@ export interface CreateQuerySuggestionsBlockListCommandOutput extends CreateQuer
|
|
|
97
101
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
98
102
|
* Please provide the correct input and try again.</p>
|
|
99
103
|
*
|
|
104
|
+
* @throws {@link KendraServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
100
106
|
*
|
|
101
107
|
*/
|
|
102
108
|
export declare class CreateQuerySuggestionsBlockListCommand extends $Command<CreateQuerySuggestionsBlockListCommandInput, CreateQuerySuggestionsBlockListCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -49,6 +49,10 @@ export interface CreateThesaurusCommandOutput extends CreateThesaurusResponse, _
|
|
|
49
49
|
* };
|
|
50
50
|
* const command = new CreateThesaurusCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
52
|
+
* // { // CreateThesaurusResponse
|
|
53
|
+
* // Id: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
52
56
|
* ```
|
|
53
57
|
*
|
|
54
58
|
* @param CreateThesaurusCommandInput - {@link CreateThesaurusCommandInput}
|
|
@@ -87,6 +91,8 @@ export interface CreateThesaurusCommandOutput extends CreateThesaurusResponse, _
|
|
|
87
91
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
88
92
|
* Please provide the correct input and try again.</p>
|
|
89
93
|
*
|
|
94
|
+
* @throws {@link KendraServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
90
96
|
*
|
|
91
97
|
*/
|
|
92
98
|
export declare class CreateThesaurusCommand extends $Command<CreateThesaurusCommandInput, CreateThesaurusCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -35,6 +35,8 @@ export interface DeleteAccessControlConfigurationCommandOutput extends DeleteAcc
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DeleteAccessControlConfigurationCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param DeleteAccessControlConfigurationCommandInput - {@link DeleteAccessControlConfigurationCommandInput}
|
|
@@ -67,6 +69,8 @@ export interface DeleteAccessControlConfigurationCommandOutput extends DeleteAcc
|
|
|
67
69
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
68
70
|
* Please provide the correct input and try again.</p>
|
|
69
71
|
*
|
|
72
|
+
* @throws {@link KendraServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
70
74
|
*
|
|
71
75
|
*/
|
|
72
76
|
export declare class DeleteAccessControlConfigurationCommand extends $Command<DeleteAccessControlConfigurationCommandInput, DeleteAccessControlConfigurationCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -35,6 +35,8 @@ export interface DeleteDataSourceCommandOutput extends __MetadataBearer {
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DeleteDataSourceCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
38
40
|
* ```
|
|
39
41
|
*
|
|
40
42
|
* @param DeleteDataSourceCommandInput - {@link DeleteDataSourceCommandInput}
|
|
@@ -67,6 +69,8 @@ export interface DeleteDataSourceCommandOutput extends __MetadataBearer {
|
|
|
67
69
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
68
70
|
* Please provide the correct input and try again.</p>
|
|
69
71
|
*
|
|
72
|
+
* @throws {@link KendraServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
70
74
|
*
|
|
71
75
|
*/
|
|
72
76
|
export declare class DeleteDataSourceCommand extends $Command<DeleteDataSourceCommandInput, DeleteDataSourceCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface DeleteExperienceCommandOutput extends DeleteExperienceResponse,
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteExperienceCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param DeleteExperienceCommandInput - {@link DeleteExperienceCommandInput}
|
|
@@ -66,6 +68,8 @@ export interface DeleteExperienceCommandOutput extends DeleteExperienceResponse,
|
|
|
66
68
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
67
69
|
* Please provide the correct input and try again.</p>
|
|
68
70
|
*
|
|
71
|
+
* @throws {@link KendraServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
69
73
|
*
|
|
70
74
|
*/
|
|
71
75
|
export declare class DeleteExperienceCommand extends $Command<DeleteExperienceCommandInput, DeleteExperienceCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -32,6 +32,8 @@ export interface DeleteFaqCommandOutput extends __MetadataBearer {
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteFaqCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // {};
|
|
36
|
+
*
|
|
35
37
|
* ```
|
|
36
38
|
*
|
|
37
39
|
* @param DeleteFaqCommandInput - {@link DeleteFaqCommandInput}
|
|
@@ -64,6 +66,8 @@ export interface DeleteFaqCommandOutput extends __MetadataBearer {
|
|
|
64
66
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
65
67
|
* Please provide the correct input and try again.</p>
|
|
66
68
|
*
|
|
69
|
+
* @throws {@link KendraServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
67
71
|
*
|
|
68
72
|
*/
|
|
69
73
|
export declare class DeleteFaqCommand extends $Command<DeleteFaqCommandInput, DeleteFaqCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -34,6 +34,8 @@ export interface DeleteIndexCommandOutput extends __MetadataBearer {
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DeleteIndexCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // {};
|
|
38
|
+
*
|
|
37
39
|
* ```
|
|
38
40
|
*
|
|
39
41
|
* @param DeleteIndexCommandInput - {@link DeleteIndexCommandInput}
|
|
@@ -66,6 +68,8 @@ export interface DeleteIndexCommandOutput extends __MetadataBearer {
|
|
|
66
68
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
67
69
|
* Please provide the correct input and try again.</p>
|
|
68
70
|
*
|
|
71
|
+
* @throws {@link KendraServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
69
73
|
*
|
|
70
74
|
*/
|
|
71
75
|
export declare class DeleteIndexCommand extends $Command<DeleteIndexCommandInput, DeleteIndexCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -46,6 +46,8 @@ export interface DeletePrincipalMappingCommandOutput extends __MetadataBearer {
|
|
|
46
46
|
* };
|
|
47
47
|
* const command = new DeletePrincipalMappingCommand(input);
|
|
48
48
|
* const response = await client.send(command);
|
|
49
|
+
* // {};
|
|
50
|
+
*
|
|
49
51
|
* ```
|
|
50
52
|
*
|
|
51
53
|
* @param DeletePrincipalMappingCommandInput - {@link DeletePrincipalMappingCommandInput}
|
|
@@ -78,6 +80,8 @@ export interface DeletePrincipalMappingCommandOutput extends __MetadataBearer {
|
|
|
78
80
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
79
81
|
* Please provide the correct input and try again.</p>
|
|
80
82
|
*
|
|
83
|
+
* @throws {@link KendraServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
81
85
|
*
|
|
82
86
|
*/
|
|
83
87
|
export declare class DeletePrincipalMappingCommand extends $Command<DeletePrincipalMappingCommandInput, DeletePrincipalMappingCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -38,6 +38,8 @@ export interface DeleteQuerySuggestionsBlockListCommandOutput extends __Metadata
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new DeleteQuerySuggestionsBlockListCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
41
43
|
* ```
|
|
42
44
|
*
|
|
43
45
|
* @param DeleteQuerySuggestionsBlockListCommandInput - {@link DeleteQuerySuggestionsBlockListCommandInput}
|
|
@@ -70,6 +72,8 @@ export interface DeleteQuerySuggestionsBlockListCommandOutput extends __Metadata
|
|
|
70
72
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
71
73
|
* Please provide the correct input and try again.</p>
|
|
72
74
|
*
|
|
75
|
+
* @throws {@link KendraServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
73
77
|
*
|
|
74
78
|
*/
|
|
75
79
|
export declare class DeleteQuerySuggestionsBlockListCommand extends $Command<DeleteQuerySuggestionsBlockListCommandInput, DeleteQuerySuggestionsBlockListCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -33,6 +33,8 @@ export interface DeleteThesaurusCommandOutput extends __MetadataBearer {
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteThesaurusCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // {};
|
|
37
|
+
*
|
|
36
38
|
* ```
|
|
37
39
|
*
|
|
38
40
|
* @param DeleteThesaurusCommandInput - {@link DeleteThesaurusCommandInput}
|
|
@@ -65,6 +67,8 @@ export interface DeleteThesaurusCommandOutput extends __MetadataBearer {
|
|
|
65
67
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
66
68
|
* Please provide the correct input and try again.</p>
|
|
67
69
|
*
|
|
70
|
+
* @throws {@link KendraServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
68
72
|
*
|
|
69
73
|
*/
|
|
70
74
|
export declare class DeleteThesaurusCommand extends $Command<DeleteThesaurusCommandInput, DeleteThesaurusCommandOutput, KendraClientResolvedConfig> {
|
|
@@ -35,6 +35,32 @@ export interface DescribeAccessControlConfigurationCommandOutput extends Describ
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new DescribeAccessControlConfigurationCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeAccessControlConfigurationResponse
|
|
39
|
+
* // Name: "STRING_VALUE", // required
|
|
40
|
+
* // Description: "STRING_VALUE",
|
|
41
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
42
|
+
* // AccessControlList: [ // PrincipalList
|
|
43
|
+
* // { // Principal
|
|
44
|
+
* // Name: "STRING_VALUE", // required
|
|
45
|
+
* // Type: "USER" || "GROUP", // required
|
|
46
|
+
* // Access: "ALLOW" || "DENY", // required
|
|
47
|
+
* // DataSourceId: "STRING_VALUE",
|
|
48
|
+
* // },
|
|
49
|
+
* // ],
|
|
50
|
+
* // HierarchicalAccessControlList: [ // HierarchicalPrincipalList
|
|
51
|
+
* // { // HierarchicalPrincipal
|
|
52
|
+
* // PrincipalList: [ // required
|
|
53
|
+
* // {
|
|
54
|
+
* // Name: "STRING_VALUE", // required
|
|
55
|
+
* // Type: "USER" || "GROUP", // required
|
|
56
|
+
* // Access: "ALLOW" || "DENY", // required
|
|
57
|
+
* // DataSourceId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
38
64
|
* ```
|
|
39
65
|
*
|
|
40
66
|
* @param DescribeAccessControlConfigurationCommandInput - {@link DescribeAccessControlConfigurationCommandInput}
|
|
@@ -63,6 +89,8 @@ export interface DescribeAccessControlConfigurationCommandOutput extends Describ
|
|
|
63
89
|
* <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
|
|
64
90
|
* Please provide the correct input and try again.</p>
|
|
65
91
|
*
|
|
92
|
+
* @throws {@link KendraServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from Kendra service.</p>
|
|
66
94
|
*
|
|
67
95
|
*/
|
|
68
96
|
export declare class DescribeAccessControlConfigurationCommand extends $Command<DescribeAccessControlConfigurationCommandInput, DescribeAccessControlConfigurationCommandOutput, KendraClientResolvedConfig> {
|