@aws-sdk/client-apigatewayv2 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.
@@ -705,7 +705,7 @@ const serializeAws_restJson1ExportApiCommand = async (input, context) => {
705
705
  const query = map({
706
706
  exportVersion: [, input.ExportVersion],
707
707
  includeExtensions: [() => input.IncludeExtensions !== void 0, () => input.IncludeExtensions.toString()],
708
- outputType: [, input.OutputType],
708
+ outputType: [, (0, smithy_client_1.expectNonNull)(input.OutputType, `OutputType`)],
709
709
  stageName: [, input.StageName],
710
710
  });
711
711
  let body;
@@ -1343,7 +1343,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
1343
1343
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/tags/{ResourceArn}";
1344
1344
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1345
1345
  const query = map({
1346
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
1346
+ tagKeys: [
1347
+ (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
1348
+ () => (input.TagKeys || []).map((_entry) => _entry),
1349
+ ],
1347
1350
  });
1348
1351
  let body;
1349
1352
  return new protocol_http_1.HttpRequest({
@@ -672,7 +672,7 @@ export const serializeAws_restJson1ExportApiCommand = async (input, context) =>
672
672
  const query = map({
673
673
  exportVersion: [, input.ExportVersion],
674
674
  includeExtensions: [() => input.IncludeExtensions !== void 0, () => input.IncludeExtensions.toString()],
675
- outputType: [, input.OutputType],
675
+ outputType: [, __expectNonNull(input.OutputType, `OutputType`)],
676
676
  stageName: [, input.StageName],
677
677
  });
678
678
  let body;
@@ -1279,7 +1279,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
1279
1279
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v2/tags/{ResourceArn}";
1280
1280
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1281
1281
  const query = map({
1282
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
1282
+ tagKeys: [
1283
+ __expectNonNull(input.TagKeys, `TagKeys`) != null,
1284
+ () => (input.TagKeys || []).map((_entry) => _entry),
1285
+ ],
1283
1286
  });
1284
1287
  let body;
1285
1288
  return new __HttpRequest({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-apigatewayv2",
3
3
  "description": "AWS SDK for JavaScript Apigatewayv2 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",