import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeauthorizeConnectionRequest, DeauthorizeConnectionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeauthorizeConnectionCommand}. */ export interface DeauthorizeConnectionCommandInput extends DeauthorizeConnectionRequest { } /** * @public * * The output of {@link DeauthorizeConnectionCommand}. */ export interface DeauthorizeConnectionCommandOutput extends DeauthorizeConnectionResponse, __MetadataBearer { } declare const DeauthorizeConnectionCommand_base: { new (input: DeauthorizeConnectionCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeauthorizeConnectionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Removes all authorization parameters from the connection. This lets you remove the secret * from the connection so you can reuse it without having to create a new connection.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudWatchEventsClient, DeauthorizeConnectionCommand } from "@aws-sdk/client-cloudwatch-events"; // ES Modules import * // const { CloudWatchEventsClient, DeauthorizeConnectionCommand } = 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 = { // DeauthorizeConnectionRequest * Name: "STRING_VALUE", // required * }; * const command = new DeauthorizeConnectionCommand(input); * const response = await client.send(command); * // { // DeauthorizeConnectionResponse * // ConnectionArn: "STRING_VALUE", * // ConnectionState: "CREATING" || "UPDATING" || "DELETING" || "AUTHORIZED" || "DEAUTHORIZED" || "AUTHORIZING" || "DEAUTHORIZING", * // CreationTime: new Date("TIMESTAMP"), * // LastModifiedTime: new Date("TIMESTAMP"), * // LastAuthorizedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @param DeauthorizeConnectionCommandInput - {@link DeauthorizeConnectionCommandInput} * @returns {@link DeauthorizeConnectionCommandOutput} * @see {@link DeauthorizeConnectionCommandInput} for command's `input` shape. * @see {@link DeauthorizeConnectionCommandOutput} 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 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 DeauthorizeConnectionCommand extends DeauthorizeConnectionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeauthorizeConnectionRequest; output: DeauthorizeConnectionResponse; }; sdk: { input: DeauthorizeConnectionCommandInput; output: DeauthorizeConnectionCommandOutput; }; }; }