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

Get the information about an origin access identity.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, GetCloudFrontOriginAccessIdentityCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, GetCloudFrontOriginAccessIdentityCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // GetCloudFrontOriginAccessIdentityRequest * Id: "STRING_VALUE", // required * }; * const command = new GetCloudFrontOriginAccessIdentityCommand(input); * const response = await client.send(command); * // { // GetCloudFrontOriginAccessIdentityResult * // CloudFrontOriginAccessIdentity: { // CloudFrontOriginAccessIdentity * // Id: "STRING_VALUE", // required * // S3CanonicalUserId: "STRING_VALUE", // required * // CloudFrontOriginAccessIdentityConfig: { // CloudFrontOriginAccessIdentityConfig * // CallerReference: "STRING_VALUE", // required * // Comment: "STRING_VALUE", // required * // }, * // }, * // ETag: "STRING_VALUE", * // }; * * ``` * * @param GetCloudFrontOriginAccessIdentityCommandInput - {@link GetCloudFrontOriginAccessIdentityCommandInput} * @returns {@link GetCloudFrontOriginAccessIdentityCommandOutput} * @see {@link GetCloudFrontOriginAccessIdentityCommandInput} for command's `input` shape. * @see {@link GetCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

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

The specified origin access identity does not exist.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class GetCloudFrontOriginAccessIdentityCommand extends GetCloudFrontOriginAccessIdentityCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetCloudFrontOriginAccessIdentityRequest; output: GetCloudFrontOriginAccessIdentityResult; }; sdk: { input: GetCloudFrontOriginAccessIdentityCommandInput; output: GetCloudFrontOriginAccessIdentityCommandOutput; }; }; }