import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetFunctionRequest, GetFunctionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetFunctionCommand}. */ export interface GetFunctionCommandInput extends GetFunctionRequest { } /** * @public * * The output of {@link GetFunctionCommand}. */ export interface GetFunctionCommandOutput extends GetFunctionResponse, __MetadataBearer { } declare const GetFunctionCommand_base: { new (input: GetFunctionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetFunctionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves the configuration and metadata for a function. For more information about functions, see Working with functions in the MediaTailor User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaTailorClient, GetFunctionCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import * // const { MediaTailorClient, GetFunctionCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import * // import type { MediaTailorClientConfig } from "@aws-sdk/client-mediatailor"; * const config = {}; // type is MediaTailorClientConfig * const client = new MediaTailorClient(config); * const input = { // GetFunctionRequest * FunctionId: "STRING_VALUE", // required * }; * const command = new GetFunctionCommand(input); * const response = await client.send(command); * // { // GetFunctionResponse * // FunctionId: "STRING_VALUE", // required * // FunctionType: "HTTP_REQUEST" || "AWS_SERVICE_REQUEST" || "CUSTOM_OUTPUT" || "CONCURRENT_EXECUTOR" || "SEQUENTIAL_EXECUTOR" || "VAST_REQUEST" || "HLS_TAG_PROCESSOR", // required * // Description: "STRING_VALUE", * // HttpRequestConfiguration: { // HttpRequestConfiguration * // Runtime: "JSONATA", // required * // Output: { // __mapOf__string * // "": "STRING_VALUE", * // }, * // MethodType: "GET" || "POST", // required * // RequestTimeoutMilliseconds: Number("int"), // required * // Url: "STRING_VALUE", // required * // Body: "STRING_VALUE", * // Headers: { * // "": "STRING_VALUE", * // }, * // Cache: { // HttpRequestCacheConfiguration * // TtlMinimumSeconds: Number("int"), // required * // TtlMaximumSeconds: Number("int"), // required * // Key: "STRING_VALUE", * // }, * // }, * // AwsServiceRequestConfiguration: { // AwsServiceRequestConfiguration * // Runtime: "JSONATA", // required * // Output: { * // "": "STRING_VALUE", * // }, * // MethodType: "GET" || "POST", // required * // RequestTimeoutMilliseconds: Number("int"), // required * // Url: "STRING_VALUE", // required * // Body: "STRING_VALUE", * // Headers: { * // "": "STRING_VALUE", * // }, * // Cache: { * // TtlMinimumSeconds: Number("int"), // required * // TtlMaximumSeconds: Number("int"), // required * // Key: "STRING_VALUE", * // }, * // TargetService: "STRING_VALUE", // required * // TargetRegion: "STRING_VALUE", // required * // }, * // CustomOutputConfiguration: { // CustomOutputConfiguration * // Runtime: "JSONATA", // required * // Output: { * // "": "STRING_VALUE", * // }, * // }, * // ConcurrentExecutorConfiguration: { // ConcurrentExecutorConfiguration * // Runtime: "JSONATA", // required * // Output: "<__mapOf__string>", // required * // FunctionList: [ // __listOfFunctionsRef // required * // { // FunctionRef * // RunCondition: "STRING_VALUE", * // FunctionId: "STRING_VALUE", * // Alias: "STRING_VALUE", * // }, * // ], * // TimeoutMilliseconds: Number("int"), // required * // MaxConcurrency: Number("int"), // required * // }, * // SequentialExecutorConfiguration: { // SequentialExecutorConfiguration * // Runtime: "JSONATA", // required * // Output: "<__mapOf__string>", * // FunctionList: [ // required * // { * // RunCondition: "STRING_VALUE", * // FunctionId: "STRING_VALUE", * // Alias: "STRING_VALUE", * // }, * // ], * // TimeoutMilliseconds: Number("int"), // required * // }, * // VastRequestConfiguration: { // VastRequestConfiguration * // Runtime: "JSONATA", // required * // Output: "<__mapOf__string>", * // MethodType: "GET" || "POST", // required * // RequestTimeoutMilliseconds: Number("int"), // required * // Url: "STRING_VALUE", // required * // Body: "STRING_VALUE", * // Headers: "<__mapOf__string>", * // Cache: { * // TtlMinimumSeconds: Number("int"), // required * // TtlMaximumSeconds: Number("int"), // required * // Key: "STRING_VALUE", * // }, * // }, * // HlsTagProcessorConfiguration: { // HlsTagProcessorConfiguration * // Runtime: "JSONATA", // required * // Output: "<__mapOf__string>", * // TagFilter: [ // TagFilterList // required * // "EXT-X-DATERANGE", * // ], * // RunCondition: "STRING_VALUE", * // }, * // Tags: "<__mapOf__string>", * // Arn: "STRING_VALUE", * // }; * * ``` * * @param GetFunctionCommandInput - {@link GetFunctionCommandInput} * @returns {@link GetFunctionCommandOutput} * @see {@link GetFunctionCommandInput} for command's `input` shape. * @see {@link GetFunctionCommandOutput} for command's `response` shape. * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape. * * @throws {@link MediaTailorServiceException} *

Base exception class for all service exceptions from MediaTailor service.

* * * @public */ export declare class GetFunctionCommand extends GetFunctionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetFunctionRequest; output: GetFunctionResponse; }; sdk: { input: GetFunctionCommandInput; output: GetFunctionCommandOutput; }; }; }