@aws-sdk/client-appconfig 3.658.0 → 3.662.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.
package/dist-cjs/index.js CHANGED
@@ -567,9 +567,9 @@ var se_CreateEnvironmentCommand = /* @__PURE__ */ __name(async (input, context)
567
567
  }, "se_CreateEnvironmentCommand");
568
568
  var se_CreateExtensionCommand = /* @__PURE__ */ __name(async (input, context) => {
569
569
  const b = (0, import_core.requestBuilder)(input, context);
570
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
570
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
571
571
  "content-type": "application/json",
572
- [_lvn]: [() => isSerializableHeaderValue(input[_LVN]), () => input[_LVN].toString()]
572
+ [_lvn]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_LVN]), () => input[_LVN].toString()]
573
573
  });
574
574
  b.bp("/extensions");
575
575
  let body;
@@ -606,10 +606,10 @@ var se_CreateExtensionAssociationCommand = /* @__PURE__ */ __name(async (input,
606
606
  }, "se_CreateExtensionAssociationCommand");
607
607
  var se_CreateHostedConfigurationVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
608
608
  const b = (0, import_core.requestBuilder)(input, context);
609
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
609
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
610
610
  [_ct]: input[_CT] || "application/octet-stream",
611
611
  [_d]: input[_D],
612
- [_lvn]: [() => isSerializableHeaderValue(input[_LVN]), () => input[_LVN].toString()],
612
+ [_lvn]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_LVN]), () => input[_LVN].toString()],
613
613
  [_v]: input[_VL]
614
614
  });
615
615
  b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions");
@@ -633,7 +633,7 @@ var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context)
633
633
  }, "se_DeleteApplicationCommand");
634
634
  var se_DeleteConfigurationProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
635
635
  const b = (0, import_core.requestBuilder)(input, context);
636
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
636
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
637
637
  [_xadpc]: input[_DPC]
638
638
  });
639
639
  b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}");
@@ -654,7 +654,7 @@ var se_DeleteDeploymentStrategyCommand = /* @__PURE__ */ __name(async (input, co
654
654
  }, "se_DeleteDeploymentStrategyCommand");
655
655
  var se_DeleteEnvironmentCommand = /* @__PURE__ */ __name(async (input, context) => {
656
656
  const b = (0, import_core.requestBuilder)(input, context);
657
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
657
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
658
658
  [_xadpc]: input[_DPC]
659
659
  });
660
660
  b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}");
@@ -977,10 +977,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
977
977
  b.bp("/tags/{ResourceArn}");
978
978
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
979
979
  const query = (0, import_smithy_client.map)({
980
- [_tK]: [
981
- (0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
982
- () => (input[_TK] || []).map((_entry) => _entry)
983
- ]
980
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
984
981
  });
985
982
  let body;
986
983
  b.m("DELETE").h(headers).q(query).b(body);
@@ -2076,7 +2073,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2076
2073
  extendedRequestId: output.headers["x-amz-id-2"],
2077
2074
  cfId: output.headers["x-amz-cf-id"]
2078
2075
  }), "deserializeMetadata");
2079
- 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");
2080
2076
  var _AI = "ApplicationId";
2081
2077
  var _CCV = "ClientConfigurationVersion";
2082
2078
  var _CI = "ClientId";
@@ -1,6 +1,6 @@
1
1
  import { awsExpectUnion as __expectUnion, 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, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { AppConfigServiceException as __BaseException } from "../models/AppConfigServiceException";
5
5
  import { BadRequestException, ConflictException, InternalServerException, PayloadTooLargeException, ResourceNotFoundException, ServiceQuotaExceededException, } from "../models/models_0";
6
6
  export const se_CreateApplicationCommand = async (input, context) => {
@@ -476,10 +476,7 @@ export const se_UntagResourceCommand = async (input, context) => {
476
476
  b.bp("/tags/{ResourceArn}");
477
477
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
478
478
  const query = map({
479
- [_tK]: [
480
- __expectNonNull(input.TagKeys, `TagKeys`) != null,
481
- () => (input[_TK] || []).map((_entry) => _entry),
482
- ],
479
+ [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
483
480
  });
484
481
  let body;
485
482
  b.m("DELETE").h(headers).q(query).b(body);
@@ -1568,11 +1565,6 @@ const deserializeMetadata = (output) => ({
1568
1565
  cfId: output.headers["x-amz-cf-id"],
1569
1566
  });
1570
1567
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
1571
- const isSerializableHeaderValue = (value) => value !== undefined &&
1572
- value !== null &&
1573
- value !== "" &&
1574
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
1575
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1576
1568
  const _AI = "ApplicationId";
1577
1569
  const _CCV = "ClientConfigurationVersion";
1578
1570
  const _CI = "ClientId";
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.658.0",
4
+ "version": "3.662.0",
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-appconfig",
@@ -20,44 +20,44 @@
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.658.0",
24
- "@aws-sdk/client-sts": "3.658.0",
25
- "@aws-sdk/core": "3.658.0",
26
- "@aws-sdk/credential-provider-node": "3.658.0",
27
- "@aws-sdk/middleware-host-header": "3.654.0",
28
- "@aws-sdk/middleware-logger": "3.654.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.654.0",
30
- "@aws-sdk/middleware-user-agent": "3.654.0",
31
- "@aws-sdk/region-config-resolver": "3.654.0",
32
- "@aws-sdk/types": "3.654.0",
33
- "@aws-sdk/util-endpoints": "3.654.0",
34
- "@aws-sdk/util-user-agent-browser": "3.654.0",
35
- "@aws-sdk/util-user-agent-node": "3.654.0",
36
- "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
39
- "@smithy/hash-node": "^3.0.6",
40
- "@smithy/invalid-dependency": "^3.0.6",
41
- "@smithy/middleware-content-length": "^3.0.8",
42
- "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
44
- "@smithy/middleware-serde": "^3.0.6",
45
- "@smithy/middleware-stack": "^3.0.6",
46
- "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
48
- "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
50
- "@smithy/types": "^3.4.2",
51
- "@smithy/url-parser": "^3.0.6",
23
+ "@aws-sdk/client-sso-oidc": "3.662.0",
24
+ "@aws-sdk/client-sts": "3.662.0",
25
+ "@aws-sdk/core": "3.662.0",
26
+ "@aws-sdk/credential-provider-node": "3.662.0",
27
+ "@aws-sdk/middleware-host-header": "3.662.0",
28
+ "@aws-sdk/middleware-logger": "3.662.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.662.0",
30
+ "@aws-sdk/middleware-user-agent": "3.662.0",
31
+ "@aws-sdk/region-config-resolver": "3.662.0",
32
+ "@aws-sdk/types": "3.662.0",
33
+ "@aws-sdk/util-endpoints": "3.662.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.662.0",
35
+ "@aws-sdk/util-user-agent-node": "3.662.0",
36
+ "@smithy/config-resolver": "^3.0.9",
37
+ "@smithy/core": "^2.4.7",
38
+ "@smithy/fetch-http-handler": "^3.2.9",
39
+ "@smithy/hash-node": "^3.0.7",
40
+ "@smithy/invalid-dependency": "^3.0.7",
41
+ "@smithy/middleware-content-length": "^3.0.9",
42
+ "@smithy/middleware-endpoint": "^3.1.4",
43
+ "@smithy/middleware-retry": "^3.0.22",
44
+ "@smithy/middleware-serde": "^3.0.7",
45
+ "@smithy/middleware-stack": "^3.0.7",
46
+ "@smithy/node-config-provider": "^3.1.8",
47
+ "@smithy/node-http-handler": "^3.2.4",
48
+ "@smithy/protocol-http": "^4.1.4",
49
+ "@smithy/smithy-client": "^3.3.6",
50
+ "@smithy/types": "^3.5.0",
51
+ "@smithy/url-parser": "^3.0.7",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.18",
56
- "@smithy/util-defaults-mode-node": "^3.0.18",
57
- "@smithy/util-endpoints": "^2.1.2",
58
- "@smithy/util-middleware": "^3.0.6",
59
- "@smithy/util-retry": "^3.0.6",
60
- "@smithy/util-stream": "^3.1.6",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.22",
56
+ "@smithy/util-defaults-mode-node": "^3.0.22",
57
+ "@smithy/util-endpoints": "^2.1.3",
58
+ "@smithy/util-middleware": "^3.0.7",
59
+ "@smithy/util-retry": "^3.0.7",
60
+ "@smithy/util-stream": "^3.1.9",
61
61
  "@smithy/util-utf8": "^3.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },