@aws-sdk/client-cloudsearch 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/CloudSearchClient.js +13 -13
- package/dist-cjs/commands/BuildSuggestersCommand.js +3 -3
- package/dist-cjs/commands/CreateDomainCommand.js +3 -3
- package/dist-cjs/commands/DefineAnalysisSchemeCommand.js +3 -3
- package/dist-cjs/commands/DefineExpressionCommand.js +3 -3
- package/dist-cjs/commands/DefineIndexFieldCommand.js +3 -3
- package/dist-cjs/commands/DefineSuggesterCommand.js +3 -3
- package/dist-cjs/commands/DeleteAnalysisSchemeCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteExpressionCommand.js +3 -3
- package/dist-cjs/commands/DeleteIndexFieldCommand.js +3 -3
- package/dist-cjs/commands/DeleteSuggesterCommand.js +3 -3
- package/dist-cjs/commands/DescribeAnalysisSchemesCommand.js +3 -3
- package/dist-cjs/commands/DescribeAvailabilityOptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainEndpointOptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainsCommand.js +3 -3
- package/dist-cjs/commands/DescribeExpressionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeIndexFieldsCommand.js +3 -3
- package/dist-cjs/commands/DescribeScalingParametersCommand.js +3 -3
- package/dist-cjs/commands/DescribeServiceAccessPoliciesCommand.js +3 -3
- package/dist-cjs/commands/DescribeSuggestersCommand.js +3 -3
- package/dist-cjs/commands/IndexDocumentsCommand.js +3 -3
- package/dist-cjs/commands/ListDomainNamesCommand.js +3 -3
- package/dist-cjs/commands/UpdateAvailabilityOptionsCommand.js +3 -3
- package/dist-cjs/commands/UpdateDomainEndpointOptionsCommand.js +3 -3
- package/dist-cjs/commands/UpdateScalingParametersCommand.js +3 -3
- package/dist-cjs/commands/UpdateServiceAccessPoliciesCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_query.js +167 -167
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CloudSearch.js +26 -26
- package/dist-es/protocols/Aws_query.js +27 -27
- package/dist-types/CloudSearchClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CloudSearchClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
package/dist-es/CloudSearch.js
CHANGED
|
@@ -38,7 +38,7 @@ var CloudSearch = (function (_super) {
|
|
|
38
38
|
}
|
|
39
39
|
else if (typeof cb === "function") {
|
|
40
40
|
if (typeof optionsOrCb !== "object")
|
|
41
|
-
throw new Error("Expect http options but get "
|
|
41
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
42
42
|
this.send(command, optionsOrCb || {}, cb);
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
@@ -52,7 +52,7 @@ var CloudSearch = (function (_super) {
|
|
|
52
52
|
}
|
|
53
53
|
else if (typeof cb === "function") {
|
|
54
54
|
if (typeof optionsOrCb !== "object")
|
|
55
|
-
throw new Error("Expect http options but get "
|
|
55
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
56
56
|
this.send(command, optionsOrCb || {}, cb);
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
@@ -66,7 +66,7 @@ var CloudSearch = (function (_super) {
|
|
|
66
66
|
}
|
|
67
67
|
else if (typeof cb === "function") {
|
|
68
68
|
if (typeof optionsOrCb !== "object")
|
|
69
|
-
throw new Error("Expect http options but get "
|
|
69
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
70
70
|
this.send(command, optionsOrCb || {}, cb);
|
|
71
71
|
}
|
|
72
72
|
else {
|
|
@@ -80,7 +80,7 @@ var CloudSearch = (function (_super) {
|
|
|
80
80
|
}
|
|
81
81
|
else if (typeof cb === "function") {
|
|
82
82
|
if (typeof optionsOrCb !== "object")
|
|
83
|
-
throw new Error("Expect http options but get "
|
|
83
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
84
84
|
this.send(command, optionsOrCb || {}, cb);
|
|
85
85
|
}
|
|
86
86
|
else {
|
|
@@ -94,7 +94,7 @@ var CloudSearch = (function (_super) {
|
|
|
94
94
|
}
|
|
95
95
|
else if (typeof cb === "function") {
|
|
96
96
|
if (typeof optionsOrCb !== "object")
|
|
97
|
-
throw new Error("Expect http options but get "
|
|
97
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
98
98
|
this.send(command, optionsOrCb || {}, cb);
|
|
99
99
|
}
|
|
100
100
|
else {
|
|
@@ -108,7 +108,7 @@ var CloudSearch = (function (_super) {
|
|
|
108
108
|
}
|
|
109
109
|
else if (typeof cb === "function") {
|
|
110
110
|
if (typeof optionsOrCb !== "object")
|
|
111
|
-
throw new Error("Expect http options but get "
|
|
111
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
112
112
|
this.send(command, optionsOrCb || {}, cb);
|
|
113
113
|
}
|
|
114
114
|
else {
|
|
@@ -122,7 +122,7 @@ var CloudSearch = (function (_super) {
|
|
|
122
122
|
}
|
|
123
123
|
else if (typeof cb === "function") {
|
|
124
124
|
if (typeof optionsOrCb !== "object")
|
|
125
|
-
throw new Error("Expect http options but get "
|
|
125
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
126
126
|
this.send(command, optionsOrCb || {}, cb);
|
|
127
127
|
}
|
|
128
128
|
else {
|
|
@@ -136,7 +136,7 @@ var CloudSearch = (function (_super) {
|
|
|
136
136
|
}
|
|
137
137
|
else if (typeof cb === "function") {
|
|
138
138
|
if (typeof optionsOrCb !== "object")
|
|
139
|
-
throw new Error("Expect http options but get "
|
|
139
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
140
140
|
this.send(command, optionsOrCb || {}, cb);
|
|
141
141
|
}
|
|
142
142
|
else {
|
|
@@ -150,7 +150,7 @@ var CloudSearch = (function (_super) {
|
|
|
150
150
|
}
|
|
151
151
|
else if (typeof cb === "function") {
|
|
152
152
|
if (typeof optionsOrCb !== "object")
|
|
153
|
-
throw new Error("Expect http options but get "
|
|
153
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
154
154
|
this.send(command, optionsOrCb || {}, cb);
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
@@ -164,7 +164,7 @@ var CloudSearch = (function (_super) {
|
|
|
164
164
|
}
|
|
165
165
|
else if (typeof cb === "function") {
|
|
166
166
|
if (typeof optionsOrCb !== "object")
|
|
167
|
-
throw new Error("Expect http options but get "
|
|
167
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
168
168
|
this.send(command, optionsOrCb || {}, cb);
|
|
169
169
|
}
|
|
170
170
|
else {
|
|
@@ -178,7 +178,7 @@ var CloudSearch = (function (_super) {
|
|
|
178
178
|
}
|
|
179
179
|
else if (typeof cb === "function") {
|
|
180
180
|
if (typeof optionsOrCb !== "object")
|
|
181
|
-
throw new Error("Expect http options but get "
|
|
181
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
182
182
|
this.send(command, optionsOrCb || {}, cb);
|
|
183
183
|
}
|
|
184
184
|
else {
|
|
@@ -192,7 +192,7 @@ var CloudSearch = (function (_super) {
|
|
|
192
192
|
}
|
|
193
193
|
else if (typeof cb === "function") {
|
|
194
194
|
if (typeof optionsOrCb !== "object")
|
|
195
|
-
throw new Error("Expect http options but get "
|
|
195
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
196
196
|
this.send(command, optionsOrCb || {}, cb);
|
|
197
197
|
}
|
|
198
198
|
else {
|
|
@@ -206,7 +206,7 @@ var CloudSearch = (function (_super) {
|
|
|
206
206
|
}
|
|
207
207
|
else if (typeof cb === "function") {
|
|
208
208
|
if (typeof optionsOrCb !== "object")
|
|
209
|
-
throw new Error("Expect http options but get "
|
|
209
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
210
210
|
this.send(command, optionsOrCb || {}, cb);
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
@@ -220,7 +220,7 @@ var CloudSearch = (function (_super) {
|
|
|
220
220
|
}
|
|
221
221
|
else if (typeof cb === "function") {
|
|
222
222
|
if (typeof optionsOrCb !== "object")
|
|
223
|
-
throw new Error("Expect http options but get "
|
|
223
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
224
224
|
this.send(command, optionsOrCb || {}, cb);
|
|
225
225
|
}
|
|
226
226
|
else {
|
|
@@ -234,7 +234,7 @@ var CloudSearch = (function (_super) {
|
|
|
234
234
|
}
|
|
235
235
|
else if (typeof cb === "function") {
|
|
236
236
|
if (typeof optionsOrCb !== "object")
|
|
237
|
-
throw new Error("Expect http options but get "
|
|
237
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
238
238
|
this.send(command, optionsOrCb || {}, cb);
|
|
239
239
|
}
|
|
240
240
|
else {
|
|
@@ -248,7 +248,7 @@ var CloudSearch = (function (_super) {
|
|
|
248
248
|
}
|
|
249
249
|
else if (typeof cb === "function") {
|
|
250
250
|
if (typeof optionsOrCb !== "object")
|
|
251
|
-
throw new Error("Expect http options but get "
|
|
251
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
252
252
|
this.send(command, optionsOrCb || {}, cb);
|
|
253
253
|
}
|
|
254
254
|
else {
|
|
@@ -262,7 +262,7 @@ var CloudSearch = (function (_super) {
|
|
|
262
262
|
}
|
|
263
263
|
else if (typeof cb === "function") {
|
|
264
264
|
if (typeof optionsOrCb !== "object")
|
|
265
|
-
throw new Error("Expect http options but get "
|
|
265
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
266
266
|
this.send(command, optionsOrCb || {}, cb);
|
|
267
267
|
}
|
|
268
268
|
else {
|
|
@@ -276,7 +276,7 @@ var CloudSearch = (function (_super) {
|
|
|
276
276
|
}
|
|
277
277
|
else if (typeof cb === "function") {
|
|
278
278
|
if (typeof optionsOrCb !== "object")
|
|
279
|
-
throw new Error("Expect http options but get "
|
|
279
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
280
280
|
this.send(command, optionsOrCb || {}, cb);
|
|
281
281
|
}
|
|
282
282
|
else {
|
|
@@ -290,7 +290,7 @@ var CloudSearch = (function (_super) {
|
|
|
290
290
|
}
|
|
291
291
|
else if (typeof cb === "function") {
|
|
292
292
|
if (typeof optionsOrCb !== "object")
|
|
293
|
-
throw new Error("Expect http options but get "
|
|
293
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
294
294
|
this.send(command, optionsOrCb || {}, cb);
|
|
295
295
|
}
|
|
296
296
|
else {
|
|
@@ -304,7 +304,7 @@ var CloudSearch = (function (_super) {
|
|
|
304
304
|
}
|
|
305
305
|
else if (typeof cb === "function") {
|
|
306
306
|
if (typeof optionsOrCb !== "object")
|
|
307
|
-
throw new Error("Expect http options but get "
|
|
307
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
308
308
|
this.send(command, optionsOrCb || {}, cb);
|
|
309
309
|
}
|
|
310
310
|
else {
|
|
@@ -318,7 +318,7 @@ var CloudSearch = (function (_super) {
|
|
|
318
318
|
}
|
|
319
319
|
else if (typeof cb === "function") {
|
|
320
320
|
if (typeof optionsOrCb !== "object")
|
|
321
|
-
throw new Error("Expect http options but get "
|
|
321
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
322
322
|
this.send(command, optionsOrCb || {}, cb);
|
|
323
323
|
}
|
|
324
324
|
else {
|
|
@@ -332,7 +332,7 @@ var CloudSearch = (function (_super) {
|
|
|
332
332
|
}
|
|
333
333
|
else if (typeof cb === "function") {
|
|
334
334
|
if (typeof optionsOrCb !== "object")
|
|
335
|
-
throw new Error("Expect http options but get "
|
|
335
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
336
336
|
this.send(command, optionsOrCb || {}, cb);
|
|
337
337
|
}
|
|
338
338
|
else {
|
|
@@ -346,7 +346,7 @@ var CloudSearch = (function (_super) {
|
|
|
346
346
|
}
|
|
347
347
|
else if (typeof cb === "function") {
|
|
348
348
|
if (typeof optionsOrCb !== "object")
|
|
349
|
-
throw new Error("Expect http options but get "
|
|
349
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
350
350
|
this.send(command, optionsOrCb || {}, cb);
|
|
351
351
|
}
|
|
352
352
|
else {
|
|
@@ -360,7 +360,7 @@ var CloudSearch = (function (_super) {
|
|
|
360
360
|
}
|
|
361
361
|
else if (typeof cb === "function") {
|
|
362
362
|
if (typeof optionsOrCb !== "object")
|
|
363
|
-
throw new Error("Expect http options but get "
|
|
363
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
364
364
|
this.send(command, optionsOrCb || {}, cb);
|
|
365
365
|
}
|
|
366
366
|
else {
|
|
@@ -374,7 +374,7 @@ var CloudSearch = (function (_super) {
|
|
|
374
374
|
}
|
|
375
375
|
else if (typeof cb === "function") {
|
|
376
376
|
if (typeof optionsOrCb !== "object")
|
|
377
|
-
throw new Error("Expect http options but get "
|
|
377
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
378
378
|
this.send(command, optionsOrCb || {}, cb);
|
|
379
379
|
}
|
|
380
380
|
else {
|
|
@@ -388,7 +388,7 @@ var CloudSearch = (function (_super) {
|
|
|
388
388
|
}
|
|
389
389
|
else if (typeof cb === "function") {
|
|
390
390
|
if (typeof optionsOrCb !== "object")
|
|
391
|
-
throw new Error("Expect http options but get "
|
|
391
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
392
392
|
this.send(command, optionsOrCb || {}, cb);
|
|
393
393
|
}
|
|
394
394
|
else {
|
|
@@ -2035,7 +2035,7 @@ var serializeAws_queryAnalysisScheme = function (input, context) {
|
|
|
2035
2035
|
var memberEntries = serializeAws_queryAnalysisOptions(input.AnalysisOptions, context);
|
|
2036
2036
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2037
2037
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2038
|
-
var loc = "AnalysisOptions."
|
|
2038
|
+
var loc = "AnalysisOptions.".concat(key);
|
|
2039
2039
|
entries[loc] = value;
|
|
2040
2040
|
});
|
|
2041
2041
|
}
|
|
@@ -2105,7 +2105,7 @@ var serializeAws_queryDefineAnalysisSchemeRequest = function (input, context) {
|
|
|
2105
2105
|
var memberEntries = serializeAws_queryAnalysisScheme(input.AnalysisScheme, context);
|
|
2106
2106
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2107
2107
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2108
|
-
var loc = "AnalysisScheme."
|
|
2108
|
+
var loc = "AnalysisScheme.".concat(key);
|
|
2109
2109
|
entries[loc] = value;
|
|
2110
2110
|
});
|
|
2111
2111
|
}
|
|
@@ -2120,7 +2120,7 @@ var serializeAws_queryDefineExpressionRequest = function (input, context) {
|
|
|
2120
2120
|
var memberEntries = serializeAws_queryExpression(input.Expression, context);
|
|
2121
2121
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2122
2122
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2123
|
-
var loc = "Expression."
|
|
2123
|
+
var loc = "Expression.".concat(key);
|
|
2124
2124
|
entries[loc] = value;
|
|
2125
2125
|
});
|
|
2126
2126
|
}
|
|
@@ -2135,7 +2135,7 @@ var serializeAws_queryDefineIndexFieldRequest = function (input, context) {
|
|
|
2135
2135
|
var memberEntries = serializeAws_queryIndexField(input.IndexField, context);
|
|
2136
2136
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2137
2137
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2138
|
-
var loc = "IndexField."
|
|
2138
|
+
var loc = "IndexField.".concat(key);
|
|
2139
2139
|
entries[loc] = value;
|
|
2140
2140
|
});
|
|
2141
2141
|
}
|
|
@@ -2150,7 +2150,7 @@ var serializeAws_queryDefineSuggesterRequest = function (input, context) {
|
|
|
2150
2150
|
var memberEntries = serializeAws_querySuggester(input.Suggester, context);
|
|
2151
2151
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2152
2152
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2153
|
-
var loc = "Suggester."
|
|
2153
|
+
var loc = "Suggester.".concat(key);
|
|
2154
2154
|
entries[loc] = value;
|
|
2155
2155
|
});
|
|
2156
2156
|
}
|
|
@@ -2212,7 +2212,7 @@ var serializeAws_queryDescribeAnalysisSchemesRequest = function (input, context)
|
|
|
2212
2212
|
var memberEntries = serializeAws_queryStandardNameList(input.AnalysisSchemeNames, context);
|
|
2213
2213
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2214
2214
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2215
|
-
var loc = "AnalysisSchemeNames."
|
|
2215
|
+
var loc = "AnalysisSchemeNames.".concat(key);
|
|
2216
2216
|
entries[loc] = value;
|
|
2217
2217
|
});
|
|
2218
2218
|
}
|
|
@@ -2247,7 +2247,7 @@ var serializeAws_queryDescribeDomainsRequest = function (input, context) {
|
|
|
2247
2247
|
var memberEntries = serializeAws_queryDomainNameList(input.DomainNames, context);
|
|
2248
2248
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2249
2249
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2250
|
-
var loc = "DomainNames."
|
|
2250
|
+
var loc = "DomainNames.".concat(key);
|
|
2251
2251
|
entries[loc] = value;
|
|
2252
2252
|
});
|
|
2253
2253
|
}
|
|
@@ -2262,7 +2262,7 @@ var serializeAws_queryDescribeExpressionsRequest = function (input, context) {
|
|
|
2262
2262
|
var memberEntries = serializeAws_queryStandardNameList(input.ExpressionNames, context);
|
|
2263
2263
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2264
2264
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2265
|
-
var loc = "ExpressionNames."
|
|
2265
|
+
var loc = "ExpressionNames.".concat(key);
|
|
2266
2266
|
entries[loc] = value;
|
|
2267
2267
|
});
|
|
2268
2268
|
}
|
|
@@ -2280,7 +2280,7 @@ var serializeAws_queryDescribeIndexFieldsRequest = function (input, context) {
|
|
|
2280
2280
|
var memberEntries = serializeAws_queryDynamicFieldNameList(input.FieldNames, context);
|
|
2281
2281
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2282
2282
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2283
|
-
var loc = "FieldNames."
|
|
2283
|
+
var loc = "FieldNames.".concat(key);
|
|
2284
2284
|
entries[loc] = value;
|
|
2285
2285
|
});
|
|
2286
2286
|
}
|
|
@@ -2315,7 +2315,7 @@ var serializeAws_queryDescribeSuggestersRequest = function (input, context) {
|
|
|
2315
2315
|
var memberEntries = serializeAws_queryStandardNameList(input.SuggesterNames, context);
|
|
2316
2316
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2317
2317
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2318
|
-
var loc = "SuggesterNames."
|
|
2318
|
+
var loc = "SuggesterNames.".concat(key);
|
|
2319
2319
|
entries[loc] = value;
|
|
2320
2320
|
});
|
|
2321
2321
|
}
|
|
@@ -2357,7 +2357,7 @@ var serializeAws_queryDomainNameList = function (input, context) {
|
|
|
2357
2357
|
if (entry === null) {
|
|
2358
2358
|
continue;
|
|
2359
2359
|
}
|
|
2360
|
-
entries["member."
|
|
2360
|
+
entries["member.".concat(counter)] = entry;
|
|
2361
2361
|
counter++;
|
|
2362
2362
|
}
|
|
2363
2363
|
}
|
|
@@ -2421,7 +2421,7 @@ var serializeAws_queryDynamicFieldNameList = function (input, context) {
|
|
|
2421
2421
|
if (entry === null) {
|
|
2422
2422
|
continue;
|
|
2423
2423
|
}
|
|
2424
|
-
entries["member."
|
|
2424
|
+
entries["member.".concat(counter)] = entry;
|
|
2425
2425
|
counter++;
|
|
2426
2426
|
}
|
|
2427
2427
|
}
|
|
@@ -2463,7 +2463,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2463
2463
|
var memberEntries = serializeAws_queryIntOptions(input.IntOptions, context);
|
|
2464
2464
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2465
2465
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2466
|
-
var loc = "IntOptions."
|
|
2466
|
+
var loc = "IntOptions.".concat(key);
|
|
2467
2467
|
entries[loc] = value;
|
|
2468
2468
|
});
|
|
2469
2469
|
}
|
|
@@ -2471,7 +2471,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2471
2471
|
var memberEntries = serializeAws_queryDoubleOptions(input.DoubleOptions, context);
|
|
2472
2472
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2473
2473
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2474
|
-
var loc = "DoubleOptions."
|
|
2474
|
+
var loc = "DoubleOptions.".concat(key);
|
|
2475
2475
|
entries[loc] = value;
|
|
2476
2476
|
});
|
|
2477
2477
|
}
|
|
@@ -2479,7 +2479,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2479
2479
|
var memberEntries = serializeAws_queryLiteralOptions(input.LiteralOptions, context);
|
|
2480
2480
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2481
2481
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2482
|
-
var loc = "LiteralOptions."
|
|
2482
|
+
var loc = "LiteralOptions.".concat(key);
|
|
2483
2483
|
entries[loc] = value;
|
|
2484
2484
|
});
|
|
2485
2485
|
}
|
|
@@ -2487,7 +2487,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2487
2487
|
var memberEntries = serializeAws_queryTextOptions(input.TextOptions, context);
|
|
2488
2488
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2489
2489
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2490
|
-
var loc = "TextOptions."
|
|
2490
|
+
var loc = "TextOptions.".concat(key);
|
|
2491
2491
|
entries[loc] = value;
|
|
2492
2492
|
});
|
|
2493
2493
|
}
|
|
@@ -2495,7 +2495,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2495
2495
|
var memberEntries = serializeAws_queryDateOptions(input.DateOptions, context);
|
|
2496
2496
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2497
2497
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2498
|
-
var loc = "DateOptions."
|
|
2498
|
+
var loc = "DateOptions.".concat(key);
|
|
2499
2499
|
entries[loc] = value;
|
|
2500
2500
|
});
|
|
2501
2501
|
}
|
|
@@ -2503,7 +2503,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2503
2503
|
var memberEntries = serializeAws_queryLatLonOptions(input.LatLonOptions, context);
|
|
2504
2504
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2505
2505
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2506
|
-
var loc = "LatLonOptions."
|
|
2506
|
+
var loc = "LatLonOptions.".concat(key);
|
|
2507
2507
|
entries[loc] = value;
|
|
2508
2508
|
});
|
|
2509
2509
|
}
|
|
@@ -2511,7 +2511,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2511
2511
|
var memberEntries = serializeAws_queryIntArrayOptions(input.IntArrayOptions, context);
|
|
2512
2512
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2513
2513
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2514
|
-
var loc = "IntArrayOptions."
|
|
2514
|
+
var loc = "IntArrayOptions.".concat(key);
|
|
2515
2515
|
entries[loc] = value;
|
|
2516
2516
|
});
|
|
2517
2517
|
}
|
|
@@ -2519,7 +2519,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2519
2519
|
var memberEntries = serializeAws_queryDoubleArrayOptions(input.DoubleArrayOptions, context);
|
|
2520
2520
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2521
2521
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2522
|
-
var loc = "DoubleArrayOptions."
|
|
2522
|
+
var loc = "DoubleArrayOptions.".concat(key);
|
|
2523
2523
|
entries[loc] = value;
|
|
2524
2524
|
});
|
|
2525
2525
|
}
|
|
@@ -2527,7 +2527,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2527
2527
|
var memberEntries = serializeAws_queryLiteralArrayOptions(input.LiteralArrayOptions, context);
|
|
2528
2528
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2529
2529
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2530
|
-
var loc = "LiteralArrayOptions."
|
|
2530
|
+
var loc = "LiteralArrayOptions.".concat(key);
|
|
2531
2531
|
entries[loc] = value;
|
|
2532
2532
|
});
|
|
2533
2533
|
}
|
|
@@ -2535,7 +2535,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2535
2535
|
var memberEntries = serializeAws_queryTextArrayOptions(input.TextArrayOptions, context);
|
|
2536
2536
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2537
2537
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2538
|
-
var loc = "TextArrayOptions."
|
|
2538
|
+
var loc = "TextArrayOptions.".concat(key);
|
|
2539
2539
|
entries[loc] = value;
|
|
2540
2540
|
});
|
|
2541
2541
|
}
|
|
@@ -2543,7 +2543,7 @@ var serializeAws_queryIndexField = function (input, context) {
|
|
|
2543
2543
|
var memberEntries = serializeAws_queryDateArrayOptions(input.DateArrayOptions, context);
|
|
2544
2544
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2545
2545
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2546
|
-
var loc = "DateArrayOptions."
|
|
2546
|
+
var loc = "DateArrayOptions.".concat(key);
|
|
2547
2547
|
entries[loc] = value;
|
|
2548
2548
|
});
|
|
2549
2549
|
}
|
|
@@ -2676,7 +2676,7 @@ var serializeAws_queryStandardNameList = function (input, context) {
|
|
|
2676
2676
|
if (entry === null) {
|
|
2677
2677
|
continue;
|
|
2678
2678
|
}
|
|
2679
|
-
entries["member."
|
|
2679
|
+
entries["member.".concat(counter)] = entry;
|
|
2680
2680
|
counter++;
|
|
2681
2681
|
}
|
|
2682
2682
|
}
|
|
@@ -2698,7 +2698,7 @@ var serializeAws_querySuggester = function (input, context) {
|
|
|
2698
2698
|
var memberEntries = serializeAws_queryDocumentSuggesterOptions(input.DocumentSuggesterOptions, context);
|
|
2699
2699
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2700
2700
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2701
|
-
var loc = "DocumentSuggesterOptions."
|
|
2701
|
+
var loc = "DocumentSuggesterOptions.".concat(key);
|
|
2702
2702
|
entries[loc] = value;
|
|
2703
2703
|
});
|
|
2704
2704
|
}
|
|
@@ -2764,7 +2764,7 @@ var serializeAws_queryUpdateDomainEndpointOptionsRequest = function (input, cont
|
|
|
2764
2764
|
var memberEntries = serializeAws_queryDomainEndpointOptions(input.DomainEndpointOptions, context);
|
|
2765
2765
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2766
2766
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2767
|
-
var loc = "DomainEndpointOptions."
|
|
2767
|
+
var loc = "DomainEndpointOptions.".concat(key);
|
|
2768
2768
|
entries[loc] = value;
|
|
2769
2769
|
});
|
|
2770
2770
|
}
|
|
@@ -2779,7 +2779,7 @@ var serializeAws_queryUpdateScalingParametersRequest = function (input, context)
|
|
|
2779
2779
|
var memberEntries = serializeAws_queryScalingParameters(input.ScalingParameters, context);
|
|
2780
2780
|
Object.entries(memberEntries).forEach(function (_a) {
|
|
2781
2781
|
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2782
|
-
var loc = "ScalingParameters."
|
|
2782
|
+
var loc = "ScalingParameters.".concat(key);
|
|
2783
2783
|
entries[loc] = value;
|
|
2784
2784
|
});
|
|
2785
2785
|
}
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BuildSuggestersCommandInput, BuildSuggestersCommandOutput } from "./commands/BuildSuggestersCommand";
|
|
10
10
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
11
11
|
import { DefineAnalysisSchemeCommandInput, DefineAnalysisSchemeCommandOutput } from "./commands/DefineAnalysisSchemeCommand";
|
|
@@ -54,7 +54,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
54
54
|
* A function that can calculate the length of a request body.
|
|
55
55
|
* @internal
|
|
56
56
|
*/
|
|
57
|
-
bodyLengthChecker?:
|
|
57
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
58
58
|
/**
|
|
59
59
|
* A function that converts a stream into an array of bytes.
|
|
60
60
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BuildSuggestersCommandInput, BuildSuggestersCommandOutput } from "./commands/BuildSuggestersCommand";
|
|
10
10
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
11
11
|
import { DefineAnalysisSchemeCommandInput, DefineAnalysisSchemeCommandOutput } from "./commands/DefineAnalysisSchemeCommand";
|
|
@@ -42,7 +42,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
42
42
|
|
|
43
43
|
urlParser?: __UrlParser;
|
|
44
44
|
|
|
45
|
-
bodyLengthChecker?:
|
|
45
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
46
46
|
|
|
47
47
|
streamCollector?: __StreamCollector;
|
|
48
48
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudSearchClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|