@aws-sdk/client-resiliencehub 3.654.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
@@ -1309,7 +1309,7 @@ var se_ListAppAssessmentsCommand = /* @__PURE__ */ __name(async (input, context)
1309
1309
  const query = (0, import_smithy_client.map)({
1310
1310
  [_aA]: [, input[_aA]],
1311
1311
  [_aN]: [, input[_aN]],
1312
- [_aS]: [() => input.assessmentStatus !== void 0, () => (input[_aS] || []).map((_entry) => _entry)],
1312
+ [_aS]: [() => input.assessmentStatus !== void 0, () => input[_aS] || []],
1313
1313
  [_cS]: [, input[_cS]],
1314
1314
  [_i]: [, input[_i]],
1315
1315
  [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()],
@@ -1470,7 +1470,7 @@ var se_ListRecommendationTemplatesCommand = /* @__PURE__ */ __name(async (input,
1470
1470
  const query = (0, import_smithy_client.map)({
1471
1471
  [_aAs]: [, input[_aAs]],
1472
1472
  [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()],
1473
- [_s]: [() => input.status !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
1473
+ [_s]: [() => input.status !== void 0, () => input[_s] || []],
1474
1474
  [_rTA]: [, input[_rTA]],
1475
1475
  [_n]: [, input[_n]],
1476
1476
  [_nT]: [, input[_nT]],
@@ -1721,10 +1721,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1721
1721
  b.bp("/tags/{resourceArn}");
1722
1722
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
1723
1723
  const query = (0, import_smithy_client.map)({
1724
- [_tK]: [
1725
- (0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
1726
- () => (input[_tK] || []).map((_entry) => _entry)
1727
- ]
1724
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
1728
1725
  });
1729
1726
  let body;
1730
1727
  b.m("DELETE").h(headers).q(query).b(body);
@@ -465,7 +465,7 @@ export const se_ListAppAssessmentsCommand = async (input, context) => {
465
465
  const query = map({
466
466
  [_aA]: [, input[_aA]],
467
467
  [_aN]: [, input[_aN]],
468
- [_aS]: [() => input.assessmentStatus !== void 0, () => (input[_aS] || []).map((_entry) => _entry)],
468
+ [_aS]: [() => input.assessmentStatus !== void 0, () => input[_aS] || []],
469
469
  [_cS]: [, input[_cS]],
470
470
  [_i]: [, input[_i]],
471
471
  [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()],
@@ -612,7 +612,7 @@ export const se_ListRecommendationTemplatesCommand = async (input, context) => {
612
612
  const query = map({
613
613
  [_aAs]: [, input[_aAs]],
614
614
  [_rO]: [() => input.reverseOrder !== void 0, () => input[_rO].toString()],
615
- [_s]: [() => input.status !== void 0, () => (input[_s] || []).map((_entry) => _entry)],
615
+ [_s]: [() => input.status !== void 0, () => input[_s] || []],
616
616
  [_rTA]: [, input[_rTA]],
617
617
  [_n]: [, input[_n]],
618
618
  [_nT]: [, input[_nT]],
@@ -841,10 +841,7 @@ export const se_UntagResourceCommand = async (input, context) => {
841
841
  b.bp("/tags/{resourceArn}");
842
842
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
843
843
  const query = map({
844
- [_tK]: [
845
- __expectNonNull(input.tagKeys, `tagKeys`) != null,
846
- () => (input[_tK] || []).map((_entry) => _entry),
847
- ],
844
+ [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
848
845
  });
849
846
  let body;
850
847
  b.m("DELETE").h(headers).q(query).b(body);
@@ -2267,11 +2264,6 @@ const deserializeMetadata = (output) => ({
2267
2264
  cfId: output.headers["x-amz-cf-id"],
2268
2265
  });
2269
2266
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
2270
- const isSerializableHeaderValue = (value) => value !== undefined &&
2271
- value !== null &&
2272
- value !== "" &&
2273
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
2274
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
2275
2267
  const _aA = "appArn";
2276
2268
  const _aAs = "assessmentArn";
2277
2269
  const _aN = "assessmentName";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-resiliencehub",
3
3
  "description": "AWS SDK for JavaScript Resiliencehub Client for Node.js, Browser and React Native",
4
- "version": "3.654.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-resiliencehub",
@@ -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.654.0",
24
- "@aws-sdk/client-sts": "3.654.0",
25
- "@aws-sdk/core": "3.654.0",
26
- "@aws-sdk/credential-provider-node": "3.654.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",