@aws-sdk/client-finspace 3.540.0 → 3.549.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.
package/README.md CHANGED
@@ -290,6 +290,14 @@ DeleteKxCluster
290
290
 
291
291
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/finspace/command/DeleteKxClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-finspace/Interface/DeleteKxClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-finspace/Interface/DeleteKxClusterCommandOutput/)
292
292
 
293
+ </details>
294
+ <details>
295
+ <summary>
296
+ DeleteKxClusterNode
297
+ </summary>
298
+
299
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/finspace/command/DeleteKxClusterNodeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-finspace/Interface/DeleteKxClusterNodeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-finspace/Interface/DeleteKxClusterNodeCommandOutput/)
300
+
293
301
  </details>
294
302
  <details>
295
303
  <summary>
package/dist-cjs/index.js CHANGED
@@ -38,6 +38,7 @@ __export(src_exports, {
38
38
  CreateKxVolumeCommand: () => CreateKxVolumeCommand,
39
39
  DeleteEnvironmentCommand: () => DeleteEnvironmentCommand,
40
40
  DeleteKxClusterCommand: () => DeleteKxClusterCommand,
41
+ DeleteKxClusterNodeCommand: () => DeleteKxClusterNodeCommand,
41
42
  DeleteKxDatabaseCommand: () => DeleteKxDatabaseCommand,
42
43
  DeleteKxDataviewCommand: () => DeleteKxDataviewCommand,
43
44
  DeleteKxEnvironmentCommand: () => DeleteKxEnvironmentCommand,
@@ -72,6 +73,7 @@ __export(src_exports, {
72
73
  KxDataviewStatus: () => KxDataviewStatus,
73
74
  KxDeploymentStrategy: () => KxDeploymentStrategy,
74
75
  KxNAS1Type: () => KxNAS1Type,
76
+ KxNodeStatus: () => KxNodeStatus,
75
77
  KxSavedownStorageType: () => KxSavedownStorageType,
76
78
  KxScalingGroupStatus: () => KxScalingGroupStatus,
77
79
  KxVolumeStatus: () => KxVolumeStatus,
@@ -566,6 +568,10 @@ var RuleAction = {
566
568
  ALLOW: "allow",
567
569
  DENY: "deny"
568
570
  };
571
+ var KxNodeStatus = {
572
+ PROVISIONING: "PROVISIONING",
573
+ RUNNING: "RUNNING"
574
+ };
569
575
  var _InvalidRequestException = class _InvalidRequestException extends FinspaceServiceException {
570
576
  /**
571
577
  * @internal
@@ -835,6 +841,17 @@ var se_DeleteKxClusterCommand = /* @__PURE__ */ __name(async (input, context) =>
835
841
  b.m("DELETE").h(headers).q(query).b(body);
836
842
  return b.build();
837
843
  }, "se_DeleteKxClusterCommand");
844
+ var se_DeleteKxClusterNodeCommand = /* @__PURE__ */ __name(async (input, context) => {
845
+ const b = (0, import_core.requestBuilder)(input, context);
846
+ const headers = {};
847
+ b.bp("/kx/environments/{environmentId}/clusters/{clusterName}/nodes/{nodeId}");
848
+ b.p("environmentId", () => input.environmentId, "{environmentId}", false);
849
+ b.p("clusterName", () => input.clusterName, "{clusterName}", false);
850
+ b.p("nodeId", () => input.nodeId, "{nodeId}", false);
851
+ let body;
852
+ b.m("DELETE").h(headers).b(body);
853
+ return b.build();
854
+ }, "se_DeleteKxClusterNodeCommand");
838
855
  var se_DeleteKxDatabaseCommand = /* @__PURE__ */ __name(async (input, context) => {
839
856
  const b = (0, import_core.requestBuilder)(input, context);
840
857
  const headers = {};
@@ -1580,6 +1597,16 @@ var de_DeleteKxClusterCommand = /* @__PURE__ */ __name(async (output, context) =
1580
1597
  await (0, import_smithy_client.collectBody)(output.body, context);
1581
1598
  return contents;
1582
1599
  }, "de_DeleteKxClusterCommand");
1600
+ var de_DeleteKxClusterNodeCommand = /* @__PURE__ */ __name(async (output, context) => {
1601
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1602
+ return de_CommandError(output, context);
1603
+ }
1604
+ const contents = (0, import_smithy_client.map)({
1605
+ $metadata: deserializeMetadata(output)
1606
+ });
1607
+ await (0, import_smithy_client.collectBody)(output.body, context);
1608
+ return contents;
1609
+ }, "de_DeleteKxClusterNodeCommand");
1583
1610
  var de_DeleteKxDatabaseCommand = /* @__PURE__ */ __name(async (output, context) => {
1584
1611
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1585
1612
  return de_CommandError(output, context);
@@ -2564,7 +2591,8 @@ var de_KxNode = /* @__PURE__ */ __name((output, context) => {
2564
2591
  return (0, import_smithy_client.take)(output, {
2565
2592
  availabilityZoneId: import_smithy_client.expectString,
2566
2593
  launchTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2567
- nodeId: import_smithy_client.expectString
2594
+ nodeId: import_smithy_client.expectString,
2595
+ status: import_smithy_client.expectString
2568
2596
  });
2569
2597
  }, "de_KxNode");
2570
2598
  var de_KxNodeSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -2832,6 +2860,23 @@ var _DeleteKxClusterCommand = class _DeleteKxClusterCommand extends import_smith
2832
2860
  __name(_DeleteKxClusterCommand, "DeleteKxClusterCommand");
2833
2861
  var DeleteKxClusterCommand = _DeleteKxClusterCommand;
2834
2862
 
2863
+ // src/commands/DeleteKxClusterNodeCommand.ts
2864
+
2865
+
2866
+
2867
+
2868
+ var _DeleteKxClusterNodeCommand = class _DeleteKxClusterNodeCommand extends import_smithy_client.Command.classBuilder().ep({
2869
+ ...commonParams
2870
+ }).m(function(Command, cs, config, o) {
2871
+ return [
2872
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2873
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2874
+ ];
2875
+ }).s("AWSHabaneroManagementService", "DeleteKxClusterNode", {}).n("FinspaceClient", "DeleteKxClusterNodeCommand").f(void 0, void 0).ser(se_DeleteKxClusterNodeCommand).de(de_DeleteKxClusterNodeCommand).build() {
2876
+ };
2877
+ __name(_DeleteKxClusterNodeCommand, "DeleteKxClusterNodeCommand");
2878
+ var DeleteKxClusterNodeCommand = _DeleteKxClusterNodeCommand;
2879
+
2835
2880
  // src/commands/DeleteKxDatabaseCommand.ts
2836
2881
 
2837
2882
 
@@ -3491,6 +3536,7 @@ var commands = {
3491
3536
  CreateKxVolumeCommand,
3492
3537
  DeleteEnvironmentCommand,
3493
3538
  DeleteKxClusterCommand,
3539
+ DeleteKxClusterNodeCommand,
3494
3540
  DeleteKxDatabaseCommand,
3495
3541
  DeleteKxDataviewCommand,
3496
3542
  DeleteKxEnvironmentCommand,
@@ -3578,6 +3624,7 @@ var paginateListKxScalingGroups = (0, import_core.createPaginator)(FinspaceClien
3578
3624
  CreateKxVolumeCommand,
3579
3625
  DeleteEnvironmentCommand,
3580
3626
  DeleteKxClusterCommand,
3627
+ DeleteKxClusterNodeCommand,
3581
3628
  DeleteKxDatabaseCommand,
3582
3629
  DeleteKxDataviewCommand,
3583
3630
  DeleteKxEnvironmentCommand,
@@ -3651,6 +3698,7 @@ var paginateListKxScalingGroups = (0, import_core.createPaginator)(FinspaceClien
3651
3698
  DnsStatus,
3652
3699
  TgwStatus,
3653
3700
  RuleAction,
3701
+ KxNodeStatus,
3654
3702
  InvalidRequestException,
3655
3703
  KxClusterCodeDeploymentStrategy,
3656
3704
  KxDeploymentStrategy,
@@ -10,6 +10,7 @@ import { CreateKxUserCommand, } from "./commands/CreateKxUserCommand";
10
10
  import { CreateKxVolumeCommand, } from "./commands/CreateKxVolumeCommand";
11
11
  import { DeleteEnvironmentCommand, } from "./commands/DeleteEnvironmentCommand";
12
12
  import { DeleteKxClusterCommand, } from "./commands/DeleteKxClusterCommand";
13
+ import { DeleteKxClusterNodeCommand, } from "./commands/DeleteKxClusterNodeCommand";
13
14
  import { DeleteKxDatabaseCommand, } from "./commands/DeleteKxDatabaseCommand";
14
15
  import { DeleteKxDataviewCommand, } from "./commands/DeleteKxDataviewCommand";
15
16
  import { DeleteKxEnvironmentCommand, } from "./commands/DeleteKxEnvironmentCommand";
@@ -61,6 +62,7 @@ const commands = {
61
62
  CreateKxVolumeCommand,
62
63
  DeleteEnvironmentCommand,
63
64
  DeleteKxClusterCommand,
65
+ DeleteKxClusterNodeCommand,
64
66
  DeleteKxDatabaseCommand,
65
67
  DeleteKxDataviewCommand,
66
68
  DeleteKxEnvironmentCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteKxClusterNodeCommand, se_DeleteKxClusterNodeCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeleteKxClusterNodeCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSHabaneroManagementService", "DeleteKxClusterNode", {})
19
+ .n("FinspaceClient", "DeleteKxClusterNodeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteKxClusterNodeCommand)
22
+ .de(de_DeleteKxClusterNodeCommand)
23
+ .build() {
24
+ }
@@ -9,6 +9,7 @@ export * from "./CreateKxUserCommand";
9
9
  export * from "./CreateKxVolumeCommand";
10
10
  export * from "./DeleteEnvironmentCommand";
11
11
  export * from "./DeleteKxClusterCommand";
12
+ export * from "./DeleteKxClusterNodeCommand";
12
13
  export * from "./DeleteKxDatabaseCommand";
13
14
  export * from "./DeleteKxDataviewCommand";
14
15
  export * from "./DeleteKxEnvironmentCommand";
@@ -233,6 +233,10 @@ export const RuleAction = {
233
233
  ALLOW: "allow",
234
234
  DENY: "deny",
235
235
  };
236
+ export const KxNodeStatus = {
237
+ PROVISIONING: "PROVISIONING",
238
+ RUNNING: "RUNNING",
239
+ };
236
240
  export class InvalidRequestException extends __BaseException {
237
241
  constructor(opts) {
238
242
  super({
@@ -209,6 +209,17 @@ export const se_DeleteKxClusterCommand = async (input, context) => {
209
209
  b.m("DELETE").h(headers).q(query).b(body);
210
210
  return b.build();
211
211
  };
212
+ export const se_DeleteKxClusterNodeCommand = async (input, context) => {
213
+ const b = rb(input, context);
214
+ const headers = {};
215
+ b.bp("/kx/environments/{environmentId}/clusters/{clusterName}/nodes/{nodeId}");
216
+ b.p("environmentId", () => input.environmentId, "{environmentId}", false);
217
+ b.p("clusterName", () => input.clusterName, "{clusterName}", false);
218
+ b.p("nodeId", () => input.nodeId, "{nodeId}", false);
219
+ let body;
220
+ b.m("DELETE").h(headers).b(body);
221
+ return b.build();
222
+ };
212
223
  export const se_DeleteKxDatabaseCommand = async (input, context) => {
213
224
  const b = rb(input, context);
214
225
  const headers = {};
@@ -934,6 +945,16 @@ export const de_DeleteKxClusterCommand = async (output, context) => {
934
945
  await collectBody(output.body, context);
935
946
  return contents;
936
947
  };
948
+ export const de_DeleteKxClusterNodeCommand = async (output, context) => {
949
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
950
+ return de_CommandError(output, context);
951
+ }
952
+ const contents = map({
953
+ $metadata: deserializeMetadata(output),
954
+ });
955
+ await collectBody(output.body, context);
956
+ return contents;
957
+ };
937
958
  export const de_DeleteKxDatabaseCommand = async (output, context) => {
938
959
  if (output.statusCode !== 200 && output.statusCode >= 300) {
939
960
  return de_CommandError(output, context);
@@ -1931,6 +1952,7 @@ const de_KxNode = (output, context) => {
1931
1952
  availabilityZoneId: __expectString,
1932
1953
  launchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1933
1954
  nodeId: __expectString,
1955
+ status: __expectString,
1934
1956
  });
1935
1957
  };
1936
1958
  const de_KxNodeSummaries = (output, context) => {
@@ -10,6 +10,7 @@ import { CreateKxUserCommandInput, CreateKxUserCommandOutput } from "./commands/
10
10
  import { CreateKxVolumeCommandInput, CreateKxVolumeCommandOutput } from "./commands/CreateKxVolumeCommand";
11
11
  import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
12
12
  import { DeleteKxClusterCommandInput, DeleteKxClusterCommandOutput } from "./commands/DeleteKxClusterCommand";
13
+ import { DeleteKxClusterNodeCommandInput, DeleteKxClusterNodeCommandOutput } from "./commands/DeleteKxClusterNodeCommand";
13
14
  import { DeleteKxDatabaseCommandInput, DeleteKxDatabaseCommandOutput } from "./commands/DeleteKxDatabaseCommand";
14
15
  import { DeleteKxDataviewCommandInput, DeleteKxDataviewCommandOutput } from "./commands/DeleteKxDataviewCommand";
15
16
  import { DeleteKxEnvironmentCommandInput, DeleteKxEnvironmentCommandOutput } from "./commands/DeleteKxEnvironmentCommand";
@@ -116,6 +117,12 @@ export interface Finspace {
116
117
  deleteKxCluster(args: DeleteKxClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKxClusterCommandOutput>;
117
118
  deleteKxCluster(args: DeleteKxClusterCommandInput, cb: (err: any, data?: DeleteKxClusterCommandOutput) => void): void;
118
119
  deleteKxCluster(args: DeleteKxClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKxClusterCommandOutput) => void): void;
120
+ /**
121
+ * @see {@link DeleteKxClusterNodeCommand}
122
+ */
123
+ deleteKxClusterNode(args: DeleteKxClusterNodeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKxClusterNodeCommandOutput>;
124
+ deleteKxClusterNode(args: DeleteKxClusterNodeCommandInput, cb: (err: any, data?: DeleteKxClusterNodeCommandOutput) => void): void;
125
+ deleteKxClusterNode(args: DeleteKxClusterNodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKxClusterNodeCommandOutput) => void): void;
119
126
  /**
120
127
  * @see {@link DeleteKxDatabaseCommand}
121
128
  */
@@ -18,6 +18,7 @@ import { CreateKxUserCommandInput, CreateKxUserCommandOutput } from "./commands/
18
18
  import { CreateKxVolumeCommandInput, CreateKxVolumeCommandOutput } from "./commands/CreateKxVolumeCommand";
19
19
  import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "./commands/DeleteEnvironmentCommand";
20
20
  import { DeleteKxClusterCommandInput, DeleteKxClusterCommandOutput } from "./commands/DeleteKxClusterCommand";
21
+ import { DeleteKxClusterNodeCommandInput, DeleteKxClusterNodeCommandOutput } from "./commands/DeleteKxClusterNodeCommand";
21
22
  import { DeleteKxDatabaseCommandInput, DeleteKxDatabaseCommandOutput } from "./commands/DeleteKxDatabaseCommand";
22
23
  import { DeleteKxDataviewCommandInput, DeleteKxDataviewCommandOutput } from "./commands/DeleteKxDataviewCommand";
23
24
  import { DeleteKxEnvironmentCommandInput, DeleteKxEnvironmentCommandOutput } from "./commands/DeleteKxEnvironmentCommand";
@@ -62,11 +63,11 @@ export { __Client };
62
63
  /**
63
64
  * @public
64
65
  */
65
- export type ServiceInputTypes = CreateEnvironmentCommandInput | CreateKxChangesetCommandInput | CreateKxClusterCommandInput | CreateKxDatabaseCommandInput | CreateKxDataviewCommandInput | CreateKxEnvironmentCommandInput | CreateKxScalingGroupCommandInput | CreateKxUserCommandInput | CreateKxVolumeCommandInput | DeleteEnvironmentCommandInput | DeleteKxClusterCommandInput | DeleteKxDatabaseCommandInput | DeleteKxDataviewCommandInput | DeleteKxEnvironmentCommandInput | DeleteKxScalingGroupCommandInput | DeleteKxUserCommandInput | DeleteKxVolumeCommandInput | GetEnvironmentCommandInput | GetKxChangesetCommandInput | GetKxClusterCommandInput | GetKxConnectionStringCommandInput | GetKxDatabaseCommandInput | GetKxDataviewCommandInput | GetKxEnvironmentCommandInput | GetKxScalingGroupCommandInput | GetKxUserCommandInput | GetKxVolumeCommandInput | ListEnvironmentsCommandInput | ListKxChangesetsCommandInput | ListKxClusterNodesCommandInput | ListKxClustersCommandInput | ListKxDatabasesCommandInput | ListKxDataviewsCommandInput | ListKxEnvironmentsCommandInput | ListKxScalingGroupsCommandInput | ListKxUsersCommandInput | ListKxVolumesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEnvironmentCommandInput | UpdateKxClusterCodeConfigurationCommandInput | UpdateKxClusterDatabasesCommandInput | UpdateKxDatabaseCommandInput | UpdateKxDataviewCommandInput | UpdateKxEnvironmentCommandInput | UpdateKxEnvironmentNetworkCommandInput | UpdateKxUserCommandInput | UpdateKxVolumeCommandInput;
66
+ export type ServiceInputTypes = CreateEnvironmentCommandInput | CreateKxChangesetCommandInput | CreateKxClusterCommandInput | CreateKxDatabaseCommandInput | CreateKxDataviewCommandInput | CreateKxEnvironmentCommandInput | CreateKxScalingGroupCommandInput | CreateKxUserCommandInput | CreateKxVolumeCommandInput | DeleteEnvironmentCommandInput | DeleteKxClusterCommandInput | DeleteKxClusterNodeCommandInput | DeleteKxDatabaseCommandInput | DeleteKxDataviewCommandInput | DeleteKxEnvironmentCommandInput | DeleteKxScalingGroupCommandInput | DeleteKxUserCommandInput | DeleteKxVolumeCommandInput | GetEnvironmentCommandInput | GetKxChangesetCommandInput | GetKxClusterCommandInput | GetKxConnectionStringCommandInput | GetKxDatabaseCommandInput | GetKxDataviewCommandInput | GetKxEnvironmentCommandInput | GetKxScalingGroupCommandInput | GetKxUserCommandInput | GetKxVolumeCommandInput | ListEnvironmentsCommandInput | ListKxChangesetsCommandInput | ListKxClusterNodesCommandInput | ListKxClustersCommandInput | ListKxDatabasesCommandInput | ListKxDataviewsCommandInput | ListKxEnvironmentsCommandInput | ListKxScalingGroupsCommandInput | ListKxUsersCommandInput | ListKxVolumesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateEnvironmentCommandInput | UpdateKxClusterCodeConfigurationCommandInput | UpdateKxClusterDatabasesCommandInput | UpdateKxDatabaseCommandInput | UpdateKxDataviewCommandInput | UpdateKxEnvironmentCommandInput | UpdateKxEnvironmentNetworkCommandInput | UpdateKxUserCommandInput | UpdateKxVolumeCommandInput;
66
67
  /**
67
68
  * @public
68
69
  */
69
- export type ServiceOutputTypes = CreateEnvironmentCommandOutput | CreateKxChangesetCommandOutput | CreateKxClusterCommandOutput | CreateKxDatabaseCommandOutput | CreateKxDataviewCommandOutput | CreateKxEnvironmentCommandOutput | CreateKxScalingGroupCommandOutput | CreateKxUserCommandOutput | CreateKxVolumeCommandOutput | DeleteEnvironmentCommandOutput | DeleteKxClusterCommandOutput | DeleteKxDatabaseCommandOutput | DeleteKxDataviewCommandOutput | DeleteKxEnvironmentCommandOutput | DeleteKxScalingGroupCommandOutput | DeleteKxUserCommandOutput | DeleteKxVolumeCommandOutput | GetEnvironmentCommandOutput | GetKxChangesetCommandOutput | GetKxClusterCommandOutput | GetKxConnectionStringCommandOutput | GetKxDatabaseCommandOutput | GetKxDataviewCommandOutput | GetKxEnvironmentCommandOutput | GetKxScalingGroupCommandOutput | GetKxUserCommandOutput | GetKxVolumeCommandOutput | ListEnvironmentsCommandOutput | ListKxChangesetsCommandOutput | ListKxClusterNodesCommandOutput | ListKxClustersCommandOutput | ListKxDatabasesCommandOutput | ListKxDataviewsCommandOutput | ListKxEnvironmentsCommandOutput | ListKxScalingGroupsCommandOutput | ListKxUsersCommandOutput | ListKxVolumesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEnvironmentCommandOutput | UpdateKxClusterCodeConfigurationCommandOutput | UpdateKxClusterDatabasesCommandOutput | UpdateKxDatabaseCommandOutput | UpdateKxDataviewCommandOutput | UpdateKxEnvironmentCommandOutput | UpdateKxEnvironmentNetworkCommandOutput | UpdateKxUserCommandOutput | UpdateKxVolumeCommandOutput;
70
+ export type ServiceOutputTypes = CreateEnvironmentCommandOutput | CreateKxChangesetCommandOutput | CreateKxClusterCommandOutput | CreateKxDatabaseCommandOutput | CreateKxDataviewCommandOutput | CreateKxEnvironmentCommandOutput | CreateKxScalingGroupCommandOutput | CreateKxUserCommandOutput | CreateKxVolumeCommandOutput | DeleteEnvironmentCommandOutput | DeleteKxClusterCommandOutput | DeleteKxClusterNodeCommandOutput | DeleteKxDatabaseCommandOutput | DeleteKxDataviewCommandOutput | DeleteKxEnvironmentCommandOutput | DeleteKxScalingGroupCommandOutput | DeleteKxUserCommandOutput | DeleteKxVolumeCommandOutput | GetEnvironmentCommandOutput | GetKxChangesetCommandOutput | GetKxClusterCommandOutput | GetKxConnectionStringCommandOutput | GetKxDatabaseCommandOutput | GetKxDataviewCommandOutput | GetKxEnvironmentCommandOutput | GetKxScalingGroupCommandOutput | GetKxUserCommandOutput | GetKxVolumeCommandOutput | ListEnvironmentsCommandOutput | ListKxChangesetsCommandOutput | ListKxClusterNodesCommandOutput | ListKxClustersCommandOutput | ListKxDatabasesCommandOutput | ListKxDataviewsCommandOutput | ListKxEnvironmentsCommandOutput | ListKxScalingGroupsCommandOutput | ListKxUsersCommandOutput | ListKxVolumesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateEnvironmentCommandOutput | UpdateKxClusterCodeConfigurationCommandOutput | UpdateKxClusterDatabasesCommandOutput | UpdateKxDatabaseCommandOutput | UpdateKxDataviewCommandOutput | UpdateKxEnvironmentCommandOutput | UpdateKxEnvironmentNetworkCommandOutput | UpdateKxUserCommandOutput | UpdateKxVolumeCommandOutput;
70
71
  /**
71
72
  * @public
72
73
  */
@@ -0,0 +1,76 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
4
+ import { DeleteKxClusterNodeRequest, DeleteKxClusterNodeResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link DeleteKxClusterNodeCommand}.
13
+ */
14
+ export interface DeleteKxClusterNodeCommandInput extends DeleteKxClusterNodeRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link DeleteKxClusterNodeCommand}.
20
+ */
21
+ export interface DeleteKxClusterNodeCommandOutput extends DeleteKxClusterNodeResponse, __MetadataBearer {
22
+ }
23
+ declare const DeleteKxClusterNodeCommand_base: {
24
+ new (input: DeleteKxClusterNodeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteKxClusterNodeCommandInput, DeleteKxClusterNodeCommandOutput, FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteKxClusterNodeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteKxClusterNodeCommandInput, DeleteKxClusterNodeCommandOutput, FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
28
+ /**
29
+ * <p>Deletes the specified nodes from a cluster.
30
+ * </p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { FinspaceClient, DeleteKxClusterNodeCommand } from "@aws-sdk/client-finspace"; // ES Modules import
35
+ * // const { FinspaceClient, DeleteKxClusterNodeCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
36
+ * const client = new FinspaceClient(config);
37
+ * const input = { // DeleteKxClusterNodeRequest
38
+ * environmentId: "STRING_VALUE", // required
39
+ * clusterName: "STRING_VALUE", // required
40
+ * nodeId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new DeleteKxClusterNodeCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param DeleteKxClusterNodeCommandInput - {@link DeleteKxClusterNodeCommandInput}
49
+ * @returns {@link DeleteKxClusterNodeCommandOutput}
50
+ * @see {@link DeleteKxClusterNodeCommandInput} for command's `input` shape.
51
+ * @see {@link DeleteKxClusterNodeCommandOutput} for command's `response` shape.
52
+ * @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>You do not have sufficient access to perform this action.</p>
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>The request processing has failed because of an unknown error, exception or
59
+ * failure.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>One or more resources can't be found.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>The request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
69
+ *
70
+ * @throws {@link FinspaceServiceException}
71
+ * <p>Base exception class for all service exceptions from Finspace service.</p>
72
+ *
73
+ * @public
74
+ */
75
+ export declare class DeleteKxClusterNodeCommand extends DeleteKxClusterNodeCommand_base {
76
+ }
@@ -47,6 +47,7 @@ declare const ListKxClusterNodesCommand_base: {
47
47
  * // nodeId: "STRING_VALUE",
48
48
  * // availabilityZoneId: "STRING_VALUE",
49
49
  * // launchTime: new Date("TIMESTAMP"),
50
+ * // status: "RUNNING" || "PROVISIONING",
50
51
  * // },
51
52
  * // ],
52
53
  * // nextToken: "STRING_VALUE",
@@ -9,6 +9,7 @@ export * from "./CreateKxUserCommand";
9
9
  export * from "./CreateKxVolumeCommand";
10
10
  export * from "./DeleteEnvironmentCommand";
11
11
  export * from "./DeleteKxClusterCommand";
12
+ export * from "./DeleteKxClusterNodeCommand";
12
13
  export * from "./DeleteKxDatabaseCommand";
13
14
  export * from "./DeleteKxDataviewCommand";
14
15
  export * from "./DeleteKxEnvironmentCommand";
@@ -353,7 +353,7 @@ export interface CreateKxChangesetRequest {
353
353
  databaseName: string | undefined;
354
354
  /**
355
355
  * <p>A list of change request objects that are run in order. A change request object consists of <code>changeType</code> , <code>s3Path</code>, and <code>dbPath</code>.
356
- * A changeType can has the following values: </p>
356
+ * A changeType can have the following values: </p>
357
357
  * <ul>
358
358
  * <li>
359
359
  * <p>PUT – Adds or updates files in a database.</p>
@@ -1931,7 +1931,11 @@ export interface KxNAS1Configuration {
1931
1931
  type?: KxNAS1Type;
1932
1932
  /**
1933
1933
  * <p>
1934
- * The size of the network attached storage.</p>
1934
+ * The size of the network attached storage. For storage type
1935
+ * <code>SSD_1000</code> and <code>SSD_250</code> you can select the
1936
+ * minimum size as 1200 GB or increments of 2400 GB. For storage type
1937
+ * <code>HDD_12</code> you can select the minimum size as 6000 GB or increments
1938
+ * of 6000 GB.</p>
1935
1939
  * @public
1936
1940
  */
1937
1941
  size?: number;
@@ -2159,6 +2163,31 @@ export interface DeleteKxClusterRequest {
2159
2163
  */
2160
2164
  export interface DeleteKxClusterResponse {
2161
2165
  }
2166
+ /**
2167
+ * @public
2168
+ */
2169
+ export interface DeleteKxClusterNodeRequest {
2170
+ /**
2171
+ * <p>A unique identifier for the kdb environment.</p>
2172
+ * @public
2173
+ */
2174
+ environmentId: string | undefined;
2175
+ /**
2176
+ * <p>The name of the cluster, for which you want to delete the nodes.</p>
2177
+ * @public
2178
+ */
2179
+ clusterName: string | undefined;
2180
+ /**
2181
+ * <p>A unique identifier for the node that you want to delete.</p>
2182
+ * @public
2183
+ */
2184
+ nodeId: string | undefined;
2185
+ }
2186
+ /**
2187
+ * @public
2188
+ */
2189
+ export interface DeleteKxClusterNodeResponse {
2190
+ }
2162
2191
  /**
2163
2192
  * @public
2164
2193
  */
@@ -3720,6 +3749,18 @@ export interface ListKxClusterNodesRequest {
3720
3749
  */
3721
3750
  maxResults?: number;
3722
3751
  }
3752
+ /**
3753
+ * @public
3754
+ * @enum
3755
+ */
3756
+ export declare const KxNodeStatus: {
3757
+ readonly PROVISIONING: "PROVISIONING";
3758
+ readonly RUNNING: "RUNNING";
3759
+ };
3760
+ /**
3761
+ * @public
3762
+ */
3763
+ export type KxNodeStatus = (typeof KxNodeStatus)[keyof typeof KxNodeStatus];
3723
3764
  /**
3724
3765
  * <p>A structure that stores metadata for a kdb node.</p>
3725
3766
  * @public
@@ -3740,6 +3781,22 @@ export interface KxNode {
3740
3781
  * @public
3741
3782
  */
3742
3783
  launchTime?: Date;
3784
+ /**
3785
+ * <p>
3786
+ * Specifies the status of the cluster nodes. </p>
3787
+ * <ul>
3788
+ * <li>
3789
+ * <p>
3790
+ * <code>RUNNING</code> – The node is actively serving.</p>
3791
+ * </li>
3792
+ * <li>
3793
+ * <p>
3794
+ * <code>PROVISIONING</code> – The node is being prepared.</p>
3795
+ * </li>
3796
+ * </ul>
3797
+ * @public
3798
+ */
3799
+ status?: KxNodeStatus;
3743
3800
  }
3744
3801
  /**
3745
3802
  * @public
@@ -11,6 +11,7 @@ import { CreateKxUserCommandInput, CreateKxUserCommandOutput } from "../commands
11
11
  import { CreateKxVolumeCommandInput, CreateKxVolumeCommandOutput } from "../commands/CreateKxVolumeCommand";
12
12
  import { DeleteEnvironmentCommandInput, DeleteEnvironmentCommandOutput } from "../commands/DeleteEnvironmentCommand";
13
13
  import { DeleteKxClusterCommandInput, DeleteKxClusterCommandOutput } from "../commands/DeleteKxClusterCommand";
14
+ import { DeleteKxClusterNodeCommandInput, DeleteKxClusterNodeCommandOutput } from "../commands/DeleteKxClusterNodeCommand";
14
15
  import { DeleteKxDatabaseCommandInput, DeleteKxDatabaseCommandOutput } from "../commands/DeleteKxDatabaseCommand";
15
16
  import { DeleteKxDataviewCommandInput, DeleteKxDataviewCommandOutput } from "../commands/DeleteKxDataviewCommand";
16
17
  import { DeleteKxEnvironmentCommandInput, DeleteKxEnvironmentCommandOutput } from "../commands/DeleteKxEnvironmentCommand";
@@ -93,6 +94,10 @@ export declare const se_DeleteEnvironmentCommand: (input: DeleteEnvironmentComma
93
94
  * serializeAws_restJson1DeleteKxClusterCommand
94
95
  */
95
96
  export declare const se_DeleteKxClusterCommand: (input: DeleteKxClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
97
+ /**
98
+ * serializeAws_restJson1DeleteKxClusterNodeCommand
99
+ */
100
+ export declare const se_DeleteKxClusterNodeCommand: (input: DeleteKxClusterNodeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
96
101
  /**
97
102
  * serializeAws_restJson1DeleteKxDatabaseCommand
98
103
  */
@@ -289,6 +294,10 @@ export declare const de_DeleteEnvironmentCommand: (output: __HttpResponse, conte
289
294
  * deserializeAws_restJson1DeleteKxClusterCommand
290
295
  */
291
296
  export declare const de_DeleteKxClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKxClusterCommandOutput>;
297
+ /**
298
+ * deserializeAws_restJson1DeleteKxClusterNodeCommand
299
+ */
300
+ export declare const de_DeleteKxClusterNodeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteKxClusterNodeCommandOutput>;
292
301
  /**
293
302
  * deserializeAws_restJson1DeleteKxDatabaseCommand
294
303
  */
@@ -43,6 +43,10 @@ import {
43
43
  DeleteKxClusterCommandInput,
44
44
  DeleteKxClusterCommandOutput,
45
45
  } from "./commands/DeleteKxClusterCommand";
46
+ import {
47
+ DeleteKxClusterNodeCommandInput,
48
+ DeleteKxClusterNodeCommandOutput,
49
+ } from "./commands/DeleteKxClusterNodeCommand";
46
50
  import {
47
51
  DeleteKxDatabaseCommandInput,
48
52
  DeleteKxDatabaseCommandOutput,
@@ -340,6 +344,19 @@ export interface Finspace {
340
344
  options: __HttpHandlerOptions,
341
345
  cb: (err: any, data?: DeleteKxClusterCommandOutput) => void
342
346
  ): void;
347
+ deleteKxClusterNode(
348
+ args: DeleteKxClusterNodeCommandInput,
349
+ options?: __HttpHandlerOptions
350
+ ): Promise<DeleteKxClusterNodeCommandOutput>;
351
+ deleteKxClusterNode(
352
+ args: DeleteKxClusterNodeCommandInput,
353
+ cb: (err: any, data?: DeleteKxClusterNodeCommandOutput) => void
354
+ ): void;
355
+ deleteKxClusterNode(
356
+ args: DeleteKxClusterNodeCommandInput,
357
+ options: __HttpHandlerOptions,
358
+ cb: (err: any, data?: DeleteKxClusterNodeCommandOutput) => void
359
+ ): void;
343
360
  deleteKxDatabase(
344
361
  args: DeleteKxDatabaseCommandInput,
345
362
  options?: __HttpHandlerOptions
@@ -89,6 +89,10 @@ import {
89
89
  DeleteKxClusterCommandInput,
90
90
  DeleteKxClusterCommandOutput,
91
91
  } from "./commands/DeleteKxClusterCommand";
92
+ import {
93
+ DeleteKxClusterNodeCommandInput,
94
+ DeleteKxClusterNodeCommandOutput,
95
+ } from "./commands/DeleteKxClusterNodeCommand";
92
96
  import {
93
97
  DeleteKxDatabaseCommandInput,
94
98
  DeleteKxDatabaseCommandOutput,
@@ -260,6 +264,7 @@ export type ServiceInputTypes =
260
264
  | CreateKxVolumeCommandInput
261
265
  | DeleteEnvironmentCommandInput
262
266
  | DeleteKxClusterCommandInput
267
+ | DeleteKxClusterNodeCommandInput
263
268
  | DeleteKxDatabaseCommandInput
264
269
  | DeleteKxDataviewCommandInput
265
270
  | DeleteKxEnvironmentCommandInput
@@ -310,6 +315,7 @@ export type ServiceOutputTypes =
310
315
  | CreateKxVolumeCommandOutput
311
316
  | DeleteEnvironmentCommandOutput
312
317
  | DeleteKxClusterCommandOutput
318
+ | DeleteKxClusterNodeCommandOutput
313
319
  | DeleteKxDatabaseCommandOutput
314
320
  | DeleteKxDataviewCommandOutput
315
321
  | DeleteKxEnvironmentCommandOutput
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ FinspaceClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../FinspaceClient";
8
+ import {
9
+ DeleteKxClusterNodeRequest,
10
+ DeleteKxClusterNodeResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer, $Command };
13
+ export interface DeleteKxClusterNodeCommandInput
14
+ extends DeleteKxClusterNodeRequest {}
15
+ export interface DeleteKxClusterNodeCommandOutput
16
+ extends DeleteKxClusterNodeResponse,
17
+ __MetadataBearer {}
18
+ declare const DeleteKxClusterNodeCommand_base: {
19
+ new (
20
+ input: DeleteKxClusterNodeCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DeleteKxClusterNodeCommandInput,
23
+ DeleteKxClusterNodeCommandOutput,
24
+ FinspaceClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: DeleteKxClusterNodeCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DeleteKxClusterNodeCommandInput,
32
+ DeleteKxClusterNodeCommandOutput,
33
+ FinspaceClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class DeleteKxClusterNodeCommand extends DeleteKxClusterNodeCommand_base {}
@@ -9,6 +9,7 @@ export * from "./CreateKxUserCommand";
9
9
  export * from "./CreateKxVolumeCommand";
10
10
  export * from "./DeleteEnvironmentCommand";
11
11
  export * from "./DeleteKxClusterCommand";
12
+ export * from "./DeleteKxClusterNodeCommand";
12
13
  export * from "./DeleteKxDatabaseCommand";
13
14
  export * from "./DeleteKxDataviewCommand";
14
15
  export * from "./DeleteKxEnvironmentCommand";
@@ -497,6 +497,12 @@ export interface DeleteKxClusterRequest {
497
497
  clientToken?: string;
498
498
  }
499
499
  export interface DeleteKxClusterResponse {}
500
+ export interface DeleteKxClusterNodeRequest {
501
+ environmentId: string | undefined;
502
+ clusterName: string | undefined;
503
+ nodeId: string | undefined;
504
+ }
505
+ export interface DeleteKxClusterNodeResponse {}
500
506
  export interface DeleteKxDatabaseRequest {
501
507
  environmentId: string | undefined;
502
508
  databaseName: string | undefined;
@@ -799,10 +805,16 @@ export interface ListKxClusterNodesRequest {
799
805
  nextToken?: string;
800
806
  maxResults?: number;
801
807
  }
808
+ export declare const KxNodeStatus: {
809
+ readonly PROVISIONING: "PROVISIONING";
810
+ readonly RUNNING: "RUNNING";
811
+ };
812
+ export type KxNodeStatus = (typeof KxNodeStatus)[keyof typeof KxNodeStatus];
802
813
  export interface KxNode {
803
814
  nodeId?: string;
804
815
  availabilityZoneId?: string;
805
816
  launchTime?: Date;
817
+ status?: KxNodeStatus;
806
818
  }
807
819
  export interface ListKxClusterNodesResponse {
808
820
  nodes?: KxNode[];
@@ -47,6 +47,10 @@ import {
47
47
  DeleteKxClusterCommandInput,
48
48
  DeleteKxClusterCommandOutput,
49
49
  } from "../commands/DeleteKxClusterCommand";
50
+ import {
51
+ DeleteKxClusterNodeCommandInput,
52
+ DeleteKxClusterNodeCommandOutput,
53
+ } from "../commands/DeleteKxClusterNodeCommand";
50
54
  import {
51
55
  DeleteKxDatabaseCommandInput,
52
56
  DeleteKxDatabaseCommandOutput,
@@ -243,6 +247,10 @@ export declare const se_DeleteKxClusterCommand: (
243
247
  input: DeleteKxClusterCommandInput,
244
248
  context: __SerdeContext
245
249
  ) => Promise<__HttpRequest>;
250
+ export declare const se_DeleteKxClusterNodeCommand: (
251
+ input: DeleteKxClusterNodeCommandInput,
252
+ context: __SerdeContext
253
+ ) => Promise<__HttpRequest>;
246
254
  export declare const se_DeleteKxDatabaseCommand: (
247
255
  input: DeleteKxDatabaseCommandInput,
248
256
  context: __SerdeContext
@@ -439,6 +447,10 @@ export declare const de_DeleteKxClusterCommand: (
439
447
  output: __HttpResponse,
440
448
  context: __SerdeContext
441
449
  ) => Promise<DeleteKxClusterCommandOutput>;
450
+ export declare const de_DeleteKxClusterNodeCommand: (
451
+ output: __HttpResponse,
452
+ context: __SerdeContext
453
+ ) => Promise<DeleteKxClusterNodeCommandOutput>;
442
454
  export declare const de_DeleteKxDatabaseCommand: (
443
455
  output: __HttpResponse,
444
456
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-finspace",
3
3
  "description": "AWS SDK for JavaScript Finspace Client for Node.js, Browser and React Native",
4
- "version": "3.540.0",
4
+ "version": "3.549.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-finspace",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.540.0",
24
- "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.540.0",
23
+ "@aws-sdk/client-sts": "3.549.0",
24
+ "@aws-sdk/core": "3.549.0",
25
+ "@aws-sdk/credential-provider-node": "3.549.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
@@ -33,13 +33,13 @@
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",
36
- "@smithy/core": "^1.4.0",
36
+ "@smithy/core": "^1.4.1",
37
37
  "@smithy/fetch-http-handler": "^2.5.0",
38
38
  "@smithy/hash-node": "^2.2.0",
39
39
  "@smithy/invalid-dependency": "^2.2.0",
40
40
  "@smithy/middleware-content-length": "^2.2.0",
41
41
  "@smithy/middleware-endpoint": "^2.5.0",
42
- "@smithy/middleware-retry": "^2.2.0",
42
+ "@smithy/middleware-retry": "^2.3.0",
43
43
  "@smithy/middleware-serde": "^2.3.0",
44
44
  "@smithy/middleware-stack": "^2.2.0",
45
45
  "@smithy/node-config-provider": "^2.3.0",