@aws-sdk/client-iottwinmaker 3.216.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.
@@ -720,8 +720,11 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
720
720
  const headers = {};
721
721
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
722
722
  const query = map({
723
- resourceARN: [, input.resourceARN],
724
- tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
723
+ resourceARN: [, (0, smithy_client_1.expectNonNull)(input.resourceARN, `resourceARN`)],
724
+ tagKeys: [
725
+ (0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
726
+ () => (input.tagKeys || []).map((_entry) => _entry),
727
+ ],
725
728
  });
726
729
  let body;
727
730
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -693,8 +693,11 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
693
693
  const headers = {};
694
694
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags";
695
695
  const query = map({
696
- resourceARN: [, input.resourceARN],
697
- tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
696
+ resourceARN: [, __expectNonNull(input.resourceARN, `resourceARN`)],
697
+ tagKeys: [
698
+ __expectNonNull(input.tagKeys, `tagKeys`) != null,
699
+ () => (input.tagKeys || []).map((_entry) => _entry),
700
+ ],
698
701
  });
699
702
  let body;
700
703
  let { hostname: resolvedHostname } = await context.endpoint();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iottwinmaker",
3
3
  "description": "AWS SDK for JavaScript Iottwinmaker Client for Node.js, Browser and React Native",
4
- "version": "3.216.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.216.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.216.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",