@aws-sdk/client-finspace 3.928.0 → 3.929.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.
Files changed (74) hide show
  1. package/dist-cjs/index.js +2284 -2436
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/FinspaceClient.js +2 -0
  4. package/dist-es/commands/CreateEnvironmentCommand.js +3 -10
  5. package/dist-es/commands/CreateKxChangesetCommand.js +3 -9
  6. package/dist-es/commands/CreateKxClusterCommand.js +3 -9
  7. package/dist-es/commands/CreateKxDatabaseCommand.js +3 -9
  8. package/dist-es/commands/CreateKxDataviewCommand.js +3 -9
  9. package/dist-es/commands/CreateKxEnvironmentCommand.js +3 -9
  10. package/dist-es/commands/CreateKxScalingGroupCommand.js +3 -9
  11. package/dist-es/commands/CreateKxUserCommand.js +3 -9
  12. package/dist-es/commands/CreateKxVolumeCommand.js +3 -9
  13. package/dist-es/commands/DeleteEnvironmentCommand.js +3 -9
  14. package/dist-es/commands/DeleteKxClusterCommand.js +3 -9
  15. package/dist-es/commands/DeleteKxClusterNodeCommand.js +3 -9
  16. package/dist-es/commands/DeleteKxDatabaseCommand.js +3 -9
  17. package/dist-es/commands/DeleteKxDataviewCommand.js +3 -9
  18. package/dist-es/commands/DeleteKxEnvironmentCommand.js +3 -9
  19. package/dist-es/commands/DeleteKxScalingGroupCommand.js +3 -9
  20. package/dist-es/commands/DeleteKxUserCommand.js +3 -9
  21. package/dist-es/commands/DeleteKxVolumeCommand.js +3 -9
  22. package/dist-es/commands/GetEnvironmentCommand.js +3 -9
  23. package/dist-es/commands/GetKxChangesetCommand.js +3 -9
  24. package/dist-es/commands/GetKxClusterCommand.js +3 -9
  25. package/dist-es/commands/GetKxConnectionStringCommand.js +3 -10
  26. package/dist-es/commands/GetKxDatabaseCommand.js +3 -9
  27. package/dist-es/commands/GetKxDataviewCommand.js +3 -9
  28. package/dist-es/commands/GetKxEnvironmentCommand.js +3 -9
  29. package/dist-es/commands/GetKxScalingGroupCommand.js +3 -9
  30. package/dist-es/commands/GetKxUserCommand.js +3 -9
  31. package/dist-es/commands/GetKxVolumeCommand.js +3 -9
  32. package/dist-es/commands/ListEnvironmentsCommand.js +3 -9
  33. package/dist-es/commands/ListKxChangesetsCommand.js +3 -9
  34. package/dist-es/commands/ListKxClusterNodesCommand.js +3 -9
  35. package/dist-es/commands/ListKxClustersCommand.js +3 -9
  36. package/dist-es/commands/ListKxDatabasesCommand.js +3 -9
  37. package/dist-es/commands/ListKxDataviewsCommand.js +3 -9
  38. package/dist-es/commands/ListKxEnvironmentsCommand.js +3 -9
  39. package/dist-es/commands/ListKxScalingGroupsCommand.js +3 -9
  40. package/dist-es/commands/ListKxUsersCommand.js +3 -9
  41. package/dist-es/commands/ListKxVolumesCommand.js +3 -9
  42. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  43. package/dist-es/commands/TagResourceCommand.js +3 -9
  44. package/dist-es/commands/UntagResourceCommand.js +3 -9
  45. package/dist-es/commands/UpdateEnvironmentCommand.js +3 -9
  46. package/dist-es/commands/UpdateKxClusterCodeConfigurationCommand.js +3 -9
  47. package/dist-es/commands/UpdateKxClusterDatabasesCommand.js +3 -9
  48. package/dist-es/commands/UpdateKxDatabaseCommand.js +3 -9
  49. package/dist-es/commands/UpdateKxDataviewCommand.js +3 -9
  50. package/dist-es/commands/UpdateKxEnvironmentCommand.js +3 -9
  51. package/dist-es/commands/UpdateKxEnvironmentNetworkCommand.js +3 -9
  52. package/dist-es/commands/UpdateKxUserCommand.js +3 -9
  53. package/dist-es/commands/UpdateKxVolumeCommand.js +3 -9
  54. package/dist-es/models/models_0.js +0 -15
  55. package/dist-es/runtimeConfig.shared.js +2 -0
  56. package/dist-es/schemas/schemas_0.js +2169 -0
  57. package/dist-types/FinspaceClient.d.ts +10 -1
  58. package/dist-types/models/models_0.d.ts +0 -12
  59. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  60. package/dist-types/runtimeConfig.d.ts +1 -0
  61. package/dist-types/runtimeConfig.native.d.ts +1 -0
  62. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  63. package/dist-types/schemas/schemas_0.d.ts +236 -0
  64. package/dist-types/ts3.4/FinspaceClient.d.ts +4 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +0 -9
  66. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  67. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  68. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  69. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  70. package/dist-types/ts3.4/schemas/schemas_0.d.ts +242 -0
  71. package/package.json +2 -3
  72. package/dist-es/protocols/Aws_restJson1.js +0 -2044
  73. package/dist-types/protocols/Aws_restJson1.d.ts +0 -452
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -605
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateKxEnvironmentCommand, se_UpdateKxEnvironmentCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateKxEnvironment } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateKxEnvironmentCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHabaneroManagementService", "UpdateKxEnvironment", {})
17
13
  .n("FinspaceClient", "UpdateKxEnvironmentCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateKxEnvironmentCommand)
20
- .de(de_UpdateKxEnvironmentCommand)
14
+ .sc(UpdateKxEnvironment)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateKxEnvironmentNetworkCommand, se_UpdateKxEnvironmentNetworkCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateKxEnvironmentNetwork } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateKxEnvironmentNetworkCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHabaneroManagementService", "UpdateKxEnvironmentNetwork", {})
17
13
  .n("FinspaceClient", "UpdateKxEnvironmentNetworkCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateKxEnvironmentNetworkCommand)
20
- .de(de_UpdateKxEnvironmentNetworkCommand)
14
+ .sc(UpdateKxEnvironmentNetwork)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateKxUserCommand, se_UpdateKxUserCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateKxUser } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateKxUserCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHabaneroManagementService", "UpdateKxUser", {})
17
13
  .n("FinspaceClient", "UpdateKxUserCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateKxUserCommand)
20
- .de(de_UpdateKxUserCommand)
14
+ .sc(UpdateKxUser)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateKxVolumeCommand, se_UpdateKxVolumeCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateKxVolume } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateKxVolumeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSHabaneroManagementService", "UpdateKxVolume", {})
17
13
  .n("FinspaceClient", "UpdateKxVolumeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateKxVolumeCommand)
20
- .de(de_UpdateKxVolumeCommand)
14
+ .sc(UpdateKxVolume)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,3 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
1
  import { FinspaceServiceException as __BaseException } from "./FinspaceServiceException";
3
2
  export class AccessDeniedException extends __BaseException {
4
3
  name = "AccessDeniedException";
@@ -259,17 +258,3 @@ export const KxDeploymentStrategy = {
259
258
  NO_RESTART: "NO_RESTART",
260
259
  ROLLING: "ROLLING",
261
260
  };
262
- export const SuperuserParametersFilterSensitiveLog = (obj) => ({
263
- ...obj,
264
- ...(obj.emailAddress && { emailAddress: SENSITIVE_STRING }),
265
- });
266
- export const CreateEnvironmentRequestFilterSensitiveLog = (obj) => ({
267
- ...obj,
268
- ...(obj.superuserParameters && {
269
- superuserParameters: SuperuserParametersFilterSensitiveLog(obj.superuserParameters),
270
- }),
271
- });
272
- export const GetKxConnectionStringResponseFilterSensitiveLog = (obj) => ({
273
- ...obj,
274
- ...(obj.signedConnectionString && { signedConnectionString: SENSITIVE_STRING }),
275
- });
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.finspace" }),
25
27
  serviceId: config?.serviceId ?? "finspace",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,