@studyportals/sp-r2d2
Version:
A framework that contains various components used when developing projects that will be deployed via AWS λ.
13 lines (12 loc) • 379 B
TypeScript
/**
* Provides operations used to interfact with SNS.
*/
export interface ISNSAdapter {
/**
* Sends a message on the specified topic, containing the given data.
*
* @param topicArn The ARN of the topic on which the message is to be sent.
* @param data The message's data.
*/
sendDataMessage(topicArn: string, data: any): Promise<void>;
}