import { Uint8ArrayBlobAdapter } from "@smithy/core/serde"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetSolNetworkPackageDescriptorInput, GetSolNetworkPackageDescriptorOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetSolNetworkPackageDescriptorCommand}. */ export interface GetSolNetworkPackageDescriptorCommandInput extends GetSolNetworkPackageDescriptorInput { } /** * @public */ export type GetSolNetworkPackageDescriptorCommandOutputType = Omit & { nsd?: Uint8ArrayBlobAdapter; }; /** * @public * * The output of {@link GetSolNetworkPackageDescriptorCommand}. */ export interface GetSolNetworkPackageDescriptorCommandOutput extends GetSolNetworkPackageDescriptorCommandOutputType, __MetadataBearer { } declare const GetSolNetworkPackageDescriptorCommand_base: { new (input: GetSolNetworkPackageDescriptorCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetSolNetworkPackageDescriptorCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the content of the network service descriptor.

*

A network service descriptor is a .yaml file in a network package that uses the TOSCA standard to describe the network functions you want to deploy and the Amazon Web Services infrastructure you want to deploy the network functions on.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TnbClient, GetSolNetworkPackageDescriptorCommand } from "@aws-sdk/client-tnb"; // ES Modules import * // const { TnbClient, GetSolNetworkPackageDescriptorCommand } = 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 = { // GetSolNetworkPackageDescriptorInput * nsdInfoId: "STRING_VALUE", // required * }; * const command = new GetSolNetworkPackageDescriptorCommand(input); * const response = await client.send(command); * // { // GetSolNetworkPackageDescriptorOutput * // contentType: "text/plain", * // nsd: new Uint8Array(), * // }; * * ``` * * @param GetSolNetworkPackageDescriptorCommandInput - {@link GetSolNetworkPackageDescriptorCommandInput} * @returns {@link GetSolNetworkPackageDescriptorCommandOutput} * @see {@link GetSolNetworkPackageDescriptorCommandInput} for command's `input` shape. * @see {@link GetSolNetworkPackageDescriptorCommandOutput} 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 the descriptor of a Network Pacakge * ```javascript * // * const input = { * nsdInfoId: "np-0d5b823eb5c2a9241" * }; * const command = new GetSolNetworkPackageDescriptorCommand(input); * const response = await client.send(command); * /* response is * { * contentType: "text/plain", * nsd: "dGVzdCBjb250ZW50IGhlcmU=" * } * *\/ * ``` * * @public */ export declare class GetSolNetworkPackageDescriptorCommand extends GetSolNetworkPackageDescriptorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSolNetworkPackageDescriptorInput; output: GetSolNetworkPackageDescriptorOutput; }; sdk: { input: GetSolNetworkPackageDescriptorCommandInput; output: GetSolNetworkPackageDescriptorCommandOutput; }; }; }