@aws-sdk/client-lambda 3.216.0 → 3.218.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.
@@ -446,7 +446,7 @@ const serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand = async (i
446
446
  "/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
447
447
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
448
448
  const query = map({
449
- Qualifier: [, input.Qualifier],
449
+ Qualifier: [, (0, smithy_client_1.expectNonNull)(input.Qualifier, `Qualifier`)],
450
450
  });
451
451
  let body;
452
452
  return new protocol_http_1.HttpRequest({
@@ -681,7 +681,7 @@ const serializeAws_restJson1GetLayerVersionByArnCommand = async (input, context)
681
681
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers";
682
682
  const query = map({
683
683
  find: [, "LayerVersion"],
684
- Arn: [, input.Arn],
684
+ Arn: [, (0, smithy_client_1.expectNonNull)(input.Arn, `Arn`)],
685
685
  });
686
686
  let body;
687
687
  return new protocol_http_1.HttpRequest({
@@ -744,7 +744,7 @@ const serializeAws_restJson1GetProvisionedConcurrencyConfigCommand = async (inpu
744
744
  "/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
745
745
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
746
746
  const query = map({
747
- Qualifier: [, input.Qualifier],
747
+ Qualifier: [, (0, smithy_client_1.expectNonNull)(input.Qualifier, `Qualifier`)],
748
748
  });
749
749
  let body;
750
750
  return new protocol_http_1.HttpRequest({
@@ -1225,7 +1225,7 @@ const serializeAws_restJson1PutProvisionedConcurrencyConfigCommand = async (inpu
1225
1225
  "/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
1226
1226
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
1227
1227
  const query = map({
1228
- Qualifier: [, input.Qualifier],
1228
+ Qualifier: [, (0, smithy_client_1.expectNonNull)(input.Qualifier, `Qualifier`)],
1229
1229
  });
1230
1230
  let body;
1231
1231
  body = JSON.stringify({
@@ -1321,7 +1321,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1321
1321
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}";
1322
1322
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false);
1323
1323
  const query = map({
1324
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
1324
+ tagKeys: [
1325
+ (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
1326
+ () => (input.TagKeys || []).map((_entry) => _entry),
1327
+ ],
1325
1328
  });
1326
1329
  let body;
1327
1330
  return new protocol_http_1.HttpRequest({
@@ -425,7 +425,7 @@ export const serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand = a
425
425
  "/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
426
426
  resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
427
427
  const query = map({
428
- Qualifier: [, input.Qualifier],
428
+ Qualifier: [, __expectNonNull(input.Qualifier, `Qualifier`)],
429
429
  });
430
430
  let body;
431
431
  return new __HttpRequest({
@@ -648,7 +648,7 @@ export const serializeAws_restJson1GetLayerVersionByArnCommand = async (input, c
648
648
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers";
649
649
  const query = map({
650
650
  find: [, "LayerVersion"],
651
- Arn: [, input.Arn],
651
+ Arn: [, __expectNonNull(input.Arn, `Arn`)],
652
652
  });
653
653
  let body;
654
654
  return new __HttpRequest({
@@ -708,7 +708,7 @@ export const serializeAws_restJson1GetProvisionedConcurrencyConfigCommand = asyn
708
708
  "/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
709
709
  resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
710
710
  const query = map({
711
- Qualifier: [, input.Qualifier],
711
+ Qualifier: [, __expectNonNull(input.Qualifier, `Qualifier`)],
712
712
  });
713
713
  let body;
714
714
  return new __HttpRequest({
@@ -1169,7 +1169,7 @@ export const serializeAws_restJson1PutProvisionedConcurrencyConfigCommand = asyn
1169
1169
  "/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
1170
1170
  resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
1171
1171
  const query = map({
1172
- Qualifier: [, input.Qualifier],
1172
+ Qualifier: [, __expectNonNull(input.Qualifier, `Qualifier`)],
1173
1173
  });
1174
1174
  let body;
1175
1175
  body = JSON.stringify({
@@ -1261,7 +1261,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
1261
1261
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}";
1262
1262
  resolvedPath = __resolvedPath(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false);
1263
1263
  const query = map({
1264
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
1264
+ tagKeys: [
1265
+ __expectNonNull(input.TagKeys, `TagKeys`) != null,
1266
+ () => (input.TagKeys || []).map((_entry) => _entry),
1267
+ ],
1265
1268
  });
1266
1269
  let body;
1267
1270
  return new __HttpRequest({
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.216.0",
4
+ "version": "3.218.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.216.0",
22
+ "@aws-sdk/client-sts": "3.218.0",
23
23
  "@aws-sdk/config-resolver": "3.215.0",
24
- "@aws-sdk/credential-provider-node": "3.216.0",
24
+ "@aws-sdk/credential-provider-node": "3.218.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.215.0",
26
26
  "@aws-sdk/hash-node": "3.215.0",
27
27
  "@aws-sdk/invalid-dependency": "3.215.0",