import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteSolNetworkPackageInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteSolNetworkPackageCommand}. */ export interface DeleteSolNetworkPackageCommandInput extends DeleteSolNetworkPackageInput { } /** * @public * * The output of {@link DeleteSolNetworkPackageCommand}. */ export interface DeleteSolNetworkPackageCommandOutput extends __MetadataBearer { } declare const DeleteSolNetworkPackageCommand_base: { new (input: DeleteSolNetworkPackageCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteSolNetworkPackageCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes network package.

*

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

*

To delete a network package, the package must be in a disable state. To disable a * network package, see UpdateSolNetworkPackage.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TnbClient, DeleteSolNetworkPackageCommand } from "@aws-sdk/client-tnb"; // ES Modules import * // const { TnbClient, DeleteSolNetworkPackageCommand } = 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 = { // DeleteSolNetworkPackageInput * nsdInfoId: "STRING_VALUE", // required * }; * const command = new DeleteSolNetworkPackageCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteSolNetworkPackageCommandInput - {@link DeleteSolNetworkPackageCommandInput} * @returns {@link DeleteSolNetworkPackageCommandOutput} * @see {@link DeleteSolNetworkPackageCommandInput} for command's `input` shape. * @see {@link DeleteSolNetworkPackageCommandOutput} 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 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 Delete a Sol network package * ```javascript * // * const input = { * nsdInfoId: "np-0d5b823eb5c2a9241" * }; * const command = new DeleteSolNetworkPackageCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeleteSolNetworkPackageCommand extends DeleteSolNetworkPackageCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteSolNetworkPackageInput; output: {}; }; sdk: { input: DeleteSolNetworkPackageCommandInput; output: DeleteSolNetworkPackageCommandOutput; }; }; }