@aws-sdk/client-qbusiness 3.654.0 → 3.658.1

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
@@ -1025,7 +1025,7 @@ var se_ChatCommand = /* @__PURE__ */ __name(async (input, context) => {
1025
1025
  b.p("applicationId", () => input.applicationId, "{applicationId}", false);
1026
1026
  const query = (0, import_smithy_client.map)({
1027
1027
  [_uI]: [, input[_uI]],
1028
- [_uG]: [() => input.userGroups !== void 0, () => (input[_uG] || []).map((_entry) => _entry)],
1028
+ [_uG]: [() => input.userGroups !== void 0, () => input[_uG] || []],
1029
1029
  [_cI]: [, input[_cI]],
1030
1030
  [_pMI]: [, input[_pMI]],
1031
1031
  [_cT]: [, input[_cT] ?? (0, import_uuid.v4)()]
@@ -1047,7 +1047,7 @@ var se_ChatSyncCommand = /* @__PURE__ */ __name(async (input, context) => {
1047
1047
  const query = (0, import_smithy_client.map)({
1048
1048
  [_s]: [, ""],
1049
1049
  [_uI]: [, input[_uI]],
1050
- [_uG]: [() => input.userGroups !== void 0, () => (input[_uG] || []).map((_entry) => _entry)]
1050
+ [_uG]: [() => input.userGroups !== void 0, () => input[_uG] || []]
1051
1051
  });
1052
1052
  let body;
1053
1053
  body = JSON.stringify(
@@ -1492,7 +1492,7 @@ var se_ListDocumentsCommand = /* @__PURE__ */ __name(async (input, context) => {
1492
1492
  b.p("applicationId", () => input.applicationId, "{applicationId}", false);
1493
1493
  b.p("indexId", () => input.indexId, "{indexId}", false);
1494
1494
  const query = (0, import_smithy_client.map)({
1495
- [_dSIa]: [() => input.dataSourceIds !== void 0, () => (input[_dSIa] || []).map((_entry) => _entry)],
1495
+ [_dSIa]: [() => input.dataSourceIds !== void 0, () => input[_dSIa] || []],
1496
1496
  [_nT]: [, input[_nT]],
1497
1497
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
1498
1498
  });
@@ -1681,10 +1681,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1681
1681
  b.bp("/v1/tags/{resourceARN}");
1682
1682
  b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);
1683
1683
  const query = (0, import_smithy_client.map)({
1684
- [_tK]: [
1685
- (0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
1686
- () => (input[_tK] || []).map((_entry) => _entry)
1687
- ]
1684
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
1688
1685
  });
1689
1686
  let body;
1690
1687
  b.m("DELETE").h(headers).q(query).b(body);
@@ -46,7 +46,7 @@ export const se_ChatCommand = async (input, context) => {
46
46
  b.p("applicationId", () => input.applicationId, "{applicationId}", false);
47
47
  const query = map({
48
48
  [_uI]: [, input[_uI]],
49
- [_uG]: [() => input.userGroups !== void 0, () => (input[_uG] || []).map((_entry) => _entry)],
49
+ [_uG]: [() => input.userGroups !== void 0, () => input[_uG] || []],
50
50
  [_cI]: [, input[_cI]],
51
51
  [_pMI]: [, input[_pMI]],
52
52
  [_cT]: [, input[_cT] ?? generateIdempotencyToken()],
@@ -68,7 +68,7 @@ export const se_ChatSyncCommand = async (input, context) => {
68
68
  const query = map({
69
69
  [_s]: [, ""],
70
70
  [_uI]: [, input[_uI]],
71
- [_uG]: [() => input.userGroups !== void 0, () => (input[_uG] || []).map((_entry) => _entry)],
71
+ [_uG]: [() => input.userGroups !== void 0, () => input[_uG] || []],
72
72
  });
73
73
  let body;
74
74
  body = JSON.stringify(take(input, {
@@ -497,7 +497,7 @@ export const se_ListDocumentsCommand = async (input, context) => {
497
497
  b.p("applicationId", () => input.applicationId, "{applicationId}", false);
498
498
  b.p("indexId", () => input.indexId, "{indexId}", false);
499
499
  const query = map({
500
- [_dSIa]: [() => input.dataSourceIds !== void 0, () => (input[_dSIa] || []).map((_entry) => _entry)],
500
+ [_dSIa]: [() => input.dataSourceIds !== void 0, () => input[_dSIa] || []],
501
501
  [_nT]: [, input[_nT]],
502
502
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
503
503
  });
@@ -680,10 +680,7 @@ export const se_UntagResourceCommand = async (input, context) => {
680
680
  b.bp("/v1/tags/{resourceARN}");
681
681
  b.p("resourceARN", () => input.resourceARN, "{resourceARN}", false);
682
682
  const query = map({
683
- [_tK]: [
684
- __expectNonNull(input.tagKeys, `tagKeys`) != null,
685
- () => (input[_tK] || []).map((_entry) => _entry),
686
- ],
683
+ [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
687
684
  });
688
685
  let body;
689
686
  b.m("DELETE").h(headers).q(query).b(body);
@@ -2465,11 +2462,6 @@ const deserializeMetadata = (output) => ({
2465
2462
  cfId: output.headers["x-amz-cf-id"],
2466
2463
  });
2467
2464
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2468
- const isSerializableHeaderValue = (value) => value !== undefined &&
2469
- value !== null &&
2470
- value !== "" &&
2471
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
2472
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
2473
2465
  const _cI = "conversationId";
2474
2466
  const _cT = "clientToken";
2475
2467
  const _dSI = "dataSourceId";
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.654.0",
4
+ "version": "3.658.1",
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,10 +20,10 @@
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.654.0",
24
- "@aws-sdk/client-sts": "3.654.0",
25
- "@aws-sdk/core": "3.654.0",
26
- "@aws-sdk/credential-provider-node": "3.654.0",
23
+ "@aws-sdk/client-sso-oidc": "3.658.1",
24
+ "@aws-sdk/client-sts": "3.658.1",
25
+ "@aws-sdk/core": "3.658.1",
26
+ "@aws-sdk/credential-provider-node": "3.658.1",
27
27
  "@aws-sdk/eventstream-handler-node": "3.654.0",
28
28
  "@aws-sdk/middleware-eventstream": "3.654.0",
29
29
  "@aws-sdk/middleware-host-header": "3.654.0",
@@ -36,29 +36,29 @@
36
36
  "@aws-sdk/util-user-agent-browser": "3.654.0",
37
37
  "@aws-sdk/util-user-agent-node": "3.654.0",
38
38
  "@smithy/config-resolver": "^3.0.8",
39
- "@smithy/core": "^2.4.3",
39
+ "@smithy/core": "^2.4.6",
40
40
  "@smithy/eventstream-serde-browser": "^3.0.9",
41
41
  "@smithy/eventstream-serde-config-resolver": "^3.0.6",
42
42
  "@smithy/eventstream-serde-node": "^3.0.8",
43
- "@smithy/fetch-http-handler": "^3.2.7",
43
+ "@smithy/fetch-http-handler": "^3.2.8",
44
44
  "@smithy/hash-node": "^3.0.6",
45
45
  "@smithy/invalid-dependency": "^3.0.6",
46
46
  "@smithy/middleware-content-length": "^3.0.8",
47
47
  "@smithy/middleware-endpoint": "^3.1.3",
48
- "@smithy/middleware-retry": "^3.0.18",
48
+ "@smithy/middleware-retry": "^3.0.21",
49
49
  "@smithy/middleware-serde": "^3.0.6",
50
50
  "@smithy/middleware-stack": "^3.0.6",
51
51
  "@smithy/node-config-provider": "^3.1.7",
52
- "@smithy/node-http-handler": "^3.2.2",
52
+ "@smithy/node-http-handler": "^3.2.3",
53
53
  "@smithy/protocol-http": "^4.1.3",
54
- "@smithy/smithy-client": "^3.3.2",
54
+ "@smithy/smithy-client": "^3.3.5",
55
55
  "@smithy/types": "^3.4.2",
56
56
  "@smithy/url-parser": "^3.0.6",
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.18",
61
- "@smithy/util-defaults-mode-node": "^3.0.18",
60
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
61
+ "@smithy/util-defaults-mode-node": "^3.0.21",
62
62
  "@smithy/util-endpoints": "^2.1.2",
63
63
  "@smithy/util-middleware": "^3.0.6",
64
64
  "@smithy/util-retry": "^3.0.6",