@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.
Files changed (118) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/Kendra.js +75 -0
  3. package/dist-cjs/commands/BatchDeleteFeaturedResultsSetCommand.js +45 -0
  4. package/dist-cjs/commands/CreateFeaturedResultsSetCommand.js +45 -0
  5. package/dist-cjs/commands/DescribeFeaturedResultsSetCommand.js +45 -0
  6. package/dist-cjs/commands/ListFeaturedResultsSetsCommand.js +45 -0
  7. package/dist-cjs/commands/UpdateFeaturedResultsSetCommand.js +45 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/endpoint/ruleset.js +3 -3
  10. package/dist-cjs/models/models_0.js +381 -438
  11. package/dist-cjs/models/models_1.js +20 -0
  12. package/dist-cjs/protocols/Aws_json1_1.js +597 -4
  13. package/dist-es/Kendra.js +75 -0
  14. package/dist-es/commands/BatchDeleteFeaturedResultsSetCommand.js +41 -0
  15. package/dist-es/commands/CreateFeaturedResultsSetCommand.js +41 -0
  16. package/dist-es/commands/DescribeFeaturedResultsSetCommand.js +41 -0
  17. package/dist-es/commands/ListFeaturedResultsSetsCommand.js +41 -0
  18. package/dist-es/commands/UpdateFeaturedResultsSetCommand.js +41 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/endpoint/ruleset.js +3 -3
  21. package/dist-es/models/models_0.js +377 -434
  22. package/dist-es/models/models_1.js +18 -1
  23. package/dist-es/protocols/Aws_json1_1.js +584 -1
  24. package/dist-types/Kendra.d.ts +163 -132
  25. package/dist-types/KendraClient.d.ts +7 -2
  26. package/dist-types/commands/AssociateEntitiesToExperienceCommand.d.ts +4 -4
  27. package/dist-types/commands/AssociatePersonasToEntitiesCommand.d.ts +4 -4
  28. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +9 -9
  29. package/dist-types/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +88 -0
  30. package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +16 -20
  31. package/dist-types/commands/BatchPutDocumentCommand.d.ts +32 -31
  32. package/dist-types/commands/ClearQuerySuggestionsCommand.d.ts +2 -2
  33. package/dist-types/commands/CreateAccessControlConfigurationCommand.d.ts +22 -25
  34. package/dist-types/commands/CreateDataSourceCommand.d.ts +171 -342
  35. package/dist-types/commands/CreateExperienceCommand.d.ts +9 -8
  36. package/dist-types/commands/CreateFaqCommand.d.ts +10 -10
  37. package/dist-types/commands/CreateFeaturedResultsSetCommand.d.ts +117 -0
  38. package/dist-types/commands/CreateIndexCommand.d.ts +12 -11
  39. package/dist-types/commands/CreateQuerySuggestionsBlockListCommand.d.ts +7 -6
  40. package/dist-types/commands/CreateThesaurusCommand.d.ts +7 -6
  41. package/dist-types/commands/DeleteAccessControlConfigurationCommand.d.ts +6 -6
  42. package/dist-types/commands/DeleteDataSourceCommand.d.ts +2 -2
  43. package/dist-types/commands/DeleteExperienceCommand.d.ts +2 -2
  44. package/dist-types/commands/DeleteFaqCommand.d.ts +2 -2
  45. package/dist-types/commands/DeleteIndexCommand.d.ts +2 -2
  46. package/dist-types/commands/DeletePrincipalMappingCommand.d.ts +14 -16
  47. package/dist-types/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +2 -2
  48. package/dist-types/commands/DeleteThesaurusCommand.d.ts +2 -2
  49. package/dist-types/commands/DescribeAccessControlConfigurationCommand.d.ts +4 -4
  50. package/dist-types/commands/DescribeDataSourceCommand.d.ts +2 -2
  51. package/dist-types/commands/DescribeExperienceCommand.d.ts +2 -2
  52. package/dist-types/commands/DescribeFaqCommand.d.ts +2 -2
  53. package/dist-types/commands/DescribeFeaturedResultsSetCommand.d.ts +86 -0
  54. package/dist-types/commands/DescribeIndexCommand.d.ts +2 -2
  55. package/dist-types/commands/DescribePrincipalMappingCommand.d.ts +9 -10
  56. package/dist-types/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +2 -2
  57. package/dist-types/commands/DescribeQuerySuggestionsConfigCommand.d.ts +2 -2
  58. package/dist-types/commands/DescribeThesaurusCommand.d.ts +2 -2
  59. package/dist-types/commands/DisassociateEntitiesFromExperienceCommand.d.ts +4 -4
  60. package/dist-types/commands/DisassociatePersonasFromEntitiesCommand.d.ts +3 -3
  61. package/dist-types/commands/GetQuerySuggestionsCommand.d.ts +4 -3
  62. package/dist-types/commands/GetSnapshotsCommand.d.ts +4 -5
  63. package/dist-types/commands/ListAccessControlConfigurationsCommand.d.ts +6 -6
  64. package/dist-types/commands/ListDataSourceSyncJobsCommand.d.ts +3 -3
  65. package/dist-types/commands/ListDataSourcesCommand.d.ts +2 -2
  66. package/dist-types/commands/ListEntityPersonasCommand.d.ts +2 -2
  67. package/dist-types/commands/ListExperienceEntitiesCommand.d.ts +2 -2
  68. package/dist-types/commands/ListExperiencesCommand.d.ts +2 -2
  69. package/dist-types/commands/ListFaqsCommand.d.ts +2 -2
  70. package/dist-types/commands/ListFeaturedResultsSetsCommand.d.ts +87 -0
  71. package/dist-types/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +5 -6
  72. package/dist-types/commands/ListIndicesCommand.d.ts +2 -2
  73. package/dist-types/commands/ListQuerySuggestionsBlockListsCommand.d.ts +2 -2
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +4 -4
  75. package/dist-types/commands/ListThesauriCommand.d.ts +2 -2
  76. package/dist-types/commands/PutPrincipalMappingCommand.d.ts +22 -28
  77. package/dist-types/commands/QueryCommand.d.ts +91 -215
  78. package/dist-types/commands/StartDataSourceSyncJobCommand.d.ts +3 -3
  79. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +3 -3
  80. package/dist-types/commands/SubmitFeedbackCommand.d.ts +7 -7
  81. package/dist-types/commands/TagResourceCommand.d.ts +7 -8
  82. package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
  83. package/dist-types/commands/UpdateAccessControlConfigurationCommand.d.ts +25 -25
  84. package/dist-types/commands/UpdateDataSourceCommand.d.ts +168 -338
  85. package/dist-types/commands/UpdateExperienceCommand.d.ts +8 -8
  86. package/dist-types/commands/UpdateFeaturedResultsSetCommand.d.ts +105 -0
  87. package/dist-types/commands/UpdateIndexCommand.d.ts +16 -15
  88. package/dist-types/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +4 -4
  89. package/dist-types/commands/UpdateQuerySuggestionsConfigCommand.d.ts +2 -2
  90. package/dist-types/commands/UpdateThesaurusCommand.d.ts +3 -3
  91. package/dist-types/commands/index.d.ts +5 -0
  92. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  93. package/dist-types/models/models_0.d.ts +1943 -1687
  94. package/dist-types/models/models_1.d.ts +491 -72
  95. package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
  96. package/dist-types/ts3.4/Kendra.d.ts +85 -0
  97. package/dist-types/ts3.4/KendraClient.d.ts +30 -0
  98. package/dist-types/ts3.4/commands/BatchDeleteFeaturedResultsSetCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/CreateFeaturedResultsSetCommand.d.ts +41 -0
  100. package/dist-types/ts3.4/commands/DescribeFeaturedResultsSetCommand.d.ts +41 -0
  101. package/dist-types/ts3.4/commands/ListFeaturedResultsSetsCommand.d.ts +41 -0
  102. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/UpdateFeaturedResultsSetCommand.d.ts +41 -0
  111. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  114. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  115. package/dist-types/ts3.4/models/models_0.d.ts +563 -453
  116. package/dist-types/ts3.4/models/models_1.d.ts +127 -0
  117. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  118. package/package.json +34 -34
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
5
- import { UpdateExperienceRequest } from "../models/models_0";
5
+ import { UpdateExperienceRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -28,22 +28,22 @@ export interface UpdateExperienceCommandOutput extends __MetadataBearer {
28
28
  * import { KendraClient, UpdateExperienceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
29
29
  * // const { KendraClient, UpdateExperienceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
30
30
  * const client = new KendraClient(config);
31
- * const input = {
31
+ * const input = { // UpdateExperienceRequest
32
32
  * Id: "STRING_VALUE", // required
33
33
  * Name: "STRING_VALUE",
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
  * },
@@ -69,7 +69,7 @@ export interface UpdateExperienceCommandOutput extends __MetadataBearer {
69
69
  *
70
70
  * @throws {@link InternalServerException} (server fault)
71
71
  * <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/aws.amazon.com/contact-us"> Support</a> for help.</p>
72
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
73
73
  *
74
74
  * @throws {@link ResourceNotFoundException} (client fault)
75
75
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
@@ -0,0 +1,105 @@
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 { UpdateFeaturedResultsSetRequest, UpdateFeaturedResultsSetResponse } from "../models/models_1";
6
+ /**
7
+ * @public
8
+ *
9
+ * The input for {@link UpdateFeaturedResultsSetCommand}.
10
+ */
11
+ export interface UpdateFeaturedResultsSetCommandInput extends UpdateFeaturedResultsSetRequest {
12
+ }
13
+ /**
14
+ * @public
15
+ *
16
+ * The output of {@link UpdateFeaturedResultsSetCommand}.
17
+ */
18
+ export interface UpdateFeaturedResultsSetCommandOutput extends UpdateFeaturedResultsSetResponse, __MetadataBearer {
19
+ }
20
+ /**
21
+ * @public
22
+ * <p>Updates a set of featured results. Features results are placed
23
+ * above
24
+ * all other results for certain queries. You map specific queries to specific documents
25
+ * for featuring in the results. If a query contains an exact match of a query, then one
26
+ * or more specific documents are featured in the search results.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { KendraClient, UpdateFeaturedResultsSetCommand } from "@aws-sdk/client-kendra"; // ES Modules import
31
+ * // const { KendraClient, UpdateFeaturedResultsSetCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
32
+ * const client = new KendraClient(config);
33
+ * const input = { // UpdateFeaturedResultsSetRequest
34
+ * IndexId: "STRING_VALUE", // required
35
+ * FeaturedResultsSetId: "STRING_VALUE", // required
36
+ * FeaturedResultsSetName: "STRING_VALUE",
37
+ * Description: "STRING_VALUE",
38
+ * Status: "ACTIVE" || "INACTIVE",
39
+ * QueryTexts: [ // QueryTextList
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * FeaturedDocuments: [ // FeaturedDocumentList
43
+ * { // FeaturedDocument
44
+ * Id: "STRING_VALUE",
45
+ * },
46
+ * ],
47
+ * };
48
+ * const command = new UpdateFeaturedResultsSetCommand(input);
49
+ * const response = await client.send(command);
50
+ * ```
51
+ *
52
+ * @param UpdateFeaturedResultsSetCommandInput - {@link UpdateFeaturedResultsSetCommandInput}
53
+ * @returns {@link UpdateFeaturedResultsSetCommandOutput}
54
+ * @see {@link UpdateFeaturedResultsSetCommandInput} for command's `input` shape.
55
+ * @see {@link UpdateFeaturedResultsSetCommandOutput} for command's `response` shape.
56
+ * @see {@link KendraClientResolvedConfig | config} for KendraClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>You don't have sufficient access to perform this action. Please ensure you have the
60
+ * required permission policies and user accounts and try again.</p>
61
+ *
62
+ * @throws {@link FeaturedResultsConflictException} (client fault)
63
+ * <p>An error message with a list of conflicting queries used across different sets
64
+ * of featured results. This occurred with the request for a new featured results set.
65
+ * Check that the queries you specified for featured results are unique per featured
66
+ * results set for each index.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
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/contact-us/">Support</a> for help.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
74
+ * resource and try again.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied due to request throttling. Please reduce the number of requests
78
+ * and try again.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The input fails to satisfy the constraints set by the Amazon Kendra service.
82
+ * Please provide the correct input and try again.</p>
83
+ *
84
+ *
85
+ */
86
+ export declare class UpdateFeaturedResultsSetCommand extends $Command<UpdateFeaturedResultsSetCommandInput, UpdateFeaturedResultsSetCommandOutput, KendraClientResolvedConfig> {
87
+ readonly input: UpdateFeaturedResultsSetCommandInput;
88
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
+ /**
90
+ * @public
91
+ */
92
+ constructor(input: UpdateFeaturedResultsSetCommandInput);
93
+ /**
94
+ * @internal
95
+ */
96
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KendraClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateFeaturedResultsSetCommandInput, UpdateFeaturedResultsSetCommandOutput>;
97
+ /**
98
+ * @internal
99
+ */
100
+ private serialize;
101
+ /**
102
+ * @internal
103
+ */
104
+ private deserialize;
105
+ }
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
5
- import { UpdateIndexRequest } from "../models/models_0";
5
+ import { UpdateIndexRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -26,25 +26,25 @@ export interface UpdateIndexCommandOutput extends __MetadataBearer {
26
26
  * import { KendraClient, UpdateIndexCommand } from "@aws-sdk/client-kendra"; // ES Modules import
27
27
  * // const { KendraClient, UpdateIndexCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
28
28
  * const client = new KendraClient(config);
29
- * const input = {
29
+ * const input = { // UpdateIndexRequest
30
30
  * Id: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE",
32
32
  * RoleArn: "STRING_VALUE",
33
33
  * Description: "STRING_VALUE",
34
- * DocumentMetadataConfigurationUpdates: [
35
- * {
34
+ * DocumentMetadataConfigurationUpdates: [ // DocumentMetadataConfigurationList
35
+ * { // DocumentMetadataConfiguration
36
36
  * Name: "STRING_VALUE", // required
37
37
  * Type: "STRING_VALUE" || "STRING_LIST_VALUE" || "LONG_VALUE" || "DATE_VALUE", // required
38
- * Relevance: {
38
+ * Relevance: { // Relevance
39
39
  * Freshness: true || false,
40
40
  * Importance: Number("int"),
41
41
  * Duration: "STRING_VALUE",
42
42
  * RankOrder: "ASCENDING" || "DESCENDING",
43
- * ValueImportanceMap: {
43
+ * ValueImportanceMap: { // ValueImportanceMap
44
44
  * "<keys>": Number("int"),
45
45
  * },
46
46
  * },
47
- * Search: {
47
+ * Search: { // Search
48
48
  * Facetable: true || false,
49
49
  * Searchable: true || false,
50
50
  * Displayable: true || false,
@@ -52,13 +52,13 @@ export interface UpdateIndexCommandOutput extends __MetadataBearer {
52
52
  * },
53
53
  * },
54
54
  * ],
55
- * CapacityUnits: {
55
+ * CapacityUnits: { // CapacityUnitsConfiguration
56
56
  * StorageCapacityUnits: Number("int"), // required
57
57
  * QueryCapacityUnits: Number("int"), // required
58
58
  * },
59
- * UserTokenConfigurations: [
60
- * {
61
- * JwtTokenTypeConfiguration: {
59
+ * UserTokenConfigurations: [ // UserTokenConfigurationList
60
+ * { // UserTokenConfiguration
61
+ * JwtTokenTypeConfiguration: { // JwtTokenTypeConfiguration
62
62
  * KeyLocation: "URL" || "SECRET_MANAGER", // required
63
63
  * URL: "STRING_VALUE",
64
64
  * SecretManagerArn: "STRING_VALUE",
@@ -67,14 +67,14 @@ export interface UpdateIndexCommandOutput extends __MetadataBearer {
67
67
  * Issuer: "STRING_VALUE",
68
68
  * ClaimRegex: "STRING_VALUE",
69
69
  * },
70
- * JsonTokenTypeConfiguration: {
70
+ * JsonTokenTypeConfiguration: { // JsonTokenTypeConfiguration
71
71
  * UserNameAttributeField: "STRING_VALUE", // required
72
72
  * GroupAttributeField: "STRING_VALUE", // required
73
73
  * },
74
74
  * },
75
75
  * ],
76
76
  * UserContextPolicy: "ATTRIBUTE_FILTER" || "USER_TOKEN",
77
- * UserGroupResolutionConfiguration: {
77
+ * UserGroupResolutionConfiguration: { // UserGroupResolutionConfiguration
78
78
  * UserGroupResolutionMode: "AWS_SSO" || "NONE", // required
79
79
  * },
80
80
  * };
@@ -98,7 +98,7 @@ export interface UpdateIndexCommandOutput extends __MetadataBearer {
98
98
  *
99
99
  * @throws {@link InternalServerException} (server fault)
100
100
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
101
- * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/aws.amazon.com/contact-us"> Support</a> for help.</p>
101
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
102
102
  *
103
103
  * @throws {@link ResourceNotFoundException} (client fault)
104
104
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
@@ -106,7 +106,8 @@ export interface UpdateIndexCommandOutput extends __MetadataBearer {
106
106
  *
107
107
  * @throws {@link ServiceQuotaExceededException} (client fault)
108
108
  * <p>You have exceeded the set limits for your Amazon Kendra service. Please see
109
- * Quotas[hyperlink Kendra Quotas pg] for more information, or contact <a href="http://aws.amazon.com/aws.amazon.com/contact-us"> Support</a> to inquire about
109
+ * <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
110
+ * more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
110
111
  * an increase of limits.</p>
111
112
  *
112
113
  * @throws {@link ThrottlingException} (client fault)
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { KendraClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KendraClient";
5
- import { UpdateQuerySuggestionsBlockListRequest } from "../models/models_0";
5
+ import { UpdateQuerySuggestionsBlockListRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -36,12 +36,12 @@ export interface UpdateQuerySuggestionsBlockListCommandOutput extends __Metadata
36
36
  * import { KendraClient, UpdateQuerySuggestionsBlockListCommand } from "@aws-sdk/client-kendra"; // ES Modules import
37
37
  * // const { KendraClient, UpdateQuerySuggestionsBlockListCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
38
38
  * const client = new KendraClient(config);
39
- * const input = {
39
+ * const input = { // UpdateQuerySuggestionsBlockListRequest
40
40
  * IndexId: "STRING_VALUE", // required
41
41
  * Id: "STRING_VALUE", // required
42
42
  * Name: "STRING_VALUE",
43
43
  * Description: "STRING_VALUE",
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 UpdateQuerySuggestionsBlockListCommandOutput extends __Metadata
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/aws.amazon.com/contact-us"> Support</a> for help.</p>
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
@@ -37,7 +37,7 @@ export interface UpdateQuerySuggestionsConfigCommandOutput extends __MetadataBea
37
37
  * import { KendraClient, UpdateQuerySuggestionsConfigCommand } from "@aws-sdk/client-kendra"; // ES Modules import
38
38
  * // const { KendraClient, UpdateQuerySuggestionsConfigCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
39
39
  * const client = new KendraClient(config);
40
- * const input = {
40
+ * const input = { // UpdateQuerySuggestionsConfigRequest
41
41
  * IndexId: "STRING_VALUE", // required
42
42
  * Mode: "ENABLED" || "LEARN_ONLY",
43
43
  * QueryLogLookBackWindowInDays: Number("int"),
@@ -65,7 +65,7 @@ export interface UpdateQuerySuggestionsConfigCommandOutput extends __MetadataBea
65
65
  *
66
66
  * @throws {@link InternalServerException} (server fault)
67
67
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
68
- * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/aws.amazon.com/contact-us"> Support</a> for help.</p>
68
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
69
69
  *
70
70
  * @throws {@link ResourceNotFoundException} (client fault)
71
71
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
@@ -26,13 +26,13 @@ export interface UpdateThesaurusCommandOutput extends __MetadataBearer {
26
26
  * import { KendraClient, UpdateThesaurusCommand } from "@aws-sdk/client-kendra"; // ES Modules import
27
27
  * // const { KendraClient, UpdateThesaurusCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
28
28
  * const client = new KendraClient(config);
29
- * const input = {
29
+ * const input = { // UpdateThesaurusRequest
30
30
  * Id: "STRING_VALUE", // required
31
31
  * Name: "STRING_VALUE",
32
32
  * IndexId: "STRING_VALUE", // required
33
33
  * Description: "STRING_VALUE",
34
34
  * RoleArn: "STRING_VALUE",
35
- * SourceS3Path: {
35
+ * SourceS3Path: { // S3Path
36
36
  * Bucket: "STRING_VALUE", // required
37
37
  * Key: "STRING_VALUE", // required
38
38
  * },
@@ -57,7 +57,7 @@ export interface UpdateThesaurusCommandOutput extends __MetadataBearer {
57
57
  *
58
58
  * @throws {@link InternalServerException} (server fault)
59
59
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
60
- * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/aws.amazon.com/contact-us"> Support</a> for help.</p>
60
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
61
61
  *
62
62
  * @throws {@link ResourceNotFoundException} (client fault)
63
63
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
@@ -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";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;