@aws-sdk/client-qbusiness 3.705.0 → 3.707.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).q(query).b(body);
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).q(query).b(body);
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 user ID, user groups, content source, and maximum results) as input. It returns a list of
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.705.0",
4
+ "version": "3.707.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",