@aws-sdk/client-omics 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
@@ -1716,7 +1716,7 @@ var se_GetReadSetMetadataCommand = /* @__PURE__ */ __name(async (input, context)
1716
1716
  }, "se_GetReadSetMetadataCommand");
1717
1717
  var se_GetReferenceCommand = /* @__PURE__ */ __name(async (input, context) => {
1718
1718
  const b = (0, import_core.requestBuilder)(input, context);
1719
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
1719
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
1720
1720
  [_r]: input[_r]
1721
1721
  });
1722
1722
  b.bp("/referencestore/{referenceStoreId}/reference/{id}");
@@ -1797,7 +1797,7 @@ var se_GetRunCommand = /* @__PURE__ */ __name(async (input, context) => {
1797
1797
  b.bp("/run/{id}");
1798
1798
  b.p("id", () => input.id, "{id}", false);
1799
1799
  const query = (0, import_smithy_client.map)({
1800
- [_e]: [() => input.export !== void 0, () => (input[_e] || []).map((_entry) => _entry)]
1800
+ [_e]: [() => input.export !== void 0, () => input[_e] || []]
1801
1801
  });
1802
1802
  let body;
1803
1803
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -1921,7 +1921,7 @@ var se_GetWorkflowCommand = /* @__PURE__ */ __name(async (input, context) => {
1921
1921
  b.p("id", () => input.id, "{id}", false);
1922
1922
  const query = (0, import_smithy_client.map)({
1923
1923
  [_t]: [, input[_t]],
1924
- [_e]: [() => input.export !== void 0, () => (input[_e] || []).map((_entry) => _entry)],
1924
+ [_e]: [() => input.export !== void 0, () => input[_e] || []],
1925
1925
  [_wOI]: [, input[_wOI]]
1926
1926
  });
1927
1927
  let body;
@@ -2710,10 +2710,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
2710
2710
  b.bp("/tags/{resourceArn}");
2711
2711
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
2712
2712
  const query = (0, import_smithy_client.map)({
2713
- [_tK]: [
2714
- (0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
2715
- () => (input[_tK] || []).map((_entry) => _entry)
2716
- ]
2713
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
2717
2714
  });
2718
2715
  let body;
2719
2716
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -4904,7 +4901,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
4904
4901
  extendedRequestId: output.headers["x-amz-id-2"],
4905
4902
  cfId: output.headers["x-amz-cf-id"]
4906
4903
  }), "deserializeMetadata");
4907
- var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
4908
4904
  var _e = "export";
4909
4905
  var _f = "force";
4910
4906
  var _fi = "file";
@@ -1,7 +1,7 @@
1
1
  import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody, } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
3
  import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
4
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
4
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, take, withBaseException, } from "@smithy/smithy-client";
5
5
  import { v4 as generateIdempotencyToken } from "uuid";
6
6
  import { AccessDeniedException, ConflictException, InternalServerException, NotSupportedOperationException, RangeNotSatisfiableException, RequestTimeoutException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
7
7
  import { OmicsServiceException as __BaseException } from "../models/OmicsServiceException";
@@ -791,7 +791,7 @@ export const se_GetRunCommand = async (input, context) => {
791
791
  b.bp("/run/{id}");
792
792
  b.p("id", () => input.id, "{id}", false);
793
793
  const query = map({
794
- [_e]: [() => input.export !== void 0, () => (input[_e] || []).map((_entry) => _entry)],
794
+ [_e]: [() => input.export !== void 0, () => input[_e] || []],
795
795
  });
796
796
  let body;
797
797
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -915,7 +915,7 @@ export const se_GetWorkflowCommand = async (input, context) => {
915
915
  b.p("id", () => input.id, "{id}", false);
916
916
  const query = map({
917
917
  [_t]: [, input[_t]],
918
- [_e]: [() => input.export !== void 0, () => (input[_e] || []).map((_entry) => _entry)],
918
+ [_e]: [() => input.export !== void 0, () => input[_e] || []],
919
919
  [_wOI]: [, input[_wOI]],
920
920
  });
921
921
  let body;
@@ -1658,10 +1658,7 @@ export const se_UntagResourceCommand = async (input, context) => {
1658
1658
  b.bp("/tags/{resourceArn}");
1659
1659
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1660
1660
  const query = map({
1661
- [_tK]: [
1662
- __expectNonNull(input.tagKeys, `tagKeys`) != null,
1663
- () => (input[_tK] || []).map((_entry) => _entry),
1664
- ],
1661
+ [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
1665
1662
  });
1666
1663
  let body;
1667
1664
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -3883,11 +3880,6 @@ const deserializeMetadata = (output) => ({
3883
3880
  cfId: output.headers["x-amz-cf-id"],
3884
3881
  });
3885
3882
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
3886
- const isSerializableHeaderValue = (value) => value !== undefined &&
3887
- value !== null &&
3888
- value !== "" &&
3889
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
3890
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
3891
3883
  const _e = "export";
3892
3884
  const _f = "force";
3893
3885
  const _fi = "file";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-omics",
3
3
  "description": "AWS SDK for JavaScript Omics 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-omics",
@@ -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/middleware-host-header": "3.654.0",
28
28
  "@aws-sdk/middleware-logger": "3.654.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
@@ -34,30 +34,30 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.654.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.654.0",
36
36
  "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
37
+ "@smithy/core": "^2.4.6",
38
+ "@smithy/fetch-http-handler": "^3.2.8",
39
39
  "@smithy/hash-node": "^3.0.6",
40
40
  "@smithy/invalid-dependency": "^3.0.6",
41
41
  "@smithy/middleware-content-length": "^3.0.8",
42
42
  "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
43
+ "@smithy/middleware-retry": "^3.0.21",
44
44
  "@smithy/middleware-serde": "^3.0.6",
45
45
  "@smithy/middleware-stack": "^3.0.6",
46
46
  "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
47
+ "@smithy/node-http-handler": "^3.2.3",
48
48
  "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
49
+ "@smithy/smithy-client": "^3.3.5",
50
50
  "@smithy/types": "^3.4.2",
51
51
  "@smithy/url-parser": "^3.0.6",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.18",
56
- "@smithy/util-defaults-mode-node": "^3.0.18",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
56
+ "@smithy/util-defaults-mode-node": "^3.0.21",
57
57
  "@smithy/util-endpoints": "^2.1.2",
58
58
  "@smithy/util-middleware": "^3.0.6",
59
59
  "@smithy/util-retry": "^3.0.6",
60
- "@smithy/util-stream": "^3.1.6",
60
+ "@smithy/util-stream": "^3.1.8",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
62
  "@smithy/util-waiter": "^3.1.5",
63
63
  "tslib": "^2.6.2",