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 { DescribeApiDestinationRequest, DescribeApiDestinationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeApiDestinationCommand}. */ export interface DescribeApiDestinationCommandInput extends DescribeApiDestinationRequest { } /** * @public * * The output of {@link DescribeApiDestinationCommand}. */ export interface DescribeApiDestinationCommandOutput extends DescribeApiDestinationResponse, __MetadataBearer { } declare const DescribeApiDestinationCommand_base: { new (input: DescribeApiDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeApiDestinationCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves details about an API destination.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EventBridgeClient, DescribeApiDestinationCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import * // const { EventBridgeClient, DescribeApiDestinationCommand } = 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 = { // DescribeApiDestinationRequest * Name: "STRING_VALUE", // required * }; * const command = new DescribeApiDestinationCommand(input); * const response = await client.send(command); * // { // DescribeApiDestinationResponse * // ApiDestinationArn: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // ApiDestinationState: "ACTIVE" || "INACTIVE", * // ConnectionArn: "STRING_VALUE", * // InvocationEndpoint: "STRING_VALUE", * // HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE", * // InvocationRateLimitPerSecond: Number("int"), * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param DescribeApiDestinationCommandInput - {@link DescribeApiDestinationCommandInput} * @returns {@link DescribeApiDestinationCommandOutput} * @see {@link DescribeApiDestinationCommandInput} for command's `input` shape. * @see {@link DescribeApiDestinationCommandOutput} 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 DescribeApiDestinationCommand extends DescribeApiDestinationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeApiDestinationRequest; output: DescribeApiDestinationResponse; }; sdk: { input: DescribeApiDestinationCommandInput; output: DescribeApiDestinationCommandOutput; }; }; }