import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { GetFieldLevelEncryptionRequest, GetFieldLevelEncryptionResult } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetFieldLevelEncryptionCommand}. */ export interface GetFieldLevelEncryptionCommandInput extends GetFieldLevelEncryptionRequest { } /** * @public * * The output of {@link GetFieldLevelEncryptionCommand}. */ export interface GetFieldLevelEncryptionCommandOutput extends GetFieldLevelEncryptionResult, __MetadataBearer { } declare const GetFieldLevelEncryptionCommand_base: { new (input: GetFieldLevelEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetFieldLevelEncryptionCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Get the field-level encryption configuration information.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, GetFieldLevelEncryptionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, GetFieldLevelEncryptionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // GetFieldLevelEncryptionRequest * Id: "STRING_VALUE", // required * }; * const command = new GetFieldLevelEncryptionCommand(input); * const response = await client.send(command); * // { // GetFieldLevelEncryptionResult * // FieldLevelEncryption: { // FieldLevelEncryption * // Id: "STRING_VALUE", // required * // LastModifiedTime: new Date("TIMESTAMP"), // required * // FieldLevelEncryptionConfig: { // FieldLevelEncryptionConfig * // CallerReference: "STRING_VALUE", // required * // Comment: "STRING_VALUE", * // QueryArgProfileConfig: { // QueryArgProfileConfig * // ForwardWhenQueryArgProfileIsUnknown: true || false, // required * // QueryArgProfiles: { // QueryArgProfiles * // Quantity: Number("int"), // required * // Items: [ // QueryArgProfileList * // { // QueryArgProfile * // QueryArg: "STRING_VALUE", // required * // ProfileId: "STRING_VALUE", // required * // }, * // ], * // }, * // }, * // ContentTypeProfileConfig: { // ContentTypeProfileConfig * // ForwardWhenContentTypeIsUnknown: true || false, // required * // ContentTypeProfiles: { // ContentTypeProfiles * // Quantity: Number("int"), // required * // Items: [ // ContentTypeProfileList * // { // ContentTypeProfile * // Format: "URLEncoded", // required * // ProfileId: "STRING_VALUE", * // ContentType: "STRING_VALUE", // required * // }, * // ], * // }, * // }, * // }, * // }, * // ETag: "STRING_VALUE", * // }; * * ``` * * @param GetFieldLevelEncryptionCommandInput - {@link GetFieldLevelEncryptionCommandInput} * @returns {@link GetFieldLevelEncryptionCommandOutput} * @see {@link GetFieldLevelEncryptionCommandInput} for command's `input` shape. * @see {@link GetFieldLevelEncryptionCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

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

The specified configuration for field-level encryption doesn't exist.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class GetFieldLevelEncryptionCommand extends GetFieldLevelEncryptionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetFieldLevelEncryptionRequest; output: GetFieldLevelEncryptionResult; }; sdk: { input: GetFieldLevelEncryptionCommandInput; output: GetFieldLevelEncryptionCommandOutput; }; }; }