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

Gets a CloudFront origin access control configuration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, GetOriginAccessControlConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, GetOriginAccessControlConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // GetOriginAccessControlConfigRequest * Id: "STRING_VALUE", // required * }; * const command = new GetOriginAccessControlConfigCommand(input); * const response = await client.send(command); * // { // GetOriginAccessControlConfigResult * // OriginAccessControlConfig: { // OriginAccessControlConfig * // Name: "STRING_VALUE", // required * // Description: "STRING_VALUE", * // SigningProtocol: "sigv4", // required * // SigningBehavior: "never" || "always" || "no-override", // required * // OriginAccessControlOriginType: "s3" || "mediastore" || "mediapackagev2" || "lambda", // required * // }, * // ETag: "STRING_VALUE", * // }; * * ``` * * @param GetOriginAccessControlConfigCommandInput - {@link GetOriginAccessControlConfigCommandInput} * @returns {@link GetOriginAccessControlConfigCommandOutput} * @see {@link GetOriginAccessControlConfigCommandInput} for command's `input` shape. * @see {@link GetOriginAccessControlConfigCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

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

The origin access control does not exist.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class GetOriginAccessControlConfigCommand extends GetOriginAccessControlConfigCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetOriginAccessControlConfigRequest; output: GetOriginAccessControlConfigResult; }; sdk: { input: GetOriginAccessControlConfigCommandInput; output: GetOriginAccessControlConfigCommandOutput; }; }; }