import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient"; import type { RebootNodeRequest, RebootNodeResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link RebootNodeCommand}. */ export interface RebootNodeCommandInput extends RebootNodeRequest { } /** * @public * * The output of {@link RebootNodeCommand}. */ export interface RebootNodeCommandOutput extends RebootNodeResponse, __MetadataBearer { } declare const RebootNodeCommand_base: { new (input: RebootNodeCommandInput): import("@smithy/core/client").CommandImpl; new (input: RebootNodeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Reboots a single node of a DAX cluster. The reboot action takes * place as soon as possible. During the reboot, the node status is set to * REBOOTING.

* *

* RebootNode restarts the DAX engine process and does not remove the * contents of the cache.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DAXClient, RebootNodeCommand } from "@aws-sdk/client-dax"; // ES Modules import * // const { DAXClient, RebootNodeCommand } = require("@aws-sdk/client-dax"); // CommonJS import * // import type { DAXClientConfig } from "@aws-sdk/client-dax"; * const config = {}; // type is DAXClientConfig * const client = new DAXClient(config); * const input = { // RebootNodeRequest * ClusterName: "STRING_VALUE", // required * NodeId: "STRING_VALUE", // required * }; * const command = new RebootNodeCommand(input); * const response = await client.send(command); * // { // RebootNodeResponse * // Cluster: { // Cluster * // ClusterName: "STRING_VALUE", * // Description: "STRING_VALUE", * // ClusterArn: "STRING_VALUE", * // TotalNodes: Number("int"), * // ActiveNodes: Number("int"), * // NodeType: "STRING_VALUE", * // Status: "STRING_VALUE", * // ClusterDiscoveryEndpoint: { // Endpoint * // Address: "STRING_VALUE", * // Port: Number("int"), * // URL: "STRING_VALUE", * // }, * // NodeIdsToRemove: [ // NodeIdentifierList * // "STRING_VALUE", * // ], * // Nodes: [ // NodeList * // { // Node * // NodeId: "STRING_VALUE", * // Endpoint: { * // Address: "STRING_VALUE", * // Port: Number("int"), * // URL: "STRING_VALUE", * // }, * // NodeCreateTime: new Date("TIMESTAMP"), * // AvailabilityZone: "STRING_VALUE", * // NodeStatus: "STRING_VALUE", * // ParameterGroupStatus: "STRING_VALUE", * // }, * // ], * // PreferredMaintenanceWindow: "STRING_VALUE", * // NotificationConfiguration: { // NotificationConfiguration * // TopicArn: "STRING_VALUE", * // TopicStatus: "STRING_VALUE", * // }, * // SubnetGroup: "STRING_VALUE", * // SecurityGroups: [ // SecurityGroupMembershipList * // { // SecurityGroupMembership * // SecurityGroupIdentifier: "STRING_VALUE", * // Status: "STRING_VALUE", * // }, * // ], * // IamRoleArn: "STRING_VALUE", * // ParameterGroup: { // ParameterGroupStatus * // ParameterGroupName: "STRING_VALUE", * // ParameterApplyStatus: "STRING_VALUE", * // NodeIdsToReboot: [ * // "STRING_VALUE", * // ], * // }, * // SSEDescription: { // SSEDescription * // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED", * // }, * // ClusterEndpointEncryptionType: "NONE" || "TLS", * // NetworkType: "ipv4" || "ipv6" || "dual_stack", * // }, * // }; * * ``` * * @param RebootNodeCommandInput - {@link RebootNodeCommandInput} * @returns {@link RebootNodeCommandOutput} * @see {@link RebootNodeCommandInput} for command's `input` shape. * @see {@link RebootNodeCommandOutput} for command's `response` shape. * @see {@link DAXClientResolvedConfig | config} for DAXClient's `config` shape. * * @throws {@link ClusterNotFoundFault} (client fault) *

The requested cluster ID does not refer to an existing DAX * cluster.

* * @throws {@link InvalidClusterStateFault} (client fault) *

The requested DAX cluster is not in the * available state.

* * @throws {@link InvalidParameterCombinationException} (client fault) *

Two or more incompatible parameters were specified.

* * @throws {@link InvalidParameterValueException} (client fault) *

The value for a parameter is invalid.

* * @throws {@link NodeNotFoundFault} (client fault) *

None of the nodes in the cluster have the given node ID.

* * @throws {@link ServiceLinkedRoleNotFoundFault} (client fault) *

The specified service linked role (SLR) was not found.

* * @throws {@link DAXServiceException} *

Base exception class for all service exceptions from DAX service.

* * * @public */ export declare class RebootNodeCommand extends RebootNodeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RebootNodeRequest; output: RebootNodeResponse; }; sdk: { input: RebootNodeCommandInput; output: RebootNodeCommandOutput; }; }; }