@aws-sdk/client-kendra 3.50.0 → 3.53.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 (100) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/KendraServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +172 -6
  5. package/dist-cjs/protocols/Aws_json1_1.js +741 -2572
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/KendraServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +154 -1
  9. package/dist-es/protocols/Aws_json1_1.js +1492 -2772
  10. package/dist-types/Kendra.d.ts +17 -17
  11. package/dist-types/commands/BatchDeleteDocumentCommand.d.ts +1 -1
  12. package/dist-types/commands/BatchGetDocumentStatusCommand.d.ts +5 -5
  13. package/dist-types/commands/BatchPutDocumentCommand.d.ts +2 -2
  14. package/dist-types/commands/CreateIndexCommand.d.ts +2 -2
  15. package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteIndexCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeDataSourceCommand.d.ts +1 -1
  18. package/dist-types/commands/QueryCommand.d.ts +2 -2
  19. package/dist-types/commands/StopDataSourceSyncJobCommand.d.ts +2 -2
  20. package/dist-types/index.d.ts +1 -0
  21. package/dist-types/models/KendraServiceException.d.ts +10 -0
  22. package/dist-types/models/models_0.d.ts +237 -105
  23. package/dist-types/ts3.4/Kendra.d.ts +280 -0
  24. package/dist-types/ts3.4/KendraClient.d.ts +128 -0
  25. package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/BatchGetDocumentStatusCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ClearQuerySuggestionsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/CreateFaqCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/CreateQuerySuggestionsBlockListCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/CreateThesaurusCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DeleteFaqCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeletePrincipalMappingCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DeleteThesaurusCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DescribeFaqCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DescribeIndexCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/DescribePrincipalMappingCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/DescribeQuerySuggestionsConfigCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/DescribeThesaurusCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/ListFaqsCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListQuerySuggestionsBlockListsCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListThesauriCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/PutPrincipalMappingCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/QueryCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/index.d.ts +55 -0
  81. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  82. package/dist-types/ts3.4/index.d.ts +6 -0
  83. package/dist-types/ts3.4/models/KendraServiceException.d.ts +6 -0
  84. package/dist-types/ts3.4/models/index.d.ts +1 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +3355 -0
  86. package/dist-types/ts3.4/pagination/GetSnapshotsPaginator.d.ts +4 -0
  87. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  88. package/dist-types/ts3.4/pagination/ListDataSourceSyncJobsPaginator.d.ts +4 -0
  89. package/dist-types/ts3.4/pagination/ListDataSourcesPaginator.d.ts +4 -0
  90. package/dist-types/ts3.4/pagination/ListEntityPersonasPaginator.d.ts +4 -0
  91. package/dist-types/ts3.4/pagination/ListExperienceEntitiesPaginator.d.ts +4 -0
  92. package/dist-types/ts3.4/pagination/ListExperiencesPaginator.d.ts +4 -0
  93. package/dist-types/ts3.4/pagination/ListIndicesPaginator.d.ts +4 -0
  94. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  95. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +167 -0
  96. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  97. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  98. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  99. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  100. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./KendraClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { KendraServiceException } from "./models/KendraServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var KendraServiceException = (function (_super) {
4
+ __extends(KendraServiceException, _super);
5
+ function KendraServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, KendraServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return KendraServiceException;
11
+ }(__ServiceException));
12
+ export { KendraServiceException };
@@ -1,9 +1,23 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { KendraServiceException as __BaseException } from "./KendraServiceException";
3
4
  export var AccessControlListConfiguration;
4
5
  (function (AccessControlListConfiguration) {
5
6
  AccessControlListConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
7
  })(AccessControlListConfiguration || (AccessControlListConfiguration = {}));
8
+ var AccessDeniedException = (function (_super) {
9
+ __extends(AccessDeniedException, _super);
10
+ function AccessDeniedException(opts) {
11
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
12
+ _this.name = "AccessDeniedException";
13
+ _this.$fault = "client";
14
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
15
+ _this.Message = opts.Message;
16
+ return _this;
17
+ }
18
+ return AccessDeniedException;
19
+ }(__BaseException));
20
+ export { AccessDeniedException };
7
21
  export var AclConfiguration;
8
22
  (function (AclConfiguration) {
9
23
  AclConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -54,6 +68,71 @@ export var AssociateEntitiesToExperienceResponse;
54
68
  (function (AssociateEntitiesToExperienceResponse) {
55
69
  AssociateEntitiesToExperienceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
56
70
  })(AssociateEntitiesToExperienceResponse || (AssociateEntitiesToExperienceResponse = {}));
71
+ var InternalServerException = (function (_super) {
72
+ __extends(InternalServerException, _super);
73
+ function InternalServerException(opts) {
74
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
75
+ _this.name = "InternalServerException";
76
+ _this.$fault = "server";
77
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
78
+ _this.Message = opts.Message;
79
+ return _this;
80
+ }
81
+ return InternalServerException;
82
+ }(__BaseException));
83
+ export { InternalServerException };
84
+ var ResourceAlreadyExistException = (function (_super) {
85
+ __extends(ResourceAlreadyExistException, _super);
86
+ function ResourceAlreadyExistException(opts) {
87
+ var _this = _super.call(this, __assign({ name: "ResourceAlreadyExistException", $fault: "client" }, opts)) || this;
88
+ _this.name = "ResourceAlreadyExistException";
89
+ _this.$fault = "client";
90
+ Object.setPrototypeOf(_this, ResourceAlreadyExistException.prototype);
91
+ _this.Message = opts.Message;
92
+ return _this;
93
+ }
94
+ return ResourceAlreadyExistException;
95
+ }(__BaseException));
96
+ export { ResourceAlreadyExistException };
97
+ var ResourceNotFoundException = (function (_super) {
98
+ __extends(ResourceNotFoundException, _super);
99
+ function ResourceNotFoundException(opts) {
100
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
101
+ _this.name = "ResourceNotFoundException";
102
+ _this.$fault = "client";
103
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
104
+ _this.Message = opts.Message;
105
+ return _this;
106
+ }
107
+ return ResourceNotFoundException;
108
+ }(__BaseException));
109
+ export { ResourceNotFoundException };
110
+ var ThrottlingException = (function (_super) {
111
+ __extends(ThrottlingException, _super);
112
+ function ThrottlingException(opts) {
113
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
114
+ _this.name = "ThrottlingException";
115
+ _this.$fault = "client";
116
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
117
+ _this.Message = opts.Message;
118
+ return _this;
119
+ }
120
+ return ThrottlingException;
121
+ }(__BaseException));
122
+ export { ThrottlingException };
123
+ var ValidationException = (function (_super) {
124
+ __extends(ValidationException, _super);
125
+ function ValidationException(opts) {
126
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
127
+ _this.name = "ValidationException";
128
+ _this.$fault = "client";
129
+ Object.setPrototypeOf(_this, ValidationException.prototype);
130
+ _this.Message = opts.Message;
131
+ return _this;
132
+ }
133
+ return ValidationException;
134
+ }(__BaseException));
135
+ export { ValidationException };
57
136
  export var Persona;
58
137
  (function (Persona) {
59
138
  Persona["OWNER"] = "OWNER";
@@ -108,6 +187,19 @@ export var BatchDeleteDocumentResponse;
108
187
  (function (BatchDeleteDocumentResponse) {
109
188
  BatchDeleteDocumentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
110
189
  })(BatchDeleteDocumentResponse || (BatchDeleteDocumentResponse = {}));
190
+ var ConflictException = (function (_super) {
191
+ __extends(ConflictException, _super);
192
+ function ConflictException(opts) {
193
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
194
+ _this.name = "ConflictException";
195
+ _this.$fault = "client";
196
+ Object.setPrototypeOf(_this, ConflictException.prototype);
197
+ _this.Message = opts.Message;
198
+ return _this;
199
+ }
200
+ return ConflictException;
201
+ }(__BaseException));
202
+ export { ConflictException };
111
203
  export var DocumentInfo;
112
204
  (function (DocumentInfo) {
113
205
  DocumentInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -217,6 +309,19 @@ export var BatchPutDocumentResponse;
217
309
  (function (BatchPutDocumentResponse) {
218
310
  BatchPutDocumentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
219
311
  })(BatchPutDocumentResponse || (BatchPutDocumentResponse = {}));
312
+ var ServiceQuotaExceededException = (function (_super) {
313
+ __extends(ServiceQuotaExceededException, _super);
314
+ function ServiceQuotaExceededException(opts) {
315
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
316
+ _this.name = "ServiceQuotaExceededException";
317
+ _this.$fault = "client";
318
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
319
+ _this.Message = opts.Message;
320
+ return _this;
321
+ }
322
+ return ServiceQuotaExceededException;
323
+ }(__BaseException));
324
+ export { ServiceQuotaExceededException };
220
325
  export var ClearQuerySuggestionsRequest;
221
326
  (function (ClearQuerySuggestionsRequest) {
222
327
  ClearQuerySuggestionsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -346,6 +451,14 @@ export var DatabaseConfiguration;
346
451
  (function (DatabaseConfiguration) {
347
452
  DatabaseConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
348
453
  })(DatabaseConfiguration || (DatabaseConfiguration = {}));
454
+ export var FsxFileSystemType;
455
+ (function (FsxFileSystemType) {
456
+ FsxFileSystemType["WINDOWS"] = "WINDOWS";
457
+ })(FsxFileSystemType || (FsxFileSystemType = {}));
458
+ export var FsxConfiguration;
459
+ (function (FsxConfiguration) {
460
+ FsxConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
461
+ })(FsxConfiguration || (FsxConfiguration = {}));
349
462
  export var GoogleDriveConfiguration;
350
463
  (function (GoogleDriveConfiguration) {
351
464
  GoogleDriveConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -500,6 +613,7 @@ export var DataSourceType;
500
613
  DataSourceType["CONFLUENCE"] = "CONFLUENCE";
501
614
  DataSourceType["CUSTOM"] = "CUSTOM";
502
615
  DataSourceType["DATABASE"] = "DATABASE";
616
+ DataSourceType["FSX"] = "FSX";
503
617
  DataSourceType["GOOGLEDRIVE"] = "GOOGLEDRIVE";
504
618
  DataSourceType["ONEDRIVE"] = "ONEDRIVE";
505
619
  DataSourceType["S3"] = "S3";
@@ -905,6 +1019,19 @@ export var GetSnapshotsResponse;
905
1019
  (function (GetSnapshotsResponse) {
906
1020
  GetSnapshotsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
907
1021
  })(GetSnapshotsResponse || (GetSnapshotsResponse = {}));
1022
+ var InvalidRequestException = (function (_super) {
1023
+ __extends(InvalidRequestException, _super);
1024
+ function InvalidRequestException(opts) {
1025
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
1026
+ _this.name = "InvalidRequestException";
1027
+ _this.$fault = "client";
1028
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
1029
+ _this.Message = opts.Message;
1030
+ return _this;
1031
+ }
1032
+ return InvalidRequestException;
1033
+ }(__BaseException));
1034
+ export { InvalidRequestException };
908
1035
  export var ListDataSourcesRequest;
909
1036
  (function (ListDataSourcesRequest) {
910
1037
  ListDataSourcesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1041,6 +1168,19 @@ export var ListTagsForResourceResponse;
1041
1168
  (function (ListTagsForResourceResponse) {
1042
1169
  ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1043
1170
  })(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
1171
+ var ResourceUnavailableException = (function (_super) {
1172
+ __extends(ResourceUnavailableException, _super);
1173
+ function ResourceUnavailableException(opts) {
1174
+ var _this = _super.call(this, __assign({ name: "ResourceUnavailableException", $fault: "client" }, opts)) || this;
1175
+ _this.name = "ResourceUnavailableException";
1176
+ _this.$fault = "client";
1177
+ Object.setPrototypeOf(_this, ResourceUnavailableException.prototype);
1178
+ _this.Message = opts.Message;
1179
+ return _this;
1180
+ }
1181
+ return ResourceUnavailableException;
1182
+ }(__BaseException));
1183
+ export { ResourceUnavailableException };
1044
1184
  export var ListThesauriRequest;
1045
1185
  (function (ListThesauriRequest) {
1046
1186
  ListThesauriRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1136,6 +1276,19 @@ export var QueryResult;
1136
1276
  (function (QueryResult) {
1137
1277
  QueryResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1138
1278
  })(QueryResult || (QueryResult = {}));
1279
+ var ResourceInUseException = (function (_super) {
1280
+ __extends(ResourceInUseException, _super);
1281
+ function ResourceInUseException(opts) {
1282
+ var _this = _super.call(this, __assign({ name: "ResourceInUseException", $fault: "client" }, opts)) || this;
1283
+ _this.name = "ResourceInUseException";
1284
+ _this.$fault = "client";
1285
+ Object.setPrototypeOf(_this, ResourceInUseException.prototype);
1286
+ _this.Message = opts.Message;
1287
+ return _this;
1288
+ }
1289
+ return ResourceInUseException;
1290
+ }(__BaseException));
1291
+ export { ResourceInUseException };
1139
1292
  export var StartDataSourceSyncJobRequest;
1140
1293
  (function (StartDataSourceSyncJobRequest) {
1141
1294
  StartDataSourceSyncJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };