import { Uint8ArrayBlobAdapter } from "@smithy/core/serde"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetConnectionFunctionRequest, GetConnectionFunctionResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetConnectionFunctionCommand}. */ export interface GetConnectionFunctionCommandInput extends GetConnectionFunctionRequest { } /** * @public */ export type GetConnectionFunctionCommandOutputType = Omit & { ConnectionFunctionCode?: Uint8ArrayBlobAdapter; }; /** * @public * * The output of {@link GetConnectionFunctionCommand}. */ export interface GetConnectionFunctionCommandOutput extends GetConnectionFunctionCommandOutputType, __MetadataBearer { } declare const GetConnectionFunctionCommand_base: { new (input: GetConnectionFunctionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetConnectionFunctionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets a connection function.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, GetConnectionFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, GetConnectionFunctionCommand } = 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 = { // GetConnectionFunctionRequest * Identifier: "STRING_VALUE", // required * Stage: "DEVELOPMENT" || "LIVE", * }; * const command = new GetConnectionFunctionCommand(input); * const response = await client.send(command); * // { // GetConnectionFunctionResult * // ConnectionFunctionCode: new Uint8Array(), * // ETag: "STRING_VALUE", * // ContentType: "STRING_VALUE", * // }; * * ``` * * @param GetConnectionFunctionCommandInput - {@link GetConnectionFunctionCommandInput} * @returns {@link GetConnectionFunctionCommandOutput} * @see {@link GetConnectionFunctionCommandInput} for command's `input` shape. * @see {@link GetConnectionFunctionCommandOutput} 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 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 GetConnectionFunctionCommand extends GetConnectionFunctionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetConnectionFunctionRequest; output: GetConnectionFunctionResult; }; sdk: { input: GetConnectionFunctionCommandInput; output: GetConnectionFunctionCommandOutput; }; }; }