@aws-sdk/client-appconfig 3.216.0 → 3.222.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.
@@ -355,7 +355,7 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
355
355
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Environment", () => input.Environment, "{Environment}", false);
356
356
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Configuration", () => input.Configuration, "{Configuration}", false);
357
357
  const query = map({
358
- client_id: [, input.ClientId],
358
+ client_id: [, (0, smithy_client_1.expectNonNull)(input.ClientId, `ClientId`)],
359
359
  client_configuration_version: [, input.ClientConfigurationVersion],
360
360
  });
361
361
  let body;
@@ -785,7 +785,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
785
785
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
786
786
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
787
787
  const query = map({
788
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
788
+ tagKeys: [
789
+ (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
790
+ () => (input.TagKeys || []).map((_entry) => _entry),
791
+ ],
789
792
  });
790
793
  let body;
791
794
  return new protocol_http_1.HttpRequest({
@@ -961,7 +964,7 @@ const serializeAws_restJson1ValidateConfigurationCommand = async (input, context
961
964
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
962
965
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
963
966
  const query = map({
964
- configuration_version: [, input.ConfigurationVersion],
967
+ configuration_version: [, (0, smithy_client_1.expectNonNull)(input.ConfigurationVersion, `ConfigurationVersion`)],
965
968
  });
966
969
  let body;
967
970
  return new protocol_http_1.HttpRequest({
@@ -336,7 +336,7 @@ export const serializeAws_restJson1GetConfigurationCommand = async (input, conte
336
336
  resolvedPath = __resolvedPath(resolvedPath, input, "Environment", () => input.Environment, "{Environment}", false);
337
337
  resolvedPath = __resolvedPath(resolvedPath, input, "Configuration", () => input.Configuration, "{Configuration}", false);
338
338
  const query = map({
339
- client_id: [, input.ClientId],
339
+ client_id: [, __expectNonNull(input.ClientId, `ClientId`)],
340
340
  client_configuration_version: [, input.ClientConfigurationVersion],
341
341
  });
342
342
  let body;
@@ -746,7 +746,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
746
746
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
747
747
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
748
748
  const query = map({
749
- tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
749
+ tagKeys: [
750
+ __expectNonNull(input.TagKeys, `TagKeys`) != null,
751
+ () => (input.TagKeys || []).map((_entry) => _entry),
752
+ ],
750
753
  });
751
754
  let body;
752
755
  return new __HttpRequest({
@@ -915,7 +918,7 @@ export const serializeAws_restJson1ValidateConfigurationCommand = async (input,
915
918
  resolvedPath = __resolvedPath(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
916
919
  resolvedPath = __resolvedPath(resolvedPath, input, "ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
917
920
  const query = map({
918
- configuration_version: [, input.ConfigurationVersion],
921
+ configuration_version: [, __expectNonNull(input.ConfigurationVersion, `ConfigurationVersion`)],
919
922
  });
920
923
  let body;
921
924
  return new __HttpRequest({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appconfig",
3
3
  "description": "AWS SDK for JavaScript Appconfig Client for Node.js, Browser and React Native",
4
- "version": "3.216.0",
4
+ "version": "3.222.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,36 +19,37 @@
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",
23
- "@aws-sdk/config-resolver": "3.215.0",
24
- "@aws-sdk/credential-provider-node": "3.216.0",
25
- "@aws-sdk/fetch-http-handler": "3.215.0",
26
- "@aws-sdk/hash-node": "3.215.0",
27
- "@aws-sdk/invalid-dependency": "3.215.0",
28
- "@aws-sdk/middleware-content-length": "3.215.0",
29
- "@aws-sdk/middleware-endpoint": "3.215.0",
30
- "@aws-sdk/middleware-host-header": "3.215.0",
31
- "@aws-sdk/middleware-logger": "3.215.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.215.0",
33
- "@aws-sdk/middleware-retry": "3.215.0",
34
- "@aws-sdk/middleware-serde": "3.215.0",
35
- "@aws-sdk/middleware-signing": "3.215.0",
36
- "@aws-sdk/middleware-stack": "3.215.0",
37
- "@aws-sdk/middleware-user-agent": "3.215.0",
38
- "@aws-sdk/node-config-provider": "3.215.0",
39
- "@aws-sdk/node-http-handler": "3.215.0",
40
- "@aws-sdk/protocol-http": "3.215.0",
41
- "@aws-sdk/smithy-client": "3.215.0",
42
- "@aws-sdk/types": "3.215.0",
43
- "@aws-sdk/url-parser": "3.215.0",
22
+ "@aws-sdk/client-sts": "3.222.0",
23
+ "@aws-sdk/config-resolver": "3.222.0",
24
+ "@aws-sdk/credential-provider-node": "3.222.0",
25
+ "@aws-sdk/fetch-http-handler": "3.222.0",
26
+ "@aws-sdk/hash-node": "3.222.0",
27
+ "@aws-sdk/invalid-dependency": "3.222.0",
28
+ "@aws-sdk/middleware-content-length": "3.222.0",
29
+ "@aws-sdk/middleware-endpoint": "3.222.0",
30
+ "@aws-sdk/middleware-host-header": "3.222.0",
31
+ "@aws-sdk/middleware-logger": "3.222.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.222.0",
33
+ "@aws-sdk/middleware-retry": "3.222.0",
34
+ "@aws-sdk/middleware-serde": "3.222.0",
35
+ "@aws-sdk/middleware-signing": "3.222.0",
36
+ "@aws-sdk/middleware-stack": "3.222.0",
37
+ "@aws-sdk/middleware-user-agent": "3.222.0",
38
+ "@aws-sdk/node-config-provider": "3.222.0",
39
+ "@aws-sdk/node-http-handler": "3.222.0",
40
+ "@aws-sdk/protocol-http": "3.222.0",
41
+ "@aws-sdk/smithy-client": "3.222.0",
42
+ "@aws-sdk/types": "3.222.0",
43
+ "@aws-sdk/url-parser": "3.222.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.215.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.215.0",
49
- "@aws-sdk/util-endpoints": "3.216.0",
50
- "@aws-sdk/util-user-agent-browser": "3.215.0",
51
- "@aws-sdk/util-user-agent-node": "3.215.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.222.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.222.0",
49
+ "@aws-sdk/util-endpoints": "3.222.0",
50
+ "@aws-sdk/util-retry": "3.222.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.222.0",
52
+ "@aws-sdk/util-user-agent-node": "3.222.0",
52
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
54
  "@aws-sdk/util-utf8-node": "3.208.0",
54
55
  "tslib": "^2.3.1"