Companion

Properties

Link copied to clipboard

Functions

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

Convenience function to create a IotDataPlane from a System environment

fun IotDataPlane.Companion.Http(endpoint: Uri, env: Environment, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC(), credentialsProvider: CredentialsProvider = CredentialsProvider.Environment(env)): IotDataPlane

Convenience function to create a IotDataPlane from an http4k Environment

fun IotDataPlane.Companion.Http(endpoint: Uri, region: Region, credentialsProvider: CredentialsProvider, http: HttpHandler = JavaHttpClient(), clock: Clock = Clock.systemUTC()): IotDataPlane

Standard HTTP implementation of IotDataPlane. The endpoint is account-specific (eg. https://xxxxxxxx-ats.iot..amazonaws.com) so cannot be derived from the region.

Link copied to clipboard
fun setHostForAwsService(region: Region, overrideEndpoint: Uri?, servicePrefix: String): Filter
Link copied to clipboard
fun signAwsRequests(region: Region, credentialsProvider: CredentialsProvider, clock: Clock, payloadMode: Payload.Mode, overrideEndpoint: Uri?, servicePrefix: String): Filter