FakeSNS

class FakeSNS(topics: Storage<List<SNSMessage>> = Storage.InMemory(), awsAccount: AwsAccount = AwsAccount.of("1234567890"), region: Region = Region.of("ldn-north-1")) : ChaoticHttpHandler

Constructors

Link copied to clipboard
constructor(topics: Storage<List<SNSMessage>> = Storage.InMemory(), awsAccount: AwsAccount = AwsAccount.of("1234567890"), region: Region = Region.of("ldn-north-1"))

Functions

Link copied to clipboard
Link copied to clipboard
fun client(): SNS

Convenience function to get a SNS client

Link copied to clipboard
open operator override fun invoke(request: Request): Response
Link copied to clipboard
Link copied to clipboard