@aws-sdk/client-kendra 3.82.0 → 3.90.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 +31 -0
- package/README.md +2 -0
- package/dist-cjs/models/models_0.js +42 -29
- package/dist-cjs/pagination/ListFaqsPaginator.js +36 -0
- package/dist-cjs/pagination/ListGroupsOlderThanOrderingIdPaginator.js +36 -0
- package/dist-cjs/pagination/ListQuerySuggestionsBlockListsPaginator.js +36 -0
- package/dist-cjs/pagination/ListThesauriPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +190 -0
- package/dist-es/models/models_0.js +27 -16
- package/dist-es/pagination/ListFaqsPaginator.js +75 -0
- package/dist-es/pagination/ListGroupsOlderThanOrderingIdPaginator.js +75 -0
- package/dist-es/pagination/ListQuerySuggestionsBlockListsPaginator.js +75 -0
- package/dist-es/pagination/ListThesauriPaginator.js +75 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +174 -3
- package/dist-types/models/models_0.d.ts +334 -148
- package/dist-types/pagination/ListFaqsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListGroupsOlderThanOrderingIdPaginator.d.ts +4 -0
- package/dist-types/pagination/ListQuerySuggestionsBlockListsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListThesauriPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +101 -51
- package/dist-types/ts3.4/pagination/ListFaqsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListGroupsOlderThanOrderingIdPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListQuerySuggestionsBlockListsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListThesauriPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/package.json +6 -6
|
@@ -924,6 +924,47 @@ export declare namespace GoogleDriveConfiguration {
|
|
|
924
924
|
|
|
925
925
|
const filterSensitiveLog: (obj: GoogleDriveConfiguration) => any;
|
|
926
926
|
}
|
|
927
|
+
export declare enum IssueSubEntity {
|
|
928
|
+
ATTACHMENTS = "ATTACHMENTS",
|
|
929
|
+
COMMENTS = "COMMENTS",
|
|
930
|
+
WORKLOGS = "WORKLOGS"
|
|
931
|
+
}
|
|
932
|
+
export interface JiraConfiguration {
|
|
933
|
+
|
|
934
|
+
JiraAccountUrl: string | undefined;
|
|
935
|
+
|
|
936
|
+
SecretArn: string | undefined;
|
|
937
|
+
|
|
938
|
+
UseChangeLog?: boolean;
|
|
939
|
+
|
|
940
|
+
Project?: string[];
|
|
941
|
+
|
|
942
|
+
IssueType?: string[];
|
|
943
|
+
|
|
944
|
+
Status?: string[];
|
|
945
|
+
|
|
946
|
+
IssueSubEntityFilter?: (IssueSubEntity | string)[];
|
|
947
|
+
|
|
948
|
+
AttachmentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
949
|
+
|
|
950
|
+
CommentFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
951
|
+
|
|
952
|
+
IssueFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
953
|
+
|
|
954
|
+
ProjectFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
955
|
+
|
|
956
|
+
WorkLogFieldMappings?: DataSourceToIndexFieldMapping[];
|
|
957
|
+
|
|
958
|
+
InclusionPatterns?: string[];
|
|
959
|
+
|
|
960
|
+
ExclusionPatterns?: string[];
|
|
961
|
+
|
|
962
|
+
VpcConfiguration?: DataSourceVpcConfiguration;
|
|
963
|
+
}
|
|
964
|
+
export declare namespace JiraConfiguration {
|
|
965
|
+
|
|
966
|
+
const filterSensitiveLog: (obj: JiraConfiguration) => any;
|
|
967
|
+
}
|
|
927
968
|
|
|
928
969
|
export interface OneDriveUsers {
|
|
929
970
|
|
|
@@ -1417,6 +1458,8 @@ export interface DataSourceConfiguration {
|
|
|
1417
1458
|
BoxConfiguration?: BoxConfiguration;
|
|
1418
1459
|
|
|
1419
1460
|
QuipConfiguration?: QuipConfiguration;
|
|
1461
|
+
|
|
1462
|
+
JiraConfiguration?: JiraConfiguration;
|
|
1420
1463
|
}
|
|
1421
1464
|
export declare namespace DataSourceConfiguration {
|
|
1422
1465
|
|
|
@@ -1440,6 +1483,7 @@ export declare enum DataSourceType {
|
|
|
1440
1483
|
DATABASE = "DATABASE",
|
|
1441
1484
|
FSX = "FSX",
|
|
1442
1485
|
GOOGLEDRIVE = "GOOGLEDRIVE",
|
|
1486
|
+
JIRA = "JIRA",
|
|
1443
1487
|
ONEDRIVE = "ONEDRIVE",
|
|
1444
1488
|
QUIP = "QUIP",
|
|
1445
1489
|
S3 = "S3",
|
|
@@ -3030,15 +3074,6 @@ export declare namespace DocumentRelevanceConfiguration {
|
|
|
3030
3074
|
|
|
3031
3075
|
const filterSensitiveLog: (obj: DocumentRelevanceConfiguration) => any;
|
|
3032
3076
|
}
|
|
3033
|
-
|
|
3034
|
-
export interface Facet {
|
|
3035
|
-
|
|
3036
|
-
DocumentAttributeKey?: string;
|
|
3037
|
-
}
|
|
3038
|
-
export declare namespace Facet {
|
|
3039
|
-
|
|
3040
|
-
const filterSensitiveLog: (obj: Facet) => any;
|
|
3041
|
-
}
|
|
3042
3077
|
export declare enum QueryResultType {
|
|
3043
3078
|
ANSWER = "ANSWER",
|
|
3044
3079
|
DOCUMENT = "DOCUMENT",
|
|
@@ -3094,30 +3129,6 @@ export declare namespace UserContext {
|
|
|
3094
3129
|
|
|
3095
3130
|
const filterSensitiveLog: (obj: UserContext) => any;
|
|
3096
3131
|
}
|
|
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
3132
|
export declare enum ScoreConfidence {
|
|
3122
3133
|
HIGH = "HIGH",
|
|
3123
3134
|
LOW = "LOW",
|
|
@@ -3201,24 +3212,6 @@ export declare namespace Warning {
|
|
|
3201
3212
|
|
|
3202
3213
|
const filterSensitiveLog: (obj: Warning) => any;
|
|
3203
3214
|
}
|
|
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
3215
|
|
|
3223
3216
|
export declare class ResourceInUseException extends __BaseException {
|
|
3224
3217
|
readonly name: "ResourceInUseException";
|
|
@@ -3448,6 +3441,45 @@ export declare namespace UpdateThesaurusRequest {
|
|
|
3448
3441
|
const filterSensitiveLog: (obj: UpdateThesaurusRequest) => any;
|
|
3449
3442
|
}
|
|
3450
3443
|
|
|
3444
|
+
export interface Facet {
|
|
3445
|
+
|
|
3446
|
+
DocumentAttributeKey?: string;
|
|
3447
|
+
|
|
3448
|
+
Facets?: Facet[];
|
|
3449
|
+
|
|
3450
|
+
MaxResults?: number;
|
|
3451
|
+
}
|
|
3452
|
+
export declare namespace Facet {
|
|
3453
|
+
|
|
3454
|
+
const filterSensitiveLog: (obj: Facet) => any;
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
export interface DocumentAttributeValueCountPair {
|
|
3458
|
+
|
|
3459
|
+
DocumentAttributeValue?: DocumentAttributeValue;
|
|
3460
|
+
|
|
3461
|
+
Count?: number;
|
|
3462
|
+
|
|
3463
|
+
FacetResults?: FacetResult[];
|
|
3464
|
+
}
|
|
3465
|
+
export declare namespace DocumentAttributeValueCountPair {
|
|
3466
|
+
|
|
3467
|
+
const filterSensitiveLog: (obj: DocumentAttributeValueCountPair) => any;
|
|
3468
|
+
}
|
|
3469
|
+
|
|
3470
|
+
export interface FacetResult {
|
|
3471
|
+
|
|
3472
|
+
DocumentAttributeKey?: string;
|
|
3473
|
+
|
|
3474
|
+
DocumentAttributeValueType?: DocumentAttributeValueType | string;
|
|
3475
|
+
|
|
3476
|
+
DocumentAttributeValueCountPairs?: DocumentAttributeValueCountPair[];
|
|
3477
|
+
}
|
|
3478
|
+
export declare namespace FacetResult {
|
|
3479
|
+
|
|
3480
|
+
const filterSensitiveLog: (obj: FacetResult) => any;
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3451
3483
|
export interface AttributeFilter {
|
|
3452
3484
|
|
|
3453
3485
|
AndAllFilters?: AttributeFilter[];
|
|
@@ -3474,6 +3506,24 @@ export declare namespace AttributeFilter {
|
|
|
3474
3506
|
|
|
3475
3507
|
const filterSensitiveLog: (obj: AttributeFilter) => any;
|
|
3476
3508
|
}
|
|
3509
|
+
export interface QueryResult {
|
|
3510
|
+
|
|
3511
|
+
QueryId?: string;
|
|
3512
|
+
|
|
3513
|
+
ResultItems?: QueryResultItem[];
|
|
3514
|
+
|
|
3515
|
+
FacetResults?: FacetResult[];
|
|
3516
|
+
|
|
3517
|
+
TotalNumberOfResults?: number;
|
|
3518
|
+
|
|
3519
|
+
Warnings?: Warning[];
|
|
3520
|
+
|
|
3521
|
+
SpellCorrectedQueries?: SpellCorrectedQuery[];
|
|
3522
|
+
}
|
|
3523
|
+
export declare namespace QueryResult {
|
|
3524
|
+
|
|
3525
|
+
const filterSensitiveLog: (obj: QueryResult) => any;
|
|
3526
|
+
}
|
|
3477
3527
|
export interface QueryRequest {
|
|
3478
3528
|
|
|
3479
3529
|
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.
|
|
4
|
+
"version": "3.90.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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.87.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.87.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.
|
|
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.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
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",
|