import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; import { type ActivateEventSourceCommandInput, type ActivateEventSourceCommandOutput } from "./commands/ActivateEventSourceCommand"; import { type CancelReplayCommandInput, type CancelReplayCommandOutput } from "./commands/CancelReplayCommand"; import { type CreateApiDestinationCommandInput, type CreateApiDestinationCommandOutput } from "./commands/CreateApiDestinationCommand"; import { type CreateArchiveCommandInput, type CreateArchiveCommandOutput } from "./commands/CreateArchiveCommand"; import { type CreateConnectionCommandInput, type CreateConnectionCommandOutput } from "./commands/CreateConnectionCommand"; import { type CreateEndpointCommandInput, type CreateEndpointCommandOutput } from "./commands/CreateEndpointCommand"; import { type CreateEventBusCommandInput, type CreateEventBusCommandOutput } from "./commands/CreateEventBusCommand"; import { type CreatePartnerEventSourceCommandInput, type CreatePartnerEventSourceCommandOutput } from "./commands/CreatePartnerEventSourceCommand"; import { type DeactivateEventSourceCommandInput, type DeactivateEventSourceCommandOutput } from "./commands/DeactivateEventSourceCommand"; import { type DeauthorizeConnectionCommandInput, type DeauthorizeConnectionCommandOutput } from "./commands/DeauthorizeConnectionCommand"; import { type DeleteApiDestinationCommandInput, type DeleteApiDestinationCommandOutput } from "./commands/DeleteApiDestinationCommand"; import { type DeleteArchiveCommandInput, type DeleteArchiveCommandOutput } from "./commands/DeleteArchiveCommand"; import { type DeleteConnectionCommandInput, type DeleteConnectionCommandOutput } from "./commands/DeleteConnectionCommand"; import { type DeleteEndpointCommandInput, type DeleteEndpointCommandOutput } from "./commands/DeleteEndpointCommand"; import { type DeleteEventBusCommandInput, type DeleteEventBusCommandOutput } from "./commands/DeleteEventBusCommand"; import { type DeletePartnerEventSourceCommandInput, type DeletePartnerEventSourceCommandOutput } from "./commands/DeletePartnerEventSourceCommand"; import { type DeleteRuleCommandInput, type DeleteRuleCommandOutput } from "./commands/DeleteRuleCommand"; import { type DescribeApiDestinationCommandInput, type DescribeApiDestinationCommandOutput } from "./commands/DescribeApiDestinationCommand"; import { type DescribeArchiveCommandInput, type DescribeArchiveCommandOutput } from "./commands/DescribeArchiveCommand"; import { type DescribeConnectionCommandInput, type DescribeConnectionCommandOutput } from "./commands/DescribeConnectionCommand"; import { type DescribeEndpointCommandInput, type DescribeEndpointCommandOutput } from "./commands/DescribeEndpointCommand"; import { type DescribeEventBusCommandInput, type DescribeEventBusCommandOutput } from "./commands/DescribeEventBusCommand"; import { type DescribeEventSourceCommandInput, type DescribeEventSourceCommandOutput } from "./commands/DescribeEventSourceCommand"; import { type DescribePartnerEventSourceCommandInput, type DescribePartnerEventSourceCommandOutput } from "./commands/DescribePartnerEventSourceCommand"; import { type DescribeReplayCommandInput, type DescribeReplayCommandOutput } from "./commands/DescribeReplayCommand"; import { type DescribeRuleCommandInput, type DescribeRuleCommandOutput } from "./commands/DescribeRuleCommand"; import { type DisableRuleCommandInput, type DisableRuleCommandOutput } from "./commands/DisableRuleCommand"; import { type EnableRuleCommandInput, type EnableRuleCommandOutput } from "./commands/EnableRuleCommand"; import { type ListApiDestinationsCommandInput, type ListApiDestinationsCommandOutput } from "./commands/ListApiDestinationsCommand"; import { type ListArchivesCommandInput, type ListArchivesCommandOutput } from "./commands/ListArchivesCommand"; import { type ListConnectionsCommandInput, type ListConnectionsCommandOutput } from "./commands/ListConnectionsCommand"; import { type ListEndpointsCommandInput, type ListEndpointsCommandOutput } from "./commands/ListEndpointsCommand"; import { type ListEventBusesCommandInput, type ListEventBusesCommandOutput } from "./commands/ListEventBusesCommand"; import { type ListEventSourcesCommandInput, type ListEventSourcesCommandOutput } from "./commands/ListEventSourcesCommand"; import { type ListPartnerEventSourceAccountsCommandInput, type ListPartnerEventSourceAccountsCommandOutput } from "./commands/ListPartnerEventSourceAccountsCommand"; import { type ListPartnerEventSourcesCommandInput, type ListPartnerEventSourcesCommandOutput } from "./commands/ListPartnerEventSourcesCommand"; import { type ListReplaysCommandInput, type ListReplaysCommandOutput } from "./commands/ListReplaysCommand"; import { type ListRuleNamesByTargetCommandInput, type ListRuleNamesByTargetCommandOutput } from "./commands/ListRuleNamesByTargetCommand"; import { type ListRulesCommandInput, type ListRulesCommandOutput } from "./commands/ListRulesCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type ListTargetsByRuleCommandInput, type ListTargetsByRuleCommandOutput } from "./commands/ListTargetsByRuleCommand"; import { type PutEventsCommandInput, type PutEventsCommandOutput } from "./commands/PutEventsCommand"; import { type PutPartnerEventsCommandInput, type PutPartnerEventsCommandOutput } from "./commands/PutPartnerEventsCommand"; import { type PutPermissionCommandInput, type PutPermissionCommandOutput } from "./commands/PutPermissionCommand"; import { type PutRuleCommandInput, type PutRuleCommandOutput } from "./commands/PutRuleCommand"; import { type PutTargetsCommandInput, type PutTargetsCommandOutput } from "./commands/PutTargetsCommand"; import { type RemovePermissionCommandInput, type RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand"; import { type RemoveTargetsCommandInput, type RemoveTargetsCommandOutput } from "./commands/RemoveTargetsCommand"; import { type StartReplayCommandInput, type StartReplayCommandOutput } from "./commands/StartReplayCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type TestEventPatternCommandInput, type TestEventPatternCommandOutput } from "./commands/TestEventPatternCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { type UpdateApiDestinationCommandInput, type UpdateApiDestinationCommandOutput } from "./commands/UpdateApiDestinationCommand"; import { type UpdateArchiveCommandInput, type UpdateArchiveCommandOutput } from "./commands/UpdateArchiveCommand"; import { type UpdateConnectionCommandInput, type UpdateConnectionCommandOutput } from "./commands/UpdateConnectionCommand"; import { type UpdateEndpointCommandInput, type UpdateEndpointCommandOutput } from "./commands/UpdateEndpointCommand"; import { type UpdateEventBusCommandInput, type UpdateEventBusCommandOutput } from "./commands/UpdateEventBusCommand"; import { EventBridgeClient } from "./EventBridgeClient"; export interface EventBridge { /** * @see {@link ActivateEventSourceCommand} */ activateEventSource(args: ActivateEventSourceCommandInput, options?: __HttpHandlerOptions): Promise; activateEventSource(args: ActivateEventSourceCommandInput, cb: (err: any, data?: ActivateEventSourceCommandOutput) => void): void; activateEventSource(args: ActivateEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ActivateEventSourceCommandOutput) => void): void; /** * @see {@link CancelReplayCommand} */ cancelReplay(args: CancelReplayCommandInput, options?: __HttpHandlerOptions): Promise; cancelReplay(args: CancelReplayCommandInput, cb: (err: any, data?: CancelReplayCommandOutput) => void): void; cancelReplay(args: CancelReplayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelReplayCommandOutput) => void): void; /** * @see {@link CreateApiDestinationCommand} */ createApiDestination(args: CreateApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise; createApiDestination(args: CreateApiDestinationCommandInput, cb: (err: any, data?: CreateApiDestinationCommandOutput) => void): void; createApiDestination(args: CreateApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApiDestinationCommandOutput) => void): void; /** * @see {@link CreateArchiveCommand} */ createArchive(args: CreateArchiveCommandInput, options?: __HttpHandlerOptions): Promise; createArchive(args: CreateArchiveCommandInput, cb: (err: any, data?: CreateArchiveCommandOutput) => void): void; createArchive(args: CreateArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateArchiveCommandOutput) => void): void; /** * @see {@link CreateConnectionCommand} */ createConnection(args: CreateConnectionCommandInput, options?: __HttpHandlerOptions): Promise; createConnection(args: CreateConnectionCommandInput, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void; createConnection(args: CreateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void; /** * @see {@link CreateEndpointCommand} */ createEndpoint(args: CreateEndpointCommandInput, options?: __HttpHandlerOptions): Promise; createEndpoint(args: CreateEndpointCommandInput, cb: (err: any, data?: CreateEndpointCommandOutput) => void): void; createEndpoint(args: CreateEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEndpointCommandOutput) => void): void; /** * @see {@link CreateEventBusCommand} */ createEventBus(args: CreateEventBusCommandInput, options?: __HttpHandlerOptions): Promise; createEventBus(args: CreateEventBusCommandInput, cb: (err: any, data?: CreateEventBusCommandOutput) => void): void; createEventBus(args: CreateEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventBusCommandOutput) => void): void; /** * @see {@link CreatePartnerEventSourceCommand} */ createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, options?: __HttpHandlerOptions): Promise; createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, cb: (err: any, data?: CreatePartnerEventSourceCommandOutput) => void): void; createPartnerEventSource(args: CreatePartnerEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePartnerEventSourceCommandOutput) => void): void; /** * @see {@link DeactivateEventSourceCommand} */ deactivateEventSource(args: DeactivateEventSourceCommandInput, options?: __HttpHandlerOptions): Promise; deactivateEventSource(args: DeactivateEventSourceCommandInput, cb: (err: any, data?: DeactivateEventSourceCommandOutput) => void): void; deactivateEventSource(args: DeactivateEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeactivateEventSourceCommandOutput) => void): void; /** * @see {@link DeauthorizeConnectionCommand} */ deauthorizeConnection(args: DeauthorizeConnectionCommandInput, options?: __HttpHandlerOptions): Promise; deauthorizeConnection(args: DeauthorizeConnectionCommandInput, cb: (err: any, data?: DeauthorizeConnectionCommandOutput) => void): void; deauthorizeConnection(args: DeauthorizeConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeauthorizeConnectionCommandOutput) => void): void; /** * @see {@link DeleteApiDestinationCommand} */ deleteApiDestination(args: DeleteApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise; deleteApiDestination(args: DeleteApiDestinationCommandInput, cb: (err: any, data?: DeleteApiDestinationCommandOutput) => void): void; deleteApiDestination(args: DeleteApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApiDestinationCommandOutput) => void): void; /** * @see {@link DeleteArchiveCommand} */ deleteArchive(args: DeleteArchiveCommandInput, options?: __HttpHandlerOptions): Promise; deleteArchive(args: DeleteArchiveCommandInput, cb: (err: any, data?: DeleteArchiveCommandOutput) => void): void; deleteArchive(args: DeleteArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteArchiveCommandOutput) => void): void; /** * @see {@link DeleteConnectionCommand} */ deleteConnection(args: DeleteConnectionCommandInput, options?: __HttpHandlerOptions): Promise; deleteConnection(args: DeleteConnectionCommandInput, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void; deleteConnection(args: DeleteConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectionCommandOutput) => void): void; /** * @see {@link DeleteEndpointCommand} */ deleteEndpoint(args: DeleteEndpointCommandInput, options?: __HttpHandlerOptions): Promise; deleteEndpoint(args: DeleteEndpointCommandInput, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void; deleteEndpoint(args: DeleteEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void; /** * @see {@link DeleteEventBusCommand} */ deleteEventBus(args: DeleteEventBusCommandInput, options?: __HttpHandlerOptions): Promise; deleteEventBus(args: DeleteEventBusCommandInput, cb: (err: any, data?: DeleteEventBusCommandOutput) => void): void; deleteEventBus(args: DeleteEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventBusCommandOutput) => void): void; /** * @see {@link DeletePartnerEventSourceCommand} */ deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, options?: __HttpHandlerOptions): Promise; deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, cb: (err: any, data?: DeletePartnerEventSourceCommandOutput) => void): void; deletePartnerEventSource(args: DeletePartnerEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePartnerEventSourceCommandOutput) => void): void; /** * @see {@link DeleteRuleCommand} */ deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise; deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void; deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void; /** * @see {@link DescribeApiDestinationCommand} */ describeApiDestination(args: DescribeApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise; describeApiDestination(args: DescribeApiDestinationCommandInput, cb: (err: any, data?: DescribeApiDestinationCommandOutput) => void): void; describeApiDestination(args: DescribeApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeApiDestinationCommandOutput) => void): void; /** * @see {@link DescribeArchiveCommand} */ describeArchive(args: DescribeArchiveCommandInput, options?: __HttpHandlerOptions): Promise; describeArchive(args: DescribeArchiveCommandInput, cb: (err: any, data?: DescribeArchiveCommandOutput) => void): void; describeArchive(args: DescribeArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeArchiveCommandOutput) => void): void; /** * @see {@link DescribeConnectionCommand} */ describeConnection(args: DescribeConnectionCommandInput, options?: __HttpHandlerOptions): Promise; describeConnection(args: DescribeConnectionCommandInput, cb: (err: any, data?: DescribeConnectionCommandOutput) => void): void; describeConnection(args: DescribeConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectionCommandOutput) => void): void; /** * @see {@link DescribeEndpointCommand} */ describeEndpoint(args: DescribeEndpointCommandInput, options?: __HttpHandlerOptions): Promise; describeEndpoint(args: DescribeEndpointCommandInput, cb: (err: any, data?: DescribeEndpointCommandOutput) => void): void; describeEndpoint(args: DescribeEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointCommandOutput) => void): void; /** * @see {@link DescribeEventBusCommand} */ describeEventBus(): Promise; describeEventBus(args: DescribeEventBusCommandInput, options?: __HttpHandlerOptions): Promise; describeEventBus(args: DescribeEventBusCommandInput, cb: (err: any, data?: DescribeEventBusCommandOutput) => void): void; describeEventBus(args: DescribeEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventBusCommandOutput) => void): void; /** * @see {@link DescribeEventSourceCommand} */ describeEventSource(args: DescribeEventSourceCommandInput, options?: __HttpHandlerOptions): Promise; describeEventSource(args: DescribeEventSourceCommandInput, cb: (err: any, data?: DescribeEventSourceCommandOutput) => void): void; describeEventSource(args: DescribeEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEventSourceCommandOutput) => void): void; /** * @see {@link DescribePartnerEventSourceCommand} */ describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, options?: __HttpHandlerOptions): Promise; describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, cb: (err: any, data?: DescribePartnerEventSourceCommandOutput) => void): void; describePartnerEventSource(args: DescribePartnerEventSourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePartnerEventSourceCommandOutput) => void): void; /** * @see {@link DescribeReplayCommand} */ describeReplay(args: DescribeReplayCommandInput, options?: __HttpHandlerOptions): Promise; describeReplay(args: DescribeReplayCommandInput, cb: (err: any, data?: DescribeReplayCommandOutput) => void): void; describeReplay(args: DescribeReplayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReplayCommandOutput) => void): void; /** * @see {@link DescribeRuleCommand} */ describeRule(args: DescribeRuleCommandInput, options?: __HttpHandlerOptions): Promise; describeRule(args: DescribeRuleCommandInput, cb: (err: any, data?: DescribeRuleCommandOutput) => void): void; describeRule(args: DescribeRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleCommandOutput) => void): void; /** * @see {@link DisableRuleCommand} */ disableRule(args: DisableRuleCommandInput, options?: __HttpHandlerOptions): Promise; disableRule(args: DisableRuleCommandInput, cb: (err: any, data?: DisableRuleCommandOutput) => void): void; disableRule(args: DisableRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableRuleCommandOutput) => void): void; /** * @see {@link EnableRuleCommand} */ enableRule(args: EnableRuleCommandInput, options?: __HttpHandlerOptions): Promise; enableRule(args: EnableRuleCommandInput, cb: (err: any, data?: EnableRuleCommandOutput) => void): void; enableRule(args: EnableRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableRuleCommandOutput) => void): void; /** * @see {@link ListApiDestinationsCommand} */ listApiDestinations(): Promise; listApiDestinations(args: ListApiDestinationsCommandInput, options?: __HttpHandlerOptions): Promise; listApiDestinations(args: ListApiDestinationsCommandInput, cb: (err: any, data?: ListApiDestinationsCommandOutput) => void): void; listApiDestinations(args: ListApiDestinationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApiDestinationsCommandOutput) => void): void; /** * @see {@link ListArchivesCommand} */ listArchives(): Promise; listArchives(args: ListArchivesCommandInput, options?: __HttpHandlerOptions): Promise; listArchives(args: ListArchivesCommandInput, cb: (err: any, data?: ListArchivesCommandOutput) => void): void; listArchives(args: ListArchivesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListArchivesCommandOutput) => void): void; /** * @see {@link ListConnectionsCommand} */ listConnections(): Promise; listConnections(args: ListConnectionsCommandInput, options?: __HttpHandlerOptions): Promise; listConnections(args: ListConnectionsCommandInput, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void; listConnections(args: ListConnectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectionsCommandOutput) => void): void; /** * @see {@link ListEndpointsCommand} */ listEndpoints(): Promise; listEndpoints(args: ListEndpointsCommandInput, options?: __HttpHandlerOptions): Promise; listEndpoints(args: ListEndpointsCommandInput, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void; listEndpoints(args: ListEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void; /** * @see {@link ListEventBusesCommand} */ listEventBuses(): Promise; listEventBuses(args: ListEventBusesCommandInput, options?: __HttpHandlerOptions): Promise; listEventBuses(args: ListEventBusesCommandInput, cb: (err: any, data?: ListEventBusesCommandOutput) => void): void; listEventBuses(args: ListEventBusesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventBusesCommandOutput) => void): void; /** * @see {@link ListEventSourcesCommand} */ listEventSources(): Promise; listEventSources(args: ListEventSourcesCommandInput, options?: __HttpHandlerOptions): Promise; listEventSources(args: ListEventSourcesCommandInput, cb: (err: any, data?: ListEventSourcesCommandOutput) => void): void; listEventSources(args: ListEventSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSourcesCommandOutput) => void): void; /** * @see {@link ListPartnerEventSourceAccountsCommand} */ listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, options?: __HttpHandlerOptions): Promise; listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, cb: (err: any, data?: ListPartnerEventSourceAccountsCommandOutput) => void): void; listPartnerEventSourceAccounts(args: ListPartnerEventSourceAccountsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPartnerEventSourceAccountsCommandOutput) => void): void; /** * @see {@link ListPartnerEventSourcesCommand} */ listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, options?: __HttpHandlerOptions): Promise; listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, cb: (err: any, data?: ListPartnerEventSourcesCommandOutput) => void): void; listPartnerEventSources(args: ListPartnerEventSourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPartnerEventSourcesCommandOutput) => void): void; /** * @see {@link ListReplaysCommand} */ listReplays(): Promise; listReplays(args: ListReplaysCommandInput, options?: __HttpHandlerOptions): Promise; listReplays(args: ListReplaysCommandInput, cb: (err: any, data?: ListReplaysCommandOutput) => void): void; listReplays(args: ListReplaysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReplaysCommandOutput) => void): void; /** * @see {@link ListRuleNamesByTargetCommand} */ listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, options?: __HttpHandlerOptions): Promise; listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, cb: (err: any, data?: ListRuleNamesByTargetCommandOutput) => void): void; listRuleNamesByTarget(args: ListRuleNamesByTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleNamesByTargetCommandOutput) => void): void; /** * @see {@link ListRulesCommand} */ listRules(): Promise; listRules(args: ListRulesCommandInput, options?: __HttpHandlerOptions): Promise; listRules(args: ListRulesCommandInput, cb: (err: any, data?: ListRulesCommandOutput) => void): void; listRules(args: ListRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link ListTargetsByRuleCommand} */ listTargetsByRule(args: ListTargetsByRuleCommandInput, options?: __HttpHandlerOptions): Promise; listTargetsByRule(args: ListTargetsByRuleCommandInput, cb: (err: any, data?: ListTargetsByRuleCommandOutput) => void): void; listTargetsByRule(args: ListTargetsByRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTargetsByRuleCommandOutput) => void): void; /** * @see {@link PutEventsCommand} */ putEvents(args: PutEventsCommandInput, options?: __HttpHandlerOptions): Promise; putEvents(args: PutEventsCommandInput, cb: (err: any, data?: PutEventsCommandOutput) => void): void; putEvents(args: PutEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventsCommandOutput) => void): void; /** * @see {@link PutPartnerEventsCommand} */ putPartnerEvents(args: PutPartnerEventsCommandInput, options?: __HttpHandlerOptions): Promise; putPartnerEvents(args: PutPartnerEventsCommandInput, cb: (err: any, data?: PutPartnerEventsCommandOutput) => void): void; putPartnerEvents(args: PutPartnerEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPartnerEventsCommandOutput) => void): void; /** * @see {@link PutPermissionCommand} */ putPermission(): Promise; putPermission(args: PutPermissionCommandInput, options?: __HttpHandlerOptions): Promise; putPermission(args: PutPermissionCommandInput, cb: (err: any, data?: PutPermissionCommandOutput) => void): void; putPermission(args: PutPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutPermissionCommandOutput) => void): void; /** * @see {@link PutRuleCommand} */ putRule(args: PutRuleCommandInput, options?: __HttpHandlerOptions): Promise; putRule(args: PutRuleCommandInput, cb: (err: any, data?: PutRuleCommandOutput) => void): void; putRule(args: PutRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuleCommandOutput) => void): void; /** * @see {@link PutTargetsCommand} */ putTargets(args: PutTargetsCommandInput, options?: __HttpHandlerOptions): Promise; putTargets(args: PutTargetsCommandInput, cb: (err: any, data?: PutTargetsCommandOutput) => void): void; putTargets(args: PutTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTargetsCommandOutput) => void): void; /** * @see {@link RemovePermissionCommand} */ removePermission(): Promise; removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise; removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void; removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void; /** * @see {@link RemoveTargetsCommand} */ removeTargets(args: RemoveTargetsCommandInput, options?: __HttpHandlerOptions): Promise; removeTargets(args: RemoveTargetsCommandInput, cb: (err: any, data?: RemoveTargetsCommandOutput) => void): void; removeTargets(args: RemoveTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTargetsCommandOutput) => void): void; /** * @see {@link StartReplayCommand} */ startReplay(args: StartReplayCommandInput, options?: __HttpHandlerOptions): Promise; startReplay(args: StartReplayCommandInput, cb: (err: any, data?: StartReplayCommandOutput) => void): void; startReplay(args: StartReplayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartReplayCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link TestEventPatternCommand} */ testEventPattern(args: TestEventPatternCommandInput, options?: __HttpHandlerOptions): Promise; testEventPattern(args: TestEventPatternCommandInput, cb: (err: any, data?: TestEventPatternCommandOutput) => void): void; testEventPattern(args: TestEventPatternCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestEventPatternCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link UpdateApiDestinationCommand} */ updateApiDestination(args: UpdateApiDestinationCommandInput, options?: __HttpHandlerOptions): Promise; updateApiDestination(args: UpdateApiDestinationCommandInput, cb: (err: any, data?: UpdateApiDestinationCommandOutput) => void): void; updateApiDestination(args: UpdateApiDestinationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApiDestinationCommandOutput) => void): void; /** * @see {@link UpdateArchiveCommand} */ updateArchive(args: UpdateArchiveCommandInput, options?: __HttpHandlerOptions): Promise; updateArchive(args: UpdateArchiveCommandInput, cb: (err: any, data?: UpdateArchiveCommandOutput) => void): void; updateArchive(args: UpdateArchiveCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateArchiveCommandOutput) => void): void; /** * @see {@link UpdateConnectionCommand} */ updateConnection(args: UpdateConnectionCommandInput, options?: __HttpHandlerOptions): Promise; updateConnection(args: UpdateConnectionCommandInput, cb: (err: any, data?: UpdateConnectionCommandOutput) => void): void; updateConnection(args: UpdateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectionCommandOutput) => void): void; /** * @see {@link UpdateEndpointCommand} */ updateEndpoint(args: UpdateEndpointCommandInput, options?: __HttpHandlerOptions): Promise; updateEndpoint(args: UpdateEndpointCommandInput, cb: (err: any, data?: UpdateEndpointCommandOutput) => void): void; updateEndpoint(args: UpdateEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEndpointCommandOutput) => void): void; /** * @see {@link UpdateEventBusCommand} */ updateEventBus(): Promise; updateEventBus(args: UpdateEventBusCommandInput, options?: __HttpHandlerOptions): Promise; updateEventBus(args: UpdateEventBusCommandInput, cb: (err: any, data?: UpdateEventBusCommandOutput) => void): void; updateEventBus(args: UpdateEventBusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventBusCommandOutput) => void): void; } /** *

Amazon EventBridge helps you to respond to state changes in your Amazon Web Services * resources. When your resources change state, they automatically send events to an event * stream. You can create rules that match selected events in the stream and route them to * targets to take action. You can also use rules to take action on a predetermined schedule. For * example, you can configure rules to:

*
    *
  • *

    Automatically invoke an Lambda function to update DNS entries when an * event notifies you that Amazon EC2 instance enters the running state.

    *
  • *
  • *

    Direct specific API records from CloudTrail to an Amazon Kinesis * data stream for detailed analysis of potential security or availability risks.

    *
  • *
  • *

    Periodically invoke a built-in target to create a snapshot of an Amazon EBS * volume.

    *
  • *
*

For more information about the features of Amazon EventBridge, see the Amazon EventBridge User * Guide.

* @public */ export declare class EventBridge extends EventBridgeClient implements EventBridge { }