@aws-sdk/client-qbusiness 3.705.0 → 3.709.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/dist-cjs/index.js
CHANGED
|
@@ -1952,10 +1952,6 @@ var se_SearchRelevantContentCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1952
1952
|
};
|
|
1953
1953
|
b.bp("/applications/{applicationId}/relevant-content");
|
|
1954
1954
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
1955
|
-
const query = (0, import_smithy_client.map)({
|
|
1956
|
-
[_uI]: [, input[_uI]],
|
|
1957
|
-
[_uG]: [() => input.userGroups !== void 0, () => input[_uG] || []]
|
|
1958
|
-
});
|
|
1959
1955
|
let body;
|
|
1960
1956
|
body = JSON.stringify(
|
|
1961
1957
|
(0, import_smithy_client.take)(input, {
|
|
@@ -1966,7 +1962,7 @@ var se_SearchRelevantContentCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1966
1962
|
queryText: []
|
|
1967
1963
|
})
|
|
1968
1964
|
);
|
|
1969
|
-
b.m("POST").h(headers).
|
|
1965
|
+
b.m("POST").h(headers).b(body);
|
|
1970
1966
|
return b.build();
|
|
1971
1967
|
}, "se_SearchRelevantContentCommand");
|
|
1972
1968
|
var se_StartDataSourceSyncJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -804,10 +804,6 @@ export const se_SearchRelevantContentCommand = async (input, context) => {
|
|
|
804
804
|
};
|
|
805
805
|
b.bp("/applications/{applicationId}/relevant-content");
|
|
806
806
|
b.p("applicationId", () => input.applicationId, "{applicationId}", false);
|
|
807
|
-
const query = map({
|
|
808
|
-
[_uI]: [, input[_uI]],
|
|
809
|
-
[_uG]: [() => input.userGroups !== void 0, () => input[_uG] || []],
|
|
810
|
-
});
|
|
811
807
|
let body;
|
|
812
808
|
body = JSON.stringify(take(input, {
|
|
813
809
|
attributeFilter: (_) => se_AttributeFilter(_, context),
|
|
@@ -816,7 +812,7 @@ export const se_SearchRelevantContentCommand = async (input, context) => {
|
|
|
816
812
|
nextToken: [],
|
|
817
813
|
queryText: [],
|
|
818
814
|
}));
|
|
819
|
-
b.m("POST").h(headers).
|
|
815
|
+
b.m("POST").h(headers).b(body);
|
|
820
816
|
return b.build();
|
|
821
817
|
};
|
|
822
818
|
export const se_StartDataSourceSyncJobCommand = async (input, context) => {
|
|
@@ -30,7 +30,7 @@ declare const SearchRelevantContentCommand_base: {
|
|
|
30
30
|
/**
|
|
31
31
|
* <p>Searches for relevant content in a Q Business application based on a query. This operation takes a
|
|
32
32
|
* search query text, the Q Business application identifier, and optional filters
|
|
33
|
-
* (such as
|
|
33
|
+
* (such as content source and maximum results) as input. It returns a list of
|
|
34
34
|
* relevant content items, where each item includes the content text, the unique document identifier,
|
|
35
35
|
* the document title, the document URI, any relevant document attributes, and score attributes
|
|
36
36
|
* indicating the confidence level of the relevance.</p>
|
|
@@ -42,10 +42,6 @@ declare const SearchRelevantContentCommand_base: {
|
|
|
42
42
|
* const client = new QBusinessClient(config);
|
|
43
43
|
* const input = { // SearchRelevantContentRequest
|
|
44
44
|
* applicationId: "STRING_VALUE", // required
|
|
45
|
-
* userId: "STRING_VALUE",
|
|
46
|
-
* userGroups: [ // UserGroups
|
|
47
|
-
* "STRING_VALUE",
|
|
48
|
-
* ],
|
|
49
45
|
* queryText: "STRING_VALUE", // required
|
|
50
46
|
* contentSource: { // ContentSource Union: only one key present
|
|
51
47
|
* retriever: { // RetrieverContentSource
|
|
@@ -414,16 +414,6 @@ export interface SearchRelevantContentRequest {
|
|
|
414
414
|
* @public
|
|
415
415
|
*/
|
|
416
416
|
applicationId: string | undefined;
|
|
417
|
-
/**
|
|
418
|
-
* <p>The ID of the user performing the search. Used for access control.</p>
|
|
419
|
-
* @public
|
|
420
|
-
*/
|
|
421
|
-
userId?: string | undefined;
|
|
422
|
-
/**
|
|
423
|
-
* <p>The groups the user belongs to. Used for access control.</p>
|
|
424
|
-
* @public
|
|
425
|
-
*/
|
|
426
|
-
userGroups?: string[] | undefined;
|
|
427
417
|
/**
|
|
428
418
|
* <p>The text to search for.</p>
|
|
429
419
|
* @public
|
|
@@ -97,8 +97,6 @@ export interface ConfigurationEvent {
|
|
|
97
97
|
}
|
|
98
98
|
export interface SearchRelevantContentRequest {
|
|
99
99
|
applicationId: string | undefined;
|
|
100
|
-
userId?: string | undefined;
|
|
101
|
-
userGroups?: string[] | undefined;
|
|
102
100
|
queryText: string | undefined;
|
|
103
101
|
contentSource: ContentSource | undefined;
|
|
104
102
|
attributeFilter?: AttributeFilter | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qbusiness",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qbusiness Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.709.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-qbusiness",
|
|
@@ -20,48 +20,48 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
34
|
-
"@aws-sdk/types": "3.
|
|
35
|
-
"@aws-sdk/util-endpoints": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
38
|
-
"@smithy/config-resolver": "^3.0.
|
|
39
|
-
"@smithy/core": "^2.5.
|
|
40
|
-
"@smithy/eventstream-serde-browser": "^3.0.
|
|
41
|
-
"@smithy/eventstream-serde-config-resolver": "^3.0.
|
|
42
|
-
"@smithy/eventstream-serde-node": "^3.0.
|
|
43
|
-
"@smithy/fetch-http-handler": "^4.1.
|
|
44
|
-
"@smithy/hash-node": "^3.0.
|
|
45
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
46
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
47
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
48
|
-
"@smithy/middleware-retry": "^3.0.
|
|
49
|
-
"@smithy/middleware-serde": "^3.0.
|
|
50
|
-
"@smithy/middleware-stack": "^3.0.
|
|
51
|
-
"@smithy/node-config-provider": "^3.1.
|
|
52
|
-
"@smithy/node-http-handler": "^3.3.
|
|
53
|
-
"@smithy/protocol-http": "^4.1.
|
|
54
|
-
"@smithy/smithy-client": "^3.
|
|
55
|
-
"@smithy/types": "^3.7.
|
|
56
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.709.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.709.0",
|
|
25
|
+
"@aws-sdk/core": "3.709.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.709.0",
|
|
27
|
+
"@aws-sdk/eventstream-handler-node": "3.709.0",
|
|
28
|
+
"@aws-sdk/middleware-eventstream": "3.709.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.709.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.709.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.709.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.709.0",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "3.709.0",
|
|
34
|
+
"@aws-sdk/types": "3.709.0",
|
|
35
|
+
"@aws-sdk/util-endpoints": "3.709.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "3.709.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "3.709.0",
|
|
38
|
+
"@smithy/config-resolver": "^3.0.13",
|
|
39
|
+
"@smithy/core": "^2.5.5",
|
|
40
|
+
"@smithy/eventstream-serde-browser": "^3.0.14",
|
|
41
|
+
"@smithy/eventstream-serde-config-resolver": "^3.0.11",
|
|
42
|
+
"@smithy/eventstream-serde-node": "^3.0.13",
|
|
43
|
+
"@smithy/fetch-http-handler": "^4.1.2",
|
|
44
|
+
"@smithy/hash-node": "^3.0.11",
|
|
45
|
+
"@smithy/invalid-dependency": "^3.0.11",
|
|
46
|
+
"@smithy/middleware-content-length": "^3.0.13",
|
|
47
|
+
"@smithy/middleware-endpoint": "^3.2.5",
|
|
48
|
+
"@smithy/middleware-retry": "^3.0.30",
|
|
49
|
+
"@smithy/middleware-serde": "^3.0.11",
|
|
50
|
+
"@smithy/middleware-stack": "^3.0.11",
|
|
51
|
+
"@smithy/node-config-provider": "^3.1.12",
|
|
52
|
+
"@smithy/node-http-handler": "^3.3.2",
|
|
53
|
+
"@smithy/protocol-http": "^4.1.8",
|
|
54
|
+
"@smithy/smithy-client": "^3.5.0",
|
|
55
|
+
"@smithy/types": "^3.7.2",
|
|
56
|
+
"@smithy/url-parser": "^3.0.11",
|
|
57
57
|
"@smithy/util-base64": "^3.0.0",
|
|
58
58
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
59
59
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
62
|
-
"@smithy/util-endpoints": "^2.1.
|
|
63
|
-
"@smithy/util-middleware": "^3.0.
|
|
64
|
-
"@smithy/util-retry": "^3.0.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^3.0.30",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^3.0.30",
|
|
62
|
+
"@smithy/util-endpoints": "^2.1.7",
|
|
63
|
+
"@smithy/util-middleware": "^3.0.11",
|
|
64
|
+
"@smithy/util-retry": "^3.0.11",
|
|
65
65
|
"@smithy/util-utf8": "^3.0.0",
|
|
66
66
|
"@types/uuid": "^9.0.1",
|
|
67
67
|
"tslib": "^2.6.2",
|