Package-level declarations

Types

Link copied to clipboard
interface Iot

The AWS IoT control plane, of which the Jobs and stream operations are implemented.

Link copied to clipboard
interface IotAction<R> : Action<Result<R, RemoteFailure>>
Link copied to clipboard
@KotshiJsonAdapterFactory
object IotJsonAdapterFactory : JsonAdapter.Factory
Link copied to clipboard

Functions

Link copied to clipboard
fun Iot.Companion.Http(env: Map<String, String> = System.getenv(), http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env), overrideEndpoint: Uri? = null): Iot

Convenience function to create a Iot from a System environment

fun Iot.Companion.Http(env: Environment, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env), overrideEndpoint: Uri? = null): Iot

Convenience function to create a Iot from an http4k Environment

fun Iot.Companion.Http(region: Region, credentialsProvider: CredentialsProvider, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), overrideEndpoint: Uri? = null): Iot

Standard HTTP implementation of Iot. The endpoint is derived from the region (https://iot..amazonaws.com) unless overridden.