import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateNodeInput, CreateNodeOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateNodeCommand}. */ export interface CreateNodeCommandInput extends CreateNodeInput { } /** * @public * * The output of {@link CreateNodeCommand}. */ export interface CreateNodeCommandOutput extends CreateNodeOutput, __MetadataBearer { } declare const CreateNodeCommand_base: { new (input: CreateNodeCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateNodeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a node on the specified blockchain network.

*

Applies to Hyperledger Fabric and Ethereum.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ManagedBlockchainClient, CreateNodeCommand } from "@aws-sdk/client-managedblockchain"; // ES Modules import * // const { ManagedBlockchainClient, CreateNodeCommand } = require("@aws-sdk/client-managedblockchain"); // CommonJS import * // import type { ManagedBlockchainClientConfig } from "@aws-sdk/client-managedblockchain"; * const config = {}; // type is ManagedBlockchainClientConfig * const client = new ManagedBlockchainClient(config); * const input = { // CreateNodeInput * ClientRequestToken: "STRING_VALUE", // required * NetworkId: "STRING_VALUE", // required * MemberId: "STRING_VALUE", * NodeConfiguration: { // NodeConfiguration * InstanceType: "STRING_VALUE", // required * AvailabilityZone: "STRING_VALUE", * LogPublishingConfiguration: { // NodeLogPublishingConfiguration * Fabric: { // NodeFabricLogPublishingConfiguration * ChaincodeLogs: { // LogConfigurations * Cloudwatch: { // LogConfiguration * Enabled: true || false, * }, * }, * PeerLogs: { * Cloudwatch: { * Enabled: true || false, * }, * }, * }, * }, * StateDB: "LevelDB" || "CouchDB", * }, * Tags: { // InputTagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateNodeCommand(input); * const response = await client.send(command); * // { // CreateNodeOutput * // NodeId: "STRING_VALUE", * // }; * * ``` * * @param CreateNodeCommandInput - {@link CreateNodeCommandInput} * @returns {@link CreateNodeCommandOutput} * @see {@link CreateNodeCommandInput} for command's `input` shape. * @see {@link CreateNodeCommandOutput} for command's `response` shape. * @see {@link ManagedBlockchainClientResolvedConfig | config} for ManagedBlockchainClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient access to perform this action.

* * @throws {@link InternalServiceErrorException} (server fault) *

The request processing has failed because of an unknown error, exception or failure.

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

The action or operation requested is invalid. Verify that the action is typed correctly.

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

A resource request is issued for a resource that already exists.

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

The maximum number of resources of that type already exist. Ensure the resources requested * are within the boundaries of the service edition and your account limits.

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

A requested resource doesn't exist. It may have been deleted or referenced incorrectly.

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

The requested resource exists but isn't in a status that can complete the operation.

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

The request or operation couldn't be performed because a service is * throttling requests. The most common source of throttling errors is * creating resources that exceed your service limit for this resource type. * Request a limit increase or delete unused resources if possible.

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

* * @throws {@link ManagedBlockchainServiceException} *

Base exception class for all service exceptions from ManagedBlockchain service.

* * * @public */ export declare class CreateNodeCommand extends CreateNodeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateNodeInput; output: CreateNodeOutput; }; sdk: { input: CreateNodeCommandInput; output: CreateNodeCommandOutput; }; }; }