import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateApiDestinationRequest, UpdateApiDestinationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateApiDestinationCommand}. */ export interface UpdateApiDestinationCommandInput extends UpdateApiDestinationRequest { } /** * @public * * The output of {@link UpdateApiDestinationCommand}. */ export interface UpdateApiDestinationCommandOutput extends UpdateApiDestinationResponse, __MetadataBearer { } declare const UpdateApiDestinationCommand_base: { new (input: UpdateApiDestinationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateApiDestinationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates an API destination.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudWatchEventsClient, UpdateApiDestinationCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import * // const { CloudWatchEventsClient, UpdateApiDestinationCommand } = require("@aws-sdk/client-cloudwatch-events"); // CommonJS import * // import type { CloudWatchEventsClientConfig } from "@aws-sdk/client-cloudwatch-events"; * const config = {}; // type is CloudWatchEventsClientConfig * const client = new CloudWatchEventsClient(config); * const input = { // UpdateApiDestinationRequest * Name: "STRING_VALUE", // required * Description: "STRING_VALUE", * ConnectionArn: "STRING_VALUE", * InvocationEndpoint: "STRING_VALUE", * HttpMethod: "POST" || "GET" || "HEAD" || "OPTIONS" || "PUT" || "PATCH" || "DELETE", * InvocationRateLimitPerSecond: Number("int"), * }; * const command = new UpdateApiDestinationCommand(input); * const response = await client.send(command); * // { // UpdateApiDestinationResponse * // ApiDestinationArn: "STRING_VALUE", * // ApiDestinationState: "ACTIVE" || "INACTIVE", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param UpdateApiDestinationCommandInput - {@link UpdateApiDestinationCommandInput} * @returns {@link UpdateApiDestinationCommandOutput} * @see {@link UpdateApiDestinationCommandInput} for command's `input` shape. * @see {@link UpdateApiDestinationCommandOutput} for command's `response` shape. * @see {@link CloudWatchEventsClientResolvedConfig | config} for CloudWatchEventsClient's `config` shape. * * @throws {@link ConcurrentModificationException} (client fault) *

There is concurrent modification on a rule, target, archive, or replay.

* * @throws {@link InternalException} (server fault) *

This exception occurs due to unexpected causes.

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

The request failed because it attempted to create resource beyond the allowed service * quota.

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

An entity that you specified does not exist.

* * @throws {@link CloudWatchEventsServiceException} *

Base exception class for all service exceptions from CloudWatchEvents service.

* * * @public */ export declare class UpdateApiDestinationCommand extends UpdateApiDestinationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateApiDestinationRequest; output: UpdateApiDestinationResponse; }; sdk: { input: UpdateApiDestinationCommandInput; output: UpdateApiDestinationCommandOutput; }; }; }