@aws-sdk/client-cloudsearch-domain 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/CloudSearchDomain.js +21 -14
- package/dist-es/CloudSearchDomainClient.js +28 -22
- package/dist-es/commands/SearchCommand.js +28 -21
- package/dist-es/commands/SuggestCommand.js +28 -21
- package/dist-es/commands/UploadDocumentsCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/CloudSearchDomainServiceException.js +10 -5
- package/dist-es/models/models_0.js +40 -71
- package/dist-es/protocols/Aws_restJson1.js +407 -306
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.185.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.184.0...v3.185.0) (2022-10-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **codegen:** add deser check for x-amz-request-id ([#4015](https://github.com/aws/aws-sdk-js-v3/issues/4015)) ([6ff07bd](https://github.com/aws/aws-sdk-js-v3/commit/6ff07bd7e72bd56725f318013ac1d6d0fbbcdd9a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.183.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.182.0...v3.183.0) (2022-10-03)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-cloudsearch-domain
|
|
@@ -421,10 +421,10 @@ const deserializeAws_restJson1SuggestStatus = (output, context) => {
|
|
|
421
421
|
};
|
|
422
422
|
};
|
|
423
423
|
const deserializeMetadata = (output) => {
|
|
424
|
-
var _a;
|
|
424
|
+
var _a, _b;
|
|
425
425
|
return ({
|
|
426
426
|
httpStatusCode: output.statusCode,
|
|
427
|
-
requestId: (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"],
|
|
427
|
+
requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
|
|
428
428
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
429
429
|
cfId: output.headers["x-amz-cf-id"],
|
|
430
430
|
});
|
|
@@ -1,48 +1,55 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { CloudSearchDomainClient } from "./CloudSearchDomainClient";
|
|
2
3
|
import { SearchCommand } from "./commands/SearchCommand";
|
|
3
4
|
import { SuggestCommand } from "./commands/SuggestCommand";
|
|
4
5
|
import { UploadDocumentsCommand, } from "./commands/UploadDocumentsCommand";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
var CloudSearchDomain = (function (_super) {
|
|
7
|
+
__extends(CloudSearchDomain, _super);
|
|
8
|
+
function CloudSearchDomain() {
|
|
9
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
10
|
+
}
|
|
11
|
+
CloudSearchDomain.prototype.search = function (args, optionsOrCb, cb) {
|
|
12
|
+
var command = new SearchCommand(args);
|
|
8
13
|
if (typeof optionsOrCb === "function") {
|
|
9
14
|
this.send(command, optionsOrCb);
|
|
10
15
|
}
|
|
11
16
|
else if (typeof cb === "function") {
|
|
12
17
|
if (typeof optionsOrCb !== "object")
|
|
13
|
-
throw new Error(
|
|
18
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
14
19
|
this.send(command, optionsOrCb || {}, cb);
|
|
15
20
|
}
|
|
16
21
|
else {
|
|
17
22
|
return this.send(command, optionsOrCb);
|
|
18
23
|
}
|
|
19
|
-
}
|
|
20
|
-
suggest(args, optionsOrCb, cb) {
|
|
21
|
-
|
|
24
|
+
};
|
|
25
|
+
CloudSearchDomain.prototype.suggest = function (args, optionsOrCb, cb) {
|
|
26
|
+
var command = new SuggestCommand(args);
|
|
22
27
|
if (typeof optionsOrCb === "function") {
|
|
23
28
|
this.send(command, optionsOrCb);
|
|
24
29
|
}
|
|
25
30
|
else if (typeof cb === "function") {
|
|
26
31
|
if (typeof optionsOrCb !== "object")
|
|
27
|
-
throw new Error(
|
|
32
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
28
33
|
this.send(command, optionsOrCb || {}, cb);
|
|
29
34
|
}
|
|
30
35
|
else {
|
|
31
36
|
return this.send(command, optionsOrCb);
|
|
32
37
|
}
|
|
33
|
-
}
|
|
34
|
-
uploadDocuments(args, optionsOrCb, cb) {
|
|
35
|
-
|
|
38
|
+
};
|
|
39
|
+
CloudSearchDomain.prototype.uploadDocuments = function (args, optionsOrCb, cb) {
|
|
40
|
+
var command = new UploadDocumentsCommand(args);
|
|
36
41
|
if (typeof optionsOrCb === "function") {
|
|
37
42
|
this.send(command, optionsOrCb);
|
|
38
43
|
}
|
|
39
44
|
else if (typeof cb === "function") {
|
|
40
45
|
if (typeof optionsOrCb !== "object")
|
|
41
|
-
throw new Error(
|
|
46
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
42
47
|
this.send(command, optionsOrCb || {}, cb);
|
|
43
48
|
}
|
|
44
49
|
else {
|
|
45
50
|
return this.send(command, optionsOrCb);
|
|
46
51
|
}
|
|
47
|
-
}
|
|
48
|
-
|
|
52
|
+
};
|
|
53
|
+
return CloudSearchDomain;
|
|
54
|
+
}(CloudSearchDomainClient));
|
|
55
|
+
export { CloudSearchDomain };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
|
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
10
11
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
12
|
+
var CloudSearchDomainClient = (function (_super) {
|
|
13
|
+
__extends(CloudSearchDomainClient, _super);
|
|
14
|
+
function CloudSearchDomainClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
29
33
|
}
|
|
30
|
-
destroy() {
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
+
CloudSearchDomainClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return CloudSearchDomainClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { CloudSearchDomainClient };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SearchRequestFilterSensitiveLog, SearchResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1SearchCommand, serializeAws_restJson1SearchCommand } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SearchCommand = (function (_super) {
|
|
7
|
+
__extends(SearchCommand, _super);
|
|
8
|
+
function SearchCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SearchCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudSearchDomainClient";
|
|
18
|
+
var commandName = "SearchCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SearchRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SearchResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SearchCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1SearchCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SearchCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1SearchCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SearchCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SearchCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { SuggestRequestFilterSensitiveLog, SuggestResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1SuggestCommand, serializeAws_restJson1SuggestCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var SuggestCommand = (function (_super) {
|
|
7
|
+
__extends(SuggestCommand, _super);
|
|
8
|
+
function SuggestCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
SuggestCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudSearchDomainClient";
|
|
18
|
+
var commandName = "SuggestCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: SuggestRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: SuggestResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
SuggestCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1SuggestCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
SuggestCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1SuggestCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return SuggestCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { SuggestCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UploadDocumentsRequestFilterSensitiveLog, UploadDocumentsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UploadDocumentsCommand, serializeAws_restJson1UploadDocumentsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UploadDocumentsCommand = (function (_super) {
|
|
7
|
+
__extends(UploadDocumentsCommand, _super);
|
|
8
|
+
function UploadDocumentsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UploadDocumentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "CloudSearchDomainClient";
|
|
18
|
+
var commandName = "UploadDocumentsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UploadDocumentsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UploadDocumentsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UploadDocumentsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1UploadDocumentsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UploadDocumentsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UploadDocumentsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UploadDocumentsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UploadDocumentsCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cloudsearch", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return CloudSearchDomainServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { CloudSearchDomainServiceException };
|
|
@@ -1,74 +1,43 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { CloudSearchDomainServiceException as __BaseException } from "./CloudSearchDomainServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
this.$fault = "client";
|
|
11
|
-
Object.setPrototypeOf(this, SearchException.prototype);
|
|
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;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
12
|
+
return SearchException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { SearchException };
|
|
15
|
+
var DocumentServiceException = (function (_super) {
|
|
16
|
+
__extends(DocumentServiceException, _super);
|
|
17
|
+
function DocumentServiceException(opts) {
|
|
18
|
+
var _this = _super.call(this, __assign({ name: "DocumentServiceException", $fault: "client" }, opts)) || this;
|
|
19
|
+
_this.name = "DocumentServiceException";
|
|
20
|
+
_this.$fault = "client";
|
|
21
|
+
Object.setPrototypeOf(_this, DocumentServiceException.prototype);
|
|
22
|
+
_this.status = opts.status;
|
|
23
|
+
return _this;
|
|
25
24
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
});
|
|
30
|
-
export
|
|
31
|
-
|
|
32
|
-
});
|
|
33
|
-
export
|
|
34
|
-
|
|
35
|
-
});
|
|
36
|
-
export
|
|
37
|
-
|
|
38
|
-
});
|
|
39
|
-
export
|
|
40
|
-
|
|
41
|
-
});
|
|
42
|
-
export
|
|
43
|
-
|
|
44
|
-
});
|
|
45
|
-
export const SearchStatusFilterSensitiveLog = (obj) => ({
|
|
46
|
-
...obj,
|
|
47
|
-
});
|
|
48
|
-
export const SearchResponseFilterSensitiveLog = (obj) => ({
|
|
49
|
-
...obj,
|
|
50
|
-
});
|
|
51
|
-
export const SuggestRequestFilterSensitiveLog = (obj) => ({
|
|
52
|
-
...obj,
|
|
53
|
-
});
|
|
54
|
-
export const SuggestStatusFilterSensitiveLog = (obj) => ({
|
|
55
|
-
...obj,
|
|
56
|
-
});
|
|
57
|
-
export const SuggestionMatchFilterSensitiveLog = (obj) => ({
|
|
58
|
-
...obj,
|
|
59
|
-
});
|
|
60
|
-
export const SuggestModelFilterSensitiveLog = (obj) => ({
|
|
61
|
-
...obj,
|
|
62
|
-
});
|
|
63
|
-
export const SuggestResponseFilterSensitiveLog = (obj) => ({
|
|
64
|
-
...obj,
|
|
65
|
-
});
|
|
66
|
-
export const UploadDocumentsRequestFilterSensitiveLog = (obj) => ({
|
|
67
|
-
...obj,
|
|
68
|
-
});
|
|
69
|
-
export const DocumentServiceWarningFilterSensitiveLog = (obj) => ({
|
|
70
|
-
...obj,
|
|
71
|
-
});
|
|
72
|
-
export const UploadDocumentsResponseFilterSensitiveLog = (obj) => ({
|
|
73
|
-
...obj,
|
|
74
|
-
});
|
|
25
|
+
return DocumentServiceException;
|
|
26
|
+
}(__BaseException));
|
|
27
|
+
export { DocumentServiceException };
|
|
28
|
+
export var SearchRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
29
|
+
export var BucketFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
30
|
+
export var BucketInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
|
+
export var HitFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
32
|
+
export var HitsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
|
+
export var FieldStatsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
34
|
+
export var SearchStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
35
|
+
export var SearchResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
36
|
+
export var SuggestRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
+
export var SuggestStatusFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
38
|
+
export var SuggestionMatchFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
39
|
+
export var SuggestModelFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
40
|
+
export var SuggestResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
41
|
+
export var UploadDocumentsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
42
|
+
export var DocumentServiceWarningFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
43
|
+
export var UploadDocumentsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|