@aws-sdk/client-cloudsearch-domain 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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CloudSearchDomainServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +29 -1
- package/dist-cjs/protocols/Aws_restJson1.js +39 -68
- package/dist-es/index.js +1 -0
- package/dist-es/models/CloudSearchDomainServiceException.js +12 -0
- package/dist-es/models/models_0.js +27 -1
- package/dist-es/protocols/Aws_restJson1.js +63 -83
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CloudSearchDomainServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +12 -11
- package/dist-types/ts3.4/CloudSearchDomain.d.ts +20 -0
- package/dist-types/ts3.4/CloudSearchDomainClient.d.ts +76 -0
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SuggestCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UploadDocumentsCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/CloudSearchDomainServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +262 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudsearch-domain
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-cloudsearch-domain
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-cloudsearch-domain
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudSearchDomainServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./CloudSearchDomain"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./CloudSearchDomainClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var CloudSearchDomainServiceException_1 = require("./models/CloudSearchDomainServiceException");
|
|
10
|
+
Object.defineProperty(exports, "CloudSearchDomainServiceException", { enumerable: true, get: function () { return CloudSearchDomainServiceException_1.CloudSearchDomainServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudSearchDomainServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class CloudSearchDomainServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, CloudSearchDomainServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.CloudSearchDomainServiceException = CloudSearchDomainServiceException;
|
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UploadDocumentsResponse = exports.DocumentServiceWarning = exports.UploadDocumentsRequest = exports.SuggestResponse = exports.SuggestModel = exports.SuggestionMatch = exports.SuggestStatus = exports.SuggestRequest = exports.SearchResponse = exports.SearchStatus = exports.FieldStats = exports.Hits = exports.Hit = exports.BucketInfo = exports.Bucket = exports.SearchRequest = void 0;
|
|
3
|
+
exports.UploadDocumentsResponse = exports.DocumentServiceWarning = exports.UploadDocumentsRequest = exports.DocumentServiceException = exports.SuggestResponse = exports.SuggestModel = exports.SuggestionMatch = exports.SuggestStatus = exports.SuggestRequest = exports.SearchResponse = exports.SearchStatus = exports.FieldStats = exports.Hits = exports.Hit = exports.BucketInfo = exports.Bucket = exports.SearchRequest = exports.SearchException = void 0;
|
|
4
|
+
const CloudSearchDomainServiceException_1 = require("./CloudSearchDomainServiceException");
|
|
5
|
+
class SearchException extends CloudSearchDomainServiceException_1.CloudSearchDomainServiceException {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({
|
|
8
|
+
name: "SearchException",
|
|
9
|
+
$fault: "client",
|
|
10
|
+
...opts,
|
|
11
|
+
});
|
|
12
|
+
this.name = "SearchException";
|
|
13
|
+
this.$fault = "client";
|
|
14
|
+
Object.setPrototypeOf(this, SearchException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SearchException = SearchException;
|
|
4
18
|
var SearchRequest;
|
|
5
19
|
(function (SearchRequest) {
|
|
6
20
|
SearchRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -79,6 +93,20 @@ var SuggestResponse;
|
|
|
79
93
|
...obj,
|
|
80
94
|
});
|
|
81
95
|
})(SuggestResponse = exports.SuggestResponse || (exports.SuggestResponse = {}));
|
|
96
|
+
class DocumentServiceException extends CloudSearchDomainServiceException_1.CloudSearchDomainServiceException {
|
|
97
|
+
constructor(opts) {
|
|
98
|
+
super({
|
|
99
|
+
name: "DocumentServiceException",
|
|
100
|
+
$fault: "client",
|
|
101
|
+
...opts,
|
|
102
|
+
});
|
|
103
|
+
this.name = "DocumentServiceException";
|
|
104
|
+
this.$fault = "client";
|
|
105
|
+
Object.setPrototypeOf(this, DocumentServiceException.prototype);
|
|
106
|
+
this.status = opts.status;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.DocumentServiceException = DocumentServiceException;
|
|
82
110
|
var UploadDocumentsRequest;
|
|
83
111
|
(function (UploadDocumentsRequest) {
|
|
84
112
|
UploadDocumentsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.deserializeAws_restJson1UploadDocumentsCommand = exports.deserializeAws_restJson1SuggestCommand = exports.deserializeAws_restJson1SearchCommand = exports.serializeAws_restJson1UploadDocumentsCommand = exports.serializeAws_restJson1SuggestCommand = exports.serializeAws_restJson1SearchCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const CloudSearchDomainServiceException_1 = require("../models/CloudSearchDomainServiceException");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
6
8
|
const serializeAws_restJson1SearchCommand = async (input, context) => {
|
|
7
9
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
8
10
|
const headers = {};
|
|
@@ -126,27 +128,16 @@ const deserializeAws_restJson1SearchCommandError = async (output, context) => {
|
|
|
126
128
|
switch (errorCode) {
|
|
127
129
|
case "SearchException":
|
|
128
130
|
case "com.amazonaws.cloudsearchdomain#SearchException":
|
|
129
|
-
|
|
130
|
-
...(await deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context)),
|
|
131
|
-
name: errorCode,
|
|
132
|
-
$metadata: deserializeMetadata(output),
|
|
133
|
-
};
|
|
134
|
-
break;
|
|
131
|
+
throw await deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context);
|
|
135
132
|
default:
|
|
136
133
|
const parsedBody = parsedOutput.body;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
...parsedBody,
|
|
140
|
-
name: `${errorCode}`,
|
|
141
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
134
|
+
response = new CloudSearchDomainServiceException_1.CloudSearchDomainServiceException({
|
|
135
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
142
136
|
$fault: "client",
|
|
143
137
|
$metadata: deserializeMetadata(output),
|
|
144
|
-
};
|
|
138
|
+
});
|
|
139
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
145
140
|
}
|
|
146
|
-
const message = response.message || response.Message || errorCode;
|
|
147
|
-
response.message = message;
|
|
148
|
-
delete response.Message;
|
|
149
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
150
141
|
};
|
|
151
142
|
const deserializeAws_restJson1SuggestCommand = async (output, context) => {
|
|
152
143
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -178,27 +169,16 @@ const deserializeAws_restJson1SuggestCommandError = async (output, context) => {
|
|
|
178
169
|
switch (errorCode) {
|
|
179
170
|
case "SearchException":
|
|
180
171
|
case "com.amazonaws.cloudsearchdomain#SearchException":
|
|
181
|
-
|
|
182
|
-
...(await deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context)),
|
|
183
|
-
name: errorCode,
|
|
184
|
-
$metadata: deserializeMetadata(output),
|
|
185
|
-
};
|
|
186
|
-
break;
|
|
172
|
+
throw await deserializeAws_restJson1SearchExceptionResponse(parsedOutput, context);
|
|
187
173
|
default:
|
|
188
174
|
const parsedBody = parsedOutput.body;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
...parsedBody,
|
|
192
|
-
name: `${errorCode}`,
|
|
193
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
175
|
+
response = new CloudSearchDomainServiceException_1.CloudSearchDomainServiceException({
|
|
176
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
194
177
|
$fault: "client",
|
|
195
178
|
$metadata: deserializeMetadata(output),
|
|
196
|
-
};
|
|
179
|
+
});
|
|
180
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
197
181
|
}
|
|
198
|
-
const message = response.message || response.Message || errorCode;
|
|
199
|
-
response.message = message;
|
|
200
|
-
delete response.Message;
|
|
201
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
202
182
|
};
|
|
203
183
|
const deserializeAws_restJson1UploadDocumentsCommand = async (output, context) => {
|
|
204
184
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
@@ -238,36 +218,19 @@ const deserializeAws_restJson1UploadDocumentsCommandError = async (output, conte
|
|
|
238
218
|
switch (errorCode) {
|
|
239
219
|
case "DocumentServiceException":
|
|
240
220
|
case "com.amazonaws.cloudsearchdomain#DocumentServiceException":
|
|
241
|
-
|
|
242
|
-
...(await deserializeAws_restJson1DocumentServiceExceptionResponse(parsedOutput, context)),
|
|
243
|
-
name: errorCode,
|
|
244
|
-
$metadata: deserializeMetadata(output),
|
|
245
|
-
};
|
|
246
|
-
break;
|
|
221
|
+
throw await deserializeAws_restJson1DocumentServiceExceptionResponse(parsedOutput, context);
|
|
247
222
|
default:
|
|
248
223
|
const parsedBody = parsedOutput.body;
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
...parsedBody,
|
|
252
|
-
name: `${errorCode}`,
|
|
253
|
-
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
224
|
+
response = new CloudSearchDomainServiceException_1.CloudSearchDomainServiceException({
|
|
225
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
254
226
|
$fault: "client",
|
|
255
227
|
$metadata: deserializeMetadata(output),
|
|
256
|
-
};
|
|
228
|
+
});
|
|
229
|
+
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
257
230
|
}
|
|
258
|
-
const message = response.message || response.Message || errorCode;
|
|
259
|
-
response.message = message;
|
|
260
|
-
delete response.Message;
|
|
261
|
-
return Promise.reject(Object.assign(new Error(message), response));
|
|
262
231
|
};
|
|
263
232
|
const deserializeAws_restJson1DocumentServiceExceptionResponse = async (parsedOutput, context) => {
|
|
264
|
-
const contents = {
|
|
265
|
-
name: "DocumentServiceException",
|
|
266
|
-
$fault: "client",
|
|
267
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
268
|
-
message: undefined,
|
|
269
|
-
status: undefined,
|
|
270
|
-
};
|
|
233
|
+
const contents = {};
|
|
271
234
|
const data = parsedOutput.body;
|
|
272
235
|
if (data.message !== undefined && data.message !== null) {
|
|
273
236
|
contents.message = smithy_client_1.expectString(data.message);
|
|
@@ -275,20 +238,23 @@ const deserializeAws_restJson1DocumentServiceExceptionResponse = async (parsedOu
|
|
|
275
238
|
if (data.status !== undefined && data.status !== null) {
|
|
276
239
|
contents.status = smithy_client_1.expectString(data.status);
|
|
277
240
|
}
|
|
278
|
-
|
|
241
|
+
const exception = new models_0_1.DocumentServiceException({
|
|
242
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
243
|
+
...contents,
|
|
244
|
+
});
|
|
245
|
+
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
279
246
|
};
|
|
280
247
|
const deserializeAws_restJson1SearchExceptionResponse = async (parsedOutput, context) => {
|
|
281
|
-
const contents = {
|
|
282
|
-
name: "SearchException",
|
|
283
|
-
$fault: "client",
|
|
284
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
285
|
-
message: undefined,
|
|
286
|
-
};
|
|
248
|
+
const contents = {};
|
|
287
249
|
const data = parsedOutput.body;
|
|
288
250
|
if (data.message !== undefined && data.message !== null) {
|
|
289
251
|
contents.message = smithy_client_1.expectString(data.message);
|
|
290
252
|
}
|
|
291
|
-
|
|
253
|
+
const exception = new models_0_1.SearchException({
|
|
254
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
255
|
+
...contents,
|
|
256
|
+
});
|
|
257
|
+
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
292
258
|
};
|
|
293
259
|
const deserializeAws_restJson1Bucket = (output, context) => {
|
|
294
260
|
return {
|
|
@@ -304,7 +270,7 @@ const deserializeAws_restJson1BucketInfo = (output, context) => {
|
|
|
304
270
|
};
|
|
305
271
|
};
|
|
306
272
|
const deserializeAws_restJson1BucketList = (output, context) => {
|
|
307
|
-
|
|
273
|
+
const retVal = (output || [])
|
|
308
274
|
.filter((e) => e != null)
|
|
309
275
|
.map((entry) => {
|
|
310
276
|
if (entry === null) {
|
|
@@ -312,6 +278,7 @@ const deserializeAws_restJson1BucketList = (output, context) => {
|
|
|
312
278
|
}
|
|
313
279
|
return deserializeAws_restJson1Bucket(entry, context);
|
|
314
280
|
});
|
|
281
|
+
return retVal;
|
|
315
282
|
};
|
|
316
283
|
const deserializeAws_restJson1DocumentServiceWarning = (output, context) => {
|
|
317
284
|
return {
|
|
@@ -319,7 +286,7 @@ const deserializeAws_restJson1DocumentServiceWarning = (output, context) => {
|
|
|
319
286
|
};
|
|
320
287
|
};
|
|
321
288
|
const deserializeAws_restJson1DocumentServiceWarnings = (output, context) => {
|
|
322
|
-
|
|
289
|
+
const retVal = (output || [])
|
|
323
290
|
.filter((e) => e != null)
|
|
324
291
|
.map((entry) => {
|
|
325
292
|
if (entry === null) {
|
|
@@ -327,6 +294,7 @@ const deserializeAws_restJson1DocumentServiceWarnings = (output, context) => {
|
|
|
327
294
|
}
|
|
328
295
|
return deserializeAws_restJson1DocumentServiceWarning(entry, context);
|
|
329
296
|
});
|
|
297
|
+
return retVal;
|
|
330
298
|
};
|
|
331
299
|
const deserializeAws_restJson1Exprs = (output, context) => {
|
|
332
300
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -374,7 +342,7 @@ const deserializeAws_restJson1FieldStats = (output, context) => {
|
|
|
374
342
|
};
|
|
375
343
|
};
|
|
376
344
|
const deserializeAws_restJson1FieldValue = (output, context) => {
|
|
377
|
-
|
|
345
|
+
const retVal = (output || [])
|
|
378
346
|
.filter((e) => e != null)
|
|
379
347
|
.map((entry) => {
|
|
380
348
|
if (entry === null) {
|
|
@@ -382,6 +350,7 @@ const deserializeAws_restJson1FieldValue = (output, context) => {
|
|
|
382
350
|
}
|
|
383
351
|
return smithy_client_1.expectString(entry);
|
|
384
352
|
});
|
|
353
|
+
return retVal;
|
|
385
354
|
};
|
|
386
355
|
const deserializeAws_restJson1Highlights = (output, context) => {
|
|
387
356
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
@@ -409,7 +378,7 @@ const deserializeAws_restJson1Hit = (output, context) => {
|
|
|
409
378
|
};
|
|
410
379
|
};
|
|
411
380
|
const deserializeAws_restJson1HitList = (output, context) => {
|
|
412
|
-
|
|
381
|
+
const retVal = (output || [])
|
|
413
382
|
.filter((e) => e != null)
|
|
414
383
|
.map((entry) => {
|
|
415
384
|
if (entry === null) {
|
|
@@ -417,6 +386,7 @@ const deserializeAws_restJson1HitList = (output, context) => {
|
|
|
417
386
|
}
|
|
418
387
|
return deserializeAws_restJson1Hit(entry, context);
|
|
419
388
|
});
|
|
389
|
+
return retVal;
|
|
420
390
|
};
|
|
421
391
|
const deserializeAws_restJson1Hits = (output, context) => {
|
|
422
392
|
return {
|
|
@@ -453,7 +423,7 @@ const deserializeAws_restJson1SuggestionMatch = (output, context) => {
|
|
|
453
423
|
};
|
|
454
424
|
};
|
|
455
425
|
const deserializeAws_restJson1Suggestions = (output, context) => {
|
|
456
|
-
|
|
426
|
+
const retVal = (output || [])
|
|
457
427
|
.filter((e) => e != null)
|
|
458
428
|
.map((entry) => {
|
|
459
429
|
if (entry === null) {
|
|
@@ -461,6 +431,7 @@ const deserializeAws_restJson1Suggestions = (output, context) => {
|
|
|
461
431
|
}
|
|
462
432
|
return deserializeAws_restJson1SuggestionMatch(entry, context);
|
|
463
433
|
});
|
|
434
|
+
return retVal;
|
|
464
435
|
};
|
|
465
436
|
const deserializeAws_restJson1SuggestModel = (output, context) => {
|
|
466
437
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var CloudSearchDomainServiceException = (function (_super) {
|
|
4
|
+
__extends(CloudSearchDomainServiceException, _super);
|
|
5
|
+
function CloudSearchDomainServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, CloudSearchDomainServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return CloudSearchDomainServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { CloudSearchDomainServiceException };
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { CloudSearchDomainServiceException as __BaseException } from "./CloudSearchDomainServiceException";
|
|
3
|
+
var SearchException = (function (_super) {
|
|
4
|
+
__extends(SearchException, _super);
|
|
5
|
+
function SearchException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "SearchException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "SearchException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, SearchException.prototype);
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
return SearchException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { SearchException };
|
|
2
15
|
export var SearchRequest;
|
|
3
16
|
(function (SearchRequest) {
|
|
4
17
|
SearchRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -51,6 +64,19 @@ export var SuggestResponse;
|
|
|
51
64
|
(function (SuggestResponse) {
|
|
52
65
|
SuggestResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
53
66
|
})(SuggestResponse || (SuggestResponse = {}));
|
|
67
|
+
var DocumentServiceException = (function (_super) {
|
|
68
|
+
__extends(DocumentServiceException, _super);
|
|
69
|
+
function DocumentServiceException(opts) {
|
|
70
|
+
var _this = _super.call(this, __assign({ name: "DocumentServiceException", $fault: "client" }, opts)) || this;
|
|
71
|
+
_this.name = "DocumentServiceException";
|
|
72
|
+
_this.$fault = "client";
|
|
73
|
+
Object.setPrototypeOf(_this, DocumentServiceException.prototype);
|
|
74
|
+
_this.status = opts.status;
|
|
75
|
+
return _this;
|
|
76
|
+
}
|
|
77
|
+
return DocumentServiceException;
|
|
78
|
+
}(__BaseException));
|
|
79
|
+
export { DocumentServiceException };
|
|
54
80
|
export var UploadDocumentsRequest;
|
|
55
81
|
(function (UploadDocumentsRequest) {
|
|
56
82
|
UploadDocumentsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|