@aws-sdk/client-billingconductor 3.658.0 → 3.658.1

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
@@ -745,7 +745,7 @@ var se_BatchDisassociateResourcesFromCustomLineItemCommand = /* @__PURE__ */ __n
745
745
  }, "se_BatchDisassociateResourcesFromCustomLineItemCommand");
746
746
  var se_CreateBillingGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
747
747
  const b = (0, import_core.requestBuilder)(input, context);
748
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
748
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
749
749
  "content-type": "application/json",
750
750
  [_xact]: input[_CT] ?? (0, import_uuid.v4)()
751
751
  });
@@ -766,7 +766,7 @@ var se_CreateBillingGroupCommand = /* @__PURE__ */ __name(async (input, context)
766
766
  }, "se_CreateBillingGroupCommand");
767
767
  var se_CreateCustomLineItemCommand = /* @__PURE__ */ __name(async (input, context) => {
768
768
  const b = (0, import_core.requestBuilder)(input, context);
769
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
769
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
770
770
  "content-type": "application/json",
771
771
  [_xact]: input[_CT] ?? (0, import_uuid.v4)()
772
772
  });
@@ -788,7 +788,7 @@ var se_CreateCustomLineItemCommand = /* @__PURE__ */ __name(async (input, contex
788
788
  }, "se_CreateCustomLineItemCommand");
789
789
  var se_CreatePricingPlanCommand = /* @__PURE__ */ __name(async (input, context) => {
790
790
  const b = (0, import_core.requestBuilder)(input, context);
791
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
791
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
792
792
  "content-type": "application/json",
793
793
  [_xact]: input[_CT] ?? (0, import_uuid.v4)()
794
794
  });
@@ -807,7 +807,7 @@ var se_CreatePricingPlanCommand = /* @__PURE__ */ __name(async (input, context)
807
807
  }, "se_CreatePricingPlanCommand");
808
808
  var se_CreatePricingRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
809
809
  const b = (0, import_core.requestBuilder)(input, context);
810
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
810
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
811
811
  "content-type": "application/json",
812
812
  [_xact]: input[_CT] ?? (0, import_uuid.v4)()
813
813
  });
@@ -1154,10 +1154,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1154
1154
  b.bp("/tags/{ResourceArn}");
1155
1155
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1156
1156
  const query = (0, import_smithy_client.map)({
1157
- [_tK]: [
1158
- (0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
1159
- () => (input[_TK] || []).map((_entry) => _entry)
1160
- ]
1157
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
1161
1158
  });
1162
1159
  let body;
1163
1160
  b.m("DELETE").h(headers).q(query).b(body);
@@ -2003,7 +2000,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2003
2000
  extendedRequestId: output.headers["x-amz-id-2"],
2004
2001
  cfId: output.headers["x-amz-cf-id"]
2005
2002
  }), "deserializeMetadata");
2006
- 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");
2007
2003
  var _CT = "ClientToken";
2008
2004
  var _RAS = "RetryAfterSeconds";
2009
2005
  var _TK = "TagKeys";
@@ -1,6 +1,6 @@
1
1
  import { 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, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, serializeFloat as __serializeFloat, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { BillingconductorServiceException as __BaseException } from "../models/BillingconductorServiceException";
6
6
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceLimitExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
@@ -429,10 +429,7 @@ export const se_UntagResourceCommand = async (input, context) => {
429
429
  b.bp("/tags/{ResourceArn}");
430
430
  b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
431
431
  const query = map({
432
- [_tK]: [
433
- __expectNonNull(input.TagKeys, `TagKeys`) != null,
434
- () => (input[_TK] || []).map((_entry) => _entry),
435
- ],
432
+ [_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
436
433
  });
437
434
  let body;
438
435
  b.m("DELETE").h(headers).q(query).b(body);
@@ -1277,11 +1274,6 @@ const deserializeMetadata = (output) => ({
1277
1274
  cfId: output.headers["x-amz-cf-id"],
1278
1275
  });
1279
1276
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
1280
- const isSerializableHeaderValue = (value) => value !== undefined &&
1281
- value !== null &&
1282
- value !== "" &&
1283
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
1284
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1285
1277
  const _CT = "ClientToken";
1286
1278
  const _RAS = "RetryAfterSeconds";
1287
1279
  const _TK = "TagKeys";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-billingconductor",
3
3
  "description": "AWS SDK for JavaScript Billingconductor Client for Node.js, Browser and React Native",
4
- "version": "3.658.0",
4
+ "version": "3.658.1",
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-billingconductor",
@@ -20,10 +20,10 @@
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",
23
+ "@aws-sdk/client-sso-oidc": "3.658.1",
24
+ "@aws-sdk/client-sts": "3.658.1",
25
+ "@aws-sdk/core": "3.658.1",
26
+ "@aws-sdk/credential-provider-node": "3.658.1",
27
27
  "@aws-sdk/middleware-host-header": "3.654.0",
28
28
  "@aws-sdk/middleware-logger": "3.654.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.654.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.654.0",
36
36
  "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
37
+ "@smithy/core": "^2.4.6",
38
+ "@smithy/fetch-http-handler": "^3.2.8",
39
39
  "@smithy/hash-node": "^3.0.6",
40
40
  "@smithy/invalid-dependency": "^3.0.6",
41
41
  "@smithy/middleware-content-length": "^3.0.8",
42
42
  "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
43
+ "@smithy/middleware-retry": "^3.0.21",
44
44
  "@smithy/middleware-serde": "^3.0.6",
45
45
  "@smithy/middleware-stack": "^3.0.6",
46
46
  "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
47
+ "@smithy/node-http-handler": "^3.2.3",
48
48
  "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
49
+ "@smithy/smithy-client": "^3.3.5",
50
50
  "@smithy/types": "^3.4.2",
51
51
  "@smithy/url-parser": "^3.0.6",
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",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
56
+ "@smithy/util-defaults-mode-node": "^3.0.21",
57
57
  "@smithy/util-endpoints": "^2.1.2",
58
58
  "@smithy/util-middleware": "^3.0.6",
59
59
  "@smithy/util-retry": "^3.0.6",