@aws-sdk/client-finspace-data 3.216.0 → 3.222.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.
@@ -382,7 +382,7 @@ const serializeAws_restJson1GetProgrammaticAccessCredentialsCommand = async (inp
382
382
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/credentials/programmatic";
383
383
  const query = map({
384
384
  durationInMinutes: [() => input.durationInMinutes !== void 0, () => input.durationInMinutes.toString()],
385
- environmentId: [, input.environmentId],
385
+ environmentId: [, (0, smithy_client_1.expectNonNull)(input.environmentId, `environmentId`)],
386
386
  });
387
387
  let body;
388
388
  return new protocol_http_1.HttpRequest({
@@ -506,7 +506,7 @@ const serializeAws_restJson1ListPermissionGroupsCommand = async (input, context)
506
506
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/permission-group";
507
507
  const query = map({
508
508
  nextToken: [, input.nextToken],
509
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
509
+ maxResults: [(0, smithy_client_1.expectNonNull)(input.maxResults, `maxResults`) != null, () => input.maxResults.toString()],
510
510
  });
511
511
  let body;
512
512
  return new protocol_http_1.HttpRequest({
@@ -528,7 +528,7 @@ const serializeAws_restJson1ListPermissionGroupsByUserCommand = async (input, co
528
528
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
529
529
  const query = map({
530
530
  nextToken: [, input.nextToken],
531
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
531
+ maxResults: [(0, smithy_client_1.expectNonNull)(input.maxResults, `maxResults`) != null, () => input.maxResults.toString()],
532
532
  });
533
533
  let body;
534
534
  return new protocol_http_1.HttpRequest({
@@ -549,7 +549,7 @@ const serializeAws_restJson1ListUsersCommand = async (input, context) => {
549
549
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user";
550
550
  const query = map({
551
551
  nextToken: [, input.nextToken],
552
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
552
+ maxResults: [(0, smithy_client_1.expectNonNull)(input.maxResults, `maxResults`) != null, () => input.maxResults.toString()],
553
553
  });
554
554
  let body;
555
555
  return new protocol_http_1.HttpRequest({
@@ -572,7 +572,7 @@ const serializeAws_restJson1ListUsersByPermissionGroupCommand = async (input, co
572
572
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "permissionGroupId", () => input.permissionGroupId, "{permissionGroupId}", false);
573
573
  const query = map({
574
574
  nextToken: [, input.nextToken],
575
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
575
+ maxResults: [(0, smithy_client_1.expectNonNull)(input.maxResults, `maxResults`) != null, () => input.maxResults.toString()],
576
576
  });
577
577
  let body;
578
578
  return new protocol_http_1.HttpRequest({
@@ -362,7 +362,7 @@ export const serializeAws_restJson1GetProgrammaticAccessCredentialsCommand = asy
362
362
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/credentials/programmatic";
363
363
  const query = map({
364
364
  durationInMinutes: [() => input.durationInMinutes !== void 0, () => input.durationInMinutes.toString()],
365
- environmentId: [, input.environmentId],
365
+ environmentId: [, __expectNonNull(input.environmentId, `environmentId`)],
366
366
  });
367
367
  let body;
368
368
  return new __HttpRequest({
@@ -480,7 +480,7 @@ export const serializeAws_restJson1ListPermissionGroupsCommand = async (input, c
480
480
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/permission-group";
481
481
  const query = map({
482
482
  nextToken: [, input.nextToken],
483
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
483
+ maxResults: [__expectNonNull(input.maxResults, `maxResults`) != null, () => input.maxResults.toString()],
484
484
  });
485
485
  let body;
486
486
  return new __HttpRequest({
@@ -501,7 +501,7 @@ export const serializeAws_restJson1ListPermissionGroupsByUserCommand = async (in
501
501
  resolvedPath = __resolvedPath(resolvedPath, input, "userId", () => input.userId, "{userId}", false);
502
502
  const query = map({
503
503
  nextToken: [, input.nextToken],
504
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
504
+ maxResults: [__expectNonNull(input.maxResults, `maxResults`) != null, () => input.maxResults.toString()],
505
505
  });
506
506
  let body;
507
507
  return new __HttpRequest({
@@ -521,7 +521,7 @@ export const serializeAws_restJson1ListUsersCommand = async (input, context) =>
521
521
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/user";
522
522
  const query = map({
523
523
  nextToken: [, input.nextToken],
524
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
524
+ maxResults: [__expectNonNull(input.maxResults, `maxResults`) != null, () => input.maxResults.toString()],
525
525
  });
526
526
  let body;
527
527
  return new __HttpRequest({
@@ -543,7 +543,7 @@ export const serializeAws_restJson1ListUsersByPermissionGroupCommand = async (in
543
543
  resolvedPath = __resolvedPath(resolvedPath, input, "permissionGroupId", () => input.permissionGroupId, "{permissionGroupId}", false);
544
544
  const query = map({
545
545
  nextToken: [, input.nextToken],
546
- maxResults: [() => input.maxResults !== void 0, () => input.maxResults.toString()],
546
+ maxResults: [__expectNonNull(input.maxResults, `maxResults`) != null, () => input.maxResults.toString()],
547
547
  });
548
548
  let body;
549
549
  return new __HttpRequest({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-finspace-data",
3
3
  "description": "AWS SDK for JavaScript Finspace Data Client for Node.js, Browser and React Native",
4
- "version": "3.216.0",
4
+ "version": "3.222.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,36 +19,37 @@
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",
23
- "@aws-sdk/config-resolver": "3.215.0",
24
- "@aws-sdk/credential-provider-node": "3.216.0",
25
- "@aws-sdk/fetch-http-handler": "3.215.0",
26
- "@aws-sdk/hash-node": "3.215.0",
27
- "@aws-sdk/invalid-dependency": "3.215.0",
28
- "@aws-sdk/middleware-content-length": "3.215.0",
29
- "@aws-sdk/middleware-endpoint": "3.215.0",
30
- "@aws-sdk/middleware-host-header": "3.215.0",
31
- "@aws-sdk/middleware-logger": "3.215.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.215.0",
33
- "@aws-sdk/middleware-retry": "3.215.0",
34
- "@aws-sdk/middleware-serde": "3.215.0",
35
- "@aws-sdk/middleware-signing": "3.215.0",
36
- "@aws-sdk/middleware-stack": "3.215.0",
37
- "@aws-sdk/middleware-user-agent": "3.215.0",
38
- "@aws-sdk/node-config-provider": "3.215.0",
39
- "@aws-sdk/node-http-handler": "3.215.0",
40
- "@aws-sdk/protocol-http": "3.215.0",
41
- "@aws-sdk/smithy-client": "3.215.0",
42
- "@aws-sdk/types": "3.215.0",
43
- "@aws-sdk/url-parser": "3.215.0",
22
+ "@aws-sdk/client-sts": "3.222.0",
23
+ "@aws-sdk/config-resolver": "3.222.0",
24
+ "@aws-sdk/credential-provider-node": "3.222.0",
25
+ "@aws-sdk/fetch-http-handler": "3.222.0",
26
+ "@aws-sdk/hash-node": "3.222.0",
27
+ "@aws-sdk/invalid-dependency": "3.222.0",
28
+ "@aws-sdk/middleware-content-length": "3.222.0",
29
+ "@aws-sdk/middleware-endpoint": "3.222.0",
30
+ "@aws-sdk/middleware-host-header": "3.222.0",
31
+ "@aws-sdk/middleware-logger": "3.222.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.222.0",
33
+ "@aws-sdk/middleware-retry": "3.222.0",
34
+ "@aws-sdk/middleware-serde": "3.222.0",
35
+ "@aws-sdk/middleware-signing": "3.222.0",
36
+ "@aws-sdk/middleware-stack": "3.222.0",
37
+ "@aws-sdk/middleware-user-agent": "3.222.0",
38
+ "@aws-sdk/node-config-provider": "3.222.0",
39
+ "@aws-sdk/node-http-handler": "3.222.0",
40
+ "@aws-sdk/protocol-http": "3.222.0",
41
+ "@aws-sdk/smithy-client": "3.222.0",
42
+ "@aws-sdk/types": "3.222.0",
43
+ "@aws-sdk/url-parser": "3.222.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.215.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.215.0",
49
- "@aws-sdk/util-endpoints": "3.216.0",
50
- "@aws-sdk/util-user-agent-browser": "3.215.0",
51
- "@aws-sdk/util-user-agent-node": "3.215.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.222.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.222.0",
49
+ "@aws-sdk/util-endpoints": "3.222.0",
50
+ "@aws-sdk/util-retry": "3.222.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.222.0",
52
+ "@aws-sdk/util-user-agent-node": "3.222.0",
52
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
54
  "@aws-sdk/util-utf8-node": "3.208.0",
54
55
  "tslib": "^2.3.1",