import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateSolNetworkInstanceInput, CreateSolNetworkInstanceOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateSolNetworkInstanceCommand}. */ export interface CreateSolNetworkInstanceCommandInput extends CreateSolNetworkInstanceInput { } /** * @public * * The output of {@link CreateSolNetworkInstanceCommand}. */ export interface CreateSolNetworkInstanceCommandOutput extends CreateSolNetworkInstanceOutput, __MetadataBearer { } declare const CreateSolNetworkInstanceCommand_base: { new (input: CreateSolNetworkInstanceCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateSolNetworkInstanceCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a network instance.

*

A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed. Creating a network instance is the third step after creating a network * package. For more information about network instances, Network instances in the * Amazon Web Services Telco Network Builder User Guide.

*

Once you create a network instance, you can instantiate it. To instantiate a network, * see InstantiateSolNetworkInstance.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TnbClient, CreateSolNetworkInstanceCommand } from "@aws-sdk/client-tnb"; // ES Modules import * // const { TnbClient, CreateSolNetworkInstanceCommand } = require("@aws-sdk/client-tnb"); // CommonJS import * // import type { TnbClientConfig } from "@aws-sdk/client-tnb"; * const config = {}; // type is TnbClientConfig * const client = new TnbClient(config); * const input = { // CreateSolNetworkInstanceInput * nsdInfoId: "STRING_VALUE", // required * nsName: "STRING_VALUE", // required * nsDescription: "STRING_VALUE", * tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateSolNetworkInstanceCommand(input); * const response = await client.send(command); * // { // CreateSolNetworkInstanceOutput * // id: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // nsdInfoId: "STRING_VALUE", // required * // nsInstanceName: "STRING_VALUE", // required * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateSolNetworkInstanceCommandInput - {@link CreateSolNetworkInstanceCommandInput} * @returns {@link CreateSolNetworkInstanceCommandOutput} * @see {@link CreateSolNetworkInstanceCommandInput} for command's `input` shape. * @see {@link CreateSolNetworkInstanceCommandOutput} for command's `response` shape. * @see {@link TnbClientResolvedConfig | config} for TnbClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Insufficient permissions to make request.

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

Unexpected error occurred. Problem on the server.

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

Request references a resource that doesn't exist.

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

Service quotas have been exceeded.

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

Exception caused by throttling.

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

Unable to process the request because the client provided input failed to satisfy * request constraints.

* * @throws {@link TnbServiceException} *

Base exception class for all service exceptions from Tnb service.

* * * @example Create a Sol Network Instance * ```javascript * // * const input = { * nsDescription: "Test network for CITY", * nsName: "CITY Instance", * nsdInfoId: "np-0d5b823eb5c2a9241", * tags: { * Name: "Resource" * } * }; * const command = new CreateSolNetworkInstanceCommand(input); * const response = await client.send(command); * /* response is * { * arn: "arn:aws:tnb:us-west-2:123456789000:network-instance/ni-07aa863e53460a2a6", * id: "ni-07aa863e53460a2a6", * nsInstanceName: "CITY Instance", * nsdInfoId: "np-0d5b823eb5c2a9241", * tags: { * Name: "Resource" * } * } * *\/ * ``` * * @public */ export declare class CreateSolNetworkInstanceCommand extends CreateSolNetworkInstanceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateSolNetworkInstanceInput; output: CreateSolNetworkInstanceOutput; }; sdk: { input: CreateSolNetworkInstanceCommandInput; output: CreateSolNetworkInstanceCommandOutput; }; }; }