@meshwatch/backend-core
Version:
Meshwatch backend core services.
13 lines (12 loc) • 531 B
TypeScript
import { SQS } from 'aws-sdk/clients/all';
declare class AlertViolationNotifier {
private readonly QUEUE_NAME;
private readonly queue;
constructor(sqsClient?: SQS);
process: (alert: import("@meshwatch/types/dist/common").WithCreated<import("@meshwatch/types").CreateAlertDTO & {
scheduler: string;
} & {
id: string;
}>) => Promise<import("aws-sdk/lib/request").PromiseResult<SQS.SendMessageResult, import("aws-sdk/lib/error").AWSError>>;
}
export default AlertViolationNotifier;