import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeConnectionFunctionRequest, DescribeConnectionFunctionResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeConnectionFunctionCommand}. */ export interface DescribeConnectionFunctionCommandInput extends DescribeConnectionFunctionRequest { } /** * @public * * The output of {@link DescribeConnectionFunctionCommand}. */ export interface DescribeConnectionFunctionCommandOutput extends DescribeConnectionFunctionResult, __MetadataBearer { } declare const DescribeConnectionFunctionCommand_base: { new (input: DescribeConnectionFunctionCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeConnectionFunctionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes a connection function.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, DescribeConnectionFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, DescribeConnectionFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * // import type { CloudFrontClientConfig } from "@aws-sdk/client-cloudfront"; * const config = {}; // type is CloudFrontClientConfig * const client = new CloudFrontClient(config); * const input = { // DescribeConnectionFunctionRequest * Identifier: "STRING_VALUE", // required * Stage: "DEVELOPMENT" || "LIVE", * }; * const command = new DescribeConnectionFunctionCommand(input); * const response = await client.send(command); * // { // DescribeConnectionFunctionResult * // ConnectionFunctionSummary: { // ConnectionFunctionSummary * // Name: "STRING_VALUE", // required * // Id: "STRING_VALUE", // required * // ConnectionFunctionConfig: { // FunctionConfig * // Comment: "STRING_VALUE", // required * // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required * // KeyValueStoreAssociations: { // KeyValueStoreAssociations * // Quantity: Number("int"), // required * // Items: [ // KeyValueStoreAssociationList * // { // KeyValueStoreAssociation * // KeyValueStoreARN: "STRING_VALUE", // required * // }, * // ], * // }, * // }, * // ConnectionFunctionArn: "STRING_VALUE", // required * // Status: "STRING_VALUE", // required * // Stage: "DEVELOPMENT" || "LIVE", // required * // CreatedTime: new Date("TIMESTAMP"), // required * // LastModifiedTime: new Date("TIMESTAMP"), // required * // }, * // ETag: "STRING_VALUE", * // }; * * ``` * * @param DescribeConnectionFunctionCommandInput - {@link DescribeConnectionFunctionCommandInput} * @returns {@link DescribeConnectionFunctionCommandOutput} * @see {@link DescribeConnectionFunctionCommandInput} for command's `input` shape. * @see {@link DescribeConnectionFunctionCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

* * @throws {@link EntityNotFound} (client fault) *

The entity was not found.

* * @throws {@link InvalidArgument} (client fault) *

An argument is invalid.

* * @throws {@link UnsupportedOperation} (client fault) *

This operation is not supported in this Amazon Web Services Region.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class DescribeConnectionFunctionCommand extends DescribeConnectionFunctionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeConnectionFunctionRequest; output: DescribeConnectionFunctionResult; }; sdk: { input: DescribeConnectionFunctionCommandInput; output: DescribeConnectionFunctionCommandOutput; }; }; }