@aws-sdk/client-signer 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.
@@ -269,7 +269,7 @@ const serializeAws_restJson1RemoveProfilePermissionCommand = async (input, conte
269
269
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "profileName", () => input.profileName, "{profileName}", false);
270
270
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "statementId", () => input.statementId, "{statementId}", false);
271
271
  const query = map({
272
- revisionId: [, input.revisionId],
272
+ revisionId: [, (0, smithy_client_1.expectNonNull)(input.revisionId, `revisionId`)],
273
273
  });
274
274
  let body;
275
275
  return new protocol_http_1.HttpRequest({
@@ -384,7 +384,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
384
384
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
385
385
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
386
386
  const query = map({
387
- tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
387
+ tagKeys: [
388
+ (0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
389
+ () => (input.tagKeys || []).map((_entry) => _entry),
390
+ ],
388
391
  });
389
392
  let body;
390
393
  return new protocol_http_1.HttpRequest({
@@ -255,7 +255,7 @@ export const serializeAws_restJson1RemoveProfilePermissionCommand = async (input
255
255
  resolvedPath = __resolvedPath(resolvedPath, input, "profileName", () => input.profileName, "{profileName}", false);
256
256
  resolvedPath = __resolvedPath(resolvedPath, input, "statementId", () => input.statementId, "{statementId}", false);
257
257
  const query = map({
258
- revisionId: [, input.revisionId],
258
+ revisionId: [, __expectNonNull(input.revisionId, `revisionId`)],
259
259
  });
260
260
  let body;
261
261
  return new __HttpRequest({
@@ -365,7 +365,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
365
365
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
366
366
  resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
367
367
  const query = map({
368
- tagKeys: [() => input.tagKeys !== void 0, () => (input.tagKeys || []).map((_entry) => _entry)],
368
+ tagKeys: [
369
+ __expectNonNull(input.tagKeys, `tagKeys`) != null,
370
+ () => (input.tagKeys || []).map((_entry) => _entry),
371
+ ],
369
372
  });
370
373
  let body;
371
374
  return new __HttpRequest({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-signer",
3
3
  "description": "AWS SDK for JavaScript Signer 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",