@aws-sdk/client-kendra 3.82.0 → 3.85.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 (29) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +2 -0
  3. package/dist-cjs/models/models_0.js +26 -26
  4. package/dist-cjs/pagination/ListFaqsPaginator.js +36 -0
  5. package/dist-cjs/pagination/ListGroupsOlderThanOrderingIdPaginator.js +36 -0
  6. package/dist-cjs/pagination/ListQuerySuggestionsBlockListsPaginator.js +36 -0
  7. package/dist-cjs/pagination/ListThesauriPaginator.js +36 -0
  8. package/dist-cjs/pagination/index.js +4 -0
  9. package/dist-cjs/protocols/Aws_json1_1.js +6 -0
  10. package/dist-es/models/models_0.js +16 -16
  11. package/dist-es/pagination/ListFaqsPaginator.js +75 -0
  12. package/dist-es/pagination/ListGroupsOlderThanOrderingIdPaginator.js +75 -0
  13. package/dist-es/pagination/ListQuerySuggestionsBlockListsPaginator.js +75 -0
  14. package/dist-es/pagination/ListThesauriPaginator.js +75 -0
  15. package/dist-es/pagination/index.js +4 -0
  16. package/dist-es/protocols/Aws_json1_1.js +6 -2
  17. package/dist-types/models/models_0.d.ts +191 -148
  18. package/dist-types/pagination/ListFaqsPaginator.d.ts +4 -0
  19. package/dist-types/pagination/ListGroupsOlderThanOrderingIdPaginator.d.ts +4 -0
  20. package/dist-types/pagination/ListQuerySuggestionsBlockListsPaginator.d.ts +4 -0
  21. package/dist-types/pagination/ListThesauriPaginator.d.ts +4 -0
  22. package/dist-types/pagination/index.d.ts +4 -0
  23. package/dist-types/ts3.4/models/models_0.d.ts +57 -51
  24. package/dist-types/ts3.4/pagination/ListFaqsPaginator.d.ts +4 -0
  25. package/dist-types/ts3.4/pagination/ListGroupsOlderThanOrderingIdPaginator.d.ts +4 -0
  26. package/dist-types/ts3.4/pagination/ListQuerySuggestionsBlockListsPaginator.d.ts +4 -0
  27. package/dist-types/ts3.4/pagination/ListThesauriPaginator.d.ts +4 -0
  28. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  29. package/package.json +6 -6
@@ -3030,15 +3030,6 @@ export declare namespace DocumentRelevanceConfiguration {
3030
3030
 
3031
3031
  const filterSensitiveLog: (obj: DocumentRelevanceConfiguration) => any;
3032
3032
  }
3033
-
3034
- export interface Facet {
3035
-
3036
- DocumentAttributeKey?: string;
3037
- }
3038
- export declare namespace Facet {
3039
-
3040
- const filterSensitiveLog: (obj: Facet) => any;
3041
- }
3042
3033
  export declare enum QueryResultType {
3043
3034
  ANSWER = "ANSWER",
3044
3035
  DOCUMENT = "DOCUMENT",
@@ -3094,30 +3085,6 @@ export declare namespace UserContext {
3094
3085
 
3095
3086
  const filterSensitiveLog: (obj: UserContext) => any;
3096
3087
  }
3097
-
3098
- export interface DocumentAttributeValueCountPair {
3099
-
3100
- DocumentAttributeValue?: DocumentAttributeValue;
3101
-
3102
- Count?: number;
3103
- }
3104
- export declare namespace DocumentAttributeValueCountPair {
3105
-
3106
- const filterSensitiveLog: (obj: DocumentAttributeValueCountPair) => any;
3107
- }
3108
-
3109
- export interface FacetResult {
3110
-
3111
- DocumentAttributeKey?: string;
3112
-
3113
- DocumentAttributeValueType?: DocumentAttributeValueType | string;
3114
-
3115
- DocumentAttributeValueCountPairs?: DocumentAttributeValueCountPair[];
3116
- }
3117
- export declare namespace FacetResult {
3118
-
3119
- const filterSensitiveLog: (obj: FacetResult) => any;
3120
- }
3121
3088
  export declare enum ScoreConfidence {
3122
3089
  HIGH = "HIGH",
3123
3090
  LOW = "LOW",
@@ -3201,24 +3168,6 @@ export declare namespace Warning {
3201
3168
 
3202
3169
  const filterSensitiveLog: (obj: Warning) => any;
3203
3170
  }
3204
- export interface QueryResult {
3205
-
3206
- QueryId?: string;
3207
-
3208
- ResultItems?: QueryResultItem[];
3209
-
3210
- FacetResults?: FacetResult[];
3211
-
3212
- TotalNumberOfResults?: number;
3213
-
3214
- Warnings?: Warning[];
3215
-
3216
- SpellCorrectedQueries?: SpellCorrectedQuery[];
3217
- }
3218
- export declare namespace QueryResult {
3219
-
3220
- const filterSensitiveLog: (obj: QueryResult) => any;
3221
- }
3222
3171
 
3223
3172
  export declare class ResourceInUseException extends __BaseException {
3224
3173
  readonly name: "ResourceInUseException";
@@ -3448,6 +3397,45 @@ export declare namespace UpdateThesaurusRequest {
3448
3397
  const filterSensitiveLog: (obj: UpdateThesaurusRequest) => any;
3449
3398
  }
3450
3399
 
3400
+ export interface Facet {
3401
+
3402
+ DocumentAttributeKey?: string;
3403
+
3404
+ Facets?: Facet[];
3405
+
3406
+ MaxResults?: number;
3407
+ }
3408
+ export declare namespace Facet {
3409
+
3410
+ const filterSensitiveLog: (obj: Facet) => any;
3411
+ }
3412
+
3413
+ export interface DocumentAttributeValueCountPair {
3414
+
3415
+ DocumentAttributeValue?: DocumentAttributeValue;
3416
+
3417
+ Count?: number;
3418
+
3419
+ FacetResults?: FacetResult[];
3420
+ }
3421
+ export declare namespace DocumentAttributeValueCountPair {
3422
+
3423
+ const filterSensitiveLog: (obj: DocumentAttributeValueCountPair) => any;
3424
+ }
3425
+
3426
+ export interface FacetResult {
3427
+
3428
+ DocumentAttributeKey?: string;
3429
+
3430
+ DocumentAttributeValueType?: DocumentAttributeValueType | string;
3431
+
3432
+ DocumentAttributeValueCountPairs?: DocumentAttributeValueCountPair[];
3433
+ }
3434
+ export declare namespace FacetResult {
3435
+
3436
+ const filterSensitiveLog: (obj: FacetResult) => any;
3437
+ }
3438
+
3451
3439
  export interface AttributeFilter {
3452
3440
 
3453
3441
  AndAllFilters?: AttributeFilter[];
@@ -3474,6 +3462,24 @@ export declare namespace AttributeFilter {
3474
3462
 
3475
3463
  const filterSensitiveLog: (obj: AttributeFilter) => any;
3476
3464
  }
3465
+ export interface QueryResult {
3466
+
3467
+ QueryId?: string;
3468
+
3469
+ ResultItems?: QueryResultItem[];
3470
+
3471
+ FacetResults?: FacetResult[];
3472
+
3473
+ TotalNumberOfResults?: number;
3474
+
3475
+ Warnings?: Warning[];
3476
+
3477
+ SpellCorrectedQueries?: SpellCorrectedQuery[];
3478
+ }
3479
+ export declare namespace QueryResult {
3480
+
3481
+ const filterSensitiveLog: (obj: QueryResult) => any;
3482
+ }
3477
3483
  export interface QueryRequest {
3478
3484
 
3479
3485
  IndexId: string | undefined;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListFaqsCommandInput, ListFaqsCommandOutput } from "../commands/ListFaqsCommand";
3
+ import { KendraPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListFaqs(config: KendraPaginationConfiguration, input: ListFaqsCommandInput, ...additionalArguments: any): Paginator<ListFaqsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListGroupsOlderThanOrderingIdCommandInput, ListGroupsOlderThanOrderingIdCommandOutput } from "../commands/ListGroupsOlderThanOrderingIdCommand";
3
+ import { KendraPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListGroupsOlderThanOrderingId(config: KendraPaginationConfiguration, input: ListGroupsOlderThanOrderingIdCommandInput, ...additionalArguments: any): Paginator<ListGroupsOlderThanOrderingIdCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListQuerySuggestionsBlockListsCommandInput, ListQuerySuggestionsBlockListsCommandOutput } from "../commands/ListQuerySuggestionsBlockListsCommand";
3
+ import { KendraPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListQuerySuggestionsBlockLists(config: KendraPaginationConfiguration, input: ListQuerySuggestionsBlockListsCommandInput, ...additionalArguments: any): Paginator<ListQuerySuggestionsBlockListsCommandOutput>;
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListThesauriCommandInput, ListThesauriCommandOutput } from "../commands/ListThesauriCommand";
3
+ import { KendraPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListThesauri(config: KendraPaginationConfiguration, input: ListThesauriCommandInput, ...additionalArguments: any): Paginator<ListThesauriCommandOutput>;
@@ -5,4 +5,8 @@ export * from "./ListDataSourcesPaginator";
5
5
  export * from "./ListEntityPersonasPaginator";
6
6
  export * from "./ListExperienceEntitiesPaginator";
7
7
  export * from "./ListExperiencesPaginator";
8
+ export * from "./ListFaqsPaginator";
9
+ export * from "./ListGroupsOlderThanOrderingIdPaginator";
8
10
  export * from "./ListIndicesPaginator";
11
+ export * from "./ListQuerySuggestionsBlockListsPaginator";
12
+ export * from "./ListThesauriPaginator";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kendra",
3
3
  "description": "AWS SDK for JavaScript Kendra Client for Node.js, Browser and React Native",
4
- "version": "3.82.0",
4
+ "version": "3.85.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.82.0",
21
+ "@aws-sdk/client-sts": "3.85.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.82.0",
23
+ "@aws-sdk/credential-provider-node": "3.85.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
@@ -35,15 +35,15 @@
35
35
  "@aws-sdk/node-config-provider": "3.80.0",
36
36
  "@aws-sdk/node-http-handler": "3.82.0",
37
37
  "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.78.0",
38
+ "@aws-sdk/smithy-client": "3.85.0",
39
39
  "@aws-sdk/types": "3.78.0",
40
40
  "@aws-sdk/url-parser": "3.78.0",
41
41
  "@aws-sdk/util-base64-browser": "3.58.0",
42
42
  "@aws-sdk/util-base64-node": "3.55.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
44
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.78.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.81.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.85.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.85.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.78.0",
48
48
  "@aws-sdk/util-user-agent-node": "3.80.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.55.0",