FakeIotDataPlane

class FakeIotDataPlane(messages: Storage<List<PublishedMessage>> = Storage.InMemory(), shadows: Storage<String> = Storage.InMemory(), retainedMessages: Storage<RetainedMessage> = Storage.InMemory(), region: Region = Region.of("ldn-north-1"), endpoint: Uri = Uri.of("https://http4k-ats.iot.$region.amazonaws.com"), clock: Clock = Clock.systemUTC()) : ChaoticHttpHandler(source)

Constructors

Link copied to clipboard
constructor(messages: Storage<List<PublishedMessage>> = Storage.InMemory(), shadows: Storage<String> = Storage.InMemory(), retainedMessages: Storage<RetainedMessage> = Storage.InMemory(), region: Region = Region.of("ldn-north-1"), endpoint: Uri = Uri.of("https://http4k-ats.iot.$region.amazonaws.com"), clock: Clock = Clock.systemUTC())

Functions

Link copied to clipboard
Link copied to clipboard

Convenience function to get an IotDataPlane client

Link copied to clipboard
open operator override fun invoke(request: Request): Response
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun shadow(thingName: ThingName, shadowName: ShadowName? = null): String?