import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { TerminateSolNetworkInstanceInput, TerminateSolNetworkInstanceOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link TerminateSolNetworkInstanceCommand}. */ export interface TerminateSolNetworkInstanceCommandInput extends TerminateSolNetworkInstanceInput { } /** * @public * * The output of {@link TerminateSolNetworkInstanceCommand}. */ export interface TerminateSolNetworkInstanceCommandOutput extends TerminateSolNetworkInstanceOutput, __MetadataBearer { } declare const TerminateSolNetworkInstanceCommand_base: { new (input: TerminateSolNetworkInstanceCommandInput): import("@smithy/core/client").CommandImpl; new (input: TerminateSolNetworkInstanceCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Terminates 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.

*

You must terminate a network instance before you can delete it.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TnbClient, TerminateSolNetworkInstanceCommand } from "@aws-sdk/client-tnb"; // ES Modules import * // const { TnbClient, TerminateSolNetworkInstanceCommand } = 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 = { // TerminateSolNetworkInstanceInput * nsInstanceId: "STRING_VALUE", // required * tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new TerminateSolNetworkInstanceCommand(input); * const response = await client.send(command); * // { // TerminateSolNetworkInstanceOutput * // nsLcmOpOccId: "STRING_VALUE", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param TerminateSolNetworkInstanceCommandInput - {@link TerminateSolNetworkInstanceCommandInput} * @returns {@link TerminateSolNetworkInstanceCommandOutput} * @see {@link TerminateSolNetworkInstanceCommandInput} for command's `input` shape. * @see {@link TerminateSolNetworkInstanceCommandOutput} 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 Terminate a Sol Network Instance * ```javascript * // * const input = { * nsInstanceId: "ni-0d5b823eb5c2a9241", * tags: { * Name: "Resource" * } * }; * const command = new TerminateSolNetworkInstanceCommand(input); * const response = await client.send(command); * /* response is * { * nsLcmOpOccId: "no-0d5b823eb5c2a9241", * tags: { * Name: "Resource" * } * } * *\/ * ``` * * @public */ export declare class TerminateSolNetworkInstanceCommand extends TerminateSolNetworkInstanceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: TerminateSolNetworkInstanceInput; output: TerminateSolNetworkInstanceOutput; }; sdk: { input: TerminateSolNetworkInstanceCommandInput; output: TerminateSolNetworkInstanceCommandOutput; }; }; }