@aws-sdk/client-kendra 3.46.0 → 3.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist-cjs/endpoints.js +0 -16
  3. package/dist-cjs/models/models_0.js +16 -72
  4. package/dist-cjs/pagination/GetSnapshotsPaginator.js +35 -0
  5. package/dist-cjs/pagination/index.js +1 -0
  6. package/dist-cjs/protocols/Aws_json1_1.js +19 -0
  7. package/dist-cjs/runtimeConfig.browser.js +7 -2
  8. package/dist-cjs/runtimeConfig.js +10 -2
  9. package/dist-es/endpoints.js +0 -16
  10. package/dist-es/models/models_0.js +8 -44
  11. package/dist-es/pagination/GetSnapshotsPaginator.js +74 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/protocols/Aws_json1_1.js +19 -0
  14. package/dist-es/runtimeConfig.browser.js +12 -3
  15. package/dist-es/runtimeConfig.js +13 -4
  16. package/dist-types/Kendra.d.ts +1 -0
  17. package/dist-types/KendraClient.d.ts +5 -1
  18. package/dist-types/commands/CreateFaqCommand.d.ts +1 -0
  19. package/dist-types/models/models_0.d.ts +42 -71
  20. package/dist-types/pagination/GetSnapshotsPaginator.d.ts +4 -0
  21. package/dist-types/pagination/index.d.ts +1 -0
  22. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  23. package/dist-types/runtimeConfig.d.ts +4 -3
  24. package/dist-types/runtimeConfig.native.d.ts +1 -0
  25. package/dist-types/ts3.4/KendraClient.d.ts +3 -1
  26. package/dist-types/ts3.4/models/models_0.d.ts +17 -45
  27. package/dist-types/ts3.4/pagination/GetSnapshotsPaginator.d.ts +4 -0
  28. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  32. package/package.json +35 -35
@@ -8774,6 +8774,9 @@ var deserializeAws_json1_1QueryResult = function (output, context) {
8774
8774
  ? deserializeAws_json1_1QueryResultItemList(output.ResultItems, context)
8775
8775
  : undefined,
8776
8776
  TotalNumberOfResults: __expectInt32(output.TotalNumberOfResults),
8777
+ Warnings: output.Warnings !== undefined && output.Warnings !== null
8778
+ ? deserializeAws_json1_1WarningList(output.Warnings, context)
8779
+ : undefined,
8777
8780
  };
8778
8781
  };
8779
8782
  var deserializeAws_json1_1QueryResultItem = function (output, context) {
@@ -9410,6 +9413,22 @@ var deserializeAws_json1_1ValueImportanceMap = function (output, context) {
9410
9413
  return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectInt32(value), _b));
9411
9414
  }, {});
9412
9415
  };
9416
+ var deserializeAws_json1_1Warning = function (output, context) {
9417
+ return {
9418
+ Code: __expectString(output.Code),
9419
+ Message: __expectString(output.Message),
9420
+ };
9421
+ };
9422
+ var deserializeAws_json1_1WarningList = function (output, context) {
9423
+ return (output || [])
9424
+ .filter(function (e) { return e != null; })
9425
+ .map(function (entry) {
9426
+ if (entry === null) {
9427
+ return null;
9428
+ }
9429
+ return deserializeAws_json1_1Warning(entry, context);
9430
+ });
9431
+ };
9413
9432
  var deserializeAws_json1_1WebCrawlerConfiguration = function (output, context) {
9414
9433
  return {
9415
9434
  AuthenticationConfiguration: output.AuthenticationConfiguration !== undefined && output.AuthenticationConfiguration !== null
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,19 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
17
  export var getRuntimeConfig = function (config) {
16
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
17
21
  var clientSharedValues = getSharedRuntimeConfig(config);
18
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
19
28
  };
@@ -161,6 +161,7 @@ export declare class Kendra extends KendraClient {
161
161
  createExperience(args: CreateExperienceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExperienceCommandOutput) => void): void;
162
162
  /**
163
163
  * <p>Creates an new set of frequently asked question (FAQ) questions and answers.</p>
164
+ * <p>Adding FAQs to an index is an asynchronous operation.</p>
164
165
  */
165
166
  createFaq(args: CreateFaqCommandInput, options?: __HttpHandlerOptions): Promise<CreateFaqCommandOutput>;
166
167
  createFaq(args: CreateFaqCommandInput, cb: (err: any, data?: CreateFaqCommandOutput) => void): void;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
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";
9
9
  import { AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput } from "./commands/AssociateEntitiesToExperienceCommand";
10
10
  import { AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput } from "./commands/AssociatePersonasToEntitiesCommand";
@@ -163,6 +163,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
163
163
  * @internal
164
164
  */
165
165
  defaultUserAgentProvider?: Provider<__UserAgent>;
166
+ /**
167
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
168
+ */
169
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
166
170
  }
167
171
  declare type KendraClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
168
172
  /**
@@ -8,6 +8,7 @@ export interface CreateFaqCommandOutput extends CreateFaqResponse, __MetadataBea
8
8
  }
9
9
  /**
10
10
  * <p>Creates an new set of frequently asked question (FAQ) questions and answers.</p>
11
+ * <p>Adding FAQs to an index is an asynchronous operation.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -24,12 +24,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
24
24
  $fault: "client";
25
25
  Message?: string;
26
26
  }
27
- export declare namespace AccessDeniedException {
28
- /**
29
- * @internal
30
- */
31
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
32
- }
33
27
  /**
34
28
  * <p>Provides information about the column that should be used for
35
29
  * filtering the query response by groups.</p>
@@ -239,12 +233,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
239
233
  $fault: "server";
240
234
  Message?: string;
241
235
  }
242
- export declare namespace InternalServerException {
243
- /**
244
- * @internal
245
- */
246
- const filterSensitiveLog: (obj: InternalServerException) => any;
247
- }
248
236
  /**
249
237
  * <p></p>
250
238
  */
@@ -253,12 +241,6 @@ export interface ResourceAlreadyExistException extends __SmithyException, $Metad
253
241
  $fault: "client";
254
242
  Message?: string;
255
243
  }
256
- export declare namespace ResourceAlreadyExistException {
257
- /**
258
- * @internal
259
- */
260
- const filterSensitiveLog: (obj: ResourceAlreadyExistException) => any;
261
- }
262
244
  /**
263
245
  * <p></p>
264
246
  */
@@ -267,12 +249,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
267
249
  $fault: "client";
268
250
  Message?: string;
269
251
  }
270
- export declare namespace ResourceNotFoundException {
271
- /**
272
- * @internal
273
- */
274
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
275
- }
276
252
  /**
277
253
  * <p></p>
278
254
  */
@@ -281,12 +257,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
281
257
  $fault: "client";
282
258
  Message?: string;
283
259
  }
284
- export declare namespace ThrottlingException {
285
- /**
286
- * @internal
287
- */
288
- const filterSensitiveLog: (obj: ThrottlingException) => any;
289
- }
290
260
  /**
291
261
  * <p></p>
292
262
  */
@@ -295,12 +265,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
295
265
  $fault: "client";
296
266
  Message?: string;
297
267
  }
298
- export declare namespace ValidationException {
299
- /**
300
- * @internal
301
- */
302
- const filterSensitiveLog: (obj: ValidationException) => any;
303
- }
304
268
  export declare enum Persona {
305
269
  OWNER = "OWNER",
306
270
  VIEWER = "VIEWER"
@@ -390,7 +354,7 @@ export interface DocumentAttributeValue {
390
354
  * <p>A date expressed as an ISO 8601 string.</p>
391
355
  * <p>It is important for the time zone to be included
392
356
  * in the ISO 8601 date-time format. For example,
393
- * 20120325T123010+01:00 is the ISO 8601 date-time format
357
+ * 2012-03-25T12:30:10+01:00 is the ISO 8601 date-time format
394
358
  * for March 25th 2012 at 12:30PM (plus 10 seconds) in
395
359
  * Central European Time.</p>
396
360
  */
@@ -403,7 +367,10 @@ export declare namespace DocumentAttributeValue {
403
367
  const filterSensitiveLog: (obj: DocumentAttributeValue) => any;
404
368
  }
405
369
  /**
406
- * <p>A custom attribute value assigned to a document. </p>
370
+ * <p>A custom attribute value assigned to a document.</p>
371
+ * <p>For more information on how to create custom document attributes, see
372
+ * <a href="https://docs.aws.amazon.com/kendra/latest/dg/custom-attributes.html">Custom
373
+ * Attributes</a>.</p>
407
374
  */
408
375
  export interface DocumentAttribute {
409
376
  /**
@@ -574,12 +541,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
574
541
  $fault: "client";
575
542
  Message?: string;
576
543
  }
577
- export declare namespace ConflictException {
578
- /**
579
- * @internal
580
- */
581
- const filterSensitiveLog: (obj: ConflictException) => any;
582
- }
583
544
  /**
584
545
  * <p>Identifies a document for which to retrieve status
585
546
  * information</p>
@@ -868,10 +829,10 @@ export declare namespace InlineCustomDocumentEnrichmentConfiguration {
868
829
  * <p>Provides the configuration information for invoking a Lambda function in
869
830
  * Lambda to alter document metadata and content when ingesting
870
831
  * documents into Amazon Kendra. You can configure your Lambda function using
871
- * <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_PreExtractionHookConfiguration.html">PreExtractionHookConfiguration</a>
832
+ * <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_CustomDocumentEnrichmentConfiguration.html">PreExtractionHookConfiguration</a>
872
833
  * if you want to apply advanced alterations on the original or raw documents.
873
834
  * If you want to apply advanced alterations on the Amazon Kendra structured documents,
874
- * you must configure your Lambda function using <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_PostExtractionHookConfiguration.html">PostExtractionHookConfiguration</a>.
835
+ * you must configure your Lambda function using <a href="https://docs.aws.amazon.com/kendra/latest/dg/API_CustomDocumentEnrichmentConfiguration.html">PostExtractionHookConfiguration</a>.
875
836
  * You can only invoke one Lambda function. However, this function can invoke other
876
837
  * functions it requires.</p>
877
838
  * <p>For more information, see <a href="https://docs.aws.amazon.com/kendra/latest/dg/custom-document-enrichment.html">Customizing document metadata
@@ -1194,12 +1155,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
1194
1155
  $fault: "client";
1195
1156
  Message?: string;
1196
1157
  }
1197
- export declare namespace ServiceQuotaExceededException {
1198
- /**
1199
- * @internal
1200
- */
1201
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
1202
- }
1203
1158
  export interface ClearQuerySuggestionsRequest {
1204
1159
  /**
1205
1160
  * <p>The identifier of the index you want to clear query suggestions from.</p>
@@ -3375,6 +3330,10 @@ export declare enum UserGroupResolutionMode {
3375
3330
  * permissions to use Amazon Web Services SSO with Amazon Kendra. For more information, see
3376
3331
  * <a href="https://docs.aws.amazon.com/kendra/latest/dg/iam-roles.html#iam-roles-aws-sso">IAM roles for
3377
3332
  * Amazon Web Services SSO</a>.</p>
3333
+ * <p>Amazon Kendra currently does not support using <code>UserGroupResolutionConfiguration</code>
3334
+ * with an Amazon Web Services organization member account for your Amazon Web Services SSO
3335
+ * identify source. You must create your index in the parent account for the organization
3336
+ * in order to use <code>UserGroupResolutionConfiguration</code>.</p>
3378
3337
  */
3379
3338
  export interface UserGroupResolutionConfiguration {
3380
3339
  /**
@@ -5215,12 +5174,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
5215
5174
  $fault: "client";
5216
5175
  Message?: string;
5217
5176
  }
5218
- export declare namespace InvalidRequestException {
5219
- /**
5220
- * @internal
5221
- */
5222
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
5223
- }
5224
5177
  export interface ListDataSourcesRequest {
5225
5178
  /**
5226
5179
  * <p>The identifier of the index that contains the data source.</p>
@@ -6094,12 +6047,6 @@ export interface ResourceUnavailableException extends __SmithyException, $Metada
6094
6047
  $fault: "client";
6095
6048
  Message?: string;
6096
6049
  }
6097
- export declare namespace ResourceUnavailableException {
6098
- /**
6099
- * @internal
6100
- */
6101
- const filterSensitiveLog: (obj: ResourceUnavailableException) => any;
6102
- }
6103
6050
  export interface ListThesauriRequest {
6104
6051
  /**
6105
6052
  * <p>The identifier of the index associated with the thesaurus to list.</p>
@@ -6631,6 +6578,28 @@ export declare namespace QueryResultItem {
6631
6578
  */
6632
6579
  const filterSensitiveLog: (obj: QueryResultItem) => any;
6633
6580
  }
6581
+ export declare enum WarningCode {
6582
+ QUERY_LANGUAGE_INVALID_SYNTAX = "QUERY_LANGUAGE_INVALID_SYNTAX"
6583
+ }
6584
+ /**
6585
+ * <p>The warning code and message that explains a problem with a query.</p>
6586
+ */
6587
+ export interface Warning {
6588
+ /**
6589
+ * <p>The message that explains the problem with the query.</p>
6590
+ */
6591
+ Message?: string;
6592
+ /**
6593
+ * <p>The code used to show the type of warning for the query.</p>
6594
+ */
6595
+ Code?: WarningCode | string;
6596
+ }
6597
+ export declare namespace Warning {
6598
+ /**
6599
+ * @internal
6600
+ */
6601
+ const filterSensitiveLog: (obj: Warning) => any;
6602
+ }
6634
6603
  export interface QueryResult {
6635
6604
  /**
6636
6605
  * <p>The unique identifier for the search. You use <code>QueryId</code>
@@ -6653,6 +6622,14 @@ export interface QueryResult {
6653
6622
  * you can only retrieve the first 100 of the items.</p>
6654
6623
  */
6655
6624
  TotalNumberOfResults?: number;
6625
+ /**
6626
+ * <p>A list of warning codes and their messages on problems with your query.</p>
6627
+ * <p>Amazon Kendra currently only supports one type of warning, which is a warning
6628
+ * on invalid syntax used in the query. For examples of invalid query syntax,
6629
+ * see <a href="https://docs.aws.amazon.com/kendra/latest/dg/searching-example.html#searching-index-query-syntax">Searching
6630
+ * with advanced query syntax</a>.</p>
6631
+ */
6632
+ Warnings?: Warning[];
6656
6633
  }
6657
6634
  export declare namespace QueryResult {
6658
6635
  /**
@@ -6668,12 +6645,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
6668
6645
  $fault: "client";
6669
6646
  Message?: string;
6670
6647
  }
6671
- export declare namespace ResourceInUseException {
6672
- /**
6673
- * @internal
6674
- */
6675
- const filterSensitiveLog: (obj: ResourceInUseException) => any;
6676
- }
6677
6648
  export interface StartDataSourceSyncJobRequest {
6678
6649
  /**
6679
6650
  * <p>The identifier of the data source to synchronize.</p>
@@ -7231,7 +7202,7 @@ export interface QueryRequest {
7231
7202
  /**
7232
7203
  * <p>The text to search for.</p>
7233
7204
  */
7234
- QueryText: string | undefined;
7205
+ QueryText?: string;
7235
7206
  /**
7236
7207
  * <p>Enables filtered searches based on document attributes. You can only
7237
7208
  * provide one attribute filter; however, the <code>AndAllFilters</code>,
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { GetSnapshotsCommandInput, GetSnapshotsCommandOutput } from "../commands/GetSnapshotsCommand";
3
+ import { KendraPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateGetSnapshots(config: KendraPaginationConfiguration, input: GetSnapshotsCommandInput, ...additionalArguments: any): Paginator<GetSnapshotsCommandOutput>;
@@ -1,3 +1,4 @@
1
+ export * from "./GetSnapshotsPaginator";
1
2
  export * from "./Interfaces";
2
3
  export * from "./ListDataSourceSyncJobsPaginator";
3
4
  export * from "./ListDataSourcesPaginator";
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { KendraClientConfig } from "./KendraClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: KendraClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { KendraClientConfig } from "./KendraClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: KendraClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
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> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
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";
9
9
  import { AssociateEntitiesToExperienceCommandInput, AssociateEntitiesToExperienceCommandOutput } from "./commands/AssociateEntitiesToExperienceCommand";
10
10
  import { AssociatePersonasToEntitiesCommandInput, AssociatePersonasToEntitiesCommandOutput } from "./commands/AssociatePersonasToEntitiesCommand";
@@ -106,6 +106,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
106
106
  regionInfoProvider?: RegionInfoProvider;
107
107
 
108
108
  defaultUserAgentProvider?: Provider<__UserAgent>;
109
+
110
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
109
111
  }
110
112
  declare type KendraClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
111
113
 
@@ -14,10 +14,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
14
14
  $fault: "client";
15
15
  Message?: string;
16
16
  }
17
- export declare namespace AccessDeniedException {
18
-
19
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
20
- }
21
17
 
22
18
  export interface AclConfiguration {
23
19
 
@@ -134,50 +130,30 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
134
130
  $fault: "server";
135
131
  Message?: string;
136
132
  }
137
- export declare namespace InternalServerException {
138
-
139
- const filterSensitiveLog: (obj: InternalServerException) => any;
140
- }
141
133
 
142
134
  export interface ResourceAlreadyExistException extends __SmithyException, $MetadataBearer {
143
135
  name: "ResourceAlreadyExistException";
144
136
  $fault: "client";
145
137
  Message?: string;
146
138
  }
147
- export declare namespace ResourceAlreadyExistException {
148
-
149
- const filterSensitiveLog: (obj: ResourceAlreadyExistException) => any;
150
- }
151
139
 
152
140
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
153
141
  name: "ResourceNotFoundException";
154
142
  $fault: "client";
155
143
  Message?: string;
156
144
  }
157
- export declare namespace ResourceNotFoundException {
158
-
159
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
160
- }
161
145
 
162
146
  export interface ThrottlingException extends __SmithyException, $MetadataBearer {
163
147
  name: "ThrottlingException";
164
148
  $fault: "client";
165
149
  Message?: string;
166
150
  }
167
- export declare namespace ThrottlingException {
168
-
169
- const filterSensitiveLog: (obj: ThrottlingException) => any;
170
- }
171
151
 
172
152
  export interface ValidationException extends __SmithyException, $MetadataBearer {
173
153
  name: "ValidationException";
174
154
  $fault: "client";
175
155
  Message?: string;
176
156
  }
177
- export declare namespace ValidationException {
178
-
179
- const filterSensitiveLog: (obj: ValidationException) => any;
180
- }
181
157
  export declare enum Persona {
182
158
  OWNER = "OWNER",
183
159
  VIEWER = "VIEWER"
@@ -315,10 +291,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
315
291
  $fault: "client";
316
292
  Message?: string;
317
293
  }
318
- export declare namespace ConflictException {
319
-
320
- const filterSensitiveLog: (obj: ConflictException) => any;
321
- }
322
294
 
323
295
  export interface DocumentInfo {
324
296
 
@@ -580,10 +552,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
580
552
  $fault: "client";
581
553
  Message?: string;
582
554
  }
583
- export declare namespace ServiceQuotaExceededException {
584
-
585
- const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
586
- }
587
555
  export interface ClearQuerySuggestionsRequest {
588
556
 
589
557
  IndexId: string | undefined;
@@ -2367,10 +2335,6 @@ export interface InvalidRequestException extends __SmithyException, $MetadataBea
2367
2335
  $fault: "client";
2368
2336
  Message?: string;
2369
2337
  }
2370
- export declare namespace InvalidRequestException {
2371
-
2372
- const filterSensitiveLog: (obj: InvalidRequestException) => any;
2373
- }
2374
2338
  export interface ListDataSourcesRequest {
2375
2339
 
2376
2340
  IndexId: string | undefined;
@@ -2803,10 +2767,6 @@ export interface ResourceUnavailableException extends __SmithyException, $Metada
2803
2767
  $fault: "client";
2804
2768
  Message?: string;
2805
2769
  }
2806
- export declare namespace ResourceUnavailableException {
2807
-
2808
- const filterSensitiveLog: (obj: ResourceUnavailableException) => any;
2809
- }
2810
2770
  export interface ListThesauriRequest {
2811
2771
 
2812
2772
  IndexId: string | undefined;
@@ -3030,6 +2990,20 @@ export declare namespace QueryResultItem {
3030
2990
 
3031
2991
  const filterSensitiveLog: (obj: QueryResultItem) => any;
3032
2992
  }
2993
+ export declare enum WarningCode {
2994
+ QUERY_LANGUAGE_INVALID_SYNTAX = "QUERY_LANGUAGE_INVALID_SYNTAX"
2995
+ }
2996
+
2997
+ export interface Warning {
2998
+
2999
+ Message?: string;
3000
+
3001
+ Code?: WarningCode | string;
3002
+ }
3003
+ export declare namespace Warning {
3004
+
3005
+ const filterSensitiveLog: (obj: Warning) => any;
3006
+ }
3033
3007
  export interface QueryResult {
3034
3008
 
3035
3009
  QueryId?: string;
@@ -3039,6 +3013,8 @@ export interface QueryResult {
3039
3013
  FacetResults?: FacetResult[];
3040
3014
 
3041
3015
  TotalNumberOfResults?: number;
3016
+
3017
+ Warnings?: Warning[];
3042
3018
  }
3043
3019
  export declare namespace QueryResult {
3044
3020
 
@@ -3050,10 +3026,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
3050
3026
  $fault: "client";
3051
3027
  Message?: string;
3052
3028
  }
3053
- export declare namespace ResourceInUseException {
3054
-
3055
- const filterSensitiveLog: (obj: ResourceInUseException) => any;
3056
- }
3057
3029
  export interface StartDataSourceSyncJobRequest {
3058
3030
 
3059
3031
  Id: string | undefined;
@@ -3305,7 +3277,7 @@ export interface QueryRequest {
3305
3277
 
3306
3278
  IndexId: string | undefined;
3307
3279
 
3308
- QueryText: string | undefined;
3280
+ QueryText?: string;
3309
3281
 
3310
3282
  AttributeFilter?: AttributeFilter;
3311
3283
 
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { GetSnapshotsCommandInput, GetSnapshotsCommandOutput } from "../commands/GetSnapshotsCommand";
3
+ import { KendraPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateGetSnapshots(config: KendraPaginationConfiguration, input: GetSnapshotsCommandInput, ...additionalArguments: any): Paginator<GetSnapshotsCommandOutput>;
@@ -1,3 +1,4 @@
1
+ export * from "./GetSnapshotsPaginator";
1
2
  export * from "./Interfaces";
2
3
  export * from "./ListDataSourceSyncJobsPaginator";
3
4
  export * from "./ListDataSourcesPaginator";