import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient"; import type { DescribeEndpointRequest, DescribeEndpointResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeEndpointCommand}. */ export interface DescribeEndpointCommandInput extends DescribeEndpointRequest { } /** * @public * * The output of {@link DescribeEndpointCommand}. */ export interface DescribeEndpointCommandOutput extends DescribeEndpointResponse, __MetadataBearer { } declare const DescribeEndpointCommand_base: { new (input: DescribeEndpointCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeEndpointCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Get the information about an existing global endpoint. For more information about global * endpoints, see Making applications * Regional-fault tolerant with global endpoints and event replication in the * * Amazon EventBridge User Guide * .

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EventBridgeClient, DescribeEndpointCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import * // const { EventBridgeClient, DescribeEndpointCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import * // import type { EventBridgeClientConfig } from "@aws-sdk/client-eventbridge"; * const config = {}; // type is EventBridgeClientConfig * const client = new EventBridgeClient(config); * const input = { // DescribeEndpointRequest * Name: "STRING_VALUE", // required * HomeRegion: "STRING_VALUE", * }; * const command = new DescribeEndpointCommand(input); * const response = await client.send(command); * // { // DescribeEndpointResponse * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // Arn: "STRING_VALUE", * // RoutingConfig: { // RoutingConfig * // FailoverConfig: { // FailoverConfig * // Primary: { // Primary * // HealthCheck: "STRING_VALUE", // required * // }, * // Secondary: { // Secondary * // Route: "STRING_VALUE", // required * // }, * // }, * // }, * // ReplicationConfig: { // ReplicationConfig * // State: "ENABLED" || "DISABLED", * // }, * // EventBuses: [ // EndpointEventBusList * // { // EndpointEventBus * // EventBusArn: "STRING_VALUE", // required * // }, * // ], * // RoleArn: "STRING_VALUE", * // EndpointId: "STRING_VALUE", * // EndpointUrl: "STRING_VALUE", * // State: "ACTIVE" || "CREATING" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "UPDATE_FAILED" || "DELETE_FAILED", * // StateReason: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param DescribeEndpointCommandInput - {@link DescribeEndpointCommandInput} * @returns {@link DescribeEndpointCommandOutput} * @see {@link DescribeEndpointCommandInput} for command's `input` shape. * @see {@link DescribeEndpointCommandOutput} for command's `response` shape. * @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape. * * @throws {@link InternalException} (server fault) *

This exception occurs due to unexpected causes.

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

An entity that you specified does not exist.

* * @throws {@link EventBridgeServiceException} *

Base exception class for all service exceptions from EventBridge service.

* * * @public */ export declare class DescribeEndpointCommand extends DescribeEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEndpointRequest; output: DescribeEndpointResponse; }; sdk: { input: DescribeEndpointCommandInput; output: DescribeEndpointCommandOutput; }; }; }