import { Uint8ArrayBlobAdapter } from "@smithy/core/serde"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetSolNetworkPackageContentInput, GetSolNetworkPackageContentOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetSolNetworkPackageContentCommand}. */ export interface GetSolNetworkPackageContentCommandInput extends GetSolNetworkPackageContentInput { } /** * @public */ export type GetSolNetworkPackageContentCommandOutputType = Omit & { nsdContent?: Uint8ArrayBlobAdapter; }; /** * @public * * The output of {@link GetSolNetworkPackageContentCommand}. */ export interface GetSolNetworkPackageContentCommandOutput extends GetSolNetworkPackageContentCommandOutputType, __MetadataBearer { } declare const GetSolNetworkPackageContentCommand_base: { new (input: GetSolNetworkPackageContentCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetSolNetworkPackageContentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the contents of a 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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TnbClient, GetSolNetworkPackageContentCommand } from "@aws-sdk/client-tnb"; // ES Modules import * // const { TnbClient, GetSolNetworkPackageContentCommand } = 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 = { // GetSolNetworkPackageContentInput * nsdInfoId: "STRING_VALUE", // required * accept: "application/zip", // required * }; * const command = new GetSolNetworkPackageContentCommand(input); * const response = await client.send(command); * // { // GetSolNetworkPackageContentOutput * // contentType: "application/zip", * // nsdContent: new Uint8Array(), * // }; * * ``` * * @param GetSolNetworkPackageContentCommandInput - {@link GetSolNetworkPackageContentCommandInput} * @returns {@link GetSolNetworkPackageContentCommandOutput} * @see {@link GetSolNetworkPackageContentCommandInput} for command's `input` shape. * @see {@link GetSolNetworkPackageContentCommandOutput} 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 Get a network package Content * ```javascript * // * const input = { * accept: "application/zip", * nsdInfoId: "np-0d5b823eb5c2a9241" * }; * const command = new GetSolNetworkPackageContentCommand(input); * const response = await client.send(command); * /* response is * { * contentType: "application/zip", * nsdContent: "dGVzdCBjb250ZW50IGhlcmU=" * } * *\/ * ``` * * @public */ export declare class GetSolNetworkPackageContentCommand extends GetSolNetworkPackageContentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSolNetworkPackageContentInput; output: GetSolNetworkPackageContentOutput; }; sdk: { input: GetSolNetworkPackageContentCommandInput; output: GetSolNetworkPackageContentCommandOutput; }; }; }