@aws-sdk/client-kendra 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 +30 -0
- package/dist-cjs/KendraClient.js +13 -13
- package/dist-cjs/commands/AssociateEntitiesToExperienceCommand.js +3 -3
- package/dist-cjs/commands/AssociatePersonasToEntitiesCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteDocumentCommand.js +3 -3
- package/dist-cjs/commands/BatchGetDocumentStatusCommand.js +3 -3
- package/dist-cjs/commands/BatchPutDocumentCommand.js +3 -3
- package/dist-cjs/commands/ClearQuerySuggestionsCommand.js +3 -3
- package/dist-cjs/commands/CreateDataSourceCommand.js +3 -3
- package/dist-cjs/commands/CreateExperienceCommand.js +3 -3
- package/dist-cjs/commands/CreateFaqCommand.js +3 -3
- package/dist-cjs/commands/CreateIndexCommand.js +3 -3
- package/dist-cjs/commands/CreateQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/CreateThesaurusCommand.js +3 -3
- package/dist-cjs/commands/DeleteDataSourceCommand.js +3 -3
- package/dist-cjs/commands/DeleteExperienceCommand.js +3 -3
- package/dist-cjs/commands/DeleteFaqCommand.js +3 -3
- package/dist-cjs/commands/DeleteIndexCommand.js +3 -3
- package/dist-cjs/commands/DeletePrincipalMappingCommand.js +3 -3
- package/dist-cjs/commands/DeleteQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/DeleteThesaurusCommand.js +3 -3
- package/dist-cjs/commands/DescribeDataSourceCommand.js +3 -3
- package/dist-cjs/commands/DescribeExperienceCommand.js +3 -3
- package/dist-cjs/commands/DescribeFaqCommand.js +3 -3
- package/dist-cjs/commands/DescribeIndexCommand.js +3 -3
- package/dist-cjs/commands/DescribePrincipalMappingCommand.js +3 -3
- package/dist-cjs/commands/DescribeQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/DescribeQuerySuggestionsConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeThesaurusCommand.js +3 -3
- package/dist-cjs/commands/DisassociateEntitiesFromExperienceCommand.js +3 -3
- package/dist-cjs/commands/DisassociatePersonasFromEntitiesCommand.js +3 -3
- package/dist-cjs/commands/GetQuerySuggestionsCommand.js +3 -3
- package/dist-cjs/commands/GetSnapshotsCommand.js +3 -3
- package/dist-cjs/commands/ListDataSourceSyncJobsCommand.js +3 -3
- package/dist-cjs/commands/ListDataSourcesCommand.js +3 -3
- package/dist-cjs/commands/ListEntityPersonasCommand.js +3 -3
- package/dist-cjs/commands/ListExperienceEntitiesCommand.js +3 -3
- package/dist-cjs/commands/ListExperiencesCommand.js +3 -3
- package/dist-cjs/commands/ListFaqsCommand.js +3 -3
- package/dist-cjs/commands/ListGroupsOlderThanOrderingIdCommand.js +3 -3
- package/dist-cjs/commands/ListIndicesCommand.js +3 -3
- package/dist-cjs/commands/ListQuerySuggestionsBlockListsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListThesauriCommand.js +3 -3
- package/dist-cjs/commands/PutPrincipalMappingCommand.js +3 -3
- package/dist-cjs/commands/QueryCommand.js +3 -3
- package/dist-cjs/commands/StartDataSourceSyncJobCommand.js +3 -3
- package/dist-cjs/commands/StopDataSourceSyncJobCommand.js +3 -3
- package/dist-cjs/commands/SubmitFeedbackCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDataSourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateExperienceCommand.js +3 -3
- package/dist-cjs/commands/UpdateIndexCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuerySuggestionsBlockListCommand.js +3 -3
- package/dist-cjs/commands/UpdateQuerySuggestionsConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateThesaurusCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +36 -4
- package/dist-cjs/protocols/Aws_json1_1.js +640 -442
- 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/Kendra.js +55 -55
- package/dist-es/models/models_0.js +24 -0
- package/dist-es/pagination/GetSnapshotsPaginator.js +4 -4
- package/dist-es/pagination/ListDataSourceSyncJobsPaginator.js +4 -4
- package/dist-es/pagination/ListDataSourcesPaginator.js +4 -4
- package/dist-es/pagination/ListEntityPersonasPaginator.js +4 -4
- package/dist-es/pagination/ListExperienceEntitiesPaginator.js +4 -4
- package/dist-es/pagination/ListExperiencesPaginator.js +4 -4
- package/dist-es/pagination/ListIndicesPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +181 -2
- package/dist-types/KendraClient.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +508 -288
- 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/KendraClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +83 -0
- 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/Kendra.js
CHANGED
|
@@ -67,7 +67,7 @@ var Kendra = (function (_super) {
|
|
|
67
67
|
}
|
|
68
68
|
else if (typeof cb === "function") {
|
|
69
69
|
if (typeof optionsOrCb !== "object")
|
|
70
|
-
throw new Error("Expect http options but get "
|
|
70
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
71
71
|
this.send(command, optionsOrCb || {}, cb);
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
@@ -81,7 +81,7 @@ var Kendra = (function (_super) {
|
|
|
81
81
|
}
|
|
82
82
|
else if (typeof cb === "function") {
|
|
83
83
|
if (typeof optionsOrCb !== "object")
|
|
84
|
-
throw new Error("Expect http options but get "
|
|
84
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
85
85
|
this.send(command, optionsOrCb || {}, cb);
|
|
86
86
|
}
|
|
87
87
|
else {
|
|
@@ -95,7 +95,7 @@ var Kendra = (function (_super) {
|
|
|
95
95
|
}
|
|
96
96
|
else if (typeof cb === "function") {
|
|
97
97
|
if (typeof optionsOrCb !== "object")
|
|
98
|
-
throw new Error("Expect http options but get "
|
|
98
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
99
99
|
this.send(command, optionsOrCb || {}, cb);
|
|
100
100
|
}
|
|
101
101
|
else {
|
|
@@ -109,7 +109,7 @@ var Kendra = (function (_super) {
|
|
|
109
109
|
}
|
|
110
110
|
else if (typeof cb === "function") {
|
|
111
111
|
if (typeof optionsOrCb !== "object")
|
|
112
|
-
throw new Error("Expect http options but get "
|
|
112
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
113
113
|
this.send(command, optionsOrCb || {}, cb);
|
|
114
114
|
}
|
|
115
115
|
else {
|
|
@@ -123,7 +123,7 @@ var Kendra = (function (_super) {
|
|
|
123
123
|
}
|
|
124
124
|
else if (typeof cb === "function") {
|
|
125
125
|
if (typeof optionsOrCb !== "object")
|
|
126
|
-
throw new Error("Expect http options but get "
|
|
126
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
127
127
|
this.send(command, optionsOrCb || {}, cb);
|
|
128
128
|
}
|
|
129
129
|
else {
|
|
@@ -137,7 +137,7 @@ var Kendra = (function (_super) {
|
|
|
137
137
|
}
|
|
138
138
|
else if (typeof cb === "function") {
|
|
139
139
|
if (typeof optionsOrCb !== "object")
|
|
140
|
-
throw new Error("Expect http options but get "
|
|
140
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
141
141
|
this.send(command, optionsOrCb || {}, cb);
|
|
142
142
|
}
|
|
143
143
|
else {
|
|
@@ -151,7 +151,7 @@ var Kendra = (function (_super) {
|
|
|
151
151
|
}
|
|
152
152
|
else if (typeof cb === "function") {
|
|
153
153
|
if (typeof optionsOrCb !== "object")
|
|
154
|
-
throw new Error("Expect http options but get "
|
|
154
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
155
155
|
this.send(command, optionsOrCb || {}, cb);
|
|
156
156
|
}
|
|
157
157
|
else {
|
|
@@ -165,7 +165,7 @@ var Kendra = (function (_super) {
|
|
|
165
165
|
}
|
|
166
166
|
else if (typeof cb === "function") {
|
|
167
167
|
if (typeof optionsOrCb !== "object")
|
|
168
|
-
throw new Error("Expect http options but get "
|
|
168
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
169
169
|
this.send(command, optionsOrCb || {}, cb);
|
|
170
170
|
}
|
|
171
171
|
else {
|
|
@@ -179,7 +179,7 @@ var Kendra = (function (_super) {
|
|
|
179
179
|
}
|
|
180
180
|
else if (typeof cb === "function") {
|
|
181
181
|
if (typeof optionsOrCb !== "object")
|
|
182
|
-
throw new Error("Expect http options but get "
|
|
182
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
183
183
|
this.send(command, optionsOrCb || {}, cb);
|
|
184
184
|
}
|
|
185
185
|
else {
|
|
@@ -193,7 +193,7 @@ var Kendra = (function (_super) {
|
|
|
193
193
|
}
|
|
194
194
|
else if (typeof cb === "function") {
|
|
195
195
|
if (typeof optionsOrCb !== "object")
|
|
196
|
-
throw new Error("Expect http options but get "
|
|
196
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
197
197
|
this.send(command, optionsOrCb || {}, cb);
|
|
198
198
|
}
|
|
199
199
|
else {
|
|
@@ -207,7 +207,7 @@ var Kendra = (function (_super) {
|
|
|
207
207
|
}
|
|
208
208
|
else if (typeof cb === "function") {
|
|
209
209
|
if (typeof optionsOrCb !== "object")
|
|
210
|
-
throw new Error("Expect http options but get "
|
|
210
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
211
211
|
this.send(command, optionsOrCb || {}, cb);
|
|
212
212
|
}
|
|
213
213
|
else {
|
|
@@ -221,7 +221,7 @@ var Kendra = (function (_super) {
|
|
|
221
221
|
}
|
|
222
222
|
else if (typeof cb === "function") {
|
|
223
223
|
if (typeof optionsOrCb !== "object")
|
|
224
|
-
throw new Error("Expect http options but get "
|
|
224
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
225
225
|
this.send(command, optionsOrCb || {}, cb);
|
|
226
226
|
}
|
|
227
227
|
else {
|
|
@@ -235,7 +235,7 @@ var Kendra = (function (_super) {
|
|
|
235
235
|
}
|
|
236
236
|
else if (typeof cb === "function") {
|
|
237
237
|
if (typeof optionsOrCb !== "object")
|
|
238
|
-
throw new Error("Expect http options but get "
|
|
238
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
239
239
|
this.send(command, optionsOrCb || {}, cb);
|
|
240
240
|
}
|
|
241
241
|
else {
|
|
@@ -249,7 +249,7 @@ var Kendra = (function (_super) {
|
|
|
249
249
|
}
|
|
250
250
|
else if (typeof cb === "function") {
|
|
251
251
|
if (typeof optionsOrCb !== "object")
|
|
252
|
-
throw new Error("Expect http options but get "
|
|
252
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
253
253
|
this.send(command, optionsOrCb || {}, cb);
|
|
254
254
|
}
|
|
255
255
|
else {
|
|
@@ -263,7 +263,7 @@ var Kendra = (function (_super) {
|
|
|
263
263
|
}
|
|
264
264
|
else if (typeof cb === "function") {
|
|
265
265
|
if (typeof optionsOrCb !== "object")
|
|
266
|
-
throw new Error("Expect http options but get "
|
|
266
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
267
267
|
this.send(command, optionsOrCb || {}, cb);
|
|
268
268
|
}
|
|
269
269
|
else {
|
|
@@ -277,7 +277,7 @@ var Kendra = (function (_super) {
|
|
|
277
277
|
}
|
|
278
278
|
else if (typeof cb === "function") {
|
|
279
279
|
if (typeof optionsOrCb !== "object")
|
|
280
|
-
throw new Error("Expect http options but get "
|
|
280
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
281
281
|
this.send(command, optionsOrCb || {}, cb);
|
|
282
282
|
}
|
|
283
283
|
else {
|
|
@@ -291,7 +291,7 @@ var Kendra = (function (_super) {
|
|
|
291
291
|
}
|
|
292
292
|
else if (typeof cb === "function") {
|
|
293
293
|
if (typeof optionsOrCb !== "object")
|
|
294
|
-
throw new Error("Expect http options but get "
|
|
294
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
295
295
|
this.send(command, optionsOrCb || {}, cb);
|
|
296
296
|
}
|
|
297
297
|
else {
|
|
@@ -305,7 +305,7 @@ var Kendra = (function (_super) {
|
|
|
305
305
|
}
|
|
306
306
|
else if (typeof cb === "function") {
|
|
307
307
|
if (typeof optionsOrCb !== "object")
|
|
308
|
-
throw new Error("Expect http options but get "
|
|
308
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
309
309
|
this.send(command, optionsOrCb || {}, cb);
|
|
310
310
|
}
|
|
311
311
|
else {
|
|
@@ -319,7 +319,7 @@ var Kendra = (function (_super) {
|
|
|
319
319
|
}
|
|
320
320
|
else if (typeof cb === "function") {
|
|
321
321
|
if (typeof optionsOrCb !== "object")
|
|
322
|
-
throw new Error("Expect http options but get "
|
|
322
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
323
323
|
this.send(command, optionsOrCb || {}, cb);
|
|
324
324
|
}
|
|
325
325
|
else {
|
|
@@ -333,7 +333,7 @@ var Kendra = (function (_super) {
|
|
|
333
333
|
}
|
|
334
334
|
else if (typeof cb === "function") {
|
|
335
335
|
if (typeof optionsOrCb !== "object")
|
|
336
|
-
throw new Error("Expect http options but get "
|
|
336
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
337
337
|
this.send(command, optionsOrCb || {}, cb);
|
|
338
338
|
}
|
|
339
339
|
else {
|
|
@@ -347,7 +347,7 @@ var Kendra = (function (_super) {
|
|
|
347
347
|
}
|
|
348
348
|
else if (typeof cb === "function") {
|
|
349
349
|
if (typeof optionsOrCb !== "object")
|
|
350
|
-
throw new Error("Expect http options but get "
|
|
350
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
351
351
|
this.send(command, optionsOrCb || {}, cb);
|
|
352
352
|
}
|
|
353
353
|
else {
|
|
@@ -361,7 +361,7 @@ var Kendra = (function (_super) {
|
|
|
361
361
|
}
|
|
362
362
|
else if (typeof cb === "function") {
|
|
363
363
|
if (typeof optionsOrCb !== "object")
|
|
364
|
-
throw new Error("Expect http options but get "
|
|
364
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
365
365
|
this.send(command, optionsOrCb || {}, cb);
|
|
366
366
|
}
|
|
367
367
|
else {
|
|
@@ -375,7 +375,7 @@ var Kendra = (function (_super) {
|
|
|
375
375
|
}
|
|
376
376
|
else if (typeof cb === "function") {
|
|
377
377
|
if (typeof optionsOrCb !== "object")
|
|
378
|
-
throw new Error("Expect http options but get "
|
|
378
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
379
379
|
this.send(command, optionsOrCb || {}, cb);
|
|
380
380
|
}
|
|
381
381
|
else {
|
|
@@ -389,7 +389,7 @@ var Kendra = (function (_super) {
|
|
|
389
389
|
}
|
|
390
390
|
else if (typeof cb === "function") {
|
|
391
391
|
if (typeof optionsOrCb !== "object")
|
|
392
|
-
throw new Error("Expect http options but get "
|
|
392
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
393
393
|
this.send(command, optionsOrCb || {}, cb);
|
|
394
394
|
}
|
|
395
395
|
else {
|
|
@@ -403,7 +403,7 @@ var Kendra = (function (_super) {
|
|
|
403
403
|
}
|
|
404
404
|
else if (typeof cb === "function") {
|
|
405
405
|
if (typeof optionsOrCb !== "object")
|
|
406
|
-
throw new Error("Expect http options but get "
|
|
406
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
407
407
|
this.send(command, optionsOrCb || {}, cb);
|
|
408
408
|
}
|
|
409
409
|
else {
|
|
@@ -417,7 +417,7 @@ var Kendra = (function (_super) {
|
|
|
417
417
|
}
|
|
418
418
|
else if (typeof cb === "function") {
|
|
419
419
|
if (typeof optionsOrCb !== "object")
|
|
420
|
-
throw new Error("Expect http options but get "
|
|
420
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
421
421
|
this.send(command, optionsOrCb || {}, cb);
|
|
422
422
|
}
|
|
423
423
|
else {
|
|
@@ -431,7 +431,7 @@ var Kendra = (function (_super) {
|
|
|
431
431
|
}
|
|
432
432
|
else if (typeof cb === "function") {
|
|
433
433
|
if (typeof optionsOrCb !== "object")
|
|
434
|
-
throw new Error("Expect http options but get "
|
|
434
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
435
435
|
this.send(command, optionsOrCb || {}, cb);
|
|
436
436
|
}
|
|
437
437
|
else {
|
|
@@ -445,7 +445,7 @@ var Kendra = (function (_super) {
|
|
|
445
445
|
}
|
|
446
446
|
else if (typeof cb === "function") {
|
|
447
447
|
if (typeof optionsOrCb !== "object")
|
|
448
|
-
throw new Error("Expect http options but get "
|
|
448
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
449
449
|
this.send(command, optionsOrCb || {}, cb);
|
|
450
450
|
}
|
|
451
451
|
else {
|
|
@@ -459,7 +459,7 @@ var Kendra = (function (_super) {
|
|
|
459
459
|
}
|
|
460
460
|
else if (typeof cb === "function") {
|
|
461
461
|
if (typeof optionsOrCb !== "object")
|
|
462
|
-
throw new Error("Expect http options but get "
|
|
462
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
463
463
|
this.send(command, optionsOrCb || {}, cb);
|
|
464
464
|
}
|
|
465
465
|
else {
|
|
@@ -473,7 +473,7 @@ var Kendra = (function (_super) {
|
|
|
473
473
|
}
|
|
474
474
|
else if (typeof cb === "function") {
|
|
475
475
|
if (typeof optionsOrCb !== "object")
|
|
476
|
-
throw new Error("Expect http options but get "
|
|
476
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
477
477
|
this.send(command, optionsOrCb || {}, cb);
|
|
478
478
|
}
|
|
479
479
|
else {
|
|
@@ -487,7 +487,7 @@ var Kendra = (function (_super) {
|
|
|
487
487
|
}
|
|
488
488
|
else if (typeof cb === "function") {
|
|
489
489
|
if (typeof optionsOrCb !== "object")
|
|
490
|
-
throw new Error("Expect http options but get "
|
|
490
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
491
491
|
this.send(command, optionsOrCb || {}, cb);
|
|
492
492
|
}
|
|
493
493
|
else {
|
|
@@ -501,7 +501,7 @@ var Kendra = (function (_super) {
|
|
|
501
501
|
}
|
|
502
502
|
else if (typeof cb === "function") {
|
|
503
503
|
if (typeof optionsOrCb !== "object")
|
|
504
|
-
throw new Error("Expect http options but get "
|
|
504
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
505
505
|
this.send(command, optionsOrCb || {}, cb);
|
|
506
506
|
}
|
|
507
507
|
else {
|
|
@@ -515,7 +515,7 @@ var Kendra = (function (_super) {
|
|
|
515
515
|
}
|
|
516
516
|
else if (typeof cb === "function") {
|
|
517
517
|
if (typeof optionsOrCb !== "object")
|
|
518
|
-
throw new Error("Expect http options but get "
|
|
518
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
519
519
|
this.send(command, optionsOrCb || {}, cb);
|
|
520
520
|
}
|
|
521
521
|
else {
|
|
@@ -529,7 +529,7 @@ var Kendra = (function (_super) {
|
|
|
529
529
|
}
|
|
530
530
|
else if (typeof cb === "function") {
|
|
531
531
|
if (typeof optionsOrCb !== "object")
|
|
532
|
-
throw new Error("Expect http options but get "
|
|
532
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
533
533
|
this.send(command, optionsOrCb || {}, cb);
|
|
534
534
|
}
|
|
535
535
|
else {
|
|
@@ -543,7 +543,7 @@ var Kendra = (function (_super) {
|
|
|
543
543
|
}
|
|
544
544
|
else if (typeof cb === "function") {
|
|
545
545
|
if (typeof optionsOrCb !== "object")
|
|
546
|
-
throw new Error("Expect http options but get "
|
|
546
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
547
547
|
this.send(command, optionsOrCb || {}, cb);
|
|
548
548
|
}
|
|
549
549
|
else {
|
|
@@ -557,7 +557,7 @@ var Kendra = (function (_super) {
|
|
|
557
557
|
}
|
|
558
558
|
else if (typeof cb === "function") {
|
|
559
559
|
if (typeof optionsOrCb !== "object")
|
|
560
|
-
throw new Error("Expect http options but get "
|
|
560
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
561
561
|
this.send(command, optionsOrCb || {}, cb);
|
|
562
562
|
}
|
|
563
563
|
else {
|
|
@@ -571,7 +571,7 @@ var Kendra = (function (_super) {
|
|
|
571
571
|
}
|
|
572
572
|
else if (typeof cb === "function") {
|
|
573
573
|
if (typeof optionsOrCb !== "object")
|
|
574
|
-
throw new Error("Expect http options but get "
|
|
574
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
575
575
|
this.send(command, optionsOrCb || {}, cb);
|
|
576
576
|
}
|
|
577
577
|
else {
|
|
@@ -585,7 +585,7 @@ var Kendra = (function (_super) {
|
|
|
585
585
|
}
|
|
586
586
|
else if (typeof cb === "function") {
|
|
587
587
|
if (typeof optionsOrCb !== "object")
|
|
588
|
-
throw new Error("Expect http options but get "
|
|
588
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
589
589
|
this.send(command, optionsOrCb || {}, cb);
|
|
590
590
|
}
|
|
591
591
|
else {
|
|
@@ -599,7 +599,7 @@ var Kendra = (function (_super) {
|
|
|
599
599
|
}
|
|
600
600
|
else if (typeof cb === "function") {
|
|
601
601
|
if (typeof optionsOrCb !== "object")
|
|
602
|
-
throw new Error("Expect http options but get "
|
|
602
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
603
603
|
this.send(command, optionsOrCb || {}, cb);
|
|
604
604
|
}
|
|
605
605
|
else {
|
|
@@ -613,7 +613,7 @@ var Kendra = (function (_super) {
|
|
|
613
613
|
}
|
|
614
614
|
else if (typeof cb === "function") {
|
|
615
615
|
if (typeof optionsOrCb !== "object")
|
|
616
|
-
throw new Error("Expect http options but get "
|
|
616
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
617
617
|
this.send(command, optionsOrCb || {}, cb);
|
|
618
618
|
}
|
|
619
619
|
else {
|
|
@@ -627,7 +627,7 @@ var Kendra = (function (_super) {
|
|
|
627
627
|
}
|
|
628
628
|
else if (typeof cb === "function") {
|
|
629
629
|
if (typeof optionsOrCb !== "object")
|
|
630
|
-
throw new Error("Expect http options but get "
|
|
630
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
631
631
|
this.send(command, optionsOrCb || {}, cb);
|
|
632
632
|
}
|
|
633
633
|
else {
|
|
@@ -641,7 +641,7 @@ var Kendra = (function (_super) {
|
|
|
641
641
|
}
|
|
642
642
|
else if (typeof cb === "function") {
|
|
643
643
|
if (typeof optionsOrCb !== "object")
|
|
644
|
-
throw new Error("Expect http options but get "
|
|
644
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
645
645
|
this.send(command, optionsOrCb || {}, cb);
|
|
646
646
|
}
|
|
647
647
|
else {
|
|
@@ -655,7 +655,7 @@ var Kendra = (function (_super) {
|
|
|
655
655
|
}
|
|
656
656
|
else if (typeof cb === "function") {
|
|
657
657
|
if (typeof optionsOrCb !== "object")
|
|
658
|
-
throw new Error("Expect http options but get "
|
|
658
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
659
659
|
this.send(command, optionsOrCb || {}, cb);
|
|
660
660
|
}
|
|
661
661
|
else {
|
|
@@ -669,7 +669,7 @@ var Kendra = (function (_super) {
|
|
|
669
669
|
}
|
|
670
670
|
else if (typeof cb === "function") {
|
|
671
671
|
if (typeof optionsOrCb !== "object")
|
|
672
|
-
throw new Error("Expect http options but get "
|
|
672
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
673
673
|
this.send(command, optionsOrCb || {}, cb);
|
|
674
674
|
}
|
|
675
675
|
else {
|
|
@@ -683,7 +683,7 @@ var Kendra = (function (_super) {
|
|
|
683
683
|
}
|
|
684
684
|
else if (typeof cb === "function") {
|
|
685
685
|
if (typeof optionsOrCb !== "object")
|
|
686
|
-
throw new Error("Expect http options but get "
|
|
686
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
687
687
|
this.send(command, optionsOrCb || {}, cb);
|
|
688
688
|
}
|
|
689
689
|
else {
|
|
@@ -697,7 +697,7 @@ var Kendra = (function (_super) {
|
|
|
697
697
|
}
|
|
698
698
|
else if (typeof cb === "function") {
|
|
699
699
|
if (typeof optionsOrCb !== "object")
|
|
700
|
-
throw new Error("Expect http options but get "
|
|
700
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
701
701
|
this.send(command, optionsOrCb || {}, cb);
|
|
702
702
|
}
|
|
703
703
|
else {
|
|
@@ -711,7 +711,7 @@ var Kendra = (function (_super) {
|
|
|
711
711
|
}
|
|
712
712
|
else if (typeof cb === "function") {
|
|
713
713
|
if (typeof optionsOrCb !== "object")
|
|
714
|
-
throw new Error("Expect http options but get "
|
|
714
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
715
715
|
this.send(command, optionsOrCb || {}, cb);
|
|
716
716
|
}
|
|
717
717
|
else {
|
|
@@ -725,7 +725,7 @@ var Kendra = (function (_super) {
|
|
|
725
725
|
}
|
|
726
726
|
else if (typeof cb === "function") {
|
|
727
727
|
if (typeof optionsOrCb !== "object")
|
|
728
|
-
throw new Error("Expect http options but get "
|
|
728
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
729
729
|
this.send(command, optionsOrCb || {}, cb);
|
|
730
730
|
}
|
|
731
731
|
else {
|
|
@@ -739,7 +739,7 @@ var Kendra = (function (_super) {
|
|
|
739
739
|
}
|
|
740
740
|
else if (typeof cb === "function") {
|
|
741
741
|
if (typeof optionsOrCb !== "object")
|
|
742
|
-
throw new Error("Expect http options but get "
|
|
742
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
743
743
|
this.send(command, optionsOrCb || {}, cb);
|
|
744
744
|
}
|
|
745
745
|
else {
|
|
@@ -753,7 +753,7 @@ var Kendra = (function (_super) {
|
|
|
753
753
|
}
|
|
754
754
|
else if (typeof cb === "function") {
|
|
755
755
|
if (typeof optionsOrCb !== "object")
|
|
756
|
-
throw new Error("Expect http options but get "
|
|
756
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
757
757
|
this.send(command, optionsOrCb || {}, cb);
|
|
758
758
|
}
|
|
759
759
|
else {
|
|
@@ -767,7 +767,7 @@ var Kendra = (function (_super) {
|
|
|
767
767
|
}
|
|
768
768
|
else if (typeof cb === "function") {
|
|
769
769
|
if (typeof optionsOrCb !== "object")
|
|
770
|
-
throw new Error("Expect http options but get "
|
|
770
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
771
771
|
this.send(command, optionsOrCb || {}, cb);
|
|
772
772
|
}
|
|
773
773
|
else {
|
|
@@ -781,7 +781,7 @@ var Kendra = (function (_super) {
|
|
|
781
781
|
}
|
|
782
782
|
else if (typeof cb === "function") {
|
|
783
783
|
if (typeof optionsOrCb !== "object")
|
|
784
|
-
throw new Error("Expect http options but get "
|
|
784
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
785
785
|
this.send(command, optionsOrCb || {}, cb);
|
|
786
786
|
}
|
|
787
787
|
else {
|
|
@@ -795,7 +795,7 @@ var Kendra = (function (_super) {
|
|
|
795
795
|
}
|
|
796
796
|
else if (typeof cb === "function") {
|
|
797
797
|
if (typeof optionsOrCb !== "object")
|
|
798
|
-
throw new Error("Expect http options but get "
|
|
798
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
799
799
|
this.send(command, optionsOrCb || {}, cb);
|
|
800
800
|
}
|
|
801
801
|
else {
|
|
@@ -809,7 +809,7 @@ var Kendra = (function (_super) {
|
|
|
809
809
|
}
|
|
810
810
|
else if (typeof cb === "function") {
|
|
811
811
|
if (typeof optionsOrCb !== "object")
|
|
812
|
-
throw new Error("Expect http options but get "
|
|
812
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
813
813
|
this.send(command, optionsOrCb || {}, cb);
|
|
814
814
|
}
|
|
815
815
|
else {
|
|
@@ -823,7 +823,7 @@ var Kendra = (function (_super) {
|
|
|
823
823
|
}
|
|
824
824
|
else if (typeof cb === "function") {
|
|
825
825
|
if (typeof optionsOrCb !== "object")
|
|
826
|
-
throw new Error("Expect http options but get "
|
|
826
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
827
827
|
this.send(command, optionsOrCb || {}, cb);
|
|
828
828
|
}
|
|
829
829
|
else {
|
|
@@ -570,6 +570,17 @@ export var SharePointConfiguration;
|
|
|
570
570
|
(function (SharePointConfiguration) {
|
|
571
571
|
SharePointConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
572
572
|
})(SharePointConfiguration || (SharePointConfiguration = {}));
|
|
573
|
+
export var SlackEntity;
|
|
574
|
+
(function (SlackEntity) {
|
|
575
|
+
SlackEntity["DIRECT_MESSAGE"] = "DIRECT_MESSAGE";
|
|
576
|
+
SlackEntity["GROUP_MESSAGE"] = "GROUP_MESSAGE";
|
|
577
|
+
SlackEntity["PRIVATE_CHANNEL"] = "PRIVATE_CHANNEL";
|
|
578
|
+
SlackEntity["PUBLIC_CHANNEL"] = "PUBLIC_CHANNEL";
|
|
579
|
+
})(SlackEntity || (SlackEntity = {}));
|
|
580
|
+
export var SlackConfiguration;
|
|
581
|
+
(function (SlackConfiguration) {
|
|
582
|
+
SlackConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
583
|
+
})(SlackConfiguration || (SlackConfiguration = {}));
|
|
573
584
|
export var ProxyConfiguration;
|
|
574
585
|
(function (ProxyConfiguration) {
|
|
575
586
|
ProxyConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -620,6 +631,7 @@ export var DataSourceType;
|
|
|
620
631
|
DataSourceType["SALESFORCE"] = "SALESFORCE";
|
|
621
632
|
DataSourceType["SERVICENOW"] = "SERVICENOW";
|
|
622
633
|
DataSourceType["SHAREPOINT"] = "SHAREPOINT";
|
|
634
|
+
DataSourceType["SLACK"] = "SLACK";
|
|
623
635
|
DataSourceType["WEBCRAWLER"] = "WEBCRAWLER";
|
|
624
636
|
DataSourceType["WORKDOCS"] = "WORKDOCS";
|
|
625
637
|
})(DataSourceType || (DataSourceType = {}));
|
|
@@ -1232,6 +1244,10 @@ export var SortingConfiguration;
|
|
|
1232
1244
|
(function (SortingConfiguration) {
|
|
1233
1245
|
SortingConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1234
1246
|
})(SortingConfiguration || (SortingConfiguration = {}));
|
|
1247
|
+
export var SpellCorrectionConfiguration;
|
|
1248
|
+
(function (SpellCorrectionConfiguration) {
|
|
1249
|
+
SpellCorrectionConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1250
|
+
})(SpellCorrectionConfiguration || (SpellCorrectionConfiguration = {}));
|
|
1235
1251
|
export var DataSourceGroup;
|
|
1236
1252
|
(function (DataSourceGroup) {
|
|
1237
1253
|
DataSourceGroup.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1264,6 +1280,14 @@ export var QueryResultItem;
|
|
|
1264
1280
|
(function (QueryResultItem) {
|
|
1265
1281
|
QueryResultItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1266
1282
|
})(QueryResultItem || (QueryResultItem = {}));
|
|
1283
|
+
export var Correction;
|
|
1284
|
+
(function (Correction) {
|
|
1285
|
+
Correction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1286
|
+
})(Correction || (Correction = {}));
|
|
1287
|
+
export var SpellCorrectedQuery;
|
|
1288
|
+
(function (SpellCorrectedQuery) {
|
|
1289
|
+
SpellCorrectedQuery.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1290
|
+
})(SpellCorrectedQuery || (SpellCorrectedQuery = {}));
|
|
1267
1291
|
export var WarningCode;
|
|
1268
1292
|
(function (WarningCode) {
|
|
1269
1293
|
WarningCode["QUERY_LANGUAGE_INVALID_SYNTAX"] = "QUERY_LANGUAGE_INVALID_SYNTAX";
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetSnapshotsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetSnapshotsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getSnapshots.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getSnapshots.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateGetSnapshots(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Kendra)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof KendraClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|