import * as AWS from 'aws-sdk'; /** * This function doesn't support the following target types yet: * * ECS * * Kinesis * * EC2 Run Command * * It also doesn't support the InputPath or InputTransformer yet */ export declare function addTarget(ruleName: string, targetArn: string, targetId: string, input: AWS.CloudWatchEvents.TargetInput): Promise; /** * Given the name of a CloudWatch Events rule, returns the targets that * are defined in that rule. */ export declare function getTargets(ruleName: string): Promise; /** * Given a rule name, returns that rule from CloudWatch Events, or null if it doesn't exist */ export declare function getRule(ruleName: string): Promise; /** * Given a rule name and list of target IDs, removes the targets from the rule */ export declare function removeTargets(ruleName: string, targets: AWS.CloudWatchEvents.TargetList): Promise; /** * Removes all targets from the given event rule */ export declare function removeAllTargets(ruleName: string): Promise;