import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetSolFunctionPackageInput, GetSolFunctionPackageOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetSolFunctionPackageCommand}. */ export interface GetSolFunctionPackageCommandInput extends GetSolFunctionPackageInput { } /** * @public * * The output of {@link GetSolFunctionPackageCommand}. */ export interface GetSolFunctionPackageCommandOutput extends GetSolFunctionPackageOutput, __MetadataBearer { } declare const GetSolFunctionPackageCommand_base: { new (input: GetSolFunctionPackageCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetSolFunctionPackageCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the details of an individual function package, such as the operational state and * whether the package is in use.

*

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, GetSolFunctionPackageCommand } from "@aws-sdk/client-tnb"; // ES Modules import * // const { TnbClient, GetSolFunctionPackageCommand } = 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 = { // GetSolFunctionPackageInput * vnfPkgId: "STRING_VALUE", // required * }; * const command = new GetSolFunctionPackageCommand(input); * const response = await client.send(command); * // { // GetSolFunctionPackageOutput * // id: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // onboardingState: "CREATED" || "ONBOARDED" || "ERROR", // required * // operationalState: "ENABLED" || "DISABLED", // required * // usageState: "IN_USE" || "NOT_IN_USE", // required * // vnfdId: "STRING_VALUE", * // vnfProvider: "STRING_VALUE", * // vnfProductName: "STRING_VALUE", * // vnfdVersion: "STRING_VALUE", * // metadata: { // GetSolFunctionPackageMetadata * // vnfd: { // FunctionArtifactMeta * // overrides: [ // OverrideList * // { // ToscaOverride * // name: "STRING_VALUE", * // defaultValue: "STRING_VALUE", * // }, * // ], * // }, * // createdAt: new Date("TIMESTAMP"), // required * // lastModified: new Date("TIMESTAMP"), // required * // }, * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param GetSolFunctionPackageCommandInput - {@link GetSolFunctionPackageCommandInput} * @returns {@link GetSolFunctionPackageCommandOutput} * @see {@link GetSolFunctionPackageCommandInput} for command's `input` shape. * @see {@link GetSolFunctionPackageCommandOutput} 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 Describe a function package with correct vnfPkgId * ```javascript * // * const input = { * vnfPkgId: "fp-07aa863e53460a2a6" * }; * const command = new GetSolFunctionPackageCommand(input); * const response = await client.send(command); * /* response is * { * arn: "arn:aws:tnb:us-west-2:123456789000:function-package/fp-07aa863e53460a2a6", * id: "fp-07aa863e53460a2a6", * metadata: { * createdAt: "2022-06-10T19:48:34Z", * lastModified: "2022-06-10T21:48:33Z", * vnfd: { * overrides: [] * } * }, * onboardingState: "ONBOARDED", * operationalState: "ENABLED", * usageState: "IN_USE", * vnfProductName: "NRF", * vnfProvider: "VNFBuilder", * vnfdId: "eefaac4a-cf5c-4b1f-869e-9d31a9fa6d71", * vnfdVersion: "1.0.0" * } * *\/ * ``` * * @public */ export declare class GetSolFunctionPackageCommand extends GetSolFunctionPackageCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSolFunctionPackageInput; output: GetSolFunctionPackageOutput; }; sdk: { input: GetSolFunctionPackageCommandInput; output: GetSolFunctionPackageCommandOutput; }; }; }