-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(client-finspace): Add new operation delete-kx-cluster-node and a…
…dd status parameter to list-kx-cluster-node operation.
- Loading branch information
awstools
committed
Mar 26, 2024
1 parent
715a001
commit a4a4a3e
Showing
9 changed files
with
343 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
clients/client-finspace/src/commands/DeleteKxClusterNodeCommand.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
// smithy-typescript generated code | ||
import { getEndpointPlugin } from "@smithy/middleware-endpoint"; | ||
import { getSerdePlugin } from "@smithy/middleware-serde"; | ||
import { Command as $Command } from "@smithy/smithy-client"; | ||
import { MetadataBearer as __MetadataBearer } from "@smithy/types"; | ||
|
||
import { commonParams } from "../endpoint/EndpointParameters"; | ||
import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient"; | ||
import { DeleteKxClusterNodeRequest, DeleteKxClusterNodeResponse } from "../models/models_0"; | ||
import { de_DeleteKxClusterNodeCommand, se_DeleteKxClusterNodeCommand } from "../protocols/Aws_restJson1"; | ||
|
||
/** | ||
* @public | ||
*/ | ||
export { __MetadataBearer, $Command }; | ||
/** | ||
* @public | ||
* | ||
* The input for {@link DeleteKxClusterNodeCommand}. | ||
*/ | ||
export interface DeleteKxClusterNodeCommandInput extends DeleteKxClusterNodeRequest {} | ||
/** | ||
* @public | ||
* | ||
* The output of {@link DeleteKxClusterNodeCommand}. | ||
*/ | ||
export interface DeleteKxClusterNodeCommandOutput extends DeleteKxClusterNodeResponse, __MetadataBearer {} | ||
|
||
/** | ||
* <p>Deletes the specified nodes from a cluster. | ||
* </p> | ||
* @example | ||
* Use a bare-bones client and the command you need to make an API call. | ||
* ```javascript | ||
* import { FinspaceClient, DeleteKxClusterNodeCommand } from "@aws-sdk/client-finspace"; // ES Modules import | ||
* // const { FinspaceClient, DeleteKxClusterNodeCommand } = require("@aws-sdk/client-finspace"); // CommonJS import | ||
* const client = new FinspaceClient(config); | ||
* const input = { // DeleteKxClusterNodeRequest | ||
* environmentId: "STRING_VALUE", // required | ||
* clusterName: "STRING_VALUE", // required | ||
* nodeId: "STRING_VALUE", // required | ||
* }; | ||
* const command = new DeleteKxClusterNodeCommand(input); | ||
* const response = await client.send(command); | ||
* // {}; | ||
* | ||
* ``` | ||
* | ||
* @param DeleteKxClusterNodeCommandInput - {@link DeleteKxClusterNodeCommandInput} | ||
* @returns {@link DeleteKxClusterNodeCommandOutput} | ||
* @see {@link DeleteKxClusterNodeCommandInput} for command's `input` shape. | ||
* @see {@link DeleteKxClusterNodeCommandOutput} for command's `response` shape. | ||
* @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape. | ||
* | ||
* @throws {@link AccessDeniedException} (client fault) | ||
* <p>You do not have sufficient access to perform this action.</p> | ||
* | ||
* @throws {@link InternalServerException} (server fault) | ||
* <p>The request processing has failed because of an unknown error, exception or | ||
* failure.</p> | ||
* | ||
* @throws {@link ResourceNotFoundException} (client fault) | ||
* <p>One or more resources can't be found.</p> | ||
* | ||
* @throws {@link ThrottlingException} (client fault) | ||
* <p>The request was denied due to request throttling.</p> | ||
* | ||
* @throws {@link ValidationException} (client fault) | ||
* <p>The input fails to satisfy the constraints specified by an AWS service.</p> | ||
* | ||
* @throws {@link FinspaceServiceException} | ||
* <p>Base exception class for all service exceptions from Finspace service.</p> | ||
* | ||
* @public | ||
*/ | ||
export class DeleteKxClusterNodeCommand extends $Command | ||
.classBuilder< | ||
DeleteKxClusterNodeCommandInput, | ||
DeleteKxClusterNodeCommandOutput, | ||
FinspaceClientResolvedConfig, | ||
ServiceInputTypes, | ||
ServiceOutputTypes | ||
>() | ||
.ep({ | ||
...commonParams, | ||
}) | ||
.m(function (this: any, Command: any, cs: any, config: FinspaceClientResolvedConfig, o: any) { | ||
return [ | ||
getSerdePlugin(config, this.serialize, this.deserialize), | ||
getEndpointPlugin(config, Command.getEndpointParameterInstructions()), | ||
]; | ||
}) | ||
.s("AWSHabaneroManagementService", "DeleteKxClusterNode", {}) | ||
.n("FinspaceClient", "DeleteKxClusterNodeCommand") | ||
.f(void 0, void 0) | ||
.ser(se_DeleteKxClusterNodeCommand) | ||
.de(de_DeleteKxClusterNodeCommand) | ||
.build() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.