@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
@@ -26,7 +26,7 @@ export interface ListIndicesCommandOutput extends ListIndicesResponse, __Metadat
26
26
  * import { KendraClient, ListIndicesCommand } from "@aws-sdk/client-kendra"; // ES Modules import
27
27
  * // const { KendraClient, ListIndicesCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
28
28
  * const client = new KendraClient(config);
29
- * const input = {
29
+ * const input = { // ListIndicesRequest
30
30
  * NextToken: "STRING_VALUE",
31
31
  * MaxResults: Number("int"),
32
32
  * };
@@ -46,7 +46,7 @@ export interface ListIndicesCommandOutput extends ListIndicesResponse, __Metadat
46
46
  *
47
47
  * @throws {@link InternalServerException} (server fault)
48
48
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
49
- * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/aws.amazon.com/contact-us"> Support</a> for help.</p>
49
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
50
50
  *
51
51
  * @throws {@link ThrottlingException} (client fault)
52
52
  * <p>The request was denied due to request throttling. Please reduce the number of requests
@@ -32,7 +32,7 @@ export interface ListQuerySuggestionsBlockListsCommandOutput extends ListQuerySu
32
32
  * import { KendraClient, ListQuerySuggestionsBlockListsCommand } from "@aws-sdk/client-kendra"; // ES Modules import
33
33
  * // const { KendraClient, ListQuerySuggestionsBlockListsCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
34
34
  * const client = new KendraClient(config);
35
- * const input = {
35
+ * const input = { // ListQuerySuggestionsBlockListsRequest
36
36
  * IndexId: "STRING_VALUE", // required
37
37
  * NextToken: "STRING_VALUE",
38
38
  * MaxResults: Number("int"),
@@ -53,7 +53,7 @@ export interface ListQuerySuggestionsBlockListsCommandOutput extends ListQuerySu
53
53
  *
54
54
  * @throws {@link InternalServerException} (server fault)
55
55
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
56
- * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/aws.amazon.com/contact-us"> Support</a> for help.</p>
56
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
57
57
  *
58
58
  * @throws {@link ResourceNotFoundException} (client fault)
59
59
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
@@ -19,15 +19,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Gets a list of tags associated with a specified resource. Indexes,
23
- * FAQs, and data sources can have tags associated with them.</p>
22
+ * <p>Gets a list of tags associated with a specified resource. Indexes, FAQs, and data sources
23
+ * can have tags associated with them.</p>
24
24
  * @example
25
25
  * Use a bare-bones client and the command you need to make an API call.
26
26
  * ```javascript
27
27
  * import { KendraClient, ListTagsForResourceCommand } from "@aws-sdk/client-kendra"; // ES Modules import
28
28
  * // const { KendraClient, ListTagsForResourceCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
29
29
  * const client = new KendraClient(config);
30
- * const input = {
30
+ * const input = { // ListTagsForResourceRequest
31
31
  * ResourceARN: "STRING_VALUE", // required
32
32
  * };
33
33
  * const command = new ListTagsForResourceCommand(input);
@@ -46,7 +46,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
46
46
  *
47
47
  * @throws {@link InternalServerException} (server fault)
48
48
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
49
- * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/aws.amazon.com/contact-us"> Support</a> for help.</p>
49
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
50
50
  *
51
51
  * @throws {@link ResourceUnavailableException} (client fault)
52
52
  * <p>The resource you want to use isn't available. Please check you have provided the
@@ -26,7 +26,7 @@ export interface ListThesauriCommandOutput extends ListThesauriResponse, __Metad
26
26
  * import { KendraClient, ListThesauriCommand } from "@aws-sdk/client-kendra"; // ES Modules import
27
27
  * // const { KendraClient, ListThesauriCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
28
28
  * const client = new KendraClient(config);
29
- * const input = {
29
+ * const input = { // ListThesauriRequest
30
30
  * IndexId: "STRING_VALUE", // required
31
31
  * NextToken: "STRING_VALUE",
32
32
  * MaxResults: Number("int"),
@@ -47,7 +47,7 @@ export interface ListThesauriCommandOutput extends ListThesauriResponse, __Metad
47
47
  *
48
48
  * @throws {@link InternalServerException} (server fault)
49
49
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
50
- * 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>
50
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
51
51
  *
52
52
  * @throws {@link ResourceNotFoundException} (client fault)
53
53
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
@@ -19,48 +19,41 @@ export interface PutPrincipalMappingCommandOutput extends __MetadataBearer {
19
19
  }
20
20
  /**
21
21
  * @public
22
- * <p>Maps users to their groups so that you only need to provide
23
- * the user ID when you issue the query.</p>
24
- * <p>You can also map sub groups to groups.
25
- * For example, the group "Company Intellectual Property Teams" includes
26
- * sub groups "Research" and "Engineering". These sub groups include their
27
- * own list of users or people who work in these teams. Only users who work
28
- * in research and engineering, and therefore belong in the intellectual
29
- * property group, can see top-secret company documents in their search
30
- * results.</p>
31
- * <p>This is useful for user context filtering, where search results are
32
- * filtered based on the user or their group access to documents. For more
33
- * information, see
34
- * <a href="https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html">Filtering
35
- * on user context</a>.</p>
36
- * <p>If more than five <code>PUT</code> actions for a group are currently
37
- * processing, a validation exception is thrown.</p>
38
- * <p>
39
- * <code>PutPrincipalMapping</code> is currently not supported in the
40
- * Amazon Web Services GovCloud (US-West) region.</p>
22
+ * <p>Maps users to their groups so that you only need to provide the user ID when you issue
23
+ * the query.</p>
24
+ * <p>You can also map sub groups to groups. For example, the group "Company Intellectual
25
+ * Property Teams" includes sub groups "Research" and "Engineering". These sub groups
26
+ * include their own list of users or people who work in these teams. Only users who work
27
+ * in research and engineering, and therefore belong in the intellectual property group,
28
+ * can see top-secret company documents in their search results.</p>
29
+ * <p>This is useful for user context filtering, where search results are filtered based on
30
+ * the user or their group access to documents. For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/user-context-filter.html">Filtering on
31
+ * user context</a>.</p>
32
+ * <p>If more than five <code>PUT</code> actions for a group are currently processing, a
33
+ * validation exception is thrown.</p>
41
34
  * @example
42
35
  * Use a bare-bones client and the command you need to make an API call.
43
36
  * ```javascript
44
37
  * import { KendraClient, PutPrincipalMappingCommand } from "@aws-sdk/client-kendra"; // ES Modules import
45
38
  * // const { KendraClient, PutPrincipalMappingCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
46
39
  * const client = new KendraClient(config);
47
- * const input = {
40
+ * const input = { // PutPrincipalMappingRequest
48
41
  * IndexId: "STRING_VALUE", // required
49
42
  * DataSourceId: "STRING_VALUE",
50
43
  * GroupId: "STRING_VALUE", // required
51
- * GroupMembers: {
52
- * MemberGroups: [
53
- * {
44
+ * GroupMembers: { // GroupMembers
45
+ * MemberGroups: [ // MemberGroups
46
+ * { // MemberGroup
54
47
  * GroupId: "STRING_VALUE", // required
55
48
  * DataSourceId: "STRING_VALUE",
56
49
  * },
57
50
  * ],
58
- * MemberUsers: [
59
- * {
51
+ * MemberUsers: [ // MemberUsers
52
+ * { // MemberUser
60
53
  * UserId: "STRING_VALUE", // required
61
54
  * },
62
55
  * ],
63
- * S3PathforGroupMembers: {
56
+ * S3PathforGroupMembers: { // S3Path
64
57
  * Bucket: "STRING_VALUE", // required
65
58
  * Key: "STRING_VALUE", // required
66
59
  * },
@@ -88,7 +81,7 @@ export interface PutPrincipalMappingCommandOutput extends __MetadataBearer {
88
81
  *
89
82
  * @throws {@link InternalServerException} (server fault)
90
83
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
91
- * 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>
84
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
92
85
  *
93
86
  * @throws {@link ResourceNotFoundException} (client fault)
94
87
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
@@ -96,7 +89,8 @@ export interface PutPrincipalMappingCommandOutput extends __MetadataBearer {
96
89
  *
97
90
  * @throws {@link ServiceQuotaExceededException} (client fault)
98
91
  * <p>You have exceeded the set limits for your Amazon Kendra service. Please see
99
- * 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
92
+ * <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
93
+ * more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
100
94
  * an increase of limits.</p>
101
95
  *
102
96
  * @throws {@link ThrottlingException} (client fault)
@@ -46,241 +46,116 @@ export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
46
46
  * import { KendraClient, QueryCommand } from "@aws-sdk/client-kendra"; // ES Modules import
47
47
  * // const { KendraClient, QueryCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
48
48
  * const client = new KendraClient(config);
49
- * const input = {
49
+ * const input = { // QueryRequest
50
50
  * IndexId: "STRING_VALUE", // required
51
51
  * QueryText: "STRING_VALUE",
52
- * AttributeFilter: {
53
- * AndAllFilters: [
52
+ * AttributeFilter: { // AttributeFilter
53
+ * AndAllFilters: [ // AttributeFilterList
54
54
  * {
55
55
  * AndAllFilters: [
56
- * {
57
- * AndAllFilters: "<AttributeFilter>",
58
- * OrAllFilters: [
59
- * "<AttributeFilterList>",
60
- * ],
61
- * NotFilter: {
62
- * AndAllFilters: "<AttributeFilter>",
63
- * OrAllFilters: [
64
- * "<AttributeFilterList>",
65
- * ],
66
- * NotFilter: {
67
- * AndAllFilters: "<AttributeFilter>",
68
- * OrAllFilters: "<AttributeFilter>",
69
- * NotFilter: "<AttributeFilter>",
70
- * EqualsTo: {
71
- * Key: "STRING_VALUE", // required
72
- * Value: {
73
- * StringValue: "STRING_VALUE",
74
- * StringListValue: [
75
- * "STRING_VALUE",
76
- * ],
77
- * LongValue: Number("long"),
78
- * DateValue: new Date("TIMESTAMP"),
79
- * },
80
- * },
81
- * ContainsAll: {
82
- * Key: "STRING_VALUE", // required
83
- * Value: {
84
- * StringValue: "STRING_VALUE",
85
- * StringListValue: [
86
- * "STRING_VALUE",
87
- * ],
88
- * LongValue: Number("long"),
89
- * DateValue: new Date("TIMESTAMP"),
90
- * },
91
- * },
92
- * ContainsAny: {
93
- * Key: "STRING_VALUE", // required
94
- * Value: {
95
- * StringValue: "STRING_VALUE",
96
- * StringListValue: [
97
- * "STRING_VALUE",
98
- * ],
99
- * LongValue: Number("long"),
100
- * DateValue: new Date("TIMESTAMP"),
101
- * },
102
- * },
103
- * GreaterThan: {
104
- * Key: "STRING_VALUE", // required
105
- * Value: {
106
- * StringValue: "STRING_VALUE",
107
- * StringListValue: [
108
- * "STRING_VALUE",
109
- * ],
110
- * LongValue: Number("long"),
111
- * DateValue: new Date("TIMESTAMP"),
112
- * },
113
- * },
114
- * GreaterThanOrEquals: {
115
- * Key: "STRING_VALUE", // required
116
- * Value: {
117
- * StringValue: "STRING_VALUE",
118
- * StringListValue: [
119
- * "STRING_VALUE",
120
- * ],
121
- * LongValue: Number("long"),
122
- * DateValue: new Date("TIMESTAMP"),
123
- * },
124
- * },
125
- * LessThan: {
126
- * Key: "STRING_VALUE", // required
127
- * Value: {
128
- * StringValue: "STRING_VALUE",
129
- * StringListValue: [
130
- * "STRING_VALUE",
131
- * ],
132
- * LongValue: Number("long"),
133
- * DateValue: new Date("TIMESTAMP"),
134
- * },
135
- * },
136
- * LessThanOrEquals: {
137
- * Key: "STRING_VALUE", // required
138
- * Value: {
139
- * StringValue: "STRING_VALUE",
140
- * StringListValue: [
141
- * "STRING_VALUE",
142
- * ],
143
- * LongValue: Number("long"),
144
- * DateValue: new Date("TIMESTAMP"),
145
- * },
146
- * },
147
- * },
148
- * EqualsTo: {
149
- * Key: "STRING_VALUE", // required
150
- * Value: {
151
- * StringValue: "STRING_VALUE",
152
- * StringListValue: [
153
- * "STRING_VALUE",
154
- * ],
155
- * LongValue: Number("long"),
156
- * DateValue: new Date("TIMESTAMP"),
157
- * },
158
- * },
159
- * ContainsAll: {
160
- * Key: "STRING_VALUE", // required
161
- * Value: {
162
- * StringValue: "STRING_VALUE",
163
- * StringListValue: [
164
- * "STRING_VALUE",
165
- * ],
166
- * LongValue: Number("long"),
167
- * DateValue: new Date("TIMESTAMP"),
168
- * },
169
- * },
170
- * ContainsAny: {
171
- * Key: "STRING_VALUE", // required
172
- * Value: {
173
- * StringValue: "STRING_VALUE",
174
- * StringListValue: [
175
- * "STRING_VALUE",
176
- * ],
177
- * LongValue: Number("long"),
178
- * DateValue: new Date("TIMESTAMP"),
179
- * },
180
- * },
181
- * GreaterThan: {
182
- * Key: "STRING_VALUE", // required
183
- * Value: {
184
- * StringValue: "STRING_VALUE",
185
- * StringListValue: [
186
- * "STRING_VALUE",
187
- * ],
188
- * LongValue: Number("long"),
189
- * DateValue: new Date("TIMESTAMP"),
190
- * },
191
- * },
192
- * GreaterThanOrEquals: {
193
- * Key: "STRING_VALUE", // required
194
- * Value: {
195
- * StringValue: "STRING_VALUE",
196
- * StringListValue: [
197
- * "STRING_VALUE",
198
- * ],
199
- * LongValue: Number("long"),
200
- * DateValue: new Date("TIMESTAMP"),
201
- * },
202
- * },
203
- * LessThan: {
204
- * Key: "STRING_VALUE", // required
205
- * Value: {
206
- * StringValue: "STRING_VALUE",
207
- * StringListValue: [
208
- * "STRING_VALUE",
209
- * ],
210
- * LongValue: Number("long"),
211
- * DateValue: new Date("TIMESTAMP"),
212
- * },
213
- * },
214
- * LessThanOrEquals: {
215
- * Key: "STRING_VALUE", // required
216
- * Value: {
217
- * StringValue: "STRING_VALUE",
218
- * StringListValue: [
219
- * "STRING_VALUE",
220
- * ],
221
- * LongValue: Number("long"),
222
- * DateValue: new Date("TIMESTAMP"),
223
- * },
224
- * },
225
- * },
226
- * EqualsTo: "<AttributeFilter>",
227
- * ContainsAll: "<AttributeFilter>",
228
- * ContainsAny: "<AttributeFilter>",
229
- * GreaterThan: "<AttributeFilter>",
230
- * GreaterThanOrEquals: "<AttributeFilter>",
231
- * LessThan: "<AttributeFilter>",
232
- * LessThanOrEquals: "<AttributeFilter>",
233
- * },
56
+ * "<AttributeFilter>",
57
+ * ],
58
+ * OrAllFilters: [
59
+ * "<AttributeFilter>",
234
60
  * ],
235
- * OrAllFilters: "<AttributeFilter>",
236
61
  * NotFilter: "<AttributeFilter>",
237
- * EqualsTo: "<AttributeFilter>",
238
- * ContainsAll: "<AttributeFilter>",
239
- * ContainsAny: "<AttributeFilter>",
240
- * GreaterThan: "<AttributeFilter>",
241
- * GreaterThanOrEquals: "<AttributeFilter>",
242
- * LessThan: "<AttributeFilter>",
243
- * LessThanOrEquals: "<AttributeFilter>",
62
+ * EqualsTo: { // DocumentAttribute
63
+ * Key: "STRING_VALUE", // required
64
+ * Value: { // DocumentAttributeValue
65
+ * StringValue: "STRING_VALUE",
66
+ * StringListValue: [ // DocumentAttributeStringListValue
67
+ * "STRING_VALUE",
68
+ * ],
69
+ * LongValue: Number("long"),
70
+ * DateValue: new Date("TIMESTAMP"),
71
+ * },
72
+ * },
73
+ * ContainsAll: {
74
+ * Key: "STRING_VALUE", // required
75
+ * Value: {
76
+ * StringValue: "STRING_VALUE",
77
+ * StringListValue: [
78
+ * "STRING_VALUE",
79
+ * ],
80
+ * LongValue: Number("long"),
81
+ * DateValue: new Date("TIMESTAMP"),
82
+ * },
83
+ * },
84
+ * ContainsAny: {
85
+ * Key: "STRING_VALUE", // required
86
+ * Value: {
87
+ * StringValue: "STRING_VALUE",
88
+ * StringListValue: [
89
+ * "STRING_VALUE",
90
+ * ],
91
+ * LongValue: Number("long"),
92
+ * DateValue: new Date("TIMESTAMP"),
93
+ * },
94
+ * },
95
+ * GreaterThan: {
96
+ * Key: "STRING_VALUE", // required
97
+ * Value: {
98
+ * StringValue: "STRING_VALUE",
99
+ * StringListValue: [
100
+ * "STRING_VALUE",
101
+ * ],
102
+ * LongValue: Number("long"),
103
+ * DateValue: new Date("TIMESTAMP"),
104
+ * },
105
+ * },
106
+ * GreaterThanOrEquals: {
107
+ * Key: "STRING_VALUE", // required
108
+ * Value: {
109
+ * StringValue: "STRING_VALUE",
110
+ * StringListValue: [
111
+ * "STRING_VALUE",
112
+ * ],
113
+ * LongValue: Number("long"),
114
+ * DateValue: new Date("TIMESTAMP"),
115
+ * },
116
+ * },
117
+ * LessThan: "<DocumentAttribute>",
118
+ * LessThanOrEquals: "<DocumentAttribute>",
244
119
  * },
245
120
  * ],
246
- * OrAllFilters: "<AttributeFilter>",
121
+ * OrAllFilters: [
122
+ * "<AttributeFilter>",
123
+ * ],
247
124
  * NotFilter: "<AttributeFilter>",
248
- * EqualsTo: "<AttributeFilter>",
249
- * ContainsAll: "<AttributeFilter>",
250
- * ContainsAny: "<AttributeFilter>",
251
- * GreaterThan: "<AttributeFilter>",
252
- * GreaterThanOrEquals: "<AttributeFilter>",
253
- * LessThan: "<AttributeFilter>",
254
- * LessThanOrEquals: "<AttributeFilter>",
125
+ * EqualsTo: "<DocumentAttribute>",
126
+ * ContainsAll: "<DocumentAttribute>",
127
+ * ContainsAny: "<DocumentAttribute>",
128
+ * GreaterThan: "<DocumentAttribute>",
129
+ * GreaterThanOrEquals: "<DocumentAttribute>",
130
+ * LessThan: "<DocumentAttribute>",
131
+ * LessThanOrEquals: "<DocumentAttribute>",
255
132
  * },
256
- * Facets: [
257
- * {
133
+ * Facets: [ // FacetList
134
+ * { // Facet
258
135
  * DocumentAttributeKey: "STRING_VALUE",
259
136
  * Facets: [
260
137
  * {
261
138
  * DocumentAttributeKey: "STRING_VALUE",
262
- * Facets: [
263
- * "<FacetList>",
264
- * ],
139
+ * Facets: "<FacetList>",
265
140
  * MaxResults: Number("int"),
266
141
  * },
267
142
  * ],
268
143
  * MaxResults: Number("int"),
269
144
  * },
270
145
  * ],
271
- * RequestedDocumentAttributes: [
146
+ * RequestedDocumentAttributes: [ // DocumentAttributeKeyList
272
147
  * "STRING_VALUE",
273
148
  * ],
274
149
  * QueryResultTypeFilter: "DOCUMENT" || "QUESTION_ANSWER" || "ANSWER",
275
- * DocumentRelevanceOverrideConfigurations: [
276
- * {
150
+ * DocumentRelevanceOverrideConfigurations: [ // DocumentRelevanceOverrideConfigurationList
151
+ * { // DocumentRelevanceConfiguration
277
152
  * Name: "STRING_VALUE", // required
278
- * Relevance: {
153
+ * Relevance: { // Relevance
279
154
  * Freshness: true || false,
280
155
  * Importance: Number("int"),
281
156
  * Duration: "STRING_VALUE",
282
157
  * RankOrder: "ASCENDING" || "DESCENDING",
283
- * ValueImportanceMap: {
158
+ * ValueImportanceMap: { // ValueImportanceMap
284
159
  * "<keys>": Number("int"),
285
160
  * },
286
161
  * },
@@ -288,25 +163,25 @@ export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
288
163
  * ],
289
164
  * PageNumber: Number("int"),
290
165
  * PageSize: Number("int"),
291
- * SortingConfiguration: {
166
+ * SortingConfiguration: { // SortingConfiguration
292
167
  * DocumentAttributeKey: "STRING_VALUE", // required
293
168
  * SortOrder: "DESC" || "ASC", // required
294
169
  * },
295
- * UserContext: {
170
+ * UserContext: { // UserContext
296
171
  * Token: "STRING_VALUE",
297
172
  * UserId: "STRING_VALUE",
298
- * Groups: [
173
+ * Groups: [ // Groups
299
174
  * "STRING_VALUE",
300
175
  * ],
301
- * DataSourceGroups: [
302
- * {
176
+ * DataSourceGroups: [ // DataSourceGroups
177
+ * { // DataSourceGroup
303
178
  * GroupId: "STRING_VALUE", // required
304
179
  * DataSourceId: "STRING_VALUE", // required
305
180
  * },
306
181
  * ],
307
182
  * },
308
183
  * VisitorId: "STRING_VALUE",
309
- * SpellCorrectionConfiguration: {
184
+ * SpellCorrectionConfiguration: { // SpellCorrectionConfiguration
310
185
  * IncludeQuerySpellCheckSuggestions: true || false, // required
311
186
  * },
312
187
  * };
@@ -330,7 +205,7 @@ export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
330
205
  *
331
206
  * @throws {@link InternalServerException} (server fault)
332
207
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
333
- * 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>
208
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
334
209
  *
335
210
  * @throws {@link ResourceNotFoundException} (client fault)
336
211
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
@@ -338,7 +213,8 @@ export interface QueryCommandOutput extends QueryResult, __MetadataBearer {
338
213
  *
339
214
  * @throws {@link ServiceQuotaExceededException} (client fault)
340
215
  * <p>You have exceeded the set limits for your Amazon Kendra service. Please see
341
- * 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
216
+ * <a href="https://docs.aws.amazon.com/kendra/latest/dg/quotas.html">Quotas</a> for
217
+ * more information, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> to inquire about
342
218
  * an increase of limits.</p>
343
219
  *
344
220
  * @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 { StartDataSourceSyncJobRequest, StartDataSourceSyncJobResponse } from "../models/models_0";
5
+ import { StartDataSourceSyncJobRequest, StartDataSourceSyncJobResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -28,7 +28,7 @@ export interface StartDataSourceSyncJobCommandOutput extends StartDataSourceSync
28
28
  * import { KendraClient, StartDataSourceSyncJobCommand } from "@aws-sdk/client-kendra"; // ES Modules import
29
29
  * // const { KendraClient, StartDataSourceSyncJobCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
30
30
  * const client = new KendraClient(config);
31
- * const input = {
31
+ * const input = { // StartDataSourceSyncJobRequest
32
32
  * Id: "STRING_VALUE", // required
33
33
  * IndexId: "STRING_VALUE", // required
34
34
  * };
@@ -52,7 +52,7 @@ export interface StartDataSourceSyncJobCommandOutput extends StartDataSourceSync
52
52
  *
53
53
  * @throws {@link InternalServerException} (server fault)
54
54
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
55
- * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/aws.amazon.com/contact-us"> Support</a> for help.</p>
55
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
56
56
  *
57
57
  * @throws {@link ResourceInUseException} (client fault)
58
58
  * <p>The resource you want to use is currently in use. Please check you have provided the
@@ -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 { StopDataSourceSyncJobRequest } from "../models/models_0";
5
+ import { StopDataSourceSyncJobRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -27,7 +27,7 @@ export interface StopDataSourceSyncJobCommandOutput extends __MetadataBearer {
27
27
  * import { KendraClient, StopDataSourceSyncJobCommand } from "@aws-sdk/client-kendra"; // ES Modules import
28
28
  * // const { KendraClient, StopDataSourceSyncJobCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
29
29
  * const client = new KendraClient(config);
30
- * const input = {
30
+ * const input = { // StopDataSourceSyncJobRequest
31
31
  * Id: "STRING_VALUE", // required
32
32
  * IndexId: "STRING_VALUE", // required
33
33
  * };
@@ -47,7 +47,7 @@ export interface StopDataSourceSyncJobCommandOutput extends __MetadataBearer {
47
47
  *
48
48
  * @throws {@link InternalServerException} (server fault)
49
49
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
50
- * 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>
50
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
51
51
  *
52
52
  * @throws {@link ResourceNotFoundException} (client fault)
53
53
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct
@@ -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 { SubmitFeedbackRequest } from "../models/models_0";
5
+ import { SubmitFeedbackRequest } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -30,17 +30,17 @@ export interface SubmitFeedbackCommandOutput extends __MetadataBearer {
30
30
  * import { KendraClient, SubmitFeedbackCommand } from "@aws-sdk/client-kendra"; // ES Modules import
31
31
  * // const { KendraClient, SubmitFeedbackCommand } = require("@aws-sdk/client-kendra"); // CommonJS import
32
32
  * const client = new KendraClient(config);
33
- * const input = {
33
+ * const input = { // SubmitFeedbackRequest
34
34
  * IndexId: "STRING_VALUE", // required
35
35
  * QueryId: "STRING_VALUE", // required
36
- * ClickFeedbackItems: [
37
- * {
36
+ * ClickFeedbackItems: [ // ClickFeedbackList
37
+ * { // ClickFeedback
38
38
  * ResultId: "STRING_VALUE", // required
39
39
  * ClickTime: new Date("TIMESTAMP"), // required
40
40
  * },
41
41
  * ],
42
- * RelevanceFeedbackItems: [
43
- * {
42
+ * RelevanceFeedbackItems: [ // RelevanceFeedbackList
43
+ * { // RelevanceFeedback
44
44
  * ResultId: "STRING_VALUE", // required
45
45
  * RelevanceValue: "RELEVANT" || "NOT_RELEVANT", // required
46
46
  * },
@@ -62,7 +62,7 @@ export interface SubmitFeedbackCommandOutput extends __MetadataBearer {
62
62
  *
63
63
  * @throws {@link InternalServerException} (server fault)
64
64
  * <p>An issue occurred with the internal server used for your Amazon Kendra service.
65
- * 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>
65
+ * Please wait a few minutes and try again, or contact <a href="http://aws.amazon.com/contact-us/">Support</a> for help.</p>
66
66
  *
67
67
  * @throws {@link ResourceNotFoundException} (client fault)
68
68
  * <p>The resource you want to use doesn’t exist. Please check you have provided the correct