import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GreengrassClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassClient"; import type { GetFunctionDefinitionVersionRequest, GetFunctionDefinitionVersionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetFunctionDefinitionVersionCommand}. */ export interface GetFunctionDefinitionVersionCommandInput extends GetFunctionDefinitionVersionRequest { } /** * @public * * The output of {@link GetFunctionDefinitionVersionCommand}. */ export interface GetFunctionDefinitionVersionCommandOutput extends GetFunctionDefinitionVersionResponse, __MetadataBearer { } declare const GetFunctionDefinitionVersionCommand_base: { new (input: GetFunctionDefinitionVersionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetFunctionDefinitionVersionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** * Retrieves information about a Lambda function definition version, including which Lambda functions are included in the version and their configurations. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GreengrassClient, GetFunctionDefinitionVersionCommand } from "@aws-sdk/client-greengrass"; // ES Modules import * // const { GreengrassClient, GetFunctionDefinitionVersionCommand } = require("@aws-sdk/client-greengrass"); // CommonJS import * // import type { GreengrassClientConfig } from "@aws-sdk/client-greengrass"; * const config = {}; // type is GreengrassClientConfig * const client = new GreengrassClient(config); * const input = { // GetFunctionDefinitionVersionRequest * FunctionDefinitionId: "STRING_VALUE", // required * FunctionDefinitionVersionId: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * }; * const command = new GetFunctionDefinitionVersionCommand(input); * const response = await client.send(command); * // { // GetFunctionDefinitionVersionResponse * // Arn: "STRING_VALUE", * // CreationTimestamp: "STRING_VALUE", * // Definition: { // FunctionDefinitionVersion * // DefaultConfig: { // FunctionDefaultConfig * // Execution: { // FunctionDefaultExecutionConfig * // IsolationMode: "GreengrassContainer" || "NoContainer", * // RunAs: { // FunctionRunAsConfig * // Gid: Number("int"), * // Uid: Number("int"), * // }, * // }, * // }, * // Functions: [ // __listOfFunction * // { // Function * // FunctionArn: "STRING_VALUE", * // FunctionConfiguration: { // FunctionConfiguration * // EncodingType: "binary" || "json", * // Environment: { // FunctionConfigurationEnvironment * // AccessSysfs: true || false, * // Execution: { // FunctionExecutionConfig * // IsolationMode: "GreengrassContainer" || "NoContainer", * // RunAs: { * // Gid: Number("int"), * // Uid: Number("int"), * // }, * // }, * // ResourceAccessPolicies: [ // __listOfResourceAccessPolicy * // { // ResourceAccessPolicy * // Permission: "ro" || "rw", * // ResourceId: "STRING_VALUE", // required * // }, * // ], * // Variables: { // __mapOf__string * // "": "STRING_VALUE", * // }, * // }, * // ExecArgs: "STRING_VALUE", * // Executable: "STRING_VALUE", * // MemorySize: Number("int"), * // Pinned: true || false, * // Timeout: Number("int"), * // FunctionRuntimeOverride: "STRING_VALUE", * // }, * // Id: "STRING_VALUE", // required * // }, * // ], * // }, * // Id: "STRING_VALUE", * // NextToken: "STRING_VALUE", * // Version: "STRING_VALUE", * // }; * * ``` * * @param GetFunctionDefinitionVersionCommandInput - {@link GetFunctionDefinitionVersionCommandInput} * @returns {@link GetFunctionDefinitionVersionCommandOutput} * @see {@link GetFunctionDefinitionVersionCommandInput} for command's `input` shape. * @see {@link GetFunctionDefinitionVersionCommandOutput} for command's `response` shape. * @see {@link GreengrassClientResolvedConfig | config} for GreengrassClient's `config` shape. * * @throws {@link BadRequestException} (client fault) * General error information. * * @throws {@link GreengrassServiceException} *

Base exception class for all service exceptions from Greengrass service.

* * * @public */ export declare class GetFunctionDefinitionVersionCommand extends GetFunctionDefinitionVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetFunctionDefinitionVersionRequest; output: GetFunctionDefinitionVersionResponse; }; sdk: { input: GetFunctionDefinitionVersionCommandInput; output: GetFunctionDefinitionVersionCommandOutput; }; }; }