@aws-sdk/client-appsync 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.
@@ -609,7 +609,7 @@ const serializeAws_restJson1GetIntrospectionSchemaCommand = async (input, contex
609
609
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/schema";
610
610
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "apiId", () => input.apiId, "{apiId}", false);
611
611
  const query = map({
612
- format: [, input.format],
612
+ format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
613
613
  includeDirectives: [() => input.includeDirectives !== void 0, () => input.includeDirectives.toString()],
614
614
  });
615
615
  let body;
@@ -669,7 +669,7 @@ const serializeAws_restJson1GetTypeCommand = async (input, context) => {
669
669
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "apiId", () => input.apiId, "{apiId}", false);
670
670
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "typeName", () => input.typeName, "{typeName}", false);
671
671
  const query = map({
672
- format: [, input.format],
672
+ format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
673
673
  });
674
674
  let body;
675
675
  return new protocol_http_1.HttpRequest({
@@ -863,7 +863,7 @@ const serializeAws_restJson1ListTypesCommand = async (input, context) => {
863
863
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/types";
864
864
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "apiId", () => input.apiId, "{apiId}", false);
865
865
  const query = map({
866
- format: [, input.format],
866
+ format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
867
867
  nextToken: [, input.nextToken],
868
868
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
869
869
  });
@@ -930,7 +930,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
930
930
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{resourceArn}";
931
931
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
932
932
  const query = map({
933
- tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
933
+ tagKeys: [
934
+ (0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
935
+ () => (input.tagKeys || []).map((_entry) => _entry),
936
+ ],
934
937
  });
935
938
  let body;
936
939
  return new protocol_http_1.HttpRequest({
@@ -577,7 +577,7 @@ export const serializeAws_restJson1GetIntrospectionSchemaCommand = async (input,
577
577
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/schema";
578
578
  resolvedPath = __resolvedPath(resolvedPath, input, "apiId", () => input.apiId, "{apiId}", false);
579
579
  const query = map({
580
- format: [, input.format],
580
+ format: [, __expectNonNull(input.format, `format`)],
581
581
  includeDirectives: [() => input.includeDirectives !== void 0, () => input.includeDirectives.toString()],
582
582
  });
583
583
  let body;
@@ -634,7 +634,7 @@ export const serializeAws_restJson1GetTypeCommand = async (input, context) => {
634
634
  resolvedPath = __resolvedPath(resolvedPath, input, "apiId", () => input.apiId, "{apiId}", false);
635
635
  resolvedPath = __resolvedPath(resolvedPath, input, "typeName", () => input.typeName, "{typeName}", false);
636
636
  const query = map({
637
- format: [, input.format],
637
+ format: [, __expectNonNull(input.format, `format`)],
638
638
  });
639
639
  let body;
640
640
  return new __HttpRequest({
@@ -819,7 +819,7 @@ export const serializeAws_restJson1ListTypesCommand = async (input, context) =>
819
819
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/apis/{apiId}/types";
820
820
  resolvedPath = __resolvedPath(resolvedPath, input, "apiId", () => input.apiId, "{apiId}", false);
821
821
  const query = map({
822
- format: [, input.format],
822
+ format: [, __expectNonNull(input.format, `format`)],
823
823
  nextToken: [, input.nextToken],
824
824
  maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
825
825
  });
@@ -883,7 +883,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
883
883
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags/{resourceArn}";
884
884
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
885
885
  const query = map({
886
- tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
886
+ tagKeys: [
887
+ __expectNonNull(input.tagKeys, `tagKeys`) != null,
888
+ () => (input.tagKeys || []).map((_entry) => _entry),
889
+ ],
887
890
  });
888
891
  let body;
889
892
  return new __HttpRequest({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appsync",
3
3
  "description": "AWS SDK for JavaScript Appsync 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",