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

Get the details of an Amazon CloudFront VPC origin.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, GetVpcOriginCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, GetVpcOriginCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // GetVpcOriginRequest * Id: "STRING_VALUE", // required * }; * const command = new GetVpcOriginCommand(input); * const response = await client.send(command); * // { // GetVpcOriginResult * // VpcOrigin: { // VpcOrigin * // Id: "STRING_VALUE", // required * // Arn: "STRING_VALUE", // required * // Status: "STRING_VALUE", // required * // CreatedTime: new Date("TIMESTAMP"), // required * // LastModifiedTime: new Date("TIMESTAMP"), // required * // VpcOriginEndpointConfig: { // VpcOriginEndpointConfig * // Name: "STRING_VALUE", // required * // Arn: "STRING_VALUE", // required * // HTTPPort: Number("int"), // required * // HTTPSPort: Number("int"), // required * // OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required * // OriginSslProtocols: { // OriginSslProtocols * // Quantity: Number("int"), // required * // Items: [ // SslProtocolsList // required * // "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2", * // ], * // }, * // }, * // }, * // ETag: "STRING_VALUE", * // }; * * ``` * * @param GetVpcOriginCommandInput - {@link GetVpcOriginCommandInput} * @returns {@link GetVpcOriginCommandOutput} * @see {@link GetVpcOriginCommandInput} for command's `input` shape. * @see {@link GetVpcOriginCommandOutput} 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.

* * * @example To get a VPC origin * ```javascript * // The following command gets a VPC origin: * const input = { * Id: "vo_BQwjxxQxjCaBcQLzJUFkDM" * }; * const command = new GetVpcOriginCommand(input); * const response = await client.send(command); * /* response is * { * ETag: "ETVPDKIKX0DER", * VpcOrigin: { * Arn: "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM", * CreatedTime: "2024-10-15T17:19:42.318Z", * Id: "vo_BQwjxxQxjCaBcQLzJUFkDM", * LastModifiedTime: "2024-10-15T17:24:35.188Z", * Status: "Deployed", * VpcOriginEndpointConfig: { * Arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d", * HTTPPort: 80, * HTTPSPort: 443, * Name: "my-vpcorigin-name", * OriginProtocolPolicy: "match-viewer", * OriginSslProtocols: { * Items: [ * "TLSv1.1", * "TLSv1.2" * ], * Quantity: 2 * } * } * } * } * *\/ * ``` * * @public */ export declare class GetVpcOriginCommand extends GetVpcOriginCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetVpcOriginRequest; output: GetVpcOriginResult; }; sdk: { input: GetVpcOriginCommandInput; output: GetVpcOriginCommandOutput; }; }; }