@aws-sdk/client-resiliencehub 3.215.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.
@@ -560,7 +560,7 @@ const serializeAws_restJson1ListRecommendationTemplatesCommand = async (input, c
560
560
  const headers = {};
561
561
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-recommendation-templates";
562
562
  const query = map({
563
- assessmentArn: [, input.assessmentArn],
563
+ assessmentArn: [, (0, smithy_client_1.expectNonNull)(input.assessmentArn, `assessmentArn`)],
564
564
  reverseOrder: [() => input.reverseOrder !== void 0, () => input.reverseOrder.toString()],
565
565
  status: [() => input.status !== void 0, () => (input.status || []).map((_entry) => _entry)],
566
566
  recommendationTemplateArn: [, input.recommendationTemplateArn],
@@ -867,7 +867,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
867
867
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
868
868
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
869
869
  const query = map({
870
- tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
870
+ tagKeys: [
871
+ (0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
872
+ () => (input.tagKeys || []).map((_entry) => _entry),
873
+ ],
871
874
  });
872
875
  let body;
873
876
  return new protocol_http_1.HttpRequest({
@@ -533,7 +533,7 @@ export const serializeAws_restJson1ListRecommendationTemplatesCommand = async (i
533
533
  const headers = {};
534
534
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-recommendation-templates";
535
535
  const query = map({
536
- assessmentArn: [, input.assessmentArn],
536
+ assessmentArn: [, __expectNonNull(input.assessmentArn, `assessmentArn`)],
537
537
  reverseOrder: [() => input.reverseOrder !== void 0, () => input.reverseOrder.toString()],
538
538
  status: [() => input.status !== void 0, () => (input.status || []).map((_entry) => _entry)],
539
539
  recommendationTemplateArn: [, input.recommendationTemplateArn],
@@ -827,7 +827,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
827
827
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
828
828
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
829
829
  const query = map({
830
- tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
830
+ tagKeys: [
831
+ __expectNonNull(input.tagKeys, `tagKeys`) != null,
832
+ () => (input.tagKeys || []).map((_entry) => _entry),
833
+ ],
831
834
  });
832
835
  let body;
833
836
  return new __HttpRequest({
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.215.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.215.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.215.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",
@@ -46,7 +46,7 @@
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
47
  "@aws-sdk/util-defaults-mode-browser": "3.215.0",
48
48
  "@aws-sdk/util-defaults-mode-node": "3.215.0",
49
- "@aws-sdk/util-endpoints": "3.215.0",
49
+ "@aws-sdk/util-endpoints": "3.216.0",
50
50
  "@aws-sdk/util-user-agent-browser": "3.215.0",
51
51
  "@aws-sdk/util-user-agent-node": "3.215.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",