UNPKG

@cumulus/aws-client

Version:
19 lines 1.1 kB
/** * @module CloudwatchEvents */ import { RuleState } from '@aws-sdk/client-cloudwatch-events'; /** * Create a CloudWatch Events rule * * @param {string} name - the rule name * @param {string} schedule - a ScheduleExpression * @param {string} state - the state of the rule * @param {string} [description] * @param {string} [role] - a Role ARN * @returns {Promise<CloudWatchEvents.PutRuleResponse>} */ export declare const putEvent: (name: string, schedule: string, state: RuleState, description?: string, role?: string) => Promise<import("@aws-sdk/client-cloudwatch-events").PutRuleCommandOutput>; export declare const deleteEvent: (name: string) => Promise<import("@aws-sdk/client-cloudwatch-events").DeleteRuleCommandOutput>; export declare const deleteTarget: (id: string, rule: string) => Promise<import("@aws-sdk/client-cloudwatch-events").RemoveTargetsCommandOutput>; export declare const putTarget: (rule: string, id: string, arn: string, input: string) => Promise<import("@aws-sdk/client-cloudwatch-events").PutTargetsCommandOutput>; //# sourceMappingURL=CloudwatchEvents.d.ts.map