@aws-sdk/client-quicksight 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.
@@ -1521,7 +1521,7 @@ const serializeAws_restJson1GetDashboardEmbedUrlCommand = async (input, context)
1521
1521
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1522
1522
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
1523
1523
  const query = map({
1524
- "creds-type": [, input.IdentityType],
1524
+ "creds-type": [, (0, smithy_client_1.expectNonNull)(input.IdentityType, `IdentityType`)],
1525
1525
  "session-lifetime": [
1526
1526
  () => input.SessionLifetimeInMinutes !== void 0,
1527
1527
  () => input.SessionLifetimeInMinutes.toString(),
@@ -2328,7 +2328,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
2328
2328
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resources/{ResourceArn}/tags";
2329
2329
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
2330
2330
  const query = map({
2331
- keys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
2331
+ keys: [
2332
+ (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
2333
+ () => (input.TagKeys || []).map((_entry) => _entry),
2334
+ ],
2332
2335
  });
2333
2336
  let body;
2334
2337
  return new protocol_http_1.HttpRequest({
@@ -1449,7 +1449,7 @@ export const serializeAws_restJson1GetDashboardEmbedUrlCommand = async (input, c
1449
1449
  resolvedPath = __resolvedPath(resolvedPath, input, "AwsAccountId", () => input.AwsAccountId, "{AwsAccountId}", false);
1450
1450
  resolvedPath = __resolvedPath(resolvedPath, input, "DashboardId", () => input.DashboardId, "{DashboardId}", false);
1451
1451
  const query = map({
1452
- "creds-type": [, input.IdentityType],
1452
+ "creds-type": [, __expectNonNull(input.IdentityType, `IdentityType`)],
1453
1453
  "session-lifetime": [
1454
1454
  () => input.SessionLifetimeInMinutes !== void 0,
1455
1455
  () => input.SessionLifetimeInMinutes.toString(),
@@ -2223,7 +2223,10 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
2223
2223
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/resources/{ResourceArn}/tags";
2224
2224
  resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
2225
2225
  const query = map({
2226
- keys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
2226
+ keys: [
2227
+ __expectNonNull(input.TagKeys, `TagKeys`) != null,
2228
+ () => (input.TagKeys || []).map((_entry) => _entry),
2229
+ ],
2227
2230
  });
2228
2231
  let body;
2229
2232
  return new __HttpRequest({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-quicksight",
3
3
  "description": "AWS SDK for JavaScript Quicksight 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",