import { Uint8ArrayBlobAdapter } from "@smithy/core/serde"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetSolFunctionPackageDescriptorInput, GetSolFunctionPackageDescriptorOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetSolFunctionPackageDescriptorCommand}. */ export interface GetSolFunctionPackageDescriptorCommandInput extends GetSolFunctionPackageDescriptorInput { } /** * @public */ export type GetSolFunctionPackageDescriptorCommandOutputType = Omit & { vnfd?: Uint8ArrayBlobAdapter; }; /** * @public * * The output of {@link GetSolFunctionPackageDescriptorCommand}. */ export interface GetSolFunctionPackageDescriptorCommandOutput extends GetSolFunctionPackageDescriptorCommandOutputType, __MetadataBearer { } declare const GetSolFunctionPackageDescriptorCommand_base: { new (input: GetSolFunctionPackageDescriptorCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetSolFunctionPackageDescriptorCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets a function package descriptor in a function package.

*

A function package descriptor is a .yaml file in a function package that uses the TOSCA standard to describe how the network function in the function package should run on your network.

*

A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TnbClient, GetSolFunctionPackageDescriptorCommand } from "@aws-sdk/client-tnb"; // ES Modules import * // const { TnbClient, GetSolFunctionPackageDescriptorCommand } = 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 = { // GetSolFunctionPackageDescriptorInput * vnfPkgId: "STRING_VALUE", // required * accept: "text/plain", // required * }; * const command = new GetSolFunctionPackageDescriptorCommand(input); * const response = await client.send(command); * // { // GetSolFunctionPackageDescriptorOutput * // contentType: "text/plain", * // vnfd: new Uint8Array(), * // }; * * ``` * * @param GetSolFunctionPackageDescriptorCommandInput - {@link GetSolFunctionPackageDescriptorCommandInput} * @returns {@link GetSolFunctionPackageDescriptorCommandOutput} * @see {@link GetSolFunctionPackageDescriptorCommandInput} for command's `input` shape. * @see {@link GetSolFunctionPackageDescriptorCommandOutput} 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 function package * ```javascript * // * const input = { * accept: "text/plain", * vnfPkgId: "fp-07aa863e53460a2a6" * }; * const command = new GetSolFunctionPackageDescriptorCommand(input); * const response = await client.send(command); * /* response is * { * contentType: "text/plain", * vnfd: "dGVzdCBjb250ZW50IGhlcmU=" * } * *\/ * ``` * * @public */ export declare class GetSolFunctionPackageDescriptorCommand extends GetSolFunctionPackageDescriptorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSolFunctionPackageDescriptorInput; output: GetSolFunctionPackageDescriptorOutput; }; sdk: { input: GetSolFunctionPackageDescriptorCommandInput; output: GetSolFunctionPackageDescriptorCommandOutput; }; }; }