@aws-sdk/client-lambda 3.656.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
@@ -1949,7 +1949,7 @@ var se_GetRuntimeManagementConfigCommand = /* @__PURE__ */ __name(async (input,
1949
1949
  }, "se_GetRuntimeManagementConfigCommand");
1950
1950
  var se_InvokeCommand = /* @__PURE__ */ __name(async (input, context) => {
1951
1951
  const b = (0, import_core.requestBuilder)(input, context);
1952
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
1952
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
1953
1953
  "content-type": "application/octet-stream",
1954
1954
  [_xait]: input[_IT],
1955
1955
  [_xalt]: input[_LT],
@@ -1983,7 +1983,7 @@ var se_InvokeAsyncCommand = /* @__PURE__ */ __name(async (input, context) => {
1983
1983
  }, "se_InvokeAsyncCommand");
1984
1984
  var se_InvokeWithResponseStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
1985
1985
  const b = (0, import_core.requestBuilder)(input, context);
1986
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
1986
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
1987
1987
  "content-type": "application/octet-stream",
1988
1988
  [_xait]: input[_IT],
1989
1989
  [_xalt]: input[_LT],
@@ -2388,10 +2388,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
2388
2388
  b.bp("/2017-03-31/tags/{Resource}");
2389
2389
  b.p("Resource", () => input.Resource, "{Resource}", false);
2390
2390
  const query = (0, import_smithy_client.map)({
2391
- [_tK]: [
2392
- (0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
2393
- () => (input[_TK] || []).map((_entry) => _entry)
2394
- ]
2391
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
2395
2392
  });
2396
2393
  let body;
2397
2394
  b.m("DELETE").h(headers).q(query).b(body);
@@ -4762,7 +4759,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
4762
4759
  extendedRequestId: output.headers["x-amz-id-2"],
4763
4760
  cfId: output.headers["x-amz-cf-id"]
4764
4761
  }), "deserializeMetadata");
4765
- 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");
4766
4762
  var _A = "Arn";
4767
4763
  var _CA = "CompatibleArchitecture";
4768
4764
  var _CC = "ClientContext";
@@ -1,6 +1,6 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { LambdaServiceException as __BaseException } from "../models/LambdaServiceException";
5
5
  import { CodeSigningConfigNotFoundException, CodeStorageExceededException, CodeVerificationFailedException, EC2AccessDeniedException, EC2ThrottledException, EC2UnexpectedException, EFSIOException, EFSMountConnectivityException, EFSMountFailureException, EFSMountTimeoutException, ENILimitReachedException, InvalidCodeSignatureException, InvalidParameterValueException, InvalidRequestContentException, InvalidRuntimeException, InvalidSecurityGroupIDException, InvalidSubnetIDException, InvalidZipFileException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, PolicyLengthExceededException, PreconditionFailedException, ProvisionedConcurrencyConfigNotFoundException, PublicPolicyException, RecursiveInvocationException, RequestTooLargeException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceException, SnapStartException, SnapStartNotReadyException, SnapStartTimeoutException, SubnetIPAddressLimitReachedException, TooManyRequestsException, UnsupportedMediaTypeException, } from "../models/models_0";
6
6
  export const se_AddLayerVersionPermissionCommand = async (input, context) => {
@@ -906,10 +906,7 @@ export const se_UntagResourceCommand = async (input, context) => {
906
906
  b.bp("/2017-03-31/tags/{Resource}");
907
907
  b.p("Resource", () => input.Resource, "{Resource}", false);
908
908
  const query = map({
909
- [_tK]: [
910
- __expectNonNull(input.TagKeys, `TagKeys`) != null,
911
- () => (input[_TK] || []).map((_entry) => _entry),
912
- ],
909
+ [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
913
910
  });
914
911
  let body;
915
912
  b.m("DELETE").h(headers).q(query).b(body);
@@ -3273,11 +3270,6 @@ const deserializeMetadata = (output) => ({
3273
3270
  cfId: output.headers["x-amz-cf-id"],
3274
3271
  });
3275
3272
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
3276
- const isSerializableHeaderValue = (value) => value !== undefined &&
3277
- value !== null &&
3278
- value !== "" &&
3279
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
3280
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
3281
3273
  const _A = "Arn";
3282
3274
  const _CA = "CompatibleArchitecture";
3283
3275
  const _CC = "ClientContext";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lambda",
3
3
  "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
4
- "version": "3.656.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-lambda",
@@ -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,33 +34,33 @@
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",
37
+ "@smithy/core": "^2.4.6",
38
38
  "@smithy/eventstream-serde-browser": "^3.0.9",
39
39
  "@smithy/eventstream-serde-config-resolver": "^3.0.6",
40
40
  "@smithy/eventstream-serde-node": "^3.0.8",
41
- "@smithy/fetch-http-handler": "^3.2.7",
41
+ "@smithy/fetch-http-handler": "^3.2.8",
42
42
  "@smithy/hash-node": "^3.0.6",
43
43
  "@smithy/invalid-dependency": "^3.0.6",
44
44
  "@smithy/middleware-content-length": "^3.0.8",
45
45
  "@smithy/middleware-endpoint": "^3.1.3",
46
- "@smithy/middleware-retry": "^3.0.18",
46
+ "@smithy/middleware-retry": "^3.0.21",
47
47
  "@smithy/middleware-serde": "^3.0.6",
48
48
  "@smithy/middleware-stack": "^3.0.6",
49
49
  "@smithy/node-config-provider": "^3.1.7",
50
- "@smithy/node-http-handler": "^3.2.2",
50
+ "@smithy/node-http-handler": "^3.2.3",
51
51
  "@smithy/protocol-http": "^4.1.3",
52
- "@smithy/smithy-client": "^3.3.2",
52
+ "@smithy/smithy-client": "^3.3.5",
53
53
  "@smithy/types": "^3.4.2",
54
54
  "@smithy/url-parser": "^3.0.6",
55
55
  "@smithy/util-base64": "^3.0.0",
56
56
  "@smithy/util-body-length-browser": "^3.0.0",
57
57
  "@smithy/util-body-length-node": "^3.0.0",
58
- "@smithy/util-defaults-mode-browser": "^3.0.18",
59
- "@smithy/util-defaults-mode-node": "^3.0.18",
58
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
59
+ "@smithy/util-defaults-mode-node": "^3.0.21",
60
60
  "@smithy/util-endpoints": "^2.1.2",
61
61
  "@smithy/util-middleware": "^3.0.6",
62
62
  "@smithy/util-retry": "^3.0.6",
63
- "@smithy/util-stream": "^3.1.6",
63
+ "@smithy/util-stream": "^3.1.8",
64
64
  "@smithy/util-utf8": "^3.0.0",
65
65
  "@smithy/util-waiter": "^3.1.5",
66
66
  "tslib": "^2.6.2"