@aws-sdk/client-kendra 3.170.0 → 3.178.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 (74) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  3. package/dist-types/runtimeConfig.d.ts +1 -1
  4. package/dist-types/runtimeConfig.native.d.ts +1 -1
  5. package/dist-types/ts3.4/Kendra.d.ts +0 -60
  6. package/dist-types/ts3.4/KendraClient.d.ts +0 -25
  7. package/dist-types/ts3.4/commands/AssociateEntitiesToExperienceCommand.d.ts +0 -2
  8. package/dist-types/ts3.4/commands/AssociatePersonasToEntitiesCommand.d.ts +0 -2
  9. package/dist-types/ts3.4/commands/BatchDeleteDocumentCommand.d.ts +0 -2
  10. package/dist-types/ts3.4/commands/BatchGetDocumentStatusCommand.d.ts +0 -2
  11. package/dist-types/ts3.4/commands/BatchPutDocumentCommand.d.ts +0 -2
  12. package/dist-types/ts3.4/commands/ClearQuerySuggestionsCommand.d.ts +0 -2
  13. package/dist-types/ts3.4/commands/CreateAccessControlConfigurationCommand.d.ts +0 -2
  14. package/dist-types/ts3.4/commands/CreateDataSourceCommand.d.ts +0 -2
  15. package/dist-types/ts3.4/commands/CreateExperienceCommand.d.ts +0 -2
  16. package/dist-types/ts3.4/commands/CreateFaqCommand.d.ts +0 -2
  17. package/dist-types/ts3.4/commands/CreateIndexCommand.d.ts +0 -2
  18. package/dist-types/ts3.4/commands/CreateQuerySuggestionsBlockListCommand.d.ts +0 -2
  19. package/dist-types/ts3.4/commands/CreateThesaurusCommand.d.ts +0 -2
  20. package/dist-types/ts3.4/commands/DeleteAccessControlConfigurationCommand.d.ts +0 -2
  21. package/dist-types/ts3.4/commands/DeleteDataSourceCommand.d.ts +0 -2
  22. package/dist-types/ts3.4/commands/DeleteExperienceCommand.d.ts +0 -2
  23. package/dist-types/ts3.4/commands/DeleteFaqCommand.d.ts +0 -2
  24. package/dist-types/ts3.4/commands/DeleteIndexCommand.d.ts +0 -2
  25. package/dist-types/ts3.4/commands/DeletePrincipalMappingCommand.d.ts +0 -2
  26. package/dist-types/ts3.4/commands/DeleteQuerySuggestionsBlockListCommand.d.ts +0 -2
  27. package/dist-types/ts3.4/commands/DeleteThesaurusCommand.d.ts +0 -2
  28. package/dist-types/ts3.4/commands/DescribeAccessControlConfigurationCommand.d.ts +0 -2
  29. package/dist-types/ts3.4/commands/DescribeDataSourceCommand.d.ts +0 -2
  30. package/dist-types/ts3.4/commands/DescribeExperienceCommand.d.ts +0 -2
  31. package/dist-types/ts3.4/commands/DescribeFaqCommand.d.ts +0 -2
  32. package/dist-types/ts3.4/commands/DescribeIndexCommand.d.ts +0 -2
  33. package/dist-types/ts3.4/commands/DescribePrincipalMappingCommand.d.ts +0 -2
  34. package/dist-types/ts3.4/commands/DescribeQuerySuggestionsBlockListCommand.d.ts +0 -2
  35. package/dist-types/ts3.4/commands/DescribeQuerySuggestionsConfigCommand.d.ts +0 -2
  36. package/dist-types/ts3.4/commands/DescribeThesaurusCommand.d.ts +0 -2
  37. package/dist-types/ts3.4/commands/DisassociateEntitiesFromExperienceCommand.d.ts +0 -2
  38. package/dist-types/ts3.4/commands/DisassociatePersonasFromEntitiesCommand.d.ts +0 -2
  39. package/dist-types/ts3.4/commands/GetQuerySuggestionsCommand.d.ts +0 -2
  40. package/dist-types/ts3.4/commands/GetSnapshotsCommand.d.ts +0 -2
  41. package/dist-types/ts3.4/commands/ListAccessControlConfigurationsCommand.d.ts +0 -2
  42. package/dist-types/ts3.4/commands/ListDataSourceSyncJobsCommand.d.ts +0 -2
  43. package/dist-types/ts3.4/commands/ListDataSourcesCommand.d.ts +0 -2
  44. package/dist-types/ts3.4/commands/ListEntityPersonasCommand.d.ts +0 -2
  45. package/dist-types/ts3.4/commands/ListExperienceEntitiesCommand.d.ts +0 -2
  46. package/dist-types/ts3.4/commands/ListExperiencesCommand.d.ts +0 -2
  47. package/dist-types/ts3.4/commands/ListFaqsCommand.d.ts +0 -2
  48. package/dist-types/ts3.4/commands/ListGroupsOlderThanOrderingIdCommand.d.ts +0 -2
  49. package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +0 -2
  50. package/dist-types/ts3.4/commands/ListQuerySuggestionsBlockListsCommand.d.ts +0 -2
  51. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
  52. package/dist-types/ts3.4/commands/ListThesauriCommand.d.ts +0 -2
  53. package/dist-types/ts3.4/commands/PutPrincipalMappingCommand.d.ts +0 -2
  54. package/dist-types/ts3.4/commands/QueryCommand.d.ts +0 -2
  55. package/dist-types/ts3.4/commands/StartDataSourceSyncJobCommand.d.ts +0 -2
  56. package/dist-types/ts3.4/commands/StopDataSourceSyncJobCommand.d.ts +0 -2
  57. package/dist-types/ts3.4/commands/SubmitFeedbackCommand.d.ts +0 -2
  58. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
  59. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
  60. package/dist-types/ts3.4/commands/UpdateAccessControlConfigurationCommand.d.ts +0 -2
  61. package/dist-types/ts3.4/commands/UpdateDataSourceCommand.d.ts +0 -2
  62. package/dist-types/ts3.4/commands/UpdateExperienceCommand.d.ts +0 -2
  63. package/dist-types/ts3.4/commands/UpdateIndexCommand.d.ts +0 -2
  64. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsBlockListCommand.d.ts +0 -2
  65. package/dist-types/ts3.4/commands/UpdateQuerySuggestionsConfigCommand.d.ts +0 -2
  66. package/dist-types/ts3.4/commands/UpdateThesaurusCommand.d.ts +0 -2
  67. package/dist-types/ts3.4/models/KendraServiceException.d.ts +0 -1
  68. package/dist-types/ts3.4/models/models_0.d.ts +0 -1060
  69. package/dist-types/ts3.4/models/models_1.d.ts +0 -34
  70. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  71. package/dist-types/ts3.4/runtimeConfig.d.ts +3 -2
  72. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -2
  73. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
  74. package/package.json +26 -26
@@ -12,83 +12,49 @@ import {
12
12
  UserContext,
13
13
  Warning,
14
14
  } from "./models_0";
15
-
16
15
  export interface FacetResult {
17
16
  DocumentAttributeKey?: string;
18
-
19
17
  DocumentAttributeValueType?: DocumentAttributeValueType | string;
20
-
21
18
  DocumentAttributeValueCountPairs?: DocumentAttributeValueCountPair[];
22
19
  }
23
-
24
20
  export interface AttributeFilter {
25
21
  AndAllFilters?: AttributeFilter[];
26
-
27
22
  OrAllFilters?: AttributeFilter[];
28
-
29
23
  NotFilter?: AttributeFilter;
30
-
31
24
  EqualsTo?: DocumentAttribute;
32
-
33
25
  ContainsAll?: DocumentAttribute;
34
-
35
26
  ContainsAny?: DocumentAttribute;
36
-
37
27
  GreaterThan?: DocumentAttribute;
38
-
39
28
  GreaterThanOrEquals?: DocumentAttribute;
40
-
41
29
  LessThan?: DocumentAttribute;
42
-
43
30
  LessThanOrEquals?: DocumentAttribute;
44
31
  }
45
32
  export interface QueryResult {
46
33
  QueryId?: string;
47
-
48
34
  ResultItems?: QueryResultItem[];
49
-
50
35
  FacetResults?: FacetResult[];
51
-
52
36
  TotalNumberOfResults?: number;
53
-
54
37
  Warnings?: Warning[];
55
-
56
38
  SpellCorrectedQueries?: SpellCorrectedQuery[];
57
39
  }
58
40
  export interface QueryRequest {
59
41
  IndexId: string | undefined;
60
-
61
42
  QueryText?: string;
62
-
63
43
  AttributeFilter?: AttributeFilter;
64
-
65
44
  Facets?: Facet[];
66
-
67
45
  RequestedDocumentAttributes?: string[];
68
-
69
46
  QueryResultTypeFilter?: QueryResultType | string;
70
-
71
47
  DocumentRelevanceOverrideConfigurations?: DocumentRelevanceConfiguration[];
72
-
73
48
  PageNumber?: number;
74
-
75
49
  PageSize?: number;
76
-
77
50
  SortingConfiguration?: SortingConfiguration;
78
-
79
51
  UserContext?: UserContext;
80
-
81
52
  VisitorId?: string;
82
-
83
53
  SpellCorrectionConfiguration?: SpellCorrectionConfiguration;
84
54
  }
85
-
86
55
  export declare const FacetResultFilterSensitiveLog: (obj: FacetResult) => any;
87
-
88
56
  export declare const AttributeFilterFilterSensitiveLog: (
89
57
  obj: AttributeFilter
90
58
  ) => any;
91
-
92
59
  export declare const QueryResultFilterSensitiveLog: (obj: QueryResult) => any;
93
-
94
60
  export declare const QueryRequestFilterSensitiveLog: (obj: QueryRequest) => any;
@@ -1,6 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { KendraClientConfig } from "./KendraClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: KendraClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -51,7 +50,9 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
51
50
  | undefined;
52
51
  signer?:
53
52
  | import("@aws-sdk/types").RequestSigner
54
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
53
+ | ((
54
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
55
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
55
56
  | undefined;
56
57
  signingEscapePath?: boolean | undefined;
57
58
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { KendraClientConfig } from "./KendraClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: KendraClientConfig) => {
5
4
  runtime: string;
6
5
  defaultsMode: import("@aws-sdk/types").Provider<
@@ -51,7 +50,9 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
51
50
  | undefined;
52
51
  signer?:
53
52
  | import("@aws-sdk/types").RequestSigner
54
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
53
+ | ((
54
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
55
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
55
56
  | undefined;
56
57
  signingEscapePath?: boolean | undefined;
57
58
  systemClockOffset?: number | undefined;
@@ -1,5 +1,4 @@
1
1
  import { KendraClientConfig } from "./KendraClient";
2
-
3
2
  export declare const getRuntimeConfig: (config: KendraClientConfig) => {
4
3
  runtime: string;
5
4
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -52,7 +51,9 @@ export declare const getRuntimeConfig: (config: KendraClientConfig) => {
52
51
  | undefined;
53
52
  signer?:
54
53
  | import("@aws-sdk/types").RequestSigner
55
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
54
+ | ((
55
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
56
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
56
57
  | undefined;
57
58
  signingEscapePath?: boolean | undefined;
58
59
  systemClockOffset?: number | undefined;
@@ -1,6 +1,5 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { KendraClientConfig } from "./KendraClient";
3
-
4
3
  export declare const getRuntimeConfig: (config: KendraClientConfig) => {
5
4
  apiVersion: string;
6
5
  disableHostPrefix: boolean;
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.170.0",
4
+ "version": "3.178.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",
@@ -19,35 +19,35 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.170.0",
23
- "@aws-sdk/config-resolver": "3.170.0",
24
- "@aws-sdk/credential-provider-node": "3.170.0",
25
- "@aws-sdk/fetch-http-handler": "3.170.0",
26
- "@aws-sdk/hash-node": "3.170.0",
27
- "@aws-sdk/invalid-dependency": "3.170.0",
28
- "@aws-sdk/middleware-content-length": "3.170.0",
29
- "@aws-sdk/middleware-host-header": "3.170.0",
30
- "@aws-sdk/middleware-logger": "3.170.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.170.0",
32
- "@aws-sdk/middleware-retry": "3.170.0",
33
- "@aws-sdk/middleware-serde": "3.170.0",
34
- "@aws-sdk/middleware-signing": "3.170.0",
35
- "@aws-sdk/middleware-stack": "3.170.0",
36
- "@aws-sdk/middleware-user-agent": "3.170.0",
37
- "@aws-sdk/node-config-provider": "3.170.0",
38
- "@aws-sdk/node-http-handler": "3.170.0",
39
- "@aws-sdk/protocol-http": "3.170.0",
40
- "@aws-sdk/smithy-client": "3.170.0",
41
- "@aws-sdk/types": "3.170.0",
42
- "@aws-sdk/url-parser": "3.170.0",
22
+ "@aws-sdk/client-sts": "3.178.0",
23
+ "@aws-sdk/config-resolver": "3.178.0",
24
+ "@aws-sdk/credential-provider-node": "3.178.0",
25
+ "@aws-sdk/fetch-http-handler": "3.178.0",
26
+ "@aws-sdk/hash-node": "3.178.0",
27
+ "@aws-sdk/invalid-dependency": "3.178.0",
28
+ "@aws-sdk/middleware-content-length": "3.178.0",
29
+ "@aws-sdk/middleware-host-header": "3.178.0",
30
+ "@aws-sdk/middleware-logger": "3.178.0",
31
+ "@aws-sdk/middleware-recursion-detection": "3.178.0",
32
+ "@aws-sdk/middleware-retry": "3.178.0",
33
+ "@aws-sdk/middleware-serde": "3.178.0",
34
+ "@aws-sdk/middleware-signing": "3.178.0",
35
+ "@aws-sdk/middleware-stack": "3.178.0",
36
+ "@aws-sdk/middleware-user-agent": "3.178.0",
37
+ "@aws-sdk/node-config-provider": "3.178.0",
38
+ "@aws-sdk/node-http-handler": "3.178.0",
39
+ "@aws-sdk/protocol-http": "3.178.0",
40
+ "@aws-sdk/smithy-client": "3.178.0",
41
+ "@aws-sdk/types": "3.178.0",
42
+ "@aws-sdk/url-parser": "3.178.0",
43
43
  "@aws-sdk/util-base64-browser": "3.170.0",
44
44
  "@aws-sdk/util-base64-node": "3.170.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.170.0",
46
46
  "@aws-sdk/util-body-length-node": "3.170.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.170.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.170.0",
49
- "@aws-sdk/util-user-agent-browser": "3.170.0",
50
- "@aws-sdk/util-user-agent-node": "3.170.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.178.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.178.0",
49
+ "@aws-sdk/util-user-agent-browser": "3.178.0",
50
+ "@aws-sdk/util-user-agent-node": "3.178.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.170.0",
52
52
  "@aws-sdk/util-utf8-node": "3.170.0",
53
53
  "tslib": "^2.3.1",